-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for WanaCry, Cerber and Emotet.
- Loading branch information
1 parent
0b94fa5
commit baf9146
Showing
14 changed files
with
300 additions
and
16 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
Binary file not shown.
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,17 @@ | ||
rule Cerber | ||
{ | ||
meta: | ||
author = "kevoreilly" | ||
description = "Cerber Payload" | ||
cape_type = "Cerber Payload" | ||
strings: | ||
$code1 = {33 C0 66 89 45 88 8D 7D 8A AB AB AB AB AB 66 AB 8D 45 88 E8 54 60 00 00 C7 04 24 90 37} | ||
condition: | ||
//check for MZ Signature at offset 0 | ||
uint16(0) == 0x5A4D | ||
and | ||
all of them | ||
} | ||
|
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 Emotet | ||
{ | ||
meta: | ||
author = "kevoreilly" | ||
description = "Emotet Payload" | ||
cape_type = "Emotet Payload" | ||
strings: | ||
$string1 = "%s\\es.l.k" | ||
$string2 = "%s\\es\\%3.ex%" | ||
$string2 = "AlllAsclAttlBac" | ||
$decrypt = {69 C9 3F 00 01 00 8D 52 01 0F BE C0 03 C8 8A 02 84 C0 75 EC 33 4D 0C 33 F6 85 FF} | ||
condition: | ||
//check for MZ Signature at offset 0 | ||
uint16(0) == 0x5A4D | ||
and | ||
all of them | ||
} | ||
|
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 WanaCry | ||
{ | ||
meta: | ||
author = "kevoreilly" | ||
description = "WanaCry Payload" | ||
cape_type = "WanaCry Payload" | ||
strings: | ||
$exename = "@[email protected]" | ||
$res = "%08X.res" | ||
$pky = "%08X.pky" | ||
$eky = "%08X.eky" | ||
$taskstart = {8B 35 58 71 00 10 53 68 C0 D8 00 10 68 F0 DC 00 10 FF D6 83 C4 0C 53 68 B4 D8 00 10 68 24 DD 00 10 FF D6 83 C4 0C 53 68 A8 D8 00 10 68 58 DD 00 10 FF D6 53} | ||
condition: | ||
//check for MZ Signature at offset 0 | ||
uint16(0) == 0x5A4D | ||
and | ||
all of them | ||
} | ||
|
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,14 @@ | ||
rule HeavensGate | ||
{ | ||
meta: | ||
author = "kevoreilly" | ||
description = "Heaven's Gate: Switch from 32-bit to 64-mode" | ||
cape_type = "Heaven's Gate" | ||
|
||
strings: | ||
$gate_v1 = {6A 33 E8 00 00 00 00 83 04 24 05 CB} | ||
$gate_v2 = {9A 00 00 00 00 33 00 89 EC 5D C3 48 83 EC 20 E8 00 00 00 00 48 83 C4 20 CB} | ||
condition: | ||
($gate_v1 or $gate_v2) | ||
} |
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
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
Oops, something went wrong.