WannaCry and Lazarus Group
Indicators of compromiseauto-extracted · verify before use · export allAll →
| Type | Indicator | Context |
|---|---|---|
| md5 | 9c7c7149387a1c79679a87dd1ba755bc | 116225536" author = "Kaspersky Lab" version = "1.0" hash = "9c7c7149387a1c79679a87dd1ba755bc" hash = "ac21c8ad899727137c4b94458d7aa8d8" strings : $ a1 = |
| md5 | ac21c8ad899727137c4b94458d7aa8d8 | n = "1.0" hash = "9c7c7149387a1c79679a87dd1ba755bc" hash = "ac21c8ad899727137c4b94458d7aa8d8" strings : $ a1 = { 51 53 55 8B 6C 24 10 56 57 6A 20 8B 45 |
Full article901 words · extracted from securelist.com · click to collapse
A few hours ago, Neel Mehta, a researcher at Google posted a mysterious message on Twitter with the #WannaCryptAttribution hashtag:
The cryptic message in fact refers to a similarity between two samples that have shared code. The two samples Neel refers to in the post are:
- A WannaCry cryptor sample from February 2017 which looks like a very early variant
- A Lazarus APT group sample from February 2015
The similarity can be observed in the screenshot below, taken between the two samples, with the shared code highlighted:
So, what does it all mean? Here’s a few questions and answers to think about.
I know about Wannacry, but what is Lazarus?
We wrote about the Lazarus group extensively and presented together with our colleagues from BAE and SWIFT at the Kaspersky Security Analyst Summit (SAS 2017). See:
Among other things, the Lazarus group was responsible for the Sony Wiper attack, the Bangladesh bank heist and the DarkSeoul operation.
We believe Lazarus is not just “yet another APT actor”. The scale of the Lazarus operations is shocking. The group has been very active since 2011 and was originally disclosed when Novetta published the results of its Operation Blockbuster research. During that research, which we also participated in, hundreds of samples were collected and show that Lazarus is operating a malware factory that produces new samples via multiple independent conveyors.
Is it possible this is a false flag?
In theory anything is possible, considering the 2015 backdoor code might have been copied by the Wannacry sample from February 2017. However, this code appears to have been removed from later versions. The February 2017 sample appears to be a very early variant of the Wannacry encryptor. We believe a theory a false flag although possible, is improbable.
What conclusions can we make?
For now, more research is required into older versions of Wannacry. We believe this might hold the key to solve some of the mysteries around this attack. One thing is for sure — Neel Mehta’s discovery is the most significant clue to date regarding the origins of Wannacry.
Are we sure the early February variant is the precursor to the later attacks?
Yes, it shares the same the list file extension targets for encryption but, in the May 2017 versions, more extensions were added:
> .accdb
> .asm
> .backup
> .bat
> .bz2
> .cmd
> .der
> .djvu
> .dwg
> .iso
> .onetoc2
> .pfx
> .ps1
> .sldm
> .sldx
> .snt
> .sti
> .svg
> .sxi
> .vbs
> .vcd
They also removed an older extension: “.tar.bz2” and replaced it with just “.bz2”
We strongly believe the February 2017 sample was compiled by the same people, or by people with access to the same sourcecode as the May 2017 Wannacry encryptor used in the May 11th wave of attacks.
So. Now what?
We believe it’s important that other researchers around the world investigate these similarities and attempt to discover more facts about the origin of Wannacry. Looking back to the Bangladesh attack, in the early days, there were very few facts linking them to the Lazarus group. In time, more evidence appeared and allowed us, and others, to link them together with high confidence. Further research can be crucial to connecting the dots.
Has anyone else confirmed this?
Yes, Matt Suiche from Comae Technologies confirmed the same similarity based on Neel’s samples:
Yes, of course.
You can download the “lazaruswannacry” Yara rule here.
Also included below for easy reading:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
rulelazaruswannacry{ meta: description="Rule based on shared code between Feb 2017 Wannacry sample and Lazarus backdoor from Feb 2015 discovered by Neel Mehta" date="2017-05-15" reference="https://twitter.com/neelmehta/status/864164081116225536" author="Kaspersky Lab" version="1.0" hash="9c7c7149387a1c79679a87dd1ba755bc" hash="ac21c8ad899727137c4b94458d7aa8d8" strings: $a1={ 5153558B6C241056576A208B45008D75 0424010C0146894500C646FF03C60601 4656E8 } $a2={ 0300040005000600080009000A000D00 10001100120013001400150016002F00 30003100320033003400350036003700 380039003C003D003E003F0040004100 44004500460062006300640066006700 680069006A006B008400870088009600 FF0001C002C003C004C005C006C007C0 08C009C00AC00BC00CC00DC00EC00FC0 10C011C012C013C014C023C024C027C0 2BC02CC0 FF FE } condition: ((uint16(0)==0x5A4D))and(filesize<15000000)and all of them } |
Text extracted automatically; images, tables and formatting may be missing. Original: https://securelist.com/wannacry-and-lazarus-group-the-missing-link/78431/