Saturday Morning
Quite a few heavy hitters were here in the FBI garage as "Jack McGinnis" and his partner, Al Kinsley, finished up their investigation. Besides a couple of FBI garage technicians, there was a senior investigator for Homeland Security, the National Cyber Security Division, probably very intelligent but sadly lacking in mechanical aptitude, an observation I made while watching the man fumble with the hood release of the vehicle we were working on. There was also an expert here from the FBI's Computer Intrusion Section; and a lady from the Electronic Crimes Task Force with the Secret Service with a doctorate in computer science. And here we are--Kinsley and myself--a couple of lowly mechanics. The lady from the secret service asked what Al did for a living.
"I just work in a tire store back in Ohio," Al said.
"And I just work at a college back in Ohio, ordering books," McGinnis said. They didn't know how to take us. Oh, well. That's life. I have to tell you--they made some nasty comments about us, like, "These guys are just mechanics--grease monkeys--why are they even here?"
Grease monkeys--really? That term is still out there? "Well, bring on the other vehicle and us mechanics will see what we can do--just give us a big F-- hammer."
The second vehicle we were called upon to investigate was infected with malware that took control of steering, brakes, throttle and a few other critical systems. I explained to the experts that someone could begin by reverse-engineering the data packets because every CAN bus implementation was different.
They laughed when I broke out my old Toughbook for data analysis. Yep, that's my reflection on the screen. :
"A command for increasing engine speed would be very different in an Audi compared to a Chrysler product because every manufacturer has its own upper layer definition, deciding what message to transmit on a given event and deciding what actions will take place upon receipt of a particular message."
We also explained to them that whomever did this had to customize the malware for a particular truck. "That wouldn't be hard," Al explained, "CAN packets contain no source identifier fields, meaning that any computer on the network could indistinguishably transfer a packet to any other computer; any single compromised computer, therefore, could control all the other computers on the network."
"None of the computers--the Power Mode Master, gateway modules, the vehicle identification devices or the Immobilizer Master--were invulnerable to attacks," I added.
Don't get me wrong--these feds were brilliant minded computer geeks--but they weren't mechanics. Mechanics know how to build an electronic noise sniffer out of coax cable and an old Walkman. We can check a key fob output with a cheap AM radio, properly tuned, of course. We can diagnose FlexRay, CAN, MOST, CGI, LIN and all the rest using sophisticated software-based scan tools. We can disassemble and reassemble an engine, replace a clutch in a washing machine and even check a TV remote using a cell phone camera. Yeah--we are a versatile lot, indeed.
"How could someone hack this truck? The DHS agent asked. We showed him. Here is a screen capture:
Al and I used cheap, off-the-shelf components connected to my Toughbook and put together a digital audio broadcasting station (DAB).
"How did you know how to do that?" The Secret Service woman asked.
"I just applied the principles I learned a long time ago in an 8-day electrical course at a training center," Al said. I still had my old specialized electronics training binder that I showed them. The geeks were impressed. They also didn't knock my Toughbook anymore.
We demonstrated to them how the malware could be introduced. "Because Infotainment systems process DAB data to display text and pictures on dash screens, I could send a code to let us take over the systems."
The last thing that Al and I did was capture the virus in a computer security sandbox. We noticed that the malware used a slow polymorphic code that made it more difficult for the computer geeks present at this meeting to acquire representative samples of the virus.
"How do a couple of auto mechanics know about this?" The FBI agent asked.
"Technicians re-flash modules, look at Calibration Verification Numbers and do all sorts of things in the shop," I explained.
This virus contained no parts that remained identical between infections, making it quite difficult using signatures. I introduced a goat file--a small program that could be used to collect the virus. Well, the malware avoided the bait! So, I introduced an antivirus program that would decrypt the malware by statistical analysis of patterns of the encrypted virus body.
Guess what the malware did? It immediately translated its own code into a temporary representation and modified the temporary representation of itself. In other words, it reprogrammed itself to hide from the antivirus software that the geeks introduced. Incredibly, the malware mutated so that it would not have the same executable code in memory as its original component that constructed the mutation.
"The offspring of the malware doesn't resemble their parents," The SS lady said.
"I'll tell you what," I said as I watched the program, "that malware is swapping registers, used jumps to change flow control and reordered instructions as it avoided detection attempts. Pretty sophisticated stuff," I said.
"Where did this crap come from?" Al asked, "The National Security Agency or something?"
I must say the feds didn't like his joke. "How did you guys get so knowledgeable?" The DHS agent asked.
"We went to technical colleges years ago, paid attention to what the instructors taught us, took our careers seriously, and constantly kept up to date through training and more training," I said.
They wanted to hire us as full-time investigators but we declined. "Sorry, I'd rather go back to being a lowly mechanic at the tire store," Al chided.
"And I have to get back to the college to order books," I replied, "thanks anyway."
Al and I are flying back now. It has been a busy weekend for us but the feds learned to respect a couple of old mechanics. This is Jack McGinnis, signing off.