Skip to content

Commit

Permalink
Add new rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ditekshen committed Sep 23, 2024
1 parent df226ac commit a4e8a64
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
26 changes: 26 additions & 0 deletions data/yara/CAPE/Cicada.yar
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
rule Cicada3301 {
meta:
author = "ditekshen"
description = "Detects Cicada3301"
cape_type = "Cicada Payload"
strings:
$s1 = "cmd/Cchcp 65001 >nulnet view \\\\"
$s2 = "create_file_recovery"
$s3 = "ecnrypted_files_full"
$s4 = "get_excluded_directories"
$s5 = "collect_files_except"
$s6 = ".exe4d5a" ascii
$s7 = "-accepteula -s -d \"\" --" ascii
$s8 = "[*.exe*.EXE*.DLL*.ini*.inf*.pol*.cmd*.ps1*.vbs*.bat*.pagefile.sys*.hiberfil.sys*.drv" ascii
$s9 = "memtasveeamsvc$backupsqlvssmsexchangesql$mysqlmysql$sophosMSExchange" ascii
$s10 = "-DATA.txt" ascii
$s11 = /--no_(local|net|impl)/ fullword ascii
$c1 = "fsutil" ascii
$c2 = "iisreset" ascii
$c3 = "vssadmin" ascii
$c4 = "wmic" ascii
$c5 = "bcdedit" ascii
$c6 = "wevtutil" ascii
condition:
uint16(0) == 0x5a4d and (6 of ($s*) or (4 of ($c*) and 4 of ($s*)) or (all of ($c*) and 2 of ($s*)) or 9 of them)
}
17 changes: 17 additions & 0 deletions data/yara/CAPE/PondRAT.yar
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
rule PondRAT {
meta:
author = "ditekshen"
description = "Detects PondRAT"
cape_type = "PondRAT Payload"
strings:
$s1 = "MsgDown" ascii
$s2 = "MsgUp" ascii
$s3 = "MsgRun" ascii
$s4 = "MsgCmd" ascii
$s5 = "CryptPayload" ascii
$s6 = "RecvPayload" ascii
$s7 = "csleepi" ascii
$s8 = "FConnectProxy" ascii
condition:
(uint16(0) == 0x457f or uint16(0) == 0xfacf or uint16(0) == 0xfeca) and 7 of them
}
17 changes: 17 additions & 0 deletions data/yara/CAPE/PoolRAT.yar
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
rule POOLRAT {
meta:
author = "ditekshen"
description = "Detects POOLRAT"
cape_type = "POOLRAT Payload"
strings:
$s1 = "MSG_CmdP" ascii
$s2 = "MSG_WriteConfigP" ascii
$s3 = "MSG_SecureDelP" ascii
$s4 = "ConnectToProxyP" ascii
$s5 = "MSG_KeepConP" ascii
$s6 = "MSG_SleepP" ascii
$s7 = "MSG_TestP" ascii
$s8 = "MSG_SetPathP" ascii
condition:
(uint16(0) == 0x457f or uint16(0) == 0xfacf or uint16(0) == 0xfeca) and 7 of them
}

0 comments on commit a4e8a64

Please sign in to comment.