Bruce Dang and the Four Days Microsoft Spent Inside Stuxnet
On a summer day in 2010, Bruce Dang had an explanation for what a computer worm was doing. It was a good explanation, except for the two test machines on which the worm had done something his team couldn't account for.
Dang led the Microsoft investigation into the Windows flaws used by Stuxnet. A tip from Belarus had pulled colleagues across time zones into one of the strangest cases of their careers.
He later told a packed hall in Berlin what they'd found.
Bruce Dang at a Glance
- Dang began his security career at Microsoft's response center. He studied dangerous files and worked with engineers who could fix the software.
- In 2008 he took his research into malicious Office documents to conferences in Europe and the United States.
- In 2010 he led Microsoft's analysis of the Windows weaknesses used by Stuxnet and described the work at the Chaos Communication Congress in Berlin.
- He wrote Practical Reverse Engineering with Alexandre Gazet and Elias Bachaalany, with contributions from Sébastien Josse.
- In 2018 he gave five women from the BlackHoodie community seats in his Windows course at REcon in Montreal.
Reading the letters nobody wanted to open
Dang began in the Windows team at the Microsoft Security Response Center. He remembered three or four bugs coming in during an average month.
His particular interest was what happened when an apparently respectable document arrived in someone's inbox.
He learned to work backward from a finished file. The person who wrote a harmful program rarely supplies a tour of it, so Dang read the instructions the computer itself had to follow.
By 2008 he had enough experience to speak about booby-trapped Office documents. He could show that a file which looked like an ordinary letter or spreadsheet could keep a computer busy with an entirely different job.
Microsoft's account of his visit to Berlin records how warmly the audience received him. It was quite an achievement for a speaker whose subject could have been mistaken for a discussion of filing.
People elsewhere at Microsoft had good reason to listen as well. Dang could tell them where an actual file had failed an actual user and give the people writing the next version something precise to fix.
A message from a firm in Belarus
In June 2010, a small security company called VirusBlokAda spotted the program that would come to be called Stuxnet. Microsoft heard from people some of its engineers had never heard of, bearing a screenshot of a Windows machine behaving strangely.
Stuxnet: One of the World's First Cyber Attacks
Dang recalled that the early report looked familiar enough to pass for an ordinary case. Someone opened an investigation anyway, and soon some twenty to thirty specialists were bringing their own pieces of Windows expertise to it.
The sample was close to a megabyte. In the world of family photos that is tiny.
In the world of an investigator who must read unfamiliar machine instructions without the author's notes, it promised a long few days.
Kim Zetter's reporting from Dang's Berlin talk followed him through the first four days. Other firms were studying copies of the same worm.
While Dang was still at work, he could read fresh theories about his case in public.
- Get the full story of the first digital weapon.
- Understand how code can break physical machines.
- Follow the researchers who took Stuxnet apart.
Microsoft had to live with whatever its engineers decided. Dang's colleagues were preparing fixes that would reach millions of Windows machines, including many that would never come anywhere near this extraordinary worm.
Dang follows the extra drivers
One discovery concerned the little shortcuts people click to reach programs and files. Microsoft could start work on that issue while Dang and another analyst pursued the question that wouldn't go away.
Two machines running different versions of Windows had acquired extra pieces of software called drivers. Dang worked with a colleague overseas to understand how Stuxnet had managed that on both systems.
His team found that the worm had several ways to get past limits in Windows. Different people could study different pieces, then bring their findings together to explain behavior that no single discovery accounted for.
Microsoft's September update records another part of the response. Microsoft had already sent out an urgent fix and updated its removal tool.
Now the engineers had another flaw to fix in time for the next round of repairs.
The story Dang took to Berlin
In December 2010, Dang faced a room full of people at the Chaos Communication Congress. By then the investigation had reached beyond antivirus labs and into the world of the industrial equipment that Stuxnet had targeted in Iran.
He gave the crowd a view from his particular seat at Microsoft. Others could explain what the worm meant for centrifuges.
Dang could say what it took to establish how a Windows computer had allowed a program to get that far in the first place.
Why That Update Is Worth Installing
He didn't need to make himself the genius at the center of the story. The tip had come from Belarus, the work had gone halfway round the world and he could still recall what two puzzling machines had contributed.
A book, a classroom and five seats in Montreal
Dang went on to work on security in products Microsoft was still developing. His name also appeared on the cover of Practical Reverse Engineering with those of his fellow authors.
The book examined finished code on several sorts of chip.
He subsequently worked at Veramine, a security firm started by former Microsoft engineers, and at Apple. In a later speaker biography, he joked that the decidedly technical book was one he'd written for children.
The book brought him students who knew his name well before they met him. In 2018 he offered free seats in his REcon class in Montreal.
Five women from the BlackHoodie group took him up on it.
- Try both Arm and RISC-V processors on a single board and compare them yourself.
- Skip the soldering: the header pins arrive already attached.
- Follow the step-by-step tutorial in MicroPython or C at your own pace.
Two students wrote about the week. One picked an unfamiliar Windows component to study and kept working on it after class ended.
Another spent half a day with a piece of code so odd she began to doubt her ability to read it.
Dang came over to check. Her reading was right.
It really did do the peculiar thing she'd described.
The students compared meeting him to getting the luckiest possible roll in a tabletop game. What stuck with them was a small moment in class.
Their teacher knew how it felt to look at a machine and wonder if he was seeing things.
Kim Zetter: The Reporting Behind Countdown to Zero Day

Ilfak Guilfanov: Building IDA and Patching Windows Himself

Reverse Engineering: How Analysts Work Out What Software Does

QUOTE:
"Amateurs hack systems, professionals hack people."

