Show HN: Stuxnet – A reconstructed source code of the infamous cyber-weapon
Posted by CMDDestory 15 hours ago
Stuxnet! Here reproduced by me. Only researchs educations purposes.
Comments
Comment by kibitzor 14 hours ago
For those not familiar with Stuxnet, it’s a discovered cyber-weapon from 2010 which “reportedly destroyed almost one-fifth of Iran's nuclear centrifuges. ” and “ neither the United States nor Israel has openly admitted responsibility” but likely were the developers [1]
[1-Wikipedia Entry](https://en.wikipedia.org/wiki/Stuxnet)
[2-“Countdown To Zero Day” book if you liked the Wikipedia entry](https://www.audible.com/pd/Countdown-to-Zero-Day-Audiobook/B...)
[3-“Zero Days” movie](https://www.imdb.com/title/tt5446858/)
Comment by BLKNSLVR 12 hours ago
Pretty amazing to have been pulled off seemingly so successfully.
Comment by theturtletalks 10 hours ago
Comment by Tangurena2 49 minutes ago
Comment by stingraycharles 11 hours ago
Comment by BLKNSLVR 10 hours ago
Very successful in doing what was intended. Less successful in limiting collateral damage; the collateral damage of which was earlier than intended discovery (or discovery at all).
What lessons have they learned, though, so what's out there now, with 10 years more learning, and now AI assistance?
Scary thought. We're all pwnt.
Comment by CMDDestory 10 hours ago
Comment by tehjoker 11 hours ago
Comment by nirav72 11 hours ago
Comment by DANmode 11 hours ago
or the (possibly Iranian) sec people they handed the flash drives from the parking lot to?
Comment by maledadams 27 minutes ago
Comment by fathermarz 12 hours ago
Comment by beavis000 13 hours ago
Comment by strictnein 12 hours ago
Comment by beavis000 10 hours ago
Comment by nilsherzig 3 hours ago
Comment by mzs 13 hours ago
Comment by __alexander 1 hour ago
Comment by BLKNSLVR 11 hours ago
See also: https://www.schneier.com/blog/archives/2015/03/cisco_shippin...
Comment by rep_lodsb 12 hours ago
RegDeleteKeyW(HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run\\Stuxnet");
Wikipedia about the origin of the name: The original name given by VirusBlokAda was "Rootkit.Tmphider;"[41]
Symantec, however, called it "W32.Temphid", later changing it to "W32.Stuxnet".[42]
Its current name is derived from a combination of keywords found in the software (".stub" and "mrxnet.sys").[43][44]Comment by ptidhomme 7 hours ago
https://medium.com/@arpit.writes/stuxnet-and-the-birth-of-di...
Comment by qarl 12 hours ago
Comment by whimsicalism 11 hours ago
Comment by qarl 11 hours ago
Comment by rep_lodsb 12 hours ago
Not one literal string as it appears several times in this purported "reconstruction". Including as the name for a registry key, in the hex code at the end of an EXE header stub ("REALTEK",0x00,"Stuxnet"), and in a frigging autorun.inf as the program name.
Even if Wikipedia is wrong and that string should appear somewhere in the original binary, whatever LLM they used has really been overdoing it beyond the bounds of realism: "Hey look, it's the REAL STUXNET, you've all read about it, here is the 100% real authentic reverse-engineered source code!"
Comment by qarl 10 hours ago
Comment by nullbio 12 hours ago
Comment by rep_lodsb 12 hours ago
"instance of ActiveScriptEventConsumer as $Consumer\n"
"{\n"
" Name = \"StuxnetConsumer\";\n"
" ScriptingEngine = \"VBScript\";\n"
" ScriptText = \"CreateObject(\\\"WScript.Shell\\\").Run \\\"%SystemRoot%\\\\system32\\\\winsta.exe\\\", 0, False\";\n"
"};\n"Comment by andai 13 hours ago
g_dwCentrifugeDestroyed++;Comment by broodbucket 12 hours ago
Comment by wiml 11 hours ago
Comment by CMDDestory 10 hours ago
Comment by aussieguy1234 13 hours ago
Comment by Tangurena2 46 minutes ago
Comment by Terr_ 13 hours ago
Secrecy aside, there may be some other issues with copywriting a product (allegedly) made by a government.
Comment by sneak 10 hours ago
Comment by tonyhart7 13 hours ago
Comment by CMDDestory 10 hours ago
Comment by Retr0id 9 hours ago
Comment by SiyuanFeng 10 hours ago
Comment by etcetcetcetceta 4 hours ago
Comment by hacker11223 12 hours ago
Comment by outfitcolormatc 9 hours ago
Comment by monster_truck 14 hours ago
SSDT should probably have a lock. The chance of a race is ~low (higher under heavy sustained workloads) but it's too important to leave to chance.
I'd probably do a rebuild of the directory lists in a separate buffer instead of working in place to avoid alignment fuckups.
Yes I used LLMs, just like I did for all of the other vulns I've found or refined. As you can see from the source, this shit is tedious as hell. Doesn't change the value of knowing what to look/ask for.
Give one of those open models a fresh windows box (not a VM) and tell it to fuck something up, it's fun.
Comment by joshka 14 hours ago
Comment by monster_truck 14 hours ago
You don't need exploratory docs, try asking one for complete function signatures of all the Windows APIs used, it's going to spit the docs out.
Comment by joshka 12 hours ago
Comment by CMDDestory 10 hours ago