Advertisement
James_inthe_box

Anyplace snort suricata yara

May 6th, 2019
545
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. Yara sig:
  2. rule Anyplace_bin
  3. {
  4. meta:
  5. description = "Anyplace RAT"
  6. author = "James_inthe_box"
  7. reference = "https://app.any.run/tasks/34af67dd-ad68-45e2-baa9-3c4d3f4afce7"
  8. date = "2019/05"
  9. maltype = "RAT"
  10.  
  11. strings:
  12. $string1 = "apc-settings.ini"
  13. $string2 = "IPADDRESS"
  14.  
  15. condition:
  16. uint16(0) == 0x5A4D and all of ($string*) and filesize < 800KB
  17. }
  18.  
  19. rule Anyplace_mem
  20. {
  21. meta:
  22. description = "Anyplace RAT"
  23. author = "James_inthe_box"
  24. reference = "https://app.any.run/tasks/34af67dd-ad68-45e2-baa9-3c4d3f4afce7"
  25. date = "2019/05"
  26. maltype = "RAT"
  27.  
  28. strings:
  29. $string1 = "apc-settings.ini"
  30. $string2 = "IPADDRESS"
  31.  
  32. condition:
  33. all of ($string*) and filesize > 800KB
  34. }
  35.  
  36.  
  37. Snort/suricata
  38. alert tcp any any -> any $HTTP_PORTS (msg:"Anyplace Remote Access Initial Checkin"; flow:established,to_server; content:"VERSION:"; fast_pattern; content:"PLATFORM:"; content:"IPADDRESS:"; reference:md5,30e4f96590d530ba5dc1762f8b87c16b; classtype:trojan-activity; sid:20166293; rev:1; metadata:created_at 2019_05_06;)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement