Advertisement
James_inthe_box

Possible new hancitor snort suricata yara

Jul 1st, 2019
1,693
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. alert tcp any any -> any $HTTP_PORTS (msg:"Possible New Hancitor Checkin"; flow:established,to_server; content:"POST"; http_method; content:"VER="; http_client_body; content:"&ID="; http_client_body; depth:10; content:"&IP="; http_client_body; reference:md5,8404704c682e0078620d512f66e8a28b; classtype:trojan-activity; sid:20166297; rev:1; metadata:created_at 2017_09_08;)
  2.  
  3. rule Possible_new_hancitor_bin
  4. {
  5. meta:
  6. description = "Possible new hancitor"
  7. author = "James_inthe_box"
  8. reference = "8e13ba3de370489b2ef72f4c0fe2d6986646783995f6331230d8a14ce1965400"
  9. date = "2019/07"
  10. maltype = "Loader"
  11.  
  12. strings:
  13. $string1 = "%02X"
  14. $string2 = "VER=1&ID=%I64u&IP=%s"
  15. $string3 = "&DATA="
  16. $string4 = "\\%hs" wide
  17.  
  18. condition:
  19. uint16(0) == 0x5A4D and all of ($string*) and filesize < 100KB
  20. }
  21.  
  22. rule Possible_new_hancitor_mem
  23. {
  24. meta:
  25. description = "Possible new hancitor"
  26. author = "James_inthe_box"
  27. reference = "8e13ba3de370489b2ef72f4c0fe2d6986646783995f6331230d8a14ce1965400"
  28. date = "2019/07"
  29. maltype = "Loader"
  30.  
  31. strings:
  32. $string1 = "%02X"
  33. $string2 = "VER=1&ID=%I64u&IP=%s"
  34. $string3 = "&DATA="
  35. $string4 = "\\%hs" wide
  36.  
  37. condition:
  38. all of ($string*) and filesize > 100KB
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement