08e8d462fe
RED PILL 🔴 💊
61 lines
No EOL
1.7 KiB
Text
61 lines
No EOL
1.7 KiB
Text
rule apt_win_exe_trojan_derusbi
|
|
{
|
|
meta:
|
|
author = "Fidelis Cybersecurity"
|
|
reference = "https://www.fidelissecurity.com/resources/turbo-campaign-featuring-derusbi-64-bit-linux"
|
|
strings:
|
|
$sa_1 = "USB" wide ascii
|
|
$sa_2 = "RAM" wide ascii
|
|
$sa_3 = "SHARE" wide ascii
|
|
$sa_4 = "HOST: %s:%d"
|
|
$sa_5 = "POST"
|
|
$sa_6 = "User-Agent: Mozilla"
|
|
$sa_7 = "Proxy-Connection: Keep-Alive"
|
|
$sa_8 = "Connection: Keep-Alive"
|
|
$sa_9 = "Server: Apache"
|
|
$sa_10 = "HTTP/1.1"
|
|
$sa_11 = "ImagePath"
|
|
$sa_12 = "ZwUnloadDriver"
|
|
$sa_13 = "ZwLoadDriver"
|
|
$sa_14 = "ServiceMain"
|
|
$sa_15 = "regsvr32.exe"
|
|
$sa_16 = "/s /u" wide ascii
|
|
$sa_17 = "rand"
|
|
$sa_18 = "_time64"
|
|
$sa_19 = "DllRegisterServer"
|
|
$sa_20 = "DllUnregisterServer"
|
|
$sa_21 = { 8b [5] 8b ?? d3 ?? 83 ?? 08 30 [5] 40 3b [5] 72 } // Decode Driver
|
|
|
|
$sb_1 = "PCC_CMD_PACKET"
|
|
$sb_2 = "PCC_CMD"
|
|
$sb_3 = "PCC_BASEMOD"
|
|
$sb_4 = "PCC_PROXY"
|
|
$sb_5 = "PCC_SYS"
|
|
$sb_6 = "PCC_PROCESS"
|
|
$sb_7 = "PCC_FILE"
|
|
$sb_8 = "PCC_SOCK"
|
|
|
|
$sc_1 = "bcdedit -set testsigning" wide ascii
|
|
$sc_2 = "update.microsoft.com" wide ascii
|
|
$sc_3 = "_crt_debugger_hook" wide ascii
|
|
$sc_4 = "ue8G5" wide ascii
|
|
|
|
$sd_1 = "NET" wide ascii
|
|
$sd_2 = "\\\\.\\pipe\\%s" wide ascii
|
|
$sd_3 = ".dat" wide ascii
|
|
$sd_4 = "CONNECT %s:%d" wide ascii
|
|
$sd_5 = "\\Device\\" wide ascii
|
|
|
|
$se_1 = "-%s-%04d" wide ascii
|
|
$se_2 = "-%04d" wide ascii
|
|
$se_3 = "FAL" wide ascii
|
|
$se_4 = "OK" wide ascii
|
|
$se_5 = "2.03" wide ascii
|
|
$se_6 = "XXXXXXXXXXXXXXX" wide ascii
|
|
|
|
condition:
|
|
(uint16(0) == 0x5A4D) and ( (all of ($sa_*)) or (
|
|
(13 of ($sa_*)) and
|
|
( (5 of ($sb_*)) or (3 of ($sc_*)) or (all of ($sd_*)) or
|
|
( (1 of ($sc_*)) and (all of ($se_*)) ) ) ) )
|
|
} |