Mystery of Duqu Programming Language Solved
wiredmikey writes "Earlier this month, researchers from Kaspersky Lab reached out to the security and programming community in an effort to help solve a mystery related to 'Duqu,' the Trojan often referred to as 'Son of Stuxnet,' which surfaced in October 2010. The mystery rested in a section of code written an unknown programming language and used in the Duqu Framework, a portion of the Payload DLL used by the Trojan to interact with Command & Control (C&C) servers after the malware infected system. Less than two weeks later, Kaspersky Lab experts now say with a high degree of certainty that the Duqu framework was written using a custom object-oriented extension to C, generally called 'OO C' and compiled with Microsoft Visual Studio Compiler 2008 (MSVC 2008) with special options for optimizing code size and inline expansion."
Pretty sure this was written for SD-6 at the direction of Arvin Sloane.
I guess allens don't exist.
A link to the actual code snippet would've been nice; I'd love to see the structure and logic behind it.
they may have learn MASM to avoid detection.
How did they deduce it was an unknown programming language? By looking at the compiled machine code? How could they tell this wasn't just regular C?
A well publicized article featuring Microsoft Development products of all things, I think they should use that PR in their Microsoft Visual Studio Ads...
"Enjoy what you're doing! If it becomes drudgery, you're doing it wrong!" - Jim Butterfield
In other words, macros from hell, invoking other macros and building function tables and so forth (MFC was a representative example).
If you can disassemble it then who cares whether it was written in OO C , C++ or Logo? I don't see why it mattered so much. Just follow the assembler.
Objective C but then for the MS platform?
Here is an older post about it: http://lambda-the-ultimate.org/node/4476
FTFA:
Why did the authors of Duqu use OO C? While there is no easy explanation why OO C was used instead of C++ for the Duqu Framework, Kaspersky experts say there are two reasonable causes that support its use [More control over the code & Extreme portability]. These two reasons indicate that the code was written by a team of experienced ‘old-school’ developers
Why OO C? Because it worked, because they new how to use it, because they knew it would throw Kaspersky for a loop, because they thought it was cool. There are many many reasons and they do not all have to be logical.
Kaspersky experts might want to consider that the programming wheel of life may have turned and that what was once old-school is now new-school. Whose to say that the under-estimated script-kiddies cannot grow up to be formidable adults with a whole new bag of tricks?
Just means the Aliens made MSVC 2008.
Then what country were they from?
For O'Reilly's "Mastering Duqu"?
Why does this matter? If it is a compiled program it is just a bunch of instructions. If the OS lets the instructions to run it doesn't much matter what compiler/language was used other than how efficiently it will do the crap it is told too.
The code was written by someone with some very serious Assembler skills.
ANYTHING that can be written in any higher level language can be written in Assembler and that is an indisputable fact.
Hey KID! Yeah you, get the fuck off my lawn!
The bizarre claims by Kaspersky about how Duqu's authors had invented their own language were patently idiotic, and bring a lot of doubt into their research process. Sure, everyone makes weird mistakes and gets rat-holed every now and then. But this... the claim was pretty dumb on its face (Occam, anyone?), AND it got all the way through their process to release without reasonable peer review, AND they did it publicly (the audience at CanSecWest kind of giggled when they presented it).
When the Wright brothers demonstrated a person flying in a winged machine, most stunned onlookers surely asked how the machine worked, but Kasperksy's ancestors must have exclaimed that the Wrights had invented the new science of genetics and engineered a weightless human being.
Goofballs.
Does this mean that Linux users need to run it under Wine? That would be inconvenient.
Who would win this election: Andrew Weiner vs Andrew Weiner's weiner.
Who keeps Atlantis off the maps?
Who keeps the Martians under wraps?
We Do, We Do...
"Happy families are all alike; every unhappy family is unhappy in its own way." -- Anna Karenina by Leo Tolstoy
Smarter than you think. I remember reading somewhere that US radio controllers in WW-II used a native american language to communicate with each other. No amount of analysis will give you any insight, if the other party is careful to not use any trails. To translate on language into another mechanically requires deep knowledge of both the languages.
If you rolled your own language with its own grammar, you can be secure in the fact that *even* deep analysis will not yield any clues, not atleast by the current technology. I am not sure such a thing can be even done by a turing machine. People with better knowledge of it are welcome to correct me If I am wrong. All the current technology is concentrated on modifying bits for security, but if you do on a sufficiently high level(aka another language) there is no way to crack it.
This case however has a achilles heel; you can still modify the binary and see what results would be by running it. After a sufficient number of trials, you should be able to decode it.
You will never have experience until after you needed it.
This is +1, Normal? Come on. This is a worthless comment, a waste of space.
Duqu just uses the Vala language to compile to C....
It appears he was rebuking the A.C. for wasting space with his comment and lack of meaningful contribution, so you either replied to the wrong comment or need to focus less on asm comprehension and more on English.