|
| 1 | +rule DarkCloud { |
| 2 | + meta: |
| 3 | + author = "YungBinary" |
| 4 | + description = "https://x.com/YungBinary/status/1971585972912689643" |
| 5 | + cape_type = "DarkCloud Payload" |
| 6 | + strings: |
| 7 | + $darkcloud1 = "===============DARKCLOUD===============" fullword wide |
| 8 | + $creds1 = "@GateUrl" wide |
| 9 | + $creds2 = "@StrFtpUser" wide |
| 10 | + $creds3 = "@StrFtpPass" wide |
| 11 | + $creds4 = "@StrFtpServer" wide |
| 12 | + $creds5 = "@StrReceiver" wide |
| 13 | + $creds6 = "@StrSmtpUser" wide |
| 14 | + $creds7 = "@StrSmtpPass" wide |
| 15 | + $sql1 = "SELECT item1 FROM metadata" wide |
| 16 | + $sql2 = "SELECT name_on_card, expiration_month, expiration_year, card_number_encrypted FROM credit_cards" wide |
| 17 | + $sql3 = "SELECT hostname, encryptedUsername, encryptedPassword FROM moz_logins" wide |
| 18 | + $sql4 = "SELECT address FROM ConversationRecipients" wide |
| 19 | + $sql5 = "SELECT address FROM ConversationSenders" wide |
| 20 | + $app1 = "Application : Pidgin" wide |
| 21 | + $app2 = "Application: CoreFTP" wide |
| 22 | + $app3 = "Application: WinSCP" wide |
| 23 | + $app4 = "Application: Outlook" wide |
| 24 | + $app5 = "Application : FileZilla" fullword wide |
| 25 | + $fingerprint1 = "Computer Name: " fullword wide |
| 26 | + $fingerprint2 = "OS FullName: " fullword wide |
| 27 | + $fingerprint3 = "CPU: " fullword wide |
| 28 | + $fingerprint4 = "SELECT * FROM Win32_Processor" fullword wide |
| 29 | + $fingerprint5 = "SELECT * FROM Win32_OperatingSystem" fullword wide |
| 30 | + condition: |
| 31 | + uint16(0) == 0x5a4d and |
| 32 | + ( |
| 33 | + $darkcloud1 and 1 of ($creds*) or |
| 34 | + (3 of ($creds*) and 1 of ($sql*)) or |
| 35 | + (2 of ($sql*) and 2 of ($app*)) or |
| 36 | + (2 of ($creds*) and 2 of ($fingerprint*)) or |
| 37 | + (2 of ($app*) and 2 of ($fingerprint*) and 1 of ($sql*)) |
| 38 | + ) |
| 39 | +} |
0 commit comments