-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
rule DiscoNightClub { | ||
meta: | ||
author = "ditekSHen" | ||
description = "Hunts for Disco NightClub" | ||
cape_type = "DiscoNightClub Payload" | ||
strings: | ||
$s1 = "\\OfficeBroker\\OfficeBroker.exe" ascii wide nocase | ||
$s2 = "\\EDGEUPDATE\\EDGEAOUT" ascii wide nocase | ||
$s3 = "\\EDGEUPDATE\\update" ascii wide nocase | ||
$s4 = "windows.system.update.com" ascii wide nocase | ||
$s5 = "edgeupdate-security-windows.com" ascii wide nocase | ||
$s6 = "nightclub::" ascii wide nocase | ||
$s7 = "EncryptedPasswordFlt" ascii wide nocase | ||
$s8 = "Microsoft\\def\\Gfr45.cfg" ascii wide nocase | ||
$s9 = "::keylog::" ascii wide nocase | ||
$pdb1 = "\\AbcdMainProject\\Rootsrc\\Projects\\MainS\\Ink\\" ascii wide nocase | ||
$pdb2 = "\\Autogen\\Kh\\AutogenAlg\\" ascii wide nocase | ||
condition: | ||
uint16(0) == 0x5a4d and ((1 of ($pdb*) and 2 of ($s*)) or (4 of ($s*))) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import "pe" | ||
|
||
rule R77 { | ||
meta: | ||
author = "ditekSHen" | ||
description = "Detects r77 rootkit" | ||
cape_type = "R77 Payload" | ||
strings: | ||
$s1 = "startup" fullword wide | ||
$s2 = "process_names" fullword wide | ||
$s3 = "paths" fullword wide | ||
$s4 = "service_names" fullword wide | ||
$s5 = "tcp_local" fullword wide | ||
$s6 = "tcp_remote" fullword wide | ||
$s7 = "\\\\.\\pipe\\" wide | ||
$s8 = "SOFTWARE\\" wide | ||
condition: | ||
uint16(0) == 0x5a4d and ( | ||
all of ($s*) or | ||
(5 of them and pe.exports("ReflectiveDllMain")) or | ||
(5 of them and | ||
for any i in (0 .. pe.number_of_sections) : ( | ||
( | ||
pe.sections[i].name == ".detourd" | ||
) | ||
) | ||
) | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters