James_inthe_box

Spytector yara

Mar 31st, 2020
17,127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. rule spytector_bin
  2. {
  3. meta:
  4. description = "Spytector"
  5. author = "James_inthe_box"
  6. reference = "https://app.any.run/tasks/57f39173-22bd-41c8-bbc1-2ce4ca7853d1"
  7. date = "2020/3"
  8. maltype = "Stealer"
  9.  
  10. strings:
  11. $string1 = "FTPList"
  12. $string2 = "FTPSend"
  13. $string3 = "FirefoxRestore"
  14. $string4 = "%d.%d.%d build %d"
  15. $string5 = "hostname" wide
  16. $string6 = "sqlite3"
  17. $string7 = "No Hex-Number"
  18. $string8 = "YHTMLContainer"
  19. $string9 = "Internet Explorer_Server"
  20. $string10 = "com.apple.Safari"
  21.  
  22. condition:
  23. uint16(0) == 0x5A4D and all of ($string*) and filesize < 800KB
  24. }
  25.  
  26. rule spytector_mem
  27. {
  28. meta:
  29. description = "Spytector"
  30. author = "James_inthe_box"
  31. reference = "https://app.any.run/tasks/57f39173-22bd-41c8-bbc1-2ce4ca7853d1"
  32. date = "2020/3"
  33. maltype = "Stealer"
  34.  
  35. strings:
  36. $string1 = "FTPList"
  37. $string2 = "FTPSend"
  38. $string3 = "FirefoxRestore"
  39. $string4 = "%d.%d.%d build %d"
  40. $string5 = "hostname" wide
  41. $string6 = "sqlite3"
  42. $string7 = "No Hex-Number"
  43. $string8 = "YHTMLContainer"
  44. $string9 = "Internet Explorer_Server"
  45. $string10 = "com.apple.Safari"
  46.  
  47. condition:
  48. all of ($string*) and filesize > 800KB
  49. }
  50.  
  51. rule spytector_mem_simple
  52. {
  53. meta:
  54. description = "Spytector"
  55. author = "James_inthe_box"
  56. reference = "https://app.any.run/tasks/57f39173-22bd-41c8-bbc1-2ce4ca7853d1"
  57. date = "2020/3"
  58. maltype = "Stealer"
  59.  
  60. strings:
  61. $simple1 = "spytector" ascii wide nocase
  62.  
  63. condition:
  64. $simple1 and filesize > 800KB
  65. }
Advertisement
Add Comment
Please, Sign In to add comment