-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better handling of overrides after all fr.Behaviors are added
Signed-off-by: egibs <[email protected]>
- Loading branch information
Showing
2 changed files
with
98 additions
and
28 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
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,21 @@ | ||
rule plugx : override { | ||
meta: | ||
malware_PlugX_config = "high" | ||
strings: | ||
$v1 = { 47 55 4c 50 00 00 00 00 } | ||
$v2a = { 68 40 25 00 00 } | ||
$v2c = { 68 58 2D 00 00 } | ||
$v2b = { 68 a0 02 00 00 } | ||
$v2d = { 68 a4 36 00 00 } | ||
$v2e = { 8D 46 10 68 } | ||
$v2f = { 68 24 0D 00 00 } | ||
$v2g = { 68 a0 02 00 00 } | ||
$v2h = { 68 e4 0a 00 00 } | ||
$enc1 = { C1 E? 03 C1 E? 07 2B ?? } | ||
$enc2 = { 32 5? ?? 81 E? ?? ?? 00 00 2A 5? ?? 89 ?? ?? 32 ?? 2A ?? 32 5? ?? 2A 5? ?? 32 } | ||
$enc3 = { B? 33 33 33 33 } | ||
$enc4 = { B? 44 44 44 44 } | ||
condition: | ||
$v1 at 0 or ($v2a and $v2b and $enc1) or ($v2c and $v2b and $enc1) or ($v2d and $v2b and $enc2) or ($v2d and $v2e and $enc2) or ($v2f and $v2g and $enc3 and $enc4) or ($v2h and $v2g and $enc3 and $enc4) | ||
} |