Advertisement
James_inthe_box

Cobint yara

Oct 30th, 2018
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. MUCH BETTER rule below:
  2. rule Possible_Cobint_mem
  3. {
  4. meta:
  5. description = "Cobint"
  6. author = "James_inthe_box"
  7. reference = "7e82aa131fd92a4d0aec5086e036be544be0dd84a20ba25ffda633a9fbb69c32"
  8. date = "2019/02"
  9. maltype = "Tool"
  10.  
  11. strings:
  12. $regex1 = /https:\/\/[a-zA-Z0-9]{4,}\.[a-zA-Z0-9]{2,}\/[a-z]{21,}/ wide
  13. $string1 = "User-Agent:"
  14. $string2 = "Host:"
  15. $string3 = "tls-server-end-point:"
  16.  
  17. condition:
  18. all of ($regex*) and all of ($string*) and filesize > 800KB
  19. }
  20.  
  21. this previous rule sucks:
  22. rule Cobint_bin_memory
  23. {
  24. meta:
  25. author = " James_inthe_box"
  26. date = "2018/10"
  27. maltype = "Cobint"
  28.  
  29. strings:
  30. $string1 = "SystemFunction0"
  31. $string2 = "ObtainUserAgentString"
  32. $string3 = "GetCurrentProcessId"
  33. $string4 = "Sleep"
  34. $string5 = "urlmon.dll"
  35. $string6 = "POST"
  36.  
  37. condition:
  38. all of them
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement