alternat0r

WannaCry Ransomware | Wcry | Wanna

May 13th, 2017
3,392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.25 KB | None | 0 0
  1. =========================================================
  2. WannaCry Ransomware IOC
  3. =========================================================
  4.  
  5. Cryptography details:
  6.  
  7. encrypted via AES-128-CBC (custom implementation in the binary)
  8.  
  9. AES key generated with a CSPRNG, CryptGenRandom
  10.  
  11. AES key is encrypted by RSA-2048 (windows RSA implementation)
  12.  
  13. https://haxx.in/key1.bin (the ransomware pubkey, used to encrypt the aes keys)
  14. https://haxx.in/key2.bin (the dll decryption privkey) the CryptImportKey() rsa key blob dumped from the DLL by blasty.
  15.  
  16.  
  17. Once started it immediately spawns several processes to change file permissions and communicate with tor hidden c2 servers:
  18.  
  19. attrib +h .
  20. icacls . /grant Everyone:F /T /C /Q
  21. C:\Users\xxx\AppData\Local\Temp\taskdl.exe
  22. 300921484251324.bat
  23. C:\Users\xxx\AppData\Local\Temp\taskdl.exe
  24. C:\Users\xxx\AppData\Local\Temp\taskdl.exe
  25. The malware creates mutex “Global\MsWinZonesCacheCounterMutexA” and runs the command:
  26.  
  27. cmd.exe /c vssadmin delete shadows /all /quiet & wmic shadowcopy delete & bcdedit /set {default} bootstatuspolicy ignoreallfailures & bcdedit /set {default} recoveryenabled no & wbadmin delete catalog -quiet
  28.  
  29. =========================================================
  30. C&C centers
  31. =========================================================
  32.  
  33. gx7ekbenv2riucmf.onion
  34. 57g7spgrzlojinas.onion
  35. xxlvbrloxvriy2c5.onion
  36. 76jdd2ir2embyv47.onion
  37. cwwnhwhlz52maqm7.onion
  38. Xxlvbrloxvriy2c5.onion
  39. sqjolphimrr7jqw6.onion
  40.  
  41. =========================================================
  42. Below are the SHA256 hashes related to this ransomware:
  43. =========================================================
  44.  
  45. 4b76e54de0243274f97430b26624c44694fbde3289ed81a160e0754ab9f56f32
  46. f8812f1deb8001f3b7672b6fc85640ecb123bc2304b563728e6235ccbe782d85
  47. b47e281bfbeeb0758f8c625bed5c5a0d27ee8e0065ceeadd76b0010d226206f0
  48. 16493ecc4c4bc5746acbe96bd8af001f733114070d694db76ea7b5a0de7ad0ab
  49. 57c12d8573d2f3883a8a0ba14e3eec02ac1c61dee6b675b6c0d16e221c3777f4
  50. 190d9c3e071a38cb26211bfffeb6c4bb88bd74c6bf99db9bb1f084c6a7e1df4e
  51. 78e3f87f31688355c0f398317b2d87d803bd87ee3656c5a7c80f0561ec8606df
  52. ed01ebfbc9eb5bbea545af4d01bf5f1071661840480439c6e5babe8e080e41aa
  53. a3900daf137c81ca37a4bf10e9857526d3978be085be265393f98cb075795740
  54. c365ddaa345cfcaff3d629505572a484cff5221933d68e4a52130b8bb7badaf9
  55. 11d0f63c06263f50b972287b4bbd1abe0089bc993f73d75768b6b41e3d6f6d49
  56. 201f42080e1c989774d05d5b127a8cd4b4781f1956b78df7c01112436c89b2c9
  57. 09a46b3e1be080745a6d8d88d6b5bd351b1c7586ae0dc94d0c238ee36421cafa
  58. fc626fe1e0f4d77b34851a8c60cdd11172472da3b9325bfe288ac8342f6c710a
  59. dff26a9a44baa3ce109b8df41ae0a301d9e4a28ad7bd7721bbb7ccd137bfd696
  60. b9c5d4339809e0ad9a00d4d3dd26fdf44a32819a54abf846bb9b560d81391c25
  61. 940dec2039c7fca4a08d08601971836916c6ad5193be07a88506ba58e06d4b4d
  62. b66db13d17ae8bcaf586180e3dcd1e2e0a084b6bc987ac829bbff18c3be7f8b4
  63. 4186675cb6706f9d51167fb0f14cd3f8fcfb0065093f62b10a15f7d9a6c8d982
  64. 2584e1521065e45ec3c17767c065429038fc6291c091097ea8b22c8a502c41d
  65. 09a46b3e1be080745a6d8d88d6b5bd351b1c7586ae0dc94d0c238ee36421cafa
  66. eeb9cd6a1c4b3949b2ff3134a77d6736b35977f951b9c7c911483b5caeb1c1fb
  67. 3f3a9dde96ec4107f67b0559b4e95f5f1bca1ec6cb204bfe5fea0230845e8301
  68. 9fb39f162c1e1eb55fbf38e670d5e329d84542d3dfcdc341a99f5d07c4b50977
  69. 043e0d0d8b8cda56851f5b853f244f677bd1fd50f869075ef7ba1110771f70c2
  70.  
  71. =========================================================
  72. Below are the MD5 hashes related to this ransomware:
  73. =========================================================
  74. 4fef5e34143e646dbf9907c4374276f5
  75. 5bef35496fcbdbe841c82f4d1ab8b7c2
  76. 775a0631fb8229b2aa3d7621427085ad
  77. 7bf2b57f2a205768755c07f238fb32cc
  78. 7f7ccaa16fb15eb1c7399d422f8363e8
  79. 8495400f199ac77853c53b5a3f278f3e
  80. 84c82835a5d21bbcf75a61706d8ab549
  81. 86721e64ffbd69aa6944b9672bcabb6d
  82. 8dd63adb68ef053e044a5a2f46e0d2cd
  83. b0ad5902366f860f85b892867e5b1e87
  84. d6114ba5f10ad67a4131ab72531f02da
  85. db349b97c37d22f5ea1d1841e3c89eb4
  86. e372d07207b4da75b3434584cd9f3450
  87. f529f4556a5126bba499c26d67892240
  88.  
  89. =========================================================
  90. Kill Switch
  91. =========================================================
  92. www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea.com
  93. www.ifferfsodp9ifjaposdfjhgosurijfaewrwergwea.com
  94. =========================================================
  95. Bitcoin ransom addresses
  96. =========================================================
  97.  
  98. 3 addresses hard coded into the malware.
  99.  
  100. https://blockchain.info/address/13AM4VW2dhxYgXeQepoHkHSQuy6NgaEb94
  101. https://blockchain.info/address/12t9YDPgwueZ9NyMgw519p7AA8isjr6SMw
  102. https://blockchain.info/address/115p7UMMngoj1pMvkpHijcRdfJNXj6LrLn
  103.  
  104. =========================================================
  105. Malware samples
  106. =========================================================
  107.  
  108. hxxps://www.hybrid-analysis.com/sample/ed01ebfbc9eb5bbea545af4d01bf5f1071661840480439c6e5babe8e080e41aa?environmentId=100
  109. hxxps://transfer.sh/PnDIl/CYBERed01ebfbc9eb5bbea545af4d01bf5f1071661840480439c6e5babe8e080e41aa.EXE
  110. hxxps://transfer.sh/ZhnxR/CYBER1be0b96d502c268cb40da97a16952d89674a9329cb60bac81a96e01cf7356830.EXE (main dll)
  111.  
  112. =========================================================
  113. References:
  114. =========================================================
  115. https://securelist.com/blog/incidents/78351/wannacry-ransomware-used-in-widespread-attacks-all-over-the-world/
  116. https://github.com/Hackstar7/WanaCry
Advertisement
Add Comment
Please, Sign In to add comment