Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Yara rule:
- rule Unknown_botnet_bin
- {
- meta:
- description = "Unknown botnet"
- author = "James_inthe_box"
- reference = "https://app.any.run/tasks/5a12dfe2-ba7a-4efe-8062-d710e7350c94"
- date = "2019/01"
- maltype = "Bot"
- strings:
- $mz = { 4d 5a }
- $string1 = "[%d] ERROR: %d, %s: %d"
- $string2 = "download|update|delete|nothing|plugin_start|plugin_stop|plugin_delete"
- $string3 = "plugin_start"
- $string4 = "plugin_stop"
- $string5 = "plugin_delete"
- condition:
- ($mz at 0) and all of ($string*) and filesize < 100KB
- }
- rule Unknown_botnet_mem
- {
- meta:
- description = "Unknown botnet"
- author = "James_inthe_box"
- reference = "https://app.any.run/tasks/5a12dfe2-ba7a-4efe-8062-d710e7350c94"
- date = "2019/01"
- maltype = "Bot"
- strings:
- $string1 = "[%d] ERROR: %d, %s: %d"
- $string2 = "download|update|delete|nothing|plugin_start|plugin_stop|plugin_delete"
- $string3 = "plugin_start"
- $string4 = "plugin_stop"
- $string5 = "plugin_delete"
- condition:
- all of ($string*) and filesize > 100KB
- }
- snort/suricata sig:
- alert tcp $HOME_NET any -> $EXTERNAL_NET !$HTTP_PORTS (msg:"Unknown Botnet Download"; flow:established,to_server; content:"|62 23 ad 07 62 23 ad 07 62 23 ad 07 62 23 ad 07 62 23 ad 07 62 23 ad 07 62 23 ad 07 62 23 ad 07|"; reference:url,https://app.any.run/tasks/5a12dfe2-ba7a-4efe-8062-d710e7350c94; classtype:trojan-activity; sid:20166284; rev:1; metadata:created_at 2019_01_29;)
- alert tcp $HOME_NET any -> $EXTERNAL_NET !$HTTP_PORTS (msg:"Unknown Botnet Checkin-Keepalive"; flow:established,to_server; content:"|d2 37 81 e4|"; content:"|e6 07 00 00 85 78 d3 a8 96 37 81 e4 d2 37 81 e4 d2 37 81 e4|"; distance:44; reference:url,https://app.any.run/tasks/5a12dfe2-ba7a-4efe-8062-d710e7350c94; classtype:trojan-activity; sid:20166285; rev:1; metadata:created_at 2019_01_29;)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement