06 / Malware analysis / CSEC 202
WannaCry.
I took WannaCry apart for my reverse engineering final, both statically and dynamically, down to the x86.
Status
Done
Stack
IDA / x32dbg / x86 assembly
4analysis phases
x86read by hand
2017the outbreak it came from
analysis VM · no network
$ strings -n 8 wannacry.exe | grep -i http http://www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea.com One very long, very fake-looking domain. Hold that thought.
What it is
This was my CSEC 202 final. Reading about ransomware is one thing. Stepping through it in a debugger is another.
What I did
- Basic static analysis: strings, imports, and resources.
- Advanced static analysis in IDA, working through the disassembly.
- Basic and advanced dynamic analysis in x32dbg, watching what it actually does when it runs.
What broke
- The kill-switch domain is sitting right there in the strings. Static analysis gets it before anything runs.
- Dynamic analysis only works in a box that can't reach anything, with a snapshot to roll back to.
Where it's at
Done. The report isn't public, and I'm not claiming any new research here. It's coursework.