Advertisement
Guest User

#BadRabbit Yara Rule

a guest
Oct 24th, 2017
7,656
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. import "pe"
  2.  
  3. rule sig_8ebc97e05c8e1073bda2efb6f4d00ad7e789260afa2c276f0c72740b838a0a93 {
  4. meta:
  5. description = "Bad Rabbit Ransomware"
  6. author = "Christiaan Beek"
  7. reference = "BadRabbit"
  8. date = "2017-10-24"
  9. hash1 = "8ebc97e05c8e1073bda2efb6f4d00ad7e789260afa2c276f0c72740b838a0a93"
  10. strings:
  11. $x1 = "schtasks /Create /SC ONCE /TN viserion_%u /RU SYSTEM /TR \"%ws\" /ST %02d:%02d:00" fullword wide
  12. $x2 = "need to do is submit the payment and get the decryption password." fullword ascii
  13. $s3 = "If you have already got the password, please enter it below." fullword ascii
  14. $s4 = "dispci.exe" fullword wide
  15. $s5 = "\\\\.\\GLOBALROOT\\ArcName\\multi(0)disk(0)rdisk(0)partition(1)" fullword wide
  16. $s6 = "Run DECRYPT app at your desktop after system boot" fullword ascii
  17. $s7 = "Enter password#1: " fullword wide
  18. $s8 = "Enter password#2: " fullword wide
  19. $s9 = "C:\\Windows\\cscc.dat" fullword wide
  20. $s10 = "schtasks /Delete /F /TN %ws" fullword wide
  21. $s11 = "Password#1: " fullword ascii
  22. $s12 = "\\AppData" fullword wide
  23. $s13 = "Readme.txt" fullword wide
  24. $s14 = "Disk decryption completed" fullword wide
  25. $s15 = "Files decryption completed" fullword wide
  26. $s16 = "http://diskcryptor.net/" fullword wide
  27. $s17 = "Your personal installation key#1:" fullword ascii
  28. $s18 = ".3ds.7z.accdb.ai.asm.asp.aspx.avhd.back.bak.bmp.brw.c.cab.cc.cer.cfg.conf.cpp.crt.cs.ctl.cxx.dbf.der.dib.disk.djvu.doc.docx.dwg." wide
  29. $s19 = "Disable your anti-virus and anti-malware programs" fullword wide
  30. $s20 = "bootable partition not mounted" fullword ascii
  31. condition:
  32. ( uint16(0) == 0x5a4d and
  33. filesize < 400KB and
  34. pe.imphash() == "94f57453c539227031b918edd52fc7f1" and
  35. ( 1 of ($x*) or 4 of them )
  36. ) or ( all of them )
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement