/*
* YARA-Forge YARA Rule Package
* https://github.com/YARAHQ/yara-forge
*
* Rule Package Information
* Name: core
* Description: Default YARA Rule Package - Core
* YARA-Forge Version: 0.9.1
* YARA-QA Commit: 7f1c7f4ad5b5164aa49361bf2a772795202d7e36
* Minimum Quality: 70
* Force Include Importance Level: 80
* Force Exclude Importance Level: 50
* Minimum Age (in days): 1
* Minimum Score: 65
* Creation Date: 2026-03-15
* Number of Rules: 4997
* Skipped: 3044 (age), 857 (quality), 968 (score), 2039 (importance)
*/
/*
* YARA Rule Set
* Repository Name: R3c0nst
* Repository: https://github.com/fboldewin/YARA-rules/
* Retrieval Date: 2026-03-15
* Git Commit: 54e9e6899b258b72074b2b4db6909257683240c2
* Number of Rules: 21
* Skipped: 3 (age), 2 (quality), 0 (score), 0 (importance)
*
*
* LICENSE
*
* NO LICENSE SET
*/
rule R3C0NST_ATM_Malware_XFS_DIRECT : FILE
{
meta:
description = "Detects ATM Malware XFS_DIRECT"
author = "Frank Boldewin (@r3c0nst)"
id = "d1551c50-d3d2-56fd-a6b7-198d3a26ac72"
date = "2019-10-18"
modified = "2019-10-19"
reference = "https://twitter.com/r3c0nst/status/1185237040583106560"
source_url = "https://github.com/fboldewin/YARA-rules//blob/54e9e6899b258b72074b2b4db6909257683240c2/ATM.Malware.XFS_DIRECT.yar#L1-L37"
license_url = "N/A"
logic_hash = "844a334d0eb8516c0ef3780e48e3dbc8e23d41c80bdff10f01407b775e72709e"
score = 75
quality = 90
tags = "FILE"
hash1 = "3e023949fecd5d06b3dff9e86e6fcac6a9ec6c805b93118db43fb4e84fe43ee0"
hash2 = "303f2a19b286ca5887df2a334f22b5690dda9f092e677786e2a8879044d8ad11"
hash3 = "15d50938e51ee414124314095d3a27aa477f40413f83d6a2b2a2007efc5a623a"
hash4 = "0f9cb4dc1ac2777be30145c3271c95a027758203d0de245ec390037f7325d79d"
hash5 = "141ae291ddae60fd1b232f543bc9b40f3a083521cd7330c427bb8fc5cdd23966"
hash6 = "66eb1a8134576db05382109eec7e297149f25a021aba5171d2f99aa49c381456"
hash7 = "ac20b12beefb2036595780aaf7ec29203e2e09b6237d93cd26eaa811cebd6665"
hash8 = "901fc474f50eb62edc526593208a7eec4df694e342ffc5b895d1dcec953c6899"
hash9 = "56548c26741b25b15c27a0de498c5e04c69b0c9250ba35e3a578bc2f05eedd07"
hash10 = "c89f1d562983398ab2d6dd75e4e30cc0e95eab57cdf48c4a17619dca9ecc0748"
strings:
$EncLayer1 = {0F B6 51 FC 30 50 FF 0F B6 11 30 10 0F B6 51 04 30 50 01 0F B6 51 08 30 50 02}
$EncLayer2 = {B8 4D 5A 00 00 89 33 66 39 06 75 ?? 8b ?? 3c}
$String1 = "NOW ENTER MASTER KEY" ascii nocase
$String2 = "Closing app, than delete myself." ascii nocase
$String3 = "Number of phisical cash units is:" ascii nocase
$String4 = "COULD NOT ENABLE or DISABLE connection" ascii nocase
$String5 = "XFS_DIRECT" ascii nocase
$String6 = "Take the money you snicky mother fucker :)" ascii nocase
$String7 = "ATM IS TEMPORARILY OUT OF SERVICE!" wide nocase
$Code1 = {D1 F8 89 44 24 10 DB 44 24 10 DC 0D ?? ?? ?? ?? E8 ?? ?? ?? ?? 35 2F 81 0B 00 A3}
$Code2 = {8B ?? ?? ?? 68 2E 01 00 00 52 C7 ?? 06 01 00 00 00}
condition:
uint16( 0 ) == 0x5A4D and ( filesize < 1500KB and all of ( $EncLayer* ) ) or ( filesize < 300KB and 4 of ( $String* ) and all of ( $Code* ) )
}
rule R3C0NST_Ransomware_Germanwiper : FILE
{
meta:
description = "Detects RansomWare GermanWiper in Memory or in unpacked state"
author = "Frank Boldewin (@r3c0nst)"
id = "ea71849e-62a1-5b4d-9cf7-0728192361cc"
date = "2019-08-05"
modified = "2019-08-05"
reference = "https://twitter.com/r3c0nst/status/1158326526766657538"
source_url = "https://github.com/fboldewin/YARA-rules//blob/54e9e6899b258b72074b2b4db6909257683240c2/Ransomware.Germanwiper.yar#L1-L25"
license_url = "N/A"
logic_hash = "563ad59abd09d9a5fcfcf5ed48dc1e3c48b4bb198c20721d5af531da20d2b0d3"
score = 75
quality = 90
tags = "FILE"
hash_packed = "41364427dee49bf544dcff61a6899b3b7e59852435e4107931e294079a42de7c"
hash_unpacked = "708967cad421bb2396017bdd10a42e6799da27e29264f4b5fb095c0e3503e447"
strings:
$PurgeCode = {6a 00 8b 47 08 50 6a 00 6a 01 e8 ?? ?? ?? ?? 50 e8 ?? ?? ?? ?? 8b f0 8b d7 8b c3 e8}
$Mutex1 = "HSDFSD-HFSD-3241-91E7-ASDGSDGHH" nocase ascii
$Mutex2 = "cFgxTERNWEVhM2V" nocase ascii
$ProcessKill1 = "oracle.exe" nocase ascii
$ProcessKill2 = "sqbcoreservice.exe" nocase ascii
$ProcessKill3 = "isqlplussvc.exe" nocase ascii
$ProcessKill4 = "mysqld.exe" nocase ascii
$KillShadowCopies = "vssadmin.exe delete shadows" nocase ascii
$Domain1 = "cdnjs.cloudflare.com" nocase ascii
$Domain2 = "expandingdelegation.top" nocase ascii
$RansomNote = "Entschluesselungs_Anleitung.html" nocase ascii
condition:
uint16( 0 ) == 0x5A4D and filesize < 1000KB and 5 of them
}
rule R3C0NST_ATM_Malware_Xfscashncr : FILE
{
meta:
description = "Detects ATM Malware XFSCashNCR"
author = "Frank Boldewin (@r3c0nst)"
id = "8886cd00-4f4a-5f25-99e0-0806f5e1b4b4"
date = "2019-08-28"
modified = "2019-08-28"
reference = "https://twitter.com/r3c0nst/status/1166773324548063232"
source_url = "https://github.com/fboldewin/YARA-rules//blob/54e9e6899b258b72074b2b4db6909257683240c2/ATM.Malware.XFSCashNCR.yar#L1-L21"
license_url = "N/A"
logic_hash = "87f197058d4b515cb4829b5e403a96b88eb95cda81e53a9e1484df8c743d8c4a"
score = 75
quality = 90
tags = "FILE"
hash1 = "d6dff67a6b4423b5721908bdcc668951f33b3c214e318051c96e8c158e8931c0"
strings:
$Code1 = {50 8b 4d e8 8b 51 10 52 6a 00 68 2d 01 00 00 8b 45 e8 0f b7 48 1c 51 e8}
$Code2 = {52 8d 45 d0 50 68 2e 01 00 00 8b 4d e8 0f b7 51 1c 52 e8}
$StatusMessage1 = "[+] Ingrese Denominacion ISO" nocase ascii
$StatusMessage2 = "[+] Ingrese numero de billetes" nocase ascii
$StatusMessage3 = "[!] FAIL.. dispensadores no encontrados" nocase ascii
$StatusMessage4 = "[!] Unable continue, IMPOSIBLE abrir dispenser" nocase ascii
$PDB = "C:\\Users\\cyttek\\Downloads\\xfs_cashXP\\Debug\\xfs_cash_ncr.pdb" nocase ascii
$LogFile = "XfsLog.txt" nocase ascii
condition:
uint16( 0 ) == 0x5A4D and filesize < 1500KB and 4 of them
}
rule R3C0NST_UNC2891_Steelcorgi : FILE
{
meta:
description = "Detects UNC2891 Steelcorgi packed ELF binaries"
author = "Frank Boldewin (@r3c0nst)"
id = "94da7da5-5fc3-5221-97d6-1854aa7b1959"
date = "2022-03-30"
modified = "2023-01-05"
reference = "https://github.com/fboldewin/YARA-rules/"
source_url = "https://github.com/fboldewin/YARA-rules//blob/54e9e6899b258b72074b2b4db6909257683240c2/UNC2891_Steelcorgi.yar#L1-L17"
license_url = "N/A"
logic_hash = "4f956b9eaec66bc606ffd0afa2fe9303194e9a8c12d4c3de6ab2334c9856dd99"
score = 75
quality = 90
tags = "FILE"
hash1 = "0760cd30d18517e87bf9fd8555513423db1cd80730b47f57167219ddbf91f170"
hash2 = "3560ed07aac67f73ef910d0b928db3c0bb5f106b5daee054666638b6575a89c5"
hash3 = "5b4bb50055b31dbd897172583c7046dd27cd03e1e3d84f7a23837e8df7943547"
strings:
$pattern1 = {70 61 64 00 6C 63 6B 00}
$pattern2 = {FF 72 FF 6F FF 63 FF 2F FF 73 FF 65 FF 6C FF 66 FF 2F FF 65 FF 78 FF 65}
condition:
uint32( 0 ) == 0x464c457f and all of them
}
rule R3C0NST_ATM_Malware_Dispcashbr : FILE
{
meta:
description = "Detects ATM Malware DispCashBR"
author = "Frank Boldewin (@r3c0nst)"
id = "17d22120-0ca2-5b27-9816-21ab4a6fb20c"
date = "2020-02-27"
modified = "2020-08-17"
reference = "https://twitter.com/r3c0nst/status/1232944566208286720"
source_url = "https://github.com/fboldewin/YARA-rules//blob/54e9e6899b258b72074b2b4db6909257683240c2/ATM.Malware.DispCashBR.yar#L1-L21"
license_url = "N/A"
logic_hash = "3fb5d62cb779ddc13e9b938290dfa9d2a3353d7969e639a662c1bcaca945de4d"
score = 75
quality = 90
tags = "FILE"
hash1 = "7cea6510434f2c8f28c9dbada7973449bb1f844cfe589cdc103c9946c2673036"
strings:
$String1 = "(*) Dispensando: %lu" ascii nocase
$String2 = "COMANDO EXECUTADO COM SUCESSO" ascii nocase
$String3 = "[+] FOI SACADO: %lu R$ [+]" ascii nocase
$DbgStr1 = "_Get_Information_cdm_cuinfo" ascii nocase
$DbgStr2 = "_GET_INFORMATION_SHUTTER" ascii nocase
$Code1 = {C7 44 24 08 00 00 00 00 C7 44 24 04 2F 01 00 00 89 04 24 E8}
$Code2 = {C7 44 24 08 00 00 00 00 C7 44 24 04 17 05 00 00 89 04 24 E8}
$Code3 = {89 4C 24 08 C7 44 24 04 2E 01 00 00 89 04 24 E8}
condition:
uint16( 0 ) == 0x5A4D and filesize < 100KB and 2 of ( $String* ) and 1 of ( $DbgStr* ) and all of ( $Code* )
}
rule R3C0NST_ATM_Malware_XFS_ALICE : FILE
{
meta:
description = "Detects ATM Malware ALICE"
author = "Frank Boldewin (@r3c0nst)"
id = "6132730c-4684-517a-b90d-98ed250e2cba"
date = "2020-01-09"
modified = "2020-08-17"
reference = "https://twitter.com/r3c0nst/status/1215265889844637696"
source_url = "https://github.com/fboldewin/YARA-rules//blob/54e9e6899b258b72074b2b4db6909257683240c2/ATM.Malware.ALICE.yar#L1-L22"
license_url = "N/A"
logic_hash = "7dca049f024f09c2e778b0693a1015d1fc5a006fc564de914e85231cb5d73da3"
score = 75
quality = 90
tags = "FILE"
hash1 = "6b2fac8331e4b3e108aa829b297347f686ade233b24d94d881dc4eff81b9eb30"
strings:
$String1 = "Project Alice" ascii nocase
$String2 = "Can't dispense requested amount." ascii nocase
$String3 = "Selected cassette is unavailable" ascii nocase
$String4 = "ATM update manager" wide nocase
$String5 = "Input PIN-code for access" wide nocase
$String6 = "Supervisor ID" wide nocase
$Code1 = {50 68 08 07 00 00 6A 00 FF 75 0C FF 75 08 E8}
$Code2 = {50 6A 00 FF 75 10 FF 75 0C FF 75 08 E8}
$Code3 = {68 ?? ?? ?? ?? 53 E8 ?? ?? ?? ?? 0B C0 75 29 6A}
condition:
uint16( 0 ) == 0x5A4D and filesize < 200KB and 4 of ( $String* ) and all of ( $Code* )
}
rule R3C0NST_Gamaredon_Getimportbyhash : FILE
{
meta:
description = "Detects Gamaredon APIHashing"
author = "Frank Boldewin (@r3c0nst)"
id = "8f28273e-e8ca-52cb-8dbc-a235598b1975"
date = "2021-05-12"
modified = "2021-05-12"
reference = "https://github.com/fboldewin/YARA-rules/"
source_url = "https://github.com/fboldewin/YARA-rules//blob/54e9e6899b258b72074b2b4db6909257683240c2/APT.Gamaredon.GetImportByHash.yar#L1-L16"
license_url = "N/A"
logic_hash = "b3baebfb745ebc7b9e6df746bfa9622f925b8e8130932e44a148881e7d1fc162"
score = 75
quality = 90
tags = "FILE"
hash1 = "2d03a301bae0e95a355acd464afc77fde88dd00232aad6c8580b365f97f67a79"
hash2 = "43d6e56515cca476f7279c3f276bf848da4bc13fd15fad9663b9e044970253e8"
hash3 = "5c09f6ebb7243994ddc466058d5dc9920a5fced5e843200b1f057bda087b8ba6"
strings:
$ParseImgExportDir = { 8B 50 3C 03 D0 8B 52 78 03 D0 8B 4A 1C 03 C8 }
$djb2Hashing = { 8B 75 08 BA 05 15 00 00 8B C2 C1 E2 05 03 D0 33 DB 8A 1E 03 D3 46 33 DB 8A 1E 85 DB 75 }
condition:
uint16( 0 ) == 0x5a4d and all of them
}
rule R3C0NST_UNC2891_Winghook : FILE
{
meta:
description = "Detects UNC2891 Winghook Keylogger"
author = "Frank Boldewin (@r3c0nst)"
id = "e5955fa0-8204-58e3-88a6-de4b47756ede"
date = "2022-03-30"
modified = "2023-01-05"
reference = "https://github.com/fboldewin/YARA-rules/"
source_url = "https://github.com/fboldewin/YARA-rules//blob/54e9e6899b258b72074b2b4db6909257683240c2/UNC2891_Winghook.yar#L1-L17"
license_url = "N/A"
logic_hash = "b821d0809a91c54d06764f5a04c458ec7190b41823b2fe65d198342715f22050"
score = 75
quality = 90
tags = "FILE"
hash1 = "d071ee723982cf53e4bce89f3de5a8ef1853457b21bffdae387c4c2bd160a38e"
strings:
$code1 = {01 F9 81 E1 FF 00 00 00 41 89 CA [15] 44 01 CF 81 E7 FF 00 00 00}
$code2 = {83 E2 0F 0F B6 14 1? 32 14 01 88 14 0? 48 83 ?? ?? 48 83 ?? ?? 75}
$str1 = "fgets" ascii
$str2 = "read" ascii
condition:
uint32( 0 ) == 0x464c457f and filesize < 100KB and 1 of ( $code* ) and all of ( $str* )
}
rule R3C0NST_ATM_Malware_NVISOSPIT : FILE
{
meta:
description = "Detects ATM Malware NVISOSPIT"
author = "Frank Boldewin (@r3c0nst)"
id = "faf9e78e-9d7a-5c9b-a08e-90b895333d5c"
date = "2019-05-31"
modified = "2019-05-31"
reference = "https://twitter.com/r3c0nst/status/1134403094157115392"
source_url = "https://github.com/fboldewin/YARA-rules//blob/54e9e6899b258b72074b2b4db6909257683240c2/ATM.Malware.NVISOSPIT.yar#L3-L18"
license_url = "N/A"
hash = "d7ce7b152f0da49e96fa32a9336b35253905d9940b001288d0df55d8f8b3951f"
logic_hash = "11c1fea74b72a7821ce76a95846a2caff7354e71906496d9530cb44339a49a98"
score = 75
quality = 90
tags = "FILE"
strings:
$MalwareName = "NVISOSPIT" ascii fullword
$DispenseCommand = "Calling WFSExecute() to dispense $%d" fullword ascii
$Code = {C6 85 7D F9 FF FF 4D C6 85 7E F9 FF FF 4D C6 85 7F F9 FF FF 4B}
condition:
uint16( 0 ) == 0x5A4D and filesize < 100KB and 2 of them
}
rule R3C0NST_Prolock_Malware : FILE
{
meta:
description = "Detects Prolock malware in encrypted and decrypted mode"
author = "Frank Boldewin (@r3c0nst)"
id = "1440b5f5-f1e7-522e-8852-84c326858bb9"
date = "2020-05-17"
modified = "2020-05-20"
reference = "https://raw.githubusercontent.com/fboldewin/YARA-rules/master/Prolock.Malware.yar"
source_url = "https://github.com/fboldewin/YARA-rules//blob/54e9e6899b258b72074b2b4db6909257683240c2/Prolock.Malware.yar#L1-L20"
license_url = "N/A"
logic_hash = "7502011eba1e36c8ec699f1b627c4980cc3009bb43c5aa5a58571330e93211ea"
score = 75
quality = 90
tags = "FILE"
hash1 = "a6ded68af5a6e5cc8c1adee029347ec72da3b10a439d98f79f4b15801abd7af0"
hash2 = "dfbd62a3d1b239601e17a5533e5cef53036647901f3fb72be76d92063e279178"
strings:
$DecryptionRoutine1 = {31 04 1A 81 3C 1A 90 90 90 90 74}
$DecryptionRoutine2 = {83 C3 04 81 3C 1A C4 C4 C4 C4 74}
$DecryptedString1 = "support981723721@protonmail.com" nocase ascii
$DecryptedString2 = "Your files have been encrypted by ProLock Ransomware" nocase ascii
$DecryptedString3 = "msaoyrayohnp32tcgwcanhjouetb5k54aekgnwg7dcvtgtecpumrxpqd.onion" nocase ascii
$CryptoCode = {B8 63 51 E1 B7 31 D2 8D BE ?? ?? ?? ?? B9 63 51 E1 B7 81 C1 B9 79 37 9E}
condition:
(( uint16( 0 ) == 0x5A4D ) or ( uint16( 0 ) == 0x4D42 ) ) and filesize < 100KB and all of ( $DecryptionRoutine* ) or ( 1 of ( $DecryptedString* ) and $CryptoCode )
}
rule R3C0NST_Aplib_Decompression : FILE
{
meta:
description = "Detects aPLib decompression code often used in malware"
author = "@r3c0nst"
id = "f45c73f5-d316-5fea-a8c4-fd930733415f"
date = "2021-03-24"
modified = "2021-03-25"
reference = "https://ibsensoftware.com/files/aPLib-1.1.1.zip"
source_url = "https://github.com/fboldewin/YARA-rules//blob/54e9e6899b258b72074b2b4db6909257683240c2/aPLib_decompression.yar#L1-L16"
license_url = "N/A"
logic_hash = "1150701724fdb487ebe8fb959afd12fff37a8e9137cb94e78e976a2566ec5fa4"
score = 75
quality = 90
tags = "FILE"
strings:
$pattern1 = { FC B2 80 31 DB A4 B3 02 }
$pattern2 = { AC D1 E8 74 ?? 11 C9 EB }
$pattern3 = { 73 0A 80 FC 05 73 ?? 83 F8 7F 77 }
condition:
filesize < 10MB and all of them
}
rule R3C0NST_Stealbit : FILE
{
meta:
description = "Detects Stealbit used by Lockbit 2.0 Ransomware Gang"
author = "Frank Boldewin (@r3c0nst)"
id = "07b466cb-92b3-51f2-a702-2930bb7038c6"
date = "2021-08-12"
modified = "2021-08-12"
reference = "https://raw.githubusercontent.com/fboldewin/YARA-rules/master/Lockbit2.Stealbit.yar"
source_url = "https://github.com/fboldewin/YARA-rules//blob/54e9e6899b258b72074b2b4db6909257683240c2/Lockbit2.Stealbit.yar#L1-L15"
license_url = "N/A"
logic_hash = "e5f770cc5887f09af0c5550073d51b9e5ffa9dcfa4db6b77bb28643f0f6224fb"
score = 75
quality = 90
tags = "FILE"
hash1 = "3407f26b3d69f1dfce76782fee1256274cf92f744c65aa1ff2d3eaaaf61b0b1d"
hash2 = "bd14872dd9fdead89fc074fdc5832caea4ceac02983ec41f814278130b3f943e"
strings:
$C2Decryption = {33 C9 8B C1 83 E0 0F 8A 80 ?? ?? ?? ?? 30 81 ?? ?? ?? ?? 41 83 F9 7C 72 E9 E8}
condition:
uint16( 0 ) == 0x5A4D and filesize < 100KB and $C2Decryption
}
rule R3C0NST_ATM_Malware_Loup : FILE
{
meta:
description = "Detects ATM Malware Loup"
author = "Frank Boldewin (@r3c0nst)"
id = "4786362f-b2c5-5b69-8b06-9216561286e6"
date = "2020-08-17"
modified = "2020-08-17"
reference = "https://twitter.com/r3c0nst/status/1295275546780327936"
source_url = "https://github.com/fboldewin/YARA-rules//blob/54e9e6899b258b72074b2b4db6909257683240c2/ATM.Malware.Loup.yar#L1-L16"
license_url = "N/A"
hash = "6c9e9f78963ab3e7acb43826906af22571250dc025f9e7116e0201b805dc1196"
logic_hash = "39efced4ee3a6147acf5732e4be3a5e9859268b35b79f5e8e87d7c4d77a588c0"
score = 75
quality = 90
tags = "FILE"
strings:
$String1 = "C:\\Users\\muham\\source\\repos\\loup\\Debug\\loup.pdb" ascii nocase
$String2 = "CurrencyDispenser1" ascii nocase
$Code = {50 68 C0 D4 01 00 8D 4D E8 51 68 2E 01 00 00 0F B7 55 08 52 E8}
condition:
uint16( 0 ) == 0x5A4D and filesize < 100KB and all of ( $String* ) and $Code
}
/*
* YARA Rule Set
* Repository Name: CAPE
* Repository: https://github.com/kevoreilly/CAPEv2
* Retrieval Date: 2026-03-15
* Git Commit: 539d7ad94675d7caee5eee0816d49af6654efb20
* Number of Rules: 168
* Skipped: 0 (age), 38 (quality), 0 (score), 0 (importance)
*
*
* LICENSE
*
* Cuckoo Sandbox is copyrighted by the Cuckoo Foundation and is licensed under
the following GNU General Public License version 3.
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
The file UserDB.txt is copyrighted by BoB / Team PEiD distributed under the following
MIT license.
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
The file jquery.js is copyrighted by John Resig and dual licensed under the MIT or GPL
Version 2 licenses (see: http://jquery.org/license).
The files lightbox.js and lightbox.css are copyrighted by Lokesh Dhakar and licensed under
the Creative Commons Attribution 2.5 License
(see: http://creativecommons.org/licenses/by/2.5/).
The files bootstrap-fileupload.js, jasny-bootstrap.js, jasny-bootstrap.min.js,
jasny-bootstrap.css, jasny-bootstrap.min.css, jasny-bootstrap-responsive.css,
jasny-bootstrap-responsive.min.css are copyrighted by Jasny BV and licensed under the Apache
License, Version 2.0.
The files bootstrap.min.js, bootstrap.min.css, bootstrap-responsive.min.css,
glyphicons-halflings.png, glyphicons-halflings-white.png are copyrighted by Twitter, Inc.
and licensed under the Apache License, Version 2.0.
The file analyzer/windows/modules/amsi.py uses parts of pywintrace
(https://github.com/fireeye/pywintrace), which is copyrighted by FireEye, Inc. and licensed
under the Apache License, Version 2.0.
*/
rule CAPE_Lumma : FILE
{
meta:
description = "Lumma config extraction"
author = "kevoreilly"
id = "b2166620-3070-5727-b189-e6959cc5b698"
date = "2024-01-05"
modified = "2024-05-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/Lumma.yar#L1-L14"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "a8f9212b619796f91f14c4164e4d2f30c66b51118f22f3d6c310841b6707b7b0"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$decode+5,action0=string:ebp,count=0,bp1=$patch+8,action1=skip,typestring=Lumma Config"
packed = "0ee580f0127b821f4f1e7c032cf76475df9724a9fade2e153a69849f652045f8"
strings:
$c2 = {8D 44 24 ?? 50 89 4C 24 ?? FF 31 E8 [4] 83 C4 08 B8 FF FF FF FF}
$decode = {C6 44 05 00 00 83 C4 2C 5E 5F 5B 5D C3}
$patch = {66 C7 0? 00 00 8B 46 1? C6 00 01 8B}
condition:
uint16( 0 ) == 0x5a4d and 2 of them
}
rule CAPE_Buerloader : FILE
{
meta:
description = "BuerLoader RDTSC Trap Bypass"
author = "kevoreilly"
id = "38f01199-6bd2-5519-b570-8c0f46e74286"
date = "2021-03-13"
modified = "2021-03-13"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/BuerLoader.yar#L1-L11"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "6f9f9b4c01251c0643c61701084cca2bdfeea08ca95f982355565cf05483d940"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$trap+43,action0=skip,count=0"
strings:
$trap = {0F 31 89 45 ?? 6A 00 8D 45 ?? 8B CB 50 E8 [4] 0F 31}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
rule CAPE_Doomedloader : FILE
{
meta:
description = "No description has been set in the source file - CAPE"
author = "kevoreilly"
id = "88436e71-360e-5719-989f-24e71591ebe0"
date = "2024-04-12"
modified = "2024-07-25"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/DoomedLoader.yar#L1-L12"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "54a5962ef49ebf987908c4ea1559788f7c96a7e4ea61d2973636e998a0239c77"
score = 75
quality = 70
tags = "FILE"
cape_options = "clear,bp0=$anti*-4,action0=setzeroflag,sysbp=$syscall+7,count=0,procdump=2"
packed = "914b1b3180e7ec1980d0bafe6fa36daade752bb26aec572399d2f59436eaa635"
strings:
$anti = {48 8B 4C 24 ?? E8 [4] 84 C0 B8 [4] 41 0F 45 C6 EB}
$syscall = {49 89 CA 8B 44 24 08 FF 64 24 10}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Latrodectus : FILE
{
meta:
description = "Latrodectus export selection"
author = "kevoreilly"
id = "7c6f167a-6b76-5509-b164-306d1cd19b0f"
date = "2024-02-26"
modified = "2024-02-26"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/Latrodectus.yar#L1-L12"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "378d220bc863a527c2bca204daba36f10358e058df49ef088f8b1045604d9d05"
logic_hash = "c2c9f23e287253d766425c05eb774f6e07bdcbabc259e04b723a1a87c8b91fbd"
score = 75
quality = 70
tags = "FILE"
cape_options = "export=$export"
strings:
$export = {48 8B C4 48 89 58 08 48 89 68 10 48 89 70 18 48 89 78 20 41 56 48 83 EC 30 4C 8B 05 [4] 33 D2 C7 40 [5] 88 50 ?? 49 63 40 3C 42 8B 8C 00 88 00 00 00 85 C9 0F 84}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Blister : FILE
{
meta:
description = "Blister Sleep Bypass"
author = "kevoreilly"
id = "34657bab-f100-5ea8-9111-da2806f46b79"
date = "2022-05-10"
modified = "2024-05-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/Blister.yar#L1-L17"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "aba379b93c85241cf250829832b2c8a5eaafb3abd0ff955dbaf0d06489c00deb"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$sleep1+6,bp1=$sleep2+7,action0=setsignflag,action1=clearcarryflag,count=3"
packed = "0a7778cf6f9a1bd894e89f282f2e40f9d6c9cd4b72be97328e681fe32a1b1a00"
packed = "afb77617a4ca637614c429440c78da438e190dd1ca24dc78483aa731d80832c2"
strings:
$sleep1 = {FF FF 83 7D F0 00 (E9|0F 8?)}
$sleep2 = {81 7D D8 90 B2 08 00 (E9|0F 8?)}
$protect = {50 6A 20 8D 45 ?? 50 8D 45 ?? 50 6A FF FF D7}
$lock = {56 33 F6 B9 FF FF FF 7F 89 75 FC 8B C1 F0 FF 45 FC 83 E8 01 75 F7}
$comp = {6A 04 59 A1 [4] 8B 78 04 8B 75 08 33 C0 F3 A7 75 0B 8B 45 0C 83 20 00 33 C0 40 EB 02 33 C0}
condition:
uint16( 0 ) == 0x5A4D and 2 of ( $protect , $lock , $comp ) and all of ( $sleep* )
}
rule CAPE_Dridexloader : FILE
{
meta:
description = "DridexLoader API Spam Bypass"
author = "kevoreilly"
id = "a8b62f64-87a0-58d3-8876-9b0f6a7deb97"
date = "2021-03-09"
modified = "2021-03-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/DridexLoader.yar#L1-L11"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "00a3e4e80a2558ee52035f091e2339fa2dad6f6515b9dc099f2f3800e4c70bce"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$trap-13,action0=ret,count=0"
strings:
$trap = {6A 50 6A 14 6A 03 5A 8D 4C 24 ?? E8 [4] 68 [4] 68 [4] E8 [4] 85 C0 74 05}
condition:
uint16( 0 ) == 0x5A4D and $trap
}
rule CAPE_Guloaderprecursor : FILE
{
meta:
description = "Guloader precursor"
author = "kevoreilly"
id = "663f89d7-a18b-5b03-a7cb-52444a887fa4"
date = "2020-12-29"
modified = "2023-10-02"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/Guloader.yar#L17-L28"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "ea05c352739366a03da302074b01537382ba26f7fd5049004f156e47d284f070"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$antidbg,action0=scan,hc0=1,count=0"
strings:
$antidbg = {39 48 04 (0F 85 [3] ??|75 ??) 39 48 08 (0F 85 [3] ??|75 ??) 39 48 0C (0F 85 [3] ??|75 ??)}
$except = {8B 45 08 [0-3] 8B 00 [0-3] 8B 58 18 [0-20] 81 38 05 00 00 C0 0F 85 [4-7] 83 FB 00 (0F 84|74)}
condition:
2 of them and not uint16( 0 ) == 0x5A4D
}
rule CAPE_Bumblebee : FILE
{
meta:
description = "BumbleBee Anti-VM Bypass"
author = "enzo & kevoreilly"
id = "85e2c9fd-86de-57c8-99ec-de2cc3996876"
date = "2022-04-21"
modified = "2023-02-08"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/BumbleBee.yar#L34-L46"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "0a632a0b30b28d544880eb1cfdd85e95f455c343d60f8d6922d4196ef7415961"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$antivm1+2,bp1=$antivm2+2,bp1=$antivm3+38,action0=jmp,action1=skip,count=0,force-sleepskip=1"
strings:
$antivm1 = {84 C0 74 09 33 C9 FF [4] 00 CC 33 C9 E8 [3] 00 4? 8B C8 E8}
$antivm2 = {84 C0 0F 85 [2] 00 00 33 C9 E8 [4] 48 8B C8 E8 [4] 48 8D 85}
$antivm3 = {33 C9 E8 [4] 48 8B C8 E8 [4] 83 CA FF 48 8B 0D [4] FF 15 [4] E8 [4] 84 c0}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
rule CAPE_Socks5Systemz : FILE
{
meta:
description = "Socks5Systemz config extraction"
author = "kevoreilly"
id = "ef14953a-2b48-54f4-8d15-c07c7459103e"
date = "2024-05-22"
modified = "2025-05-23"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/Socks5Systemz.yar#L1-L19"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "7e324bacd1ea57585435b6a5a4c93bda63ca146c100f2361a1c5530b87668299"
score = 75
quality = 70
tags = "FILE"
cape_options = "br0=user32::wsprintfA,br1=ntdll::sprintf,action2=string:[esp],action3=string:[esp],count=0,typestring=Socks5Systemz Config"
packed = "9b997d0de3fe83091726919a0dc653e22f8f8b20b1bb7d0b8485652e88396f29"
strings:
$chunk1 = {0F B6 84 8A [4] E9 [3] (00|FF)}
$chunk2 = {0F B6 04 8D [4] E9 [3] (00|FF)}
$chunk3 = {66 0F 6F 05 [4] E9 [3] (00|FF)}
$chunk4 = {F0 0F B1 95 [4] E9 [3] (00|FF)}
$chunk5 = {83 FA 04 E9 [3] (00|FF)}
$chunk6 = {8A 04 8D [4] E9 [3] (00|FF)}
$chunk7 = {83 C4 04 83 C4 04 E9}
$chunk8 = {83 C2 04 87 14 24 5C E9}
condition:
uint16( 0 ) == 0x5A4D and 5 of them
}
rule CAPE_Modiloader : FILE
{
meta:
description = "ModiLoader detonation shim"
author = "kevoreilly"
id = "64f9aa51-d668-5d40-9781-c26970acf781"
date = "2023-10-19"
modified = "2025-01-31"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/ModiLoader.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "1f0cbf841a6bc18d632e0bc3c591266e77c99a7717a15fc4b84d3e936605761f"
logic_hash = "9e64e0c40192cc832a1ffa7b3ac65a704596af82515d03706cd7aa1f4498f32f"
score = 75
quality = 70
tags = "FILE"
cape_options = "exclude-apis=NtAllocateVirtualMemory:NtProtectVirtualMemory"
strings:
$epilog1 = {81 C2 A1 03 00 00 87 D1 29 D3 33 C0 5A 59 59 64 89 10 68}
$epilog2 = {6A 00 6A 01 8B 45 ?? 50 FF 55 ?? 33 C0 5A 59 59 64 89 10 68}
condition:
uint16( 0 ) == 0x5a4d and all of them
}
rule CAPE_Amatera : FILE
{
meta:
description = "Amatera syscall capture"
author = "kevoreilly"
id = "0d58a054-8636-58d8-99b9-26560aa6c187"
date = "2025-06-25"
modified = "2025-06-25"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/Amatera.yar#L1-L14"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "35eb93548a0c037d392f870c05e0e9fb1aeff3a5a505e1d4a087f7465ed1f6af"
logic_hash = "1c02f04846568b85acbd4101b2e944dc824179f7cff1bceaec1c657939b610d5"
score = 75
quality = 70
tags = "FILE"
cape_options = "sysbp=$sysenter"
strings:
$sysenter = {64 FF 15 C0 00 00 00 C3}
$harness = {0F B7 55 EC 52 E8 [4] 83 C4 04 C7 45 F0 [4] 8B 45 ?? 50 [0-40] FF 55 F0 83 C4 ?? 8B E5 5D C3}
$socket = {66 89 [2] 6A 00 6A ?? 8D [3] 68 (03|07) 20 01 00 8B 4D F8 E8 [4] 0F B6 (C0|C8) 85 (C0|C9) 75 04 32 C0 EB}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Pikahook : FILE
{
meta:
description = "Pikabot anti-hook bypass"
author = "kevoreilly"
id = "e1b7a807-135f-52d7-bc36-c0419e82b424"
date = "2024-03-07"
modified = "2024-03-12"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/Pikabot.yar#L1-L14"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "2a50a5f2d905122a5b7ac8ca3666b47caa24d325e246841129e53807daf2a1dd"
score = 75
quality = 70
tags = "FILE"
cape_options = "clear,sysbp=$indirect+40,sysbpmode=1,force-sleepskip=1"
packed = "89dc50024836f9ad406504a3b7445d284e97ec5dafdd8f2741f496cac84ccda9"
strings:
$indirect = {31 C0 64 8B 0D C0 00 00 00 85 C9 74 01 40 50 8D 54 24 ?? E8 [4] A3 [4] 8B 25 [4] A1 [4] FF 15}
$sysenter1 = {89 44 24 08 8D 85 20 FC FF FF C7 44 24 04 FF FF 1F 00 89 04 24 E8}
$sysenter2 = {C7 44 24 0C 00 00 00 02 C7 44 24 08 00 00 00 02 8B 45 0C 89 44 24 04 8B 45 08 89 04 24 E8}
condition:
uint16( 0 ) == 0x5A4D and 2 of them
}
rule CAPE_Pikexport : FILE
{
meta:
description = "Pikabot export selection"
author = "kevoreilly"
id = "7d2432f2-90ae-5ad0-b579-5789a1c14a08"
date = "2024-03-07"
modified = "2024-03-12"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/Pikabot.yar#L16-L28"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "238dcc5611ed9066b63d2d0109c9b623f54f8d7b61d5f9de59694cfc60a4e646"
logic_hash = "33f58703a0e40c2361343dbdcc17111aafbf5cc912393edda79005c6ec566f42"
score = 75
quality = 70
tags = "FILE"
cape_options = "export=$export"
strings:
$export = {55 8B EC 83 EC ?? C6 45 [2] C6 45 [2] C6 45 [2] C6 45 [2] C6 45}
$pe = {B8 08 00 00 00 6B C8 00 8B 55 ?? 8B 45 ?? 03 44 0A 78 89 45 ?? 8B 4D ?? 8B 51 18 89 55 E8 C7 45 F8 00 00 00 00}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Qakbot5 : FILE
{
meta:
description = "QakBot WMI anti-anti-vm"
author = "kevoreilly"
id = "d287b043-15df-5865-ad4c-9eb64ceec04c"
date = "2022-03-16"
modified = "2024-02-16"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/QakBot.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "303ea2d8d1a7f0fd0ca5508dae2c1b83c03b1e3e975760f15d36d93bcc152767"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$loop+35,action0=skip,count=0"
packed = "f4bb0089dcf3629b1570fda839ef2f06c29cbf846c5134755d22d419015c8bd2"
strings:
$loop = {8B 75 ?? 48 8B 4C [2] FF 15 [4] 48 8B 4C [2] 48 8B 01 FF 50 ?? 8B DE 48 8B 4C [2] 48 85 C9 0F 85 [4] EB 4E}
$conf = {0F B7 1D [4] B9 [2] 00 00 E8 [4] 8B D3 48 89 45 ?? 45 33 C9 48 8D 0D [4] 4C 8B C0 48 8B F8 E8}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
rule CAPE_Qakbot4 : FILE
{
meta:
description = "QakBot Config Extraction"
author = "kevoreilly"
id = "401184cf-bbd7-5afe-9589-470f54721af1"
date = "2022-03-16"
modified = "2024-02-16"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/QakBot.yar#L15-L29"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "ad75b07b9b786f634fd46cbe6dc089d3f732673320e70714e8ab058f0392c9f5"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$params+23,action0=setdump:eax::ecx,bp1=$c2list1+40,bp1=$c2list2+38,action1=dump,bp2=$conf+13,action2=dump,count=1,typestring=QakBot Config"
packed = "f084d87078a1e4b0ee208539c53e4853a52b5698e98f0578d7c12948e3831a68"
strings:
$params = {8B 7D ?? 8B F1 57 89 55 ?? E8 [4] 8D 9E [2] 00 00 89 03 59 85 C0 75 08 6A FC 58 E9}
$c2list1 = {59 59 8D 4D D8 89 45 E0 E8 [4] 8B 45 E0 85 C0 74 ?? 8B 90 [2] 00 00 51 8B 88 [2] 00 00 6A 00 E8}
$c2list2 = {59 59 8B F8 8D 4D ?? 89 7D ?? E8 [4] 85 FF 74 52 8B 97 [2] 00 00 51 8B 8F [2] 00 00 53 E8}
$conf = {5F 5E 5B C9 C3 51 6A 00 E8 [4] 59 59 85 C0 75 01 C3}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
rule CAPE_Cargobayloader : FILE
{
meta:
description = "CargoBayLoader anti-vm bypass"
author = "kevoreilly"
id = "5b347863-0bea-55d2-aaf3-b3d6e604be89"
date = "2023-02-20"
modified = "2023-02-20"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/CargoBayLoader.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "75e975031371741498c5ba310882258c23b39310bd258239277708382bdbee9c"
logic_hash = "1d5c4ca79f97e1fac358189a8c6530be12506974fc2fb42f63b0b621536a45c9"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$jmp1+4,action0=skip,bp1=$jmp2+2,action1=skip,count=1,force-sleepskip=1"
strings:
$jmp1 = {40 42 0F 00 0F 82 [2] 00 00 48 8D 15 [4] BF 04 00 00 00 41 B8 04 00 00 00 4C 8D [3] 4C 89 F1 E8}
$jmp2 = {84 DB 0F 85 [2] 00 00 48 8D 15 [4] 41 BE 03 00 00 00 41 B8 03 00 00 00 4C 8D 7C [2] 4C 89 F9 E8}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Stealcanti : FILE
{
meta:
description = "Stealc detonation bypass"
author = "kevoreilly"
id = "32e5c1cf-ef57-58eb-9deb-fab0064cc676"
date = "2023-02-22"
modified = "2025-09-01"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/Stealc.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "77d6f1914af6caf909fa2a246fcec05f500f79dd56e5d0d466d55924695c702d"
logic_hash = "4132e8094b0b49a89e9f40a8b1a6abbf105bbb04e4ddf3ce739e39fc2baf0d13"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$anti+17,action0=skip,count=1"
strings:
$anti = {53 57 57 57 FF 15 [4] 8B F0 74 03 75 01 B8 E8 [4] 74 03 75 01 B8}
$decode = {6A 03 33 D2 8B F8 59 F7 F1 8B C7 85 D2 74 04 2B C2 03 C1 6A 06 C1 E0 03 33 D2 59 F7 F1}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Stealcstrings : FILE
{
meta:
description = "Stealc string decryption"
author = "kevoreilly"
id = "087b5532-e1e7-5df9-adb2-bf758c8ba352"
date = "2023-02-22"
modified = "2025-09-01"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/Stealc.yar#L15-L26"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "6d402446a979c00b6257ace9924db381d98c530b22968bd2776c66d58c7faefc"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$decode+17,action0=string:edx,count=0,typestring=Stealc Strings"
packed = "d0c824e886f14b8c411940a07dc133012b9eed74901b156233ac4cac23378add"
strings:
$decode = {51 8B 15 [4] 52 8B 45 ?? 50 E8 [4] 83 C4 0C 6A 04 6A 00 8D 4D ?? 51 FF 15 [4] 83 C4 0C 8B 45 ?? 8B E5 5D C3}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
rule CAPE_Stealcv2Strings : FILE
{
meta:
description = "StealcV2 string decryption"
author = "kevoreilly"
id = "d99fcc9c-35cc-5494-a0cd-738f3ae8d367"
date = "2023-02-22"
modified = "2025-09-01"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/Stealc.yar#L28-L43"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "923f70edb3ad70957576994008729bf7a087479eed1973c42161aa96fa694baa"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$decode32*,action0=string:[esp],bp1=$decode64,action1=string:eax,bp2=$dump,action2=dumpstrings,count=0,typestring=Stealc Strings"
packed = "2f42dcf05dd87e6352491ff9d4ea3dc3f854df53d548a8da0c323be42df797b6"
packed = "8301936f439f43579cffe98e11e3224051e2fb890ffe9df680bbbd8db0729387"
strings:
$decode32 = {AB AB AB AB 8B 45 0C 89 4E 10 89 4E 14 39 45 08 75 0B C7 46 14 0F 00 00 00 88 0E EB 0F 2B 45 08 50 51 FF 75 ?? 8B}
$decode64 = {40 53 48 83 EC 20 48 8B 19 48 85 DB 74 ?? 48 8B 53 18 48 83 FA 0F 76 2C 48 8B 0B 48 FF C2 48 81 FA 00 10 00 00 72}
$dump32 = {33 C0 89 46 30 88 46 34 89 46 38 89 46 3C 89 46 40 89 46 44 89 46 48 89 46 4C 89 46 50 89 46 54 89 46 58 8B C6 5F 5E C3}
$dump64 = {48 8B C7 89 6F 40 40 88 6F 44 48 89 6F 48 48 89 6F 50 48 89 6F 58 48 89 6F 60 48 89 6F 68 48 89 6F 70 48 89 6F 78 48 89}
condition:
uint16( 0 ) == 0x5A4D and 2 of them
}
rule CAPE_Stealcv2Datecheck : FILE
{
meta:
description = "StealcV2 date check bypass"
author = "kevoreilly"
id = "4969d005-3532-5b75-9fa9-10e09bab338e"
date = "2023-02-22"
modified = "2025-09-01"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/Stealc.yar#L45-L56"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "f074aceb7c111156752891acac8690c00dad7c26240fb0752cc12a9a65aa3d30"
score = 75
quality = 70
tags = "FILE"
cape_options = "patch=$date32*-1:B000,patch=$date64*-2:B00090"
strings:
$date32 = {F3 A5 8D 45 ?? 50 E8 [4] 59 8B F8 8B F2 8D 45 ?? 50 E8 [4] 59 3B F2 7C 08 7F 04 3B F8 76 02 B3 01 8A C3}
$date64 = {0F 11 44 [2] 0F 11 8C [2] 00 00 00 89 8C [2] 00 00 00 48 8D 4C [2] E8 [4] 48 8B D8 48 8D 4C [2] E8 [4] 48 3B D8 0F 9F C0}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
rule CAPE_Emotetpacker : FILE
{
meta:
description = "Emotet bypass"
author = "kevoreilly"
id = "67b8e14c-5fa8-52af-bb9a-1663b084fbf0"
date = "2022-03-31"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/EmotetPacker.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "5a95d1d87ce69881b58a0e3aafc1929861e2633cdd960021d7b23e2a36409e0d"
logic_hash = "5f27d9d18884f7e0805f69960869b332c1577bf8be8ac103285e8bf98cda0ffd"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$trap1+31,action0=skip,bp1=$trap2+43,action1=jmp:186,count=1"
strings:
$trap1 = {8B 45 08 0F 28 0D [4] 0F 57 C0 0F 29 46 30 89 46 40 C7 46 44 00 00 00 00 0F 11 4E 48 E8}
$trap2 = {F2 0F 10 15 [4] BE 01 00 00 00 0F 01 F9 C7 44 24 60 00 00 00 00 89 4C 24 60 0F 01 F9 C7 44 24 5C 00 00 00 00 89 4C 24 5C 0F 1F 84 00 00 00 00 00}
condition:
uint16( 0 ) == 0x5A4D and any of ( $trap* )
}
rule CAPE_Icedidsyscallwritemem : FILE
{
meta:
description = "IcedID 'syscall' packer bypass - direct write variant"
author = "kevoreilly"
id = "67935058-4191-587f-ad19-497defd0eef1"
date = "2021-03-30"
modified = "2023-11-28"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/IcedID.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "6b068106b038e9efeb9057cadf314d400c1ada1a1cc70336d3272da3a212c993"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$tokencheck+9,action0=jmp,count=0"
packed = "28075ecae5e224c06e250f2c949c826b81844bca421e9158a7a9e965a29ef894"
packed = "045dff9f14a03225df55997cb2ca74ff60ecaf317b9e033ea93386785db84161"
strings:
$tokencheck = {39 5D ?? 75 06 83 7D ?? 03 74 05 BB 01 00 00 00 41 89 1C ?? 48 8B 4D ?? 41 FF D?}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Icedidpackera : FILE
{
meta:
description = "IcedID export selection"
author = "kevoreilly"
id = "d793d8a1-0e17-56ad-933c-470e2290867b"
date = "2021-03-30"
modified = "2023-11-28"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/IcedID.yar#L27-L40"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "fbad60002286599ca06d0ecb3624740efbf13ee5fda545341b3e0bf4d5348cfe"
logic_hash = "aa0681e7794546355e6d61f739c49035a493cdfca7e666531d74e3835ec44408"
score = 75
quality = 70
tags = "FILE"
cape_options = "export=$export"
strings:
$init = "init"
$export = {48 89 5C 24 08 48 89 6C 24 10 48 89 74 24 18 57 48 81 EC [2] 00 00 41 8B E9 49 8B F0 48 8B FA 48 8B D9}
$alloc = {8B 50 50 33 C9 44 8D 49 40 41 B8 00 30 00 00 FF 15 [4] 48 89 44 24 28 [0-3] 48 89 84 24 ?? 00 00 00 E9}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Icedidpackerb : FILE
{
meta:
description = "IcedID export selection"
author = "kevoreilly"
id = "6bd0e64d-e60e-5cd2-af79-946a7f6dc9f5"
date = "2021-03-30"
modified = "2023-11-28"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/IcedID.yar#L42-L56"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "6517ef2c579002ec62ddeb01a3175917c75d79ceca355c415a4462922c715cb6"
logic_hash = "fde1e2c0124d180b2fa3d0675b35e8d78fdd7b06cd27e9228c148aa29ce30ee7"
score = 75
quality = 70
tags = "FILE"
cape_options = "export=$export"
strings:
$init = "init"
$export = {44 89 4C 24 20 4C 89 44 24 18 48 89 4C 24 08 41 55 41 56 41 57 48 81 EC ?? 00 00 00 B9 [2] 00 00 4C 8B EA E8}
$loop = {8B C2 48 8D 49 01 83 E0 07 FF C2 0F B6 44 30 ?? 30 41 FF 3B D5 72}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Icedidpackerc : FILE
{
meta:
description = "IcedID export selection"
author = "kevoreilly"
id = "fddfd0d2-1bc0-56bb-b983-5850e17a3d0f"
date = "2021-03-30"
modified = "2023-11-28"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/IcedID.yar#L58-L71"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "c06805b6efd482c1a671ec60c1469e47772c8937ec0496f74e987276fa9020a5"
hash = "265c1857ac7c20432f36e3967511f1be0b84b1c52e4867889e367c0b5828a844"
logic_hash = "f1e75e380ab0947fdfda012b7a5077a1c2ef51163239846ab2dc29cac95ba166"
score = 75
quality = 70
tags = "FILE"
cape_options = "export=$export"
strings:
$export = {44 89 4C 24 20 4C 89 44 24 18 48 89 54 24 10 3A ED 74}
$alloc = {41 B8 00 10 00 00 8B D0 33 C9 66 3B ?? (74|0F 84)}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Icedidpackerd : FILE
{
meta:
description = "IcedID export selection"
author = "kevoreilly"
id = "df0ca4bd-1ea6-57ef-b85a-7ed0e2a20831"
date = "2021-03-30"
modified = "2023-11-28"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/IcedID.yar#L73-L86"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "7b226f8cc05fa7d846c52eb0ec386ab37f9bae04372372509daa6bacc9f885d8"
logic_hash = "6685e0246f5a11ce0ca33447837de06506b447a5f8591423e2b76f2ab0274dc7"
score = 75
quality = 70
tags = "FILE"
cape_options = "export=$export"
strings:
$init = "init"
$export = {44 89 4C 24 20 4C 89 44 24 18 48 89 54 24 10 66 3B ED 74}
$load = {41 B8 00 80 00 00 33 D2 48 8B 4C [2] EB ?? B9 69 04 00 00 E8 [4] 48 89 84 [2] 00 00 00 66 3B ED 74}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Icedsleep : FILE
{
meta:
description = "IcedID sleep bypass"
author = "kevoreilly"
id = "d6bd708b-47bc-5620-b40e-8fe5f1a67ba4"
date = "2021-03-30"
modified = "2023-11-28"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/IcedID.yar#L88-L99"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "0b1a8be95b1b8a3b066837f9e47561ee8202d741b39d64e626c0461c2fbf7c70"
score = 75
quality = 70
tags = "FILE"
cape_options = "force-sleepskip=1"
packed = "e99f3517a36a9f7a55335699cfb4d84d08b042d47146119156f7f3bab580b4d7"
strings:
$sleep = {89 4C 24 08 48 83 EC 38 8B 44 24 40 48 69 C0 10 27 00 00 48 F7 D8 48 89 44 24 20 48 8D 54 24 20 33 C9 FF 15 [4] 48 83 C4 38 C3}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Anticuckoo : FILE
{
meta:
description = "AntiCuckoo bypass: https://github.com/therealdreg/anticuckoo"
author = "kevoreilly"
id = "e221e57b-313e-5998-a3fc-5b4e9671b989"
date = "2023-03-17"
modified = "2023-03-17"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/AntiCuckoo.yar#L1-L12"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "ad5e52f144bb4a1dae3090978c6ecb4c7732538c9b62a6cedd32eccee6094be5"
logic_hash = "a039aeca2dae44980e8bffafacfda90975e107001be50f11ac916b35ad43592e"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$HKActivOldStackCrash+36,action0=jmp,count=1"
strings:
$HKActivOldStackCrash = {5B 81 FB FA FA FA FA 74 01 41 3B E0 75 ?? 83 E9 0B 83 F9 04 7F 04 C6 45 ?? 00 89 4D ?? 89 65 ?? 80 7D ?? 00 74}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Zloader : FILE
{
meta:
description = "Zloader API Spam Bypass"
author = "kevoreilly"
id = "8a8e7102-1138-59e7-95a6-8647d41d8521"
date = "2021-03-12"
modified = "2024-05-03"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/Zloader.yar#L1-L12"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "319adca805083c7f5854fe840447cf961addbd748f1f25eb8ec8cdeed7af38aa"
score = 75
quality = 70
tags = "FILE"
cape_options = "bp0=$trap1-5,action0=hooks:0,bp1=$traps-108,action1=jmp:15,bp2=$traps-88,action2=hooks:1,count=0"
strings:
$trap1 = {81 F7 4C 01 00 00 8D B4 37 [2] FF FF 31 FE 69 FE 95 03 00 00 E8 [4] 31 FE 0F AF FE 0F AF FE E8}
$traps = {6A 44 53 E8 [2] FF FF 83 C4 08 8D 85 ?? FF FF FF C7 85 ?? FF FF FF 44 00 00 00 50}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
rule CAPE_Themida : FILE
{
meta:
description = "Themida detonation shim"
author = "kevoreilly"
id = "cd5c8b08-4864-57f7-b218-1bcb6892bea8"
date = "2024-09-10"
modified = "2024-09-11"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/analyzer/windows/data/yara/Themida.yar#L1-L12"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "c4f1e01a3fe3cb66062ce03253bfe9edc09dc6f1a77db99b281106e8ceff9257"
score = 75
quality = 70
tags = "FILE"
cape_options = "unhook-apis=NtSetInformationThread,force-sleepskip=0"
packed = "6337ff4cf413f56cc6c9a8e67f24b8d7f94f620eae06ac9f0b113b5ba82ea176"
strings:
$code = {FC 31 C9 49 89 CA 31 C0 31 DB AC 30 C8 88 E9 88 D5 88 F2 B6 08 66 D1 EB 66 D1 D8 73 09}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Rokrat : FILE
{
meta:
description = "RokRat Payload"
author = "kevoreilly"
id = "12e05b90-9771-5901-ae82-9fd2ea6263e7"
date = "2019-10-30"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/RokRat.yar#L1-L12"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "2aaa7de7ccd59e0da690f4bc0c7deaacf61314d61f8d2aa3ce6f6892f50612ec"
score = 75
quality = 70
tags = "FILE"
cape_type = "RokRat Payload"
strings:
$code1 = {8B 57 04 8D 7F 04 33 57 FC 81 E2 FF FF FF 7F 33 57 FC 8B C2 24 01 0F B6 C0 F7 D8 1B C0 D1 EA 25 DF B0 08 99 33 87 30 06 00 00 33 C2 89 87 3C F6 FF FF 83 E9 01 75 C9}
$string1 = "/pho_%s_%d.jpg" wide
condition:
uint16( 0 ) == 0x5A4D and ( any of ( $code* ) ) and ( any of ( $string* ) )
}
rule CAPE_Magniber : FILE
{
meta:
description = "Magniber Payload"
author = "kevoreilly"
id = "a704914f-2aa2-537d-975d-f8c23427951f"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Magniber.yar#L1-L11"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "1875754bdf98c1886f31f6c6e29992a98180f74d8fa168ae391e2c660d760618"
score = 75
quality = 70
tags = "FILE"
cape_type = "Magniber Payload"
strings:
$a1 = {8B 55 FC 83 C2 01 89 55 FC 8B 45 FC 3B 45 08 7D 45 6A 01 6A 00 E8 26 FF FF FF 83 C4 08 89 45 F4 83 7D F4 00 75 18 6A 7A 6A 61 E8 11 FF FF FF 83 C4 08 8B 4D FC 8B 55 F8 66 89 04 4A EB 16}
condition:
uint16( 0 ) == 0x5A4D and ( all of ( $a* ) )
}
rule CAPE_Conti : FILE
{
meta:
description = "Conti Ransomware"
author = "kevoreilly"
id = "c94aed07-0eaf-5b51-a81e-e1992543673a"
date = "2020-10-19"
modified = "2021-03-15"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Conti.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "c9842f93d012d0189b9c6f10ad558b37ae66226bbb619ad677f6906ccaf0e848"
score = 75
quality = 70
tags = "FILE"
cape_type = "Conti Payload"
strings:
$crypto1 = {8A 07 8D 7F 01 0F B6 C0 B9 ?? 00 00 00 2B C8 6B C1 ?? 99 F7 FE 8D [2] 99 F7 FE 88 ?? FF 83 EB 01 75 DD}
$website1 = "https://contirecovery.info" ascii wide
$website2 = "https://contirecovery.best" ascii wide
condition:
uint16( 0 ) == 0x5A4D and any of them
}
rule CAPE_Megacortex : FILE
{
meta:
description = "MegaCortex Payload"
author = "kevoreilly"
id = "ea3dd937-2cb1-5b0f-98b8-154aacaf8650"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/MegaCortex.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "5de1d8241260070241c91b97f18feb2a90069e3b158e863e2d9f568799c244e6"
score = 75
quality = 70
tags = "FILE"
cape_type = "MegaCortex Payload"
strings:
$str1 = ".megac0rtx" ascii wide
$str2 = "vssadmin delete shadows /all" ascii
$sha256 = {98 2F 8A 42 91 44 37 71 CF FB C0 B5 A5 DB B5 E9}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Gootkit : FILE
{
meta:
description = "Gootkit Payload"
author = "kevoreilly"
id = "8935fd10-ac79-5196-80c2-fc8f2fe185b5"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Gootkit.yar#L1-L11"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "26704b6b0adca51933fc9d5e097930320768fd0e9355dcefc725aee7775316e7"
score = 75
quality = 70
tags = "FILE"
cape_type = "Gootkit Payload"
strings:
$code1 = {C7 45 ?? ?? ?? 4? 00 C7 45 ?? ?? 10 40 00 C7 45 E? D8 ?? ?? 00 C7 45 ?? 00 00 00 00 C7 45 ?? 00 00 00 00 [1-2] 00 10 40 00 89 [5-6] 43 00 89 ?? ?? 68 E8 80 00 00 FF 15}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Azorult : FILE
{
meta:
description = "Azorult Payload"
author = "kevoreilly"
id = "ca76ec00-001f-56d0-bdbc-9dfd3239fba8"
date = "2019-10-30"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Azorult.yar#L1-L12"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "4691cf48d513d1965416b0cce1b6e19c8f7b393a940afd68b7c6ca8c0d125d90"
score = 75
quality = 70
tags = "FILE"
cape_type = "Azorult Payload"
strings:
$code1 = {C7 07 3C 00 00 00 8D 45 80 89 47 04 C7 47 08 20 00 00 00 8D 85 80 FE FF FF 89 47 10 C7 47 14 00 01 00 00 8D 85 00 FE FF FF 89 47 1C C7 47 20 80 00 00 00 8D 85 80 FD FF FF 89 47 24 C7 47 28 80 00 00 00 8D 85 80 F5 FF FF 89 47 2C C7 47 30 00 08 00 00 8D 85 80 F1 FF FF 89 47 34 C7 47 38 00 04 00 00 57 68 00 00 00 90}
$string1 = "SELECT DATETIME( ((visits.visit_time/1000000)-11644473600),\"unixepoch\")"
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Cryptoshield : FILE
{
meta:
description = "Cryptoshield Payload"
author = "kevoreilly"
id = "a7b60a0d-7d46-59c9-8273-ee23bae3fbbc"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Cryptoshield.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "46064b4c69cb1af01330c5d194ef50728e0f0479e9fbf72828822935f8e37ac6"
score = 75
quality = 70
tags = "FILE"
cape_type = "Cryptoshield Payload"
strings:
$a1 = "CRYPTOSHIELD." wide
$a2 = "Click on Yes in the next window for restore work explorer" wide
$a3 = "r_sp@india.com - SUPPORT"
condition:
uint16( 0 ) == 0x5A4D and ( all of ( $a* ) )
}
rule CAPE_Buerloader_1 : FILE
{
meta:
description = "No description has been set in the source file - CAPE"
author = "kevoreilly & Rony (@r0ny_123)"
id = "95a9b4d7-db1e-50cd-bc08-01e4e4fd6dc4"
date = "2020-10-29"
modified = "2022-05-31"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/BuerLoader.yar#L1-L12"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "05c1f008f0a2bb8232867977fb23a5ae8312f10f0637c6265561052596319c29"
score = 75
quality = 70
tags = "FILE"
cape_type = "BuerLoader Payload"
strings:
$trap = {0F 31 89 45 ?? 6A 00 8D 45 ?? 8B CB 50 E8 [4] 0F 31}
$decode = {8A 0E 84 C9 74 0E 8B D0 2A 0F 46 88 0A 42 8A 0E 84 C9 75 F4 5F 5E 5D C2 04 00}
$op = {33 C0 85 D2 7E 1? 3B C7 7D [0-15] 40 3B C2 7C ?? EB 02}
condition:
uint16( 0 ) == 0x5A4D and 2 of them
}
rule CAPE_Hancitor : FILE
{
meta:
description = "Hancitor Payload"
author = "threathive"
id = "b4e9a26a-db00-5553-acc2-f35148b0ffd5"
date = "2019-10-30"
modified = "2020-10-20"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Hancitor.yar#L1-L14"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "84003542a2f587b5fbd43731c4240759806f8ee46df2bd96aae4a3c09d97e41c"
score = 75
quality = 70
tags = "FILE"
cape_type = "Hancitor Payload"
strings:
$fmt_string = "GUID=%I64u&BUILD=%s&INFO=%s&EXT=%s&IP=%s&TYPE=1&WIN=%d.%d(x64)"
$fmt_string2 = "GUID=%I64u&BUILD=%s&INFO=%s&EXT=%s&IP=%s&TYPE=1&WIN=%d.%d(x32)"
$ipfy = "http://api.ipify.org"
$user_agent = "Mozilla/5.0 (Windows NT 6.1; Win64; x64; Trident/7.0; rv:11.0) like Gecko"
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Petrwrap : FILE
{
meta:
description = "PetrWrap Payload"
author = "kevoreilly"
id = "83762c87-6e96-50fe-b297-e1a5f893be43"
date = "2019-10-30"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/PetrWrap.yar#L1-L15"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "6dd1cf5639b63d0ab41b24080dad68d285f2e3969ad34fd724c83e7a0dd4b968"
score = 75
quality = 70
tags = "FILE"
cape_type = "PetrWrap Payload"
strings:
$a1 = "http://petya3jxfp2f7g3i.onion/"
$a2 = "http://petya3sen7dyko2n.onion"
$b1 = "http://mischapuk6hyrn72.onion/"
$b2 = "http://mischa5xyix2mrhd.onion/"
condition:
uint16( 0 ) == 0x5A4D and ( any of ( $a* ) ) and ( any of ( $b* ) )
}
rule CAPE_Sedreco : FILE
{
meta:
description = "Sedreco encrypt function entry"
author = "kevoreilly"
id = "5b9ee4af-50a4-597c-8fa5-f2094c312d23"
date = "2019-10-30"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Sedreco.yar#L1-L15"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "f735549606917f59a19157e604e54766e4456bc5d46e94cae3e0a3c18b52a7ca"
score = 75
quality = 70
tags = "FILE"
cape_type = "Sedreco Payload"
strings:
$encrypt1 = {55 8B EC 83 EC 2C 53 56 8B F2 57 8B 7D 08 B8 AB AA AA AA}
$encrypt2 = {55 8B EC 83 EC 20 8B 4D 10 B8 AB AA AA AA}
$encrypt64_1 = {48 89 4C 24 08 53 55 56 57 41 54 41 56 48 83 EC 18 45 8D 34 10 48 8B E9 B8 AB AA AA AA 4D 8B E1 44 89 44 24 60 41 F7 E0 8B F2 B8 AB AA AA AA}
condition:
uint16( 0 ) == 0x5A4D and $encrypt1 or $encrypt2 or $encrypt64_1
}
rule CAPE_Kronos : FILE
{
meta:
description = "Kronos Payload"
author = "kevoreilly"
id = "921a939b-a037-5973-bd8e-f9f55fce7f0f"
date = "2019-10-30"
modified = "2020-07-02"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Kronos.yar#L1-L14"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "52ce9caf3627efe8ae86df6ca59e51e9f738e13ac0265f797e8d70123dbcaeb3"
score = 75
quality = 70
tags = "FILE"
cape_type = "Kronos Payload"
strings:
$a1 = "user_pref(\"network.cookie.cookieBehavior\""
$a2 = "T0E0H4U0X3A3D4D8"
$a3 = "wow64cpu.dll" wide
$a4 = "Kronos" fullword ascii wide
condition:
uint16( 0 ) == 0x5A4D and ( 2 of ( $a* ) )
}
rule CAPE_Jaff : FILE
{
meta:
description = "Jaff Payload"
author = "kevoreilly"
id = "6681c1fe-6c88-5a49-bdfa-54ce08ea6707"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Jaff.yar#L1-L14"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "6806a5eeee04b7436ff694addc334bfc0f1ee611116904d57be9506acfd47418"
score = 75
quality = 70
tags = "FILE"
cape_type = "Jaff Payload"
strings:
$a1 = "CryptGenKey"
$a2 = "353260540318613681395633061841341670181307185694827316660016508"
$b1 = "jaff"
$b2 = "2~1c0q4t7"
condition:
uint16( 0 ) == 0x5A4D and ( any of ( $a* ) ) and ( 1 of ( $b* ) )
}
rule CAPE_Lockbit : FILE
{
meta:
description = "Lockbit Payload"
author = "kevoreilly"
id = "ec9b4fec-0233-5277-b922-07057c2b4b34"
date = "2020-05-14"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Lockbit.yar#L1-L15"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "80ab705c8246a0bd5b3de65146cf32b102f39bf9444bdf1d366b5a794c1229b9"
score = 75
quality = 70
tags = "FILE"
cape_type = "Lockbit Payload"
strings:
$string1 = "/C ping 127.0.0.7 -n 3 > Nul & fsutil file setZeroData offset=0 length=524288 \"%s\" & Del /f /q \"%s\"" wide
$string2 = "Ransom" ascii wide
$crypto = {8B 4D 08 C1 E9 10 0F B6 D1 8B 4D 0C C1 E9 08 0F B6 C9 8B 14 95 [4] 8B 7D FC 33 14 8D [4] 8B CF C1 E9 18 33 14 8D [4] 0F B6 CB 33 14 8D [4] 8B CF 33 10}
$decode1 = {8A ?4 34 ?C 0? 00 00 8B 8? 24 ?8 0? 00 00 0F BE ?? 0F BE C? 33 ?? 88 ?? 34 ?? 0? 00 00 46 83 FE 0? 72 DD}
$decode2 = {8A 44 24 ?? 30 44 0C ?? 41 83 F9 ?? 72 F2}
condition:
uint16( 0 ) == 0x5A4D and ( 2 of them )
}
rule CAPE_Bazar : FILE
{
meta:
description = "No description has been set in the source file - CAPE"
author = "kevoreilly"
id = "e042f180-2a82-5c93-9858-77281557dd10"
date = "2021-08-26"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Bazar.yar#L1-L11"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "9375f59b56e47fd0b90b089afdf3be8f16f960038fc625523a2e2d5509ab099d"
score = 75
quality = 70
tags = "FILE"
cape_type = "Bazar Payload"
strings:
$decode = {F7 E9 [0-2] C1 FA 0? 8B C2 C1 E8 1F 03 D0 6B C2 ?? 2B C8}
$rsa = {C7 00 52 53 41 33 48 8D 48 09 C7 40 04 00 08 00 00 4C 8D 05 [3] 00 C6 40 08 03 B8 09 00 00 00 [0-3] 48 8D 89 80 00 00 00 41 0F 10 00}
condition:
uint16( 0 ) == 0x5A4D and 2 of them
}
rule CAPE_Petya : FILE
{
meta:
description = "Petya Payload"
author = "kevoreilly"
id = "e581747c-c40f-5689-84b4-d55134b532f7"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Petya.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "f819261bb34f3b2eb7dc2f843b56be25105570fe902a77940a632a54fbe0d014"
score = 75
quality = 70
tags = "FILE"
cape_type = "Petya Payload"
strings:
$a1 = "CHKDSK is repairing sector"
$a2 = "wowsmith123456@posteo.net"
$a3 = "1Mz7153HMuxXTuR2R1t78mGSdzaAtNbBWX" wide
condition:
uint16( 0 ) == 0x5A4D and ( all of ( $a* ) )
}
rule CAPE_Azer : FILE
{
meta:
description = "Azer Payload"
author = "kevoreilly"
id = "4bda70c2-3cd9-543f-92f4-886b7dd899a1"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Azer.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "48bd4a4e071f10d1911c4173a0cd39c69fed7a3b29eb92beffe709899f4cefa5"
score = 75
quality = 70
tags = "FILE"
cape_type = "Azer Payload"
strings:
$a1 = "webmafia@asia.com" wide
$a2 = "INTERESTING_INFORMACION_FOR_DECRYPT.TXT" wide
$a3 = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQ"
condition:
uint16( 0 ) == 0x5A4D and ( all of ( $a* ) )
}
rule CAPE_Dridexv4 : FILE
{
meta:
description = "Dridex v4 Payload"
author = "kevoreilly"
id = "c396f664-9f0d-50ac-bce8-33fd8712645a"
date = "2019-10-30"
modified = "2022-05-31"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/DridexV4.yar#L1-L15"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "cb103fe5f2d4792e3c612db4e2d84a4c8b0ce0f9a8443e9147e2c345f1dbdff6"
score = 75
quality = 70
tags = "FILE"
cape_type = "DridexV4 Payload"
strings:
$decrypt32 = {6A 40 58 3B C8 0F 4D C1 39 46 04 7D 50 53 57 8B F8 81 E7 3F 00 00 80 79 05 4F 83 CF C0 47 F7 DF 99 1B FF 83 E2 3F 03 C2 F7 DF C1 F8 06 03 F8 C1 E7 06 57}
$getproc32 = {81 FB ?? ?? ?? ?? 74 2D 8B CB E8 ?? ?? ?? ?? 85 C0 74 0C 8B C8 8B D7 E8 ?? ?? ?? ?? 5B 5F C3}
$getproc64 = {81 FB ?? ?? ?? ?? 75 04 33 C0 EB 2D 8B CB E8 ?? ?? ?? ?? 48 85 C0 75 17 8B CB E8 ?? ?? ?? ?? 84 C0 74 E5 8B CB E8 ?? ?? ?? ?? 48 85 C0 74 D9 8B D7 48 8B C8 E8 ?? ?? ?? ?? 48 8B 5C 24 30 48 83 C4 20 5F C3}
$bot_stub_32 = {8B 45 E? 8? [5-13] 8A 1C 0? [6-15] 05 FF 00 00 00 8B ?? F? 39 ?? 89 45 E? 72 D?}
$bot_stub_64 = {8B 44 24 ?? 89 C1 89 CA 4C 8B 05 [4] 4C 8B 4C 24 ?? 45 8A 14 11 83 E0 1F 89 C0 41 89 C3 47 2A 14 18 44 88 54 14}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
rule CAPE_Dreambot : FILE
{
meta:
description = "Dreambot Payload"
author = "kevoreilly"
id = "675c2fea-fe48-5afd-9fa1-de919134892f"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Dreambot.yar#L1-L14"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "29c6d648d5d38667c5824c2d20a83a20448c2ae6054ddddb2b2b7f8bdb69f74b"
score = 75
quality = 70
tags = "FILE"
cape_type = "Dreambot Payload"
strings:
$a1 = {53 56 33 F6 33 DB C1 6C 24 0C 02 74 2F 8B 02 85 C0 75 11 83 7C 24 0C 02 76 0A 39 42 04 75 05 39 42 08 74 18 43 8A CB D3 C0 33 C6 33 44 24 10 8B F0 89 32 83 C2 04 FF 4C 24 0C 75 D1 5E 5B C2 08 00}
$a2 = {53 33 C9 33 DB C1 6C 24 08 02 74 22 56 8B 02 85 C0 8B F0 74 18 33 C1 33 44 24 10 43 8A CB D3 C8 8B CE 89 02 83 C2 04 FF 4C 24 0C 75 E0 5E 5B C2 08 00}
$b1 = "Oct 5 2016"
$b2 = ".bss"
condition:
uint16( 0 ) == 0x5A4D and ( 1 of ( $a* ) ) and ( all of ( $b* ) )
}
rule CAPE_Tscookie : FILE
{
meta:
description = "TSCookie Payload"
author = "kevoreilly"
id = "e1efd356-7170-5454-bf40-68927c71816c"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/TSCookie.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "0461c7fd14c74646437654f0a63a4a89d4efad620e197a8ca1e8d390618842c3"
score = 75
quality = 70
tags = "FILE"
cape_type = "TSCookie Payload"
strings:
$string1 = "http://%s:%d" wide
$string2 = "/Default.aspx" wide
$string3 = "\\wship6"
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Carbanak : FILE
{
meta:
description = "Carnbanak Payload"
author = "enzok"
id = "e6d395d5-65ba-5efb-bcbc-c6d56a96f0c1"
date = "2023-11-30"
modified = "2024-03-18"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Carbanak.yar#L1-L14"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "c9c1b06cb9c9bd6fc4451f5e2847a1f9524bb2870d7bb6f0ee09b9dd4e3e4c84"
logic_hash = "8ed5ab07f1635dc7cdf296e86a71a0a99d0b2faef8fc460f43d426b24b8c8367"
score = 75
quality = 70
tags = "FILE"
cape_type = "Carbanak Payload"
strings:
$sboxinit = {0F BE 02 4? 8D 05 [-] 4? 8D 4D ?? E8 [3] 00 33 F6 4? 8D 5D ?? 4? 63 F8 8B 45 ?? B? B1 E3 14 06}
$decode_string = {0F BE 03 FF C9 83 F8 20 7D ?? B? 1F [3] 4? 8D 4A E2 EB ?? 3D 80 [3] 7D ?? B? 7F [3] 4? 8D 4A A1 EB ?? B? FF [3] 4? 8D 4A 81}
$constants = {0F B7 05 [3] 00 0F B7 1D [3] 00 83 25 [3] 00 00 89 05 [3] 00 0F B7 05 [3] 00 89 1D [3] 00 89 05 [3] 00 33 C0 4? 8D 4D}
condition:
uint16( 0 ) == 0x5A4D and 2 of them
}
rule CAPE_Dridexloader_1 : FILE
{
meta:
description = "Dridex v4 dropper C2 parsing function"
author = "kevoreilly"
id = "43bd9631-4611-567c-bee5-d926e060b977"
date = "2019-11-12"
modified = "2021-03-10"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/DridexLoader.yar#L1-L17"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "20696b1f14539c8ecf21bffc696596040c20b1ee2fcedc173945482c0baca588"
score = 75
quality = 70
tags = "FILE"
cape_type = "DridexLoader Payload"
strings:
$c2parse_1 = {57 0F 95 C0 89 35 [4] 88 46 04 33 FF 80 3D [4] 00 76 54 8B 04 FD [4] 8D 4D EC 83 65 F4 00 89 45 EC 66 8B 04 FD [4] 66 89 45 F0 8D 45 F8 50}
$c2parse_2 = {89 45 00 0F B7 53 04 89 10 0F B6 4B 0C 83 F9 0A 7F 03 8A 53 0C 0F B6 53 0C 85 D2 7E B7 8D 74 24 0C C7 44 24 08 00 00 00 00 8D 04 7F 8D 8C 00}
$c2parse_3 = {89 08 66 39 1D [4] A1 [4] 0F 95 C1 88 48 04 80 3D [4] 0A 77 05 A0 [4] 80 3D [4] 00 56 8B F3 76 4E 66 8B 04 F5}
$c2parse_4 = {0F B7 C0 89 01 A0 [4] 3C 0A 77 ?? A0 [4] A0 [4] 57 33 FF 84 C0 74 ?? 56 BE}
$c2parse_5 = {0F B7 05 [4] 89 02 89 15 [4] 0F B6 15 [4] 83 FA 0A 7F 07 0F B6 05 [4] 0F B6 05 [4] 85 C0}
$c2parse_6 = {0F B7 53 ?? 89 10 0F B6 4B ?? 83 F9 0A 7F 03 8A 53 ?? 0F B6 53 ?? 85 D2 7E B9}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
rule CAPE_Ramnit : FILE
{
meta:
description = "Ramnit Payload"
author = "kevoreilly"
id = "6df92055-05f6-5985-9268-b9c85e143567"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Ramnit.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "6f661f47bdf8377b0fb96f190fcb964c0ed2b43ce7ae7880f9dfce9e43837efd"
score = 75
quality = 70
tags = "FILE"
cape_type = "Ramnit Payload"
strings:
$DGA = {33 D2 B9 1D F3 01 00 F7 F1 8B C8 B8 A7 41 00 00 F7 E2 8B D1 8B C8 B8 14 0B 00 00 F7 E2 2B C8 33 D2 8B C1 8B}
$xor_loop = {83 7D 0C 00 74 27 83 7D 14 00 74 21 8B 4D 0C 8B 7D 08 8B 75 10 BA 00 00 00 00 0B D2 75 04 8B 55 14 4A 8A 1C 32 32 1F 88 1F 47 4A E2 ED}
$id_string = "{%08X-%04X-%04X-%04X-%08X%04X}"
condition:
uint16( 0 ) == 0x5A4D and all of ( $* )
}
rule CAPE_Ryuk : FILE
{
meta:
description = "Ryuk Payload"
author = "kevoreilly"
id = "594bbb8d-1f85-5a01-a864-ac2d95c45bf9"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Ryuk.yar#L1-L14"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "b4463993d8956e402b927a3dcfa2ca9693a959908187f720372f2d3a40e6db0c"
score = 75
quality = 70
tags = "FILE"
cape_type = "Ryuk Payload"
strings:
$ext = ".RYK" wide
$readme = "RyukReadMe.txt" wide
$main = "InvokeMainViaCRT"
$code = {48 8B 4D 10 48 8B 03 48 C1 E8 07 C1 E0 04 F7 D0 33 41 08 83 E0 10 31 41 08 48 8B 4D 10 48 8B 03 48 C1 E8 09 C1 E0 03 F7 D0 33 41 08 83 E0 08 31 41 08}
condition:
uint16( 0 ) == 0x5A4D and 3 of ( $* )
}
rule CAPE_Masslogger : FILE
{
meta:
description = "MassLogger"
author = "kevoreilly"
id = "0743421a-36f7-5b7c-859f-b461511151cb"
date = "2020-10-20"
modified = "2020-11-24"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/MassLogger.yar#L1-L12"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "c8d82694810aafbdc6a35a661e7431e9536035e2f7fef90b9359064c4209b66c"
score = 75
quality = 70
tags = "FILE"
cape_type = "MassLogger Payload"
strings:
$name = "MassLogger"
$fody = "Costura"
condition:
uint16( 0 ) == 0x5A4D and 2 of them
}
rule CAPE_Lokibot : FILE
{
meta:
description = "LokiBot Payload"
author = "kevoreilly"
id = "8cdf69e2-ecac-5241-adba-c458cce0610f"
date = "2022-02-01"
modified = "2022-02-01"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/LokiBot.yar#L1-L12"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "a5b3d518371138740e913d2d6ce4fa22d3da5cea7e034c7d6b4b502e6bf44b06"
score = 75
quality = 70
tags = "FILE"
cape_type = "LokiBot Payload"
strings:
$a1 = "DlRycq1tP2vSeaogj5bEUFzQiHT9dmKCn6uf7xsOY0hpwr43VINX8JGBAkLMZW"
$a2 = "last_compatible_version"
condition:
uint16( 0 ) == 0x5A4D and ( all of ( $a* ) )
}
rule CAPE_Ursnifv3_1 : FILE
{
meta:
description = "UrsnifV3 Payload"
author = "kevoreilly"
id = "9dd32f80-b535-52a3-91e1-4db005362fd4"
date = "2022-05-31"
modified = "2023-03-23"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/UrsnifV3.yar#L1-L18"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "501cd52388aba16f9d33b4555f310e1ad58326916b15358a485c701acb87abd8"
score = 75
quality = 70
tags = "FILE"
cape_type = "UrsnifV3 Payload"
packed = "75827be0c600f93d0d23d4b8239f56eb8c7dc4ab6064ad0b79e6695157816988"
packed = "5d6f1484f6571282790d64821429eeeadee71ba6b6d566088f58370634d2c579"
strings:
$crypto32_1 = {8B C3 83 EB 01 85 C0 75 0D 0F B6 16 83 C6 01 89 74 24 14 8D 58 07 8B C2 C1 E8 07 83 E0 01 03 D2 85 C0 0F 84 AB 01 00 00 8B C3 83 EB 01 85 C0 89 5C 24 20 75 13 0F B6 16 83 C6 01 BB 07 00 00 00}
$crypto32_2 = {8B 45 ?? 0F B6 3? FF 45 [2-4] 8B C? 23 C? 40 40 D1 E? 7?}
$crypto32_3 = {F6 46 03 02 75 5? 8B 46 10 40 50 E8 [10-12] 74 ?? F6 46 03 01 74}
$crypto32_4 = {C7 44 24 10 01 00 00 00 8B 4? 10 [12] 8B [2] 89 01 8B 44 24 10 5F 5E 5B 8B E5 5D C2 0C 00}
$cpuid = {8B C4 FF 18 8B F0 33 C0 0F A2 66 8C D8 66 8E D0 8B E5 8B C6 5E 5B 5D C3}
$cape_string = "cape_options"
condition:
uint16( 0 ) == 0x5A4D and 1 of ( $crypto32_* ) and $cpuid and not $cape_string
}
rule CAPE_Pik23 : FILE
{
meta:
description = "PikaBot Payload February 2023"
author = "kevoreilly"
id = "fc804c63-fc6c-5b26-92b1-aa5d2fbc4917"
date = "2023-02-13"
modified = "2024-03-13"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/PikaBot.yar#L30-L44"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "59f42ecde152f78731e54ea27e761bba748c9309a6ad1c2fd17f0e8b90f8aed1"
logic_hash = "71a71df2f2a075294941c54eed06cafaaa4d3294e45b3a0098c1cffddd0438bc"
score = 75
quality = 70
tags = "FILE"
cape_type = "PikaBot Payload"
strings:
$rdtsc = {89 55 FC 89 45 F8 0F 31 89 55 F4 89 45 FC 33 C0 B8 05 00 00 00 C1 E8 02 2B C3 3B C1 0F 31 89 55 F0 89 45 F8 8B 44 8D}
$int2d = {B8 00 00 00 00 CD 2D 90 C3 CC CC CC CC CC CC CC}
$subsys = {64 A1 30 00 00 00 8B 40 18 C3}
$rijndael = {EB 0F 0F B6 04 3? FE C? 8A 80 [4] 88 04 3? 0F B6 [3] 7C EA 5? 5? C9 C3}
condition:
uint16( 0 ) == 0x5A4D and 3 of them
}
rule CAPE_Doppelpaymer : FILE
{
meta:
description = "DoppelPaymer Payload"
author = "kevoreilly"
id = "c8178906-1722-5908-9ad4-7ee1eef39138"
date = "2019-11-15"
modified = "2022-06-27"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/DoppelPaymer.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "73a2575671bafc31a70af3ce072d6f94ae172b12202baebba586a02524cb6f9d"
score = 75
quality = 70
tags = "FILE"
cape_type = "DoppelPaymer Payload"
strings:
$getproc32 = {81 FB ?? ?? ?? ?? 74 2D 8B CB E8 ?? ?? ?? ?? 85 C0 74 0C 8B C8 8B D7 E8 ?? ?? ?? ?? 5B 5F C3}
$cmd_string = "Setup run\\n" wide
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Monsterv2 : FILE
{
meta:
description = "MonsterV2 Payload"
author = "doomedraven,YungBinary"
id = "4bc3546f-34ad-579e-9822-272a2b3c74e2"
date = "2025-09-06"
modified = "2025-09-12"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/MonsterV2.yar#L1-L21"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "d4e65f860e69b2eee8a818a4146d91b84ce6da30c8fa27593587932e4f0847a8"
score = 75
quality = 70
tags = "FILE"
cape_type = "MonsterV2 Payload"
packed = "fe69e8db634319815270aa0e55fe4b9c62ce8e62484609c3a42904fbe5bb2ab3"
strings:
$decrypt_config = {
41 B8 0E 04 00 00
48 8D 15 ?? ?? ?? 00
48 8B C?
E8 ?? ?? ?? ?? [3-17]
4C 8B C?
48 8D 54 24 28
48 8B CE
E8 ?? ?? ?? ??
}
condition:
uint16( 0 ) == 0x5A4D and $decrypt_config
}
rule CAPE_Varenyky : FILE
{
meta:
description = "Varenyky Payload"
author = "kevoreilly"
id = "e01695fa-72a0-5d8e-86ab-8c909d28b8ec"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Varenyky.yar#L1-L11"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "602f1b8b60b29565eabe2171fde4eb58546af68f8acecad402a7a51ea9a08ed9"
score = 75
quality = 70
tags = "FILE"
cape_type = "Varenyky Payload"
strings:
$onion = "jg4rli4xoagvvmw47fr2bnnfu7t2epj6owrgyoee7daoh4gxvbt3bhyd.onion"
condition:
uint16( 0 ) == 0x5A4D and ( $onion )
}
rule CAPE_Wanacry : FILE
{
meta:
description = "WanaCry Payload"
author = "kevoreilly"
id = "a6525e0f-fccd-5542-9be8-e42d708fe502"
date = "2019-10-30"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/WanaCry.yar#L1-L16"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "16d5e39f043d27bbf22f8f21e13971b7e0709b07e44746dd157d11ee4cc51944"
score = 75
quality = 70
tags = "FILE"
cape_type = "WanaCry Payload"
strings:
$exename = "@WanaDecryptor@.exe"
$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:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Cerber : FILE
{
meta:
description = "Cerber Payload"
author = "kevoreilly"
id = "edf08795-cf54-5822-8bc4-35cfba0fe8e8"
date = "2019-10-30"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Cerber.yar#L1-L12"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "16a8f808c28d3b142c079a305aba7f553f2452e439710bf610a06f8f2924d5a3"
score = 75
quality = 70
tags = "FILE"
cape_type = "Cerber Payload"
strings:
$code1 = {33 C0 66 89 45 8? 8D 7D 8? AB AB AB AB AB [0-2] 66 AB 8D 45 8? [0-3] E8 ?? ?? 00 00}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Qakbot5_1 : FILE
{
meta:
description = "QakBot v5 Payload"
author = "kevoreilly, enzok"
id = "48866cdd-f60e-50b8-85f9-573710934b0b"
date = "2019-10-30"
modified = "2024-04-28"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/QakBot.yar#L1-L15"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "59559e97962e40a15adb2237c4d01cfead03623aff1725616caeaa5a8d273a35"
logic_hash = "cc23a92f45619d44af824128b743c259dd9dfa7cb5106932f3425f3dfd1dccdf"
score = 75
quality = 70
tags = "FILE"
cape_type = "QakBot Payload"
packed = "f4bb0089dcf3629b1570fda839ef2f06c29cbf846c5134755d22d419015c8bd2"
strings:
$loop = {8B 75 ?? 48 8B 4C [2] FF 15 [4] 48 8B 4C [2] 48 8B 01 FF 50 ?? 8B DE 48 8B 4C [2] 48 85 C9 0F 85 [4] EB 4E}
$c2list = {0F B7 1D [4] B? [2] 00 00 E8 [4] 8B D3 4? 89 45 ?? 4? 33 C9 4? 8D 0D [4] 4? 8B C0 4? 8B F8 E8}
$campaign = {0F B7 1D [4] B? [2] 00 00 E8 [4] 8B D3 4? 89 44 24 ?? 4? 33 C9 4? 8D 0D [4] 4? 8B C0 4? 8B F8 E8}
condition:
uint16( 0 ) == 0x5A4D and 2 of them
}
rule CAPE_Atlas : FILE
{
meta:
description = "Atlas Payload"
author = "kevoreilly"
id = "22322e5c-ded6-56df-8a39-a8f5cbc18239"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Atlas.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "c3f73b29df5caf804dbfe3e6ac07a9e2c772bd2a126f0487e4a65e72bd501e6e"
score = 75
quality = 70
tags = "FILE"
cape_type = "Atlas Payload"
strings:
$a1 = "bye.bat"
$a2 = "task=knock&id=%s&ver=%s x%s&disks=%s&other=%s&ip=%s&pub="
$a3 = "process call create \"cmd /c start vssadmin delete shadows /all /q"
condition:
uint16( 0 ) == 0x5A4D and ( all of ( $a* ) )
}
rule CAPE_Nanolocker : FILE
{
meta:
description = "NanoLocker Payload"
author = "kevoreilly"
id = "6fff6a27-a153-5461-9a75-2253c2f7d408"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/NanoLocker.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "fe6c8a4e259c3c526f8f50771251f6762b2b92a4df2e8bfc705f282489f757db"
score = 75
quality = 70
tags = "FILE"
cape_type = "NanoLocker Payload"
strings:
$a1 = "NanoLocker"
$a2 = "$humanDeadline"
$a3 = "Decryptor.lnk"
condition:
uint16( 0 ) == 0x5A4D and ( all of ( $a* ) )
}
rule CAPE_Nightshadec2 : FILE
{
meta:
description = "NightshadeC2 AKA CastleRAT - https://x.com/YungBinary/status/1963751038340534482"
author = "YungBinary"
id = "d70f9051-c7ab-537a-ab80-03ae7ef80b81"
date = "2025-09-04"
modified = "2025-09-12"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/NightshadeC2.yar#L1-L20"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "963c012d56c62093d105ab5044517fdcce4ab826f7782b3e377932da1df6896d"
logic_hash = "f9fabc391e21180a1c92abea0a5ded6d7669e8d8f2330b69d6c1227c9b4237a0"
score = 75
quality = 70
tags = "FILE"
cape_type = "NightshadeC2 Payload"
strings:
$s1 = "keylog.txt" fullword wide
$s2 = "\"%ws\" --mute-audio --do-not-de-elevate" fullword wide
$s3 = "\"%ws\" -no-deelevate" fullword wide
$s4 = "MachineGuid" fullword wide
$s5 = "www.ip-api.com" fullword wide
$s6 = "rundll32 \"C:\\Windows\\System32\\shell32.dll\" #61" fullword wide
$s7 = "IsabellaWine" fullword wide
$s8 = "Shell_TrayWnd" fullword wide
condition:
uint16( 0 ) == 0x5A4D and 3 of them
}
rule CAPE_Scarab : FILE
{
meta:
description = "Scarab Payload"
author = "kevoreilly"
id = "2ba8ae50-1e56-5773-aaea-058161b59c78"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Scarab.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "0d8fa7ab4c8e5699f17f9e9444e85a42563a840a8e7ee9eda54add3a6845d1c6"
score = 75
quality = 70
tags = "FILE"
cape_type = "Scarab Payload"
strings:
$crypt1 = {8B D8 32 1A 0F B6 DB 8B 1C 9F C1 E8 08 33 D8 8B C3 42 8B D8 32 1A 0F B6 DB 8B 1C 9F C1 E8 08 33 D8 8B C3 42 8B D8 32 1A 0F B6 DB 8B 1C 9F C1 E8 08}
$crypt2 = {8B 4C 82 0C 8B D9 C1 E3 18 C1 E9 08 0B D9 8B CB 0F B6 D9 8B 1C 9D AC 0C 43 00 89 5C 24 04 8B D9 C1 EB 08 0F B6 DB 8B 34 9D AC 0C 43 00 8B D9 C1 EB 10}
$crypt3 = {8B 13 8B CA 81 E1 80 80 80 80 8B C1 C1 E8 07 50 8B C1 59 2B C1 25 1B 1B 1B 1B 8B CA 81 E1 7F 7F 7F 7F 03 C9 33 C1 8B C8 81 E1 80 80 80 80 8B F1 C1 EE 07}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Emotetloader : FILE
{
meta:
description = "Emotet Loader"
author = "kevoreilly"
id = "aea8ff2e-bdf7-5417-a41c-93566d1dd019"
date = "2022-05-31"
modified = "2022-05-31"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/EmotetLoader.yar#L1-L12"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "410872d25ed3a89a2cba108f952d606cd1c3bf9ccc89ae6ab3377b83665c2773"
score = 75
quality = 70
tags = "FILE"
cape_type = "EmotetLoader Payload"
strings:
$antihook = {8B 15 ?? ?? ?? ?? 03 15 ?? ?? ?? ?? 89 95 28 FF FF FF A1 ?? ?? ?? ?? 2D 4D 01 00 00 A3 ?? ?? ?? ?? 8B 0D ?? ?? ?? ?? 3B 0D ?? ?? ?? ?? 76 26 8B 95 18 FF FF FF 8B 42 38}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
rule CAPE_Badrabbit : FILE
{
meta:
description = "BadRabbit Payload"
author = "kevoreilly"
id = "c7204772-6f14-57b7-88c1-e9156f9897d5"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/BadRabbit.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "309e14ab4ea2f919358631f9d8b2aaff1f51e7708b6114e4e6bf4a9d9a5fc86c"
score = 75
quality = 70
tags = "FILE"
cape_type = "BadRabbit Payload"
strings:
$a1 = "caforssztxqzf2nm.onion" wide
$a2 = "schtasks /Create /SC once /TN drogon /RU SYSTEM" wide
$a3 = "schtasks /Create /RU SYSTEM /SC ONSTART /TN rhaegal" wide
condition:
uint16( 0 ) == 0x5A4D and ( all of ( $a* ) )
}
rule CAPE_Tclient : FILE
{
meta:
description = "TClient Payload"
author = "kevoreilly"
id = "38c9ea20-9d91-5fb0-8b3b-170538ad7ea8"
date = "2019-10-30"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/TClient.yar#L1-L11"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "6edcd01e4722b367723ed77d9596877d16ee35dc4c160885d125f83e45cee24d"
score = 75
quality = 70
tags = "FILE"
cape_type = "TClient Payload"
strings:
$code1 = {41 0F B6 00 4D 8D 40 01 34 01 8B D7 83 E2 07 0F BE C8 FF C7 41 0F BE 04 91 0F AF C1 41 88 40 FF 81 FF 80 03 00 00 7C D8}
condition:
uint16( 0 ) == 0x5A4D and any of ( $code* )
}
rule CAPE_Zeuspanda : FILE
{
meta:
description = "ZeusPanda Payload"
author = "kevoreilly"
id = "7891c021-6687-5457-b9e1-0beb0472647c"
date = "2019-10-30"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/ZeusPanda.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "43d8a56cae9fd23c053f6956851734d3270b46a906236854502c136e3bb1e761"
score = 75
quality = 70
tags = "FILE"
cape_type = "ZeusPanda Payload"
strings:
$code1 = {8B 01 57 55 55 55 55 55 55 53 51 FF 50 0C 85 C0 78 E? 55 55 6A 03 6A 03 55 55 6A 0A FF 37}
$code2 = {8D 85 B0 FD FF FF 50 68 ?? ?? ?? ?? 8D 85 90 FA FF FF 68 0E 01 00 00 50 E8 ?? ?? ?? ?? 83 C4 10 83 F8 FF 7E ?? 68 04 01 00 00 8D 85 B0 FD FF FF}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Fareit : FILE
{
meta:
description = "Fareit Payload"
author = "kevoreilly"
id = "b3c4eb86-d104-5f31-afa4-5bf5f370f64e"
date = "2019-10-30"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Fareit.yar#L1-L11"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "ed35391ffc949219f380da3f22bc8397a7d5c742bd68e227c3becdebcab5cf83"
score = 75
quality = 70
tags = "FILE"
cape_type = "Fareit Payload"
strings:
$string1 = {0D 0A 09 09 0D 0A 0D 0A 09 20 20 20 3A 6B 74 6B 20 20 20 0D 0A 0D 0A 0D 0A 20 20 20 20 20 64 65 6C 20 20 20 20 09 20 25 31 20 20 0D 0A 09 69 66 20 20 09 09 20 65 78 69 73 74 20 09 20 20 20 25 31 20 20 09 20 20 67 6F 74 6F 20 09 0D 20 6B 74 6B 0D 0A 20 64 65 6C 20 09 20 20 25 30 20 00}
condition:
uint16( 0 ) == 0x5A4D and any of ( $string* )
}
rule CAPE_Kpot : FILE
{
meta:
description = "Kpot Stealer"
author = "kevoreilly"
id = "724fd6ac-e734-5952-b459-01cbaffdb89d"
date = "2020-10-19"
modified = "2020-10-19"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Kpot.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "75abaab9a10e8ac8808425c389238285ab9bd9cb76f0cd03cc1e35b3ea0a1b0f"
score = 75
quality = 70
tags = "FILE"
cape_type = "Kpot Payload"
strings:
$format = "%s | %s | %s | %s | %s | %s | %s | %d | %s"
$username = "username:s:"
$os = "OS: %S x%d"
condition:
uint16( 0 ) == 0x5A4D and 2 of them
}
rule CAPE_Hermes : FILE
{
meta:
description = "Hermes Payload"
author = "kevoreilly"
id = "0ff44422-9c14-517b-9e71-8e9e19694f06"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Hermes.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "9bc974173f39a57e7adfbf8ae106a20d960557696b4c3ce16e9b4e47d3e9e95b"
score = 75
quality = 70
tags = "FILE"
cape_type = "Hermes Payload"
strings:
$ext = ".HRM" wide
$vss = "vssadmin Delete"
$email = "supportdecrypt@firemail.cc" wide
condition:
uint16( 0 ) == 0x5A4D and all of ( $* )
}
rule CAPE_Stealc : FILE
{
meta:
description = "Stealc Payload"
author = "kevoreilly"
id = "77567584-7c84-5351-938b-d29d612a042d"
date = "2023-02-22"
modified = "2025-08-21"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Stealc.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "77d6f1914af6caf909fa2a246fcec05f500f79dd56e5d0d466d55924695c702d"
logic_hash = "a6165168b7c74761b91d1691465688c748227b830813067edb4e9bdc934271c4"
score = 75
quality = 70
tags = "FILE"
cape_type = "Stealc Payload"
strings:
$nugget1 = {68 04 01 00 00 6A 00 FF 15 [4] 50 FF 15}
$nugget2 = {64 A1 30 00 00 00 8B 40 0C 8B 40 0C 8B 00 8B 00 8B 40 18 89 45 FC}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Stealcv2 : FILE
{
meta:
description = "Stealc V2 Payload"
author = "kevoreilly"
id = "0f72c468-9485-5e29-b29a-7dfc3e579e02"
date = "2023-02-22"
modified = "2025-08-21"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Stealc.yar#L15-L32"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "911c6a7f63e91a788898f3cc6e66396e39d5bd48f8fbaac49ee5dbbdaa64d5a0"
score = 75
quality = 70
tags = "FILE"
cape_type = "Stealc Payload"
packed = "2f42dcf05dd87e6352491ff9d4ea3dc3f854df53d548a8da0c323be42df797b6"
packed = "8301936f439f43579cffe98e11e3224051e2fb890ffe9df680bbbd8db0729387"
strings:
$decode32 = {AB AB AB AB 8B 45 0C 89 4E 10 89 4E 14 39 45 08 75 0B C7 46 14 0F 00 00 00 88 0E EB 0F 2B 45 08 50 51 FF 75 ?? 8B}
$dump32 = {33 C0 89 46 30 88 46 34 89 46 38 89 46 3C 89 46 40 89 46 44 89 46 48 89 46 4C 89 46 50 89 46 54 89 46 58 8B C6 5F 5E C3}
$date32 = {F3 A5 8D 45 ?? 50 E8 [4] 59 8B F8 8B F2 8D 45 A4 50 E8 [4] 59 3B F2 7C 08 7F 04 3B F8 76 02 B3 01 8A C3}
$decode64 = {40 53 48 83 EC 20 48 8B 19 48 85 DB 74 ?? 48 8B 53 18 48 83 FA 0F 76 2C 48 8B 0B 48 FF C2 48 81 FA 00 10 00 00 72}
$dump64 = {48 8B C7 89 6F 40 40 88 6F 44 48 89 6F 48 48 89 6F 50 48 89 6F 58 48 89 6F 60 48 89 6F 68 48 89 6F 70 48 89 6F 78 48 89}
$date64 = {0F 11 44 [2] 0F 11 8C [2] 00 00 00 89 8C [2] 00 00 00 48 8D 4C [2] E8 [4] 48 8B D8 48 8D 4C [2] E8 [4] 48 3B D8 0F 9F C0}
condition:
uint16( 0 ) == 0x5A4D and 2 of them
}
rule CAPE_Arkei : FILE
{
meta:
description = "Arkei Payload"
author = "kevoreilly, YungBinary"
id = "18363a5b-46f3-5d11-9bc6-a91f81b49706"
date = "2019-10-30"
modified = "2025-01-10"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Arkei.yar#L1-L50"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "296e420880d8d2f24424d0411e7ef4939e18147689557512f410da48498a44c9"
score = 75
quality = 70
tags = "FILE"
cape_type = "Arkei Payload"
strings:
$string1 = "Windows_Antimalware_Host_System_Worker"
$string2 = "Arkei"
$string3 = "Bitcoin\\wallet.dat"
$string4 = "Ethereum\\keystore"
$v1 = "C:\\Windows\\System32\\cmd.exe" fullword ascii wide
$v2 = "/c taskkill /im " fullword ascii
$v3 = "card_number_encrypted FROM credit_cards" ascii
$v4 = "\\wallet.dat" ascii
$v5 = "Arkei/" wide
$v6 = "files\\passwords." ascii wide
$v7 = "files\\cc_" ascii wide
$v8 = "files\\autofill_" ascii wide
$v9 = "files\\cookies_" ascii wide
$loaded_modules = {
64 A1 30 00 00 00
8B 40 0C
8B 40 0C
8B 00
8B 00
8B 40 18
89 45 FC
8B 45 FC
8B E5
5D
C3
}
$language_check = {
FF 15 ?? ?? ?? ??
0F B7 C0
89 45 ??
81 7D ?? 3F 04 ?? ??
7F
}
$ext1 = ".zoo" ascii
$ext2 = ".arc" ascii
condition:
uint16( 0 ) == 0x5A4D and ( ( $loaded_modules and $language_check and $ext1 and $ext2 ) or ( all of ( $string* ) or 7 of ( $v* ) ) )
}
rule CAPE_Gandcrab : FILE
{
meta:
description = "Gandcrab Payload"
author = "kevoreilly"
id = "0082e8c9-952e-508c-a438-4e17b8031864"
date = "2019-10-30"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Gandcrab.yar#L1-L14"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "354ed566dbafbe8e9531bb771d9846952eb8c0e70ee94c26d09368159ce4142c"
score = 75
quality = 70
tags = "FILE"
cape_type = "Gandcrab Payload"
strings:
$string1 = "GDCB-DECRYPT.txt" wide
$string2 = "GandCrabGandCrabnomoreransom.coinomoreransom.bit"
$string3 = "action=result&e_files=%d&e_size=%I64u&e_time=%d&" wide
$string4 = "KRAB-DECRYPT.txt" wide
condition:
uint16( 0 ) == 0x5A4D and any of ( $string* )
}
rule CAPE_Vipkeylogger : FILE
{
meta:
description = "Detects VIPKeyLogger Keylogger"
author = "kevoreilly"
id = "71606fcc-89b4-519a-833a-b6cb4b569cb8"
date = "2025-09-11"
modified = "2025-09-11"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/VIPKeyLogger.yar#L1-L14"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "b9dba7562bba4807c0789692d44650996e62c8d0c4031dedd65773877621b1de"
score = 75
quality = 70
tags = "FILE"
cape_type = "VIPKeyLogger Payload"
packed = "edaba79c3d43a416a86003f336d879ed3a513aa24dd401340584615647ed6da2"
strings:
$s1 = "/ VIP Recovery \\" wide
$s2 = "Clipboard Logs ID" wide
$s3 = "Keylogger" wide
condition:
uint16( 0 ) == 0x5a4d and all of them
}
rule CAPE_Kovter : FILE
{
meta:
description = "Kovter Payload"
author = "kevoreilly"
id = "3dec3c4b-4678-5ed1-a4c3-c3d9abb58b1c"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Kovter.yar#L1-L14"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "888fccb8fbfbe6c05ec63bc5658b4743f8e10a96ef51b3868c2ff94afec76f2d"
score = 75
quality = 70
tags = "FILE"
cape_type = "Kovter Payload"
strings:
$a1 = "chkok"
$a2 = "k2Tdgo"
$a3 = "13_13_13"
$a4 = "Win Server 2008 R2"
condition:
uint16( 0 ) == 0x5A4D and ( all of ( $a* ) )
}
rule CAPE_Locky : FILE
{
meta:
description = "Locky Payload"
author = "kevoreilly"
id = "664d0365-af49-5222-a4ed-9260332f6940"
date = "2019-10-30"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Locky.yar#L1-L14"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "9786c54a2644d9581fefe64be11b26e22806398e54e961fa4f19d26eae039cd7"
score = 75
quality = 70
tags = "FILE"
cape_type = "Locky Payload"
strings:
$string1 = "wallet.dat" wide
$string2 = "Locky_recover" wide
$string3 = "opt321" wide
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Obfuscar : FILE
{
meta:
description = "Obfuscar xor routime"
author = "kevoreilly"
id = "81eeb62f-578f-5c75-bc96-091d5727a20a"
date = "2025-03-07"
modified = "2025-03-07"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Obfuscar.yar#L1-L12"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "54581e83e5fa13fae4bda74016b3fa1d18c92e2659f493ebe54d70fd5f77bba5"
score = 75
quality = 70
tags = "FILE"
strings:
$decode = {06 91 06 61 20 [4] 61 D2 9C 06 17 58 0A 06 7E [4] 8E 69 FE 04 2D ?? 2A}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
rule CAPE_Mole : FILE
{
meta:
description = "Mole Payload"
author = "kevoreilly"
id = "1185170f-4a5b-5347-807b-ef2af98a1a09"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Mole.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "8be4d190d554a610360c0e04b33da59eb00319395e5b2000d580546ce6503786"
score = 75
quality = 70
tags = "FILE"
cape_type = "Mole Payload"
strings:
$a1 = ".mole0" wide
$a2 = "_HELP_INSTRUCTION.TXT" wide
$a3 = "-----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQ"
condition:
uint16( 0 ) == 0x5A4D and ( all of ( $a* ) )
}
rule CAPE_Quasarrat : FILE
{
meta:
description = "QuasarRAT payload"
author = "ditekshen"
id = "f256b88f-eee6-5f8c-afd6-32ed10ea908d"
date = "2024-10-09"
modified = "2025-02-03"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/AsyncRAT.yar#L245-L266"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "556b19dc0980761198ea31a285f281adae084463d24bff1eda15326436ad562b"
score = 75
quality = 70
tags = "FILE"
cape_type = "QuasarRAT Payload"
strings:
$s1 = "GetKeyloggerLogsResponse" fullword ascii
$s2 = "GetKeyloggerLogs" fullword ascii
$s3 = "/>Log created on" wide
$s4 = "User: {0}{3}Pass: {1}{3}Host: {2}" wide
$s5 = "Domain: {1}{0}Cookie Name: {2}{0}Value: {3}{0}Path: {4}{0}Expired: {5}{0}HttpOnly: {6}{0}Secure: {7}" wide
$s6 = "grabber_" wide
$s7 = "" ascii
$s8 = "k__BackingField" fullword ascii
$s9 = "" ascii
$s10 = "add_OnHotKeysDown" ascii
$mutex = "QSR_MUTEX_" ascii wide
$ua1 = "Mozilla/5.0 (Windows NT 6.3; rv:48.0) Gecko/20100101 Firefox/48.0" fullword wide
$us2 = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A" fullword wide
condition:
uint16( 0 ) == 0x5a4d and ( $mutex or ( all of ( $ua* ) and 2 of them ) or 6 of ( $s* ) )
}
rule CAPE_Nemty : FILE
{
meta:
description = "Nemty Ransomware Payload"
author = "kevoreilly"
id = "3aa8e1d7-f9cb-5b04-923d-7bed15ab8c3f"
date = "2020-04-03"
modified = "2020-04-03"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Nemty.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "a05974b561c67b4f1e0812639b74831edcf65686a06c0d380f0b45739e342419"
score = 75
quality = 70
tags = "FILE"
cape_type = "Nemty Payload"
strings:
$tordir = "TorDir"
$decrypt = "DECRYPT.txt"
$nemty = "NEMTY"
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Bitpaymer : FILE
{
meta:
description = "BitPaymer Payload"
author = "kevoreilly"
id = "c139b514-a1ba-5d47-8f4d-8e60cddfe2ba"
date = "2019-11-27"
modified = "2019-11-27"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/BitPaymer.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "6ae0dc9a36da13e483d8d653276b06f59ecc15c95c754c268dcc91b181677c4c"
score = 75
quality = 70
tags = "FILE"
cape_type = "BitPaymer Payload"
strings:
$decrypt32 = {6A 40 58 3B C8 0F 4D C1 39 46 04 7D 50 53 57 8B F8 81 E7 3F 00 00 80 79 05 4F 83 CF C0 47 F7 DF 99 1B FF 83 E2 3F 03 C2 F7 DF C1 F8 06 03 F8 C1 E7 06 57}
$antidefender = "TouchMeNot" wide
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Seduploader : FILE
{
meta:
description = "Seduploader decrypt function"
author = "kevoreilly"
id = "a7152d8c-a197-5784-8a6d-453d41585df1"
date = "2019-10-30"
modified = "2022-06-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Seduploader.yar#L1-L11"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "d70c886699169d4dafc5b063c93682a34af5667df6d293b52256ddc19ab9c516"
score = 75
quality = 70
tags = "FILE"
cape_type = "Seduploader Payload"
strings:
$decrypt1 = {8D 0C 30 C7 45 FC 0A 00 00 00 33 D2 F7 75 FC 8A 82 ?? ?? ?? ?? 32 04 0F 88 01 8B 45 0C 40 89 45 0C 3B C3 7C DB}
condition:
uint16( 0 ) == 0x5A4D and any of ( $decrypt* )
}
rule CAPE_Amadey : FILE
{
meta:
description = "Amadey Payload"
author = "kevoreilly, YungBinary"
id = "81d251a2-84c3-524c-8ea5-c92ca8764777"
date = "2021-02-18"
modified = "2025-08-15"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Amadey.yar#L1-L15"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "988258716d5296c1323303e8fe4efd7f4642c87bfdbe970fe9a3bb3f410f70a4"
logic_hash = "5a7405a174b63826500f3b04c6f10bc9b40d5b49e85377bef027204e75dd1e9e"
score = 75
quality = 70
tags = "FILE"
cape_type = "Amadey Payload"
strings:
$decode1 = {8B D1 B8 FF FF FF 7F D1 EA 2B C2 3B C8 76 07 BB FF FF FF 7F EB 08 8D 04 0A 3B D8 0F 42 D8}
$decode2 = {2B C8 8D 04 0A 33 D2 F7 F3 8B 5D ?? 8B CB 83 7B ?? 10}
$decode3 = {33 D2 8B 4D ?? 8B C7 F7 F6 8A 84 3B [4] 2A 44 0A 01 88 87 [4] 47 8B 45 ?? 8D 50 01}
$decode4 = {8A 04 02 88 04 0F 41 8B 7D ?? 8D 42 01 3B CB 7C}
condition:
uint16( 0 ) == 0x5A4D and 2 of them
}
rule CAPE_Codoso : FILE
{
meta:
description = "Codoso Payload"
author = "kevoreilly"
id = "4c3d8d77-ffa9-576d-bf88-7b5a1bfd1811"
date = "2019-10-30"
modified = "2019-10-30"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Codoso.yar#L1-L13"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "32c9ed2ac29e8905266977a9ee573a252442d96fb9ec97d88642180deceec3f8"
score = 75
quality = 70
tags = "FILE"
cape_type = "Codoso Payload"
strings:
$a1 = "WHO_A_R_E_YOU?"
$a2 = "DUDE_AM_I_SHARP-3.14159265358979"
$a3 = "USERMODECMD"
condition:
uint16( 0 ) == 0x5A4D and ( all of ( $a* ) )
}
rule CAPE_Zloader2025 : FILE
{
meta:
description = "Zloader Payload"
author = "enzok"
id = "dd6ee439-9599-564c-8841-94bd89ae2db0"
date = "2020-04-04"
modified = "2025-12-09"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/Zloader.yar#L36-L49"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
hash = "86ffd411b42d8d06bdb294f48e79393adeea586c56c5c75c1a68ce6315932881"
logic_hash = "cc9c39f0b5e7e8c8853982d9c896bbaac5a36bb0f501c8901d8854f2d5e1a19c"
score = 75
quality = 70
tags = "FILE"
cape_type = "Zloader Payload"
strings:
$conf = {4? 01 ?? [4] E8 [4] 4? 8D 15 [4] 4? 89 ?? 4? 89 ?? E8 [4] C7 46 30 00 00 00 00 8B 7E 34}
$confkey_1 = {4? 01 ?? [2] E8 [4] 4? 8D 15 [4] 4? 89 ?? 4? 89 ?? E8 [4] C7 46 34 00 00 00 00 8B 46 38}
$confkey_2 = {4? 01 ?? [2] E8 [4] 4? 8D 15 [4] 4? 89 ?? 4? 89 ?? E8 [4] C7 46 38 00 00 00 00 48 83 C4 28}
condition:
uint16( 0 ) == 0x5A4D and $conf and all of ( $confkey_* )
}
rule CAPE_Agenttesla : FILE
{
meta:
description = "AgentTesla Payload"
author = "kevoreilly"
id = "f7b930f1-cecb-5d80-809b-9503f282247a"
date = "2019-10-30"
modified = "2026-01-14"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/AgentTesla.yar#L19-L41"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "1bf9b26c4cf87e674ddffabe40aba5a45499c6a04d4ff3e43c3cda4cbcb4d188"
score = 75
quality = 70
tags = "FILE"
cape_type = "AgentTesla Payload"
strings:
$string1 = "smtp" wide
$string2 = "appdata" wide
$string3 = "76487-337-8429955-22614" wide
$string4 = "yyyy-MM-dd HH:mm:ss" wide
$string6 = "webpanel" wide
$string7 = "
UserName :" wide
$string8 = "
IP Address :" wide
$agt1 = "IELibrary.dll" ascii
$agt2 = "C:\\Users\\Admin\\Desktop\\IELibrary\\IELibrary\\obj\\Debug\\IELibrary.pdb" ascii
$agt3 = "GetSavedPasswords" ascii
$agt4 = "GetSavedCookies" ascii
condition:
uint16( 0 ) == 0x5A4D and ( all of ( $string* ) or 3 of ( $agt* ) )
}
rule CAPE_Agentteslav2 : FILE
{
meta:
description = "AgenetTesla Type 2 Keylogger payload"
author = "ditekshen"
id = "e60ecee4-0a97-56a1-b21e-47190f8cd1f8"
date = "2019-10-30"
modified = "2026-01-14"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/AgentTesla.yar#L43-L67"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "b45296b3b94fa1ff32de48c94329a17402461fb6696e9390565c4dba9738ed78"
score = 75
quality = 70
tags = "FILE"
cape_type = "AgentTesla Payload"
strings:
$s1 = "get_kbHook" ascii
$s2 = "GetPrivateProfileString" ascii
$s3 = "get_OSFullName" ascii
$s4 = "get_PasswordHash" ascii
$s5 = "remove_Key" ascii
$s6 = "FtpWebRequest" ascii
$s7 = "logins" fullword wide
$s8 = "keylog" fullword wide
$s9 = "1.85 (Hash, version 2, native byte-order)" wide
$cl1 = "Postbox" fullword ascii
$cl2 = "BlackHawk" fullword ascii
$cl3 = "WaterFox" fullword ascii
$cl4 = "CyberFox" fullword ascii
$cl5 = "IceDragon" fullword ascii
$cl6 = "Thunderbird" fullword ascii
condition:
( uint16( 0 ) == 0x5a4d and 6 of ( $s* ) ) or ( 6 of ( $s* ) and 2 of ( $cl* ) )
}
rule CAPE_Agentteslav3 : FILE
{
meta:
description = "AgentTeslaV3 infostealer payload"
author = "ditekshen"
id = "c8ddd838-6ad4-56f3-a0cd-b890f809018c"
date = "2019-10-30"
modified = "2026-01-14"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/AgentTesla.yar#L69-L115"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "cc9bbbcf3608b49a76b098acf846ff03eae5e9cb107697627d62661fa1be36c2"
score = 75
quality = 70
tags = "FILE"
cape_type = "AgentTesla payload"
strings:
$s_specific1 = "get_kbok" fullword ascii
$s_specific2 = "get_CHoo" fullword ascii
$s_specific3 = "KillTorProcess" fullword ascii
$s_specific4 = "GetMozilla" ascii
$s_specific5 = "torbrowser" wide
$s_specific6 = "bot%telegramapi%" wide
$s_specific7 = "%chatid%" wide
$s_typo = "set_Lenght" fullword ascii
$m1 = "yyyy-MM-dd hh-mm-ssCookieapplication/zipSCSC_.jpegScreenshotimage/jpeg/log.tmpKLKL_.htmlLogtext/html[]Time" ascii
$m2 = "%image/jpg:Zone.Identifier\\tmpG.tmp%urlkey%-f \\Data\\Tor\\torrcp=%PostURL%127.0.0.1POST+%2B" ascii
$m3 = ">{CTRL}Windows RDPcredentialpolicyblobrdgchrome{{{0}}}CopyToComputeHashsha512CopySystemDrive\\WScript.ShellRegReadg401" ascii
$m4 = "%startupfolder%\\%insfolder%\\%insname%/\\%insfolder%\\Software\\Microsoft\\Windows\\CurrentVersion\\Run%insregname%SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\StartupApproved\\RunTruehttp" ascii
$m5 = "\\WindowsLoad%ftphost%/%ftpuser%%ftppassword%STORLengthWriteCloseGetBytesOpera" ascii
$s_generic1 = "set_UseShellExecute" fullword ascii
$s_generic2 = "set_IsBodyHtml" fullword ascii
$s_generic3 = "set_AllowAutoRedirect" fullword ascii
$s_generic4 = "set_RedirectStandardOutput" fullword ascii
condition:
(2 of ( $m* ) ) or ( uint16( 0 ) == 0x5a4d and ( 5 of ( $s_specific* ) or ( $s_typo and 4 of ( $s_generic* ) ) ) )
}
rule CAPE_Agentteslav4 : FILE
{
meta:
description = "AgentTesla Payload"
author = "kevoreilly"
id = "a39109ca-84cb-527d-b9c2-d8763fa6e496"
date = "2019-10-30"
modified = "2026-01-14"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/AgentTesla.yar#L117-L130"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "0a39036f408728ab312a54ff3354453d171424f57f9a8f3b42af867be3037ca9"
score = 75
quality = 70
tags = "FILE"
cape_type = "AgentTesla Payload"
packed = "7f8a95173e17256698324886bb138b7936b9e8c5b9ab8fffbfe01080f02f286c"
strings:
$decode1 = {(07|FE 0C 01 00) (07|FE 0C 01 00) 8E 69 (17|20 01 00 00 00) 63 8F ?? 00 00 01 25 47 (06|FE 0C 00 00) (1A|20 04 00 00 00) 58 4A D2 61 D2 52}
$decode2 = {(07|FE 0C 01 00) (08|FE 0C 02 00) 8F ?? 00 00 01 25 47 (07|FE 0C 01 00) (11 07|FE 0C 07 00) 91 (06|FE 0C 00 00) (1A|20 04 00 00 00) 58 4A 61 D2 61 D2 52}
$decode3 = {(07|FE 0C 01 00) (11 07|FE 0C 07 00) 8F ?? 00 00 01 25 47 (07|FE 0C 01 00) (08|FE 0C 02 00) 91 61 D2 52}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
rule CAPE_Squirrelwaffle : FILE
{
meta:
description = "No description has been set in the source file - CAPE"
author = "kevoreilly & R3MRUM"
id = "0ae75f24-7a2a-57d3-8c6f-a61ac6cc08e7"
date = "2021-09-22"
modified = "2021-10-13"
reference = "https://github.com/kevoreilly/CAPEv2"
source_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/data/yara/CAPE/SquirrelWaffle.yar#L1-L11"
license_url = "https://github.com/kevoreilly/CAPEv2/blob/539d7ad94675d7caee5eee0816d49af6654efb20/LICENSE"
logic_hash = "5f799333398421d537ec7a87ca94f6cc9cf1e53e55b353036a5132440990e500"
score = 75
quality = 70
tags = "FILE"
cape_type = "SquirrelWaffle Payload"
strings:
$code = {8D 45 ?? C6 45 ?? 00 0F 43 4D ?? 83 7D ?? 10 0F 43 45 ?? 8A 04 10 32 04 39 8D 4D ?? 0F B6 C0 50 6A 01 E8 [4] C6 45}
$decode = {F7 75 ?? 83 7D ?? 10 8D 4D ?? 8D 45 ?? C6 45 ?? 00 0F 43 4D ?? 83 7D ?? 10 0F 43 45 ?? 8A 04 10 32 04 39}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
/*
* YARA Rule Set
* Repository Name: DeadBits
* Repository: https://github.com/deadbits/yara-rules/
* Retrieval Date: 2026-03-15
* Git Commit: d002f7ecee23e09142a3ac3e79c84f71dda3f001
* Number of Rules: 11
* Skipped: 0 (age), 12 (quality), 0 (score), 0 (importance)
*
*
* LICENSE
*
* NO LICENSE SET
*/
rule DEADBITS_APT34_PICKPOCKET : APT APT34 INFOSTEALER WINMALWARE FILE
{
meta:
description = "Detects the PICKPOCKET malware used by APT34, a browser credential-theft tool identified by FireEye in May 2018"
author = "Adam Swanda"
id = "71db5c74-4964-5c5e-a830-242bfd0a2158"
date = "2019-07-22"
modified = "2019-07-22"
reference = "https://www.fireeye.com/blog/threat-research/2019/07/hard-pass-declining-apt34-invite-to-join-their-professional-network.html"
source_url = "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/APT34_PICKPOCKET.yara#L1-L30"
license_url = "N/A"
logic_hash = "7063cff3eb42c4468e01c9b214161cd306f7126f66650d99d43168730d1dc83a"
score = 75
quality = 80
tags = "APT, APT34, INFOSTEALER, WINMALWARE, FILE"
strings:
$s1 = "SELECT * FROM moz_logins;" ascii fullword
$s2 = "\\nss3.dll" ascii fullword
$s3 = "SELECT * FROM logins;" ascii fullword
$s4 = "| %Q || substr(name,%d+18) ELSE name END WHERE tbl_name=%Q COLLATE nocase AND (type='table' OR type='index' OR type='trigger');" ascii fullword
$s5 = "\\Login Data" ascii fullword
$s6 = "%s\\Mozilla\\Firefox\\profiles.ini" ascii fullword
$s7 = "Login Data" ascii fullword
$s8 = "encryptedUsernamencryptedPasswor" ascii fullword
$s10 = "%s\\Mozilla\\Firefox\\%s" ascii fullword
$s11 = "encryptedUsername" ascii fullword
$s12 = "2013-12-06 14:53:30 27392118af4c38c5203a04b8013e1afdb1cebd0d" ascii fullword
$s13 = "27392118af4c38c5203a04b8013e1afdb1cebd0d" ascii
$s15 = "= 'table' AND name!='sqlite_sequence' AND coalesce(rootpage,1)>0" ascii fullword
$s18 = "[*] FireFox :" fullword wide
$s19 = "[*] Chrome :" fullword wide
$s20 = "username_value" ascii fullword
condition:
uint16( 0 ) == 0x5a4d and ( 8 of them or all of them )
}
rule DEADBITS_Winnti_Linux : LINUXMALWARE FILE
{
meta:
description = "No description has been set in the source file - DeadBits"
author = "Adam Swanda"
id = "d90dec69-1a8b-547c-a302-d00c612a71ed"
date = "2019-07-18"
modified = "2019-07-22"
reference = "https://github.com/deadbits/yara-rules"
source_url = "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/winnti_linux.yara#L1-L37"
license_url = "N/A"
logic_hash = "216c103b4ffceaa0540b8c81645d3fd91a7dab2b32b1cf84ccb85f134c9d23c8"
score = 75
quality = 76
tags = "LINUXMALWARE, FILE"
Author = "Adam M. Swanda"
strings:
$str0 = "HIDE_THIS_SHELL=x"
$str1 = "/usr/sbin/dmidecode | grep -i 'UUID' |cut -d' ' -f2 2>/dev/null" ascii fullword
$str2 = "mutex.max: %lu" ascii fullword
$str3 = "mutex.err: %lu" ascii fullword
$str4 = "/tmp/ans.log" ascii fullword
$str5 = "mutex.used: %lu" ascii fullword
$str6 = "Warning: Some of the worker threads may have failed to exit." ascii fullword
$str7 = "line %d - " ascii fullword
$str8 = "Warning an error has occurred when trying to obtain a worker task." ascii fullword
$str9 = "6CMutex" ascii fullword
$str10 = "Failed to obtain an empty task from the free tasks queue." ascii fullword
$str11 = "A problem was detected in the queue (expected NULL, but found a different value)." ascii fullword
$str12 = "Failed to a task to the free tasks queue during initialization." ascii fullword
$str13 = "/var/run/libudev1.pid" ascii fullword
$str14 = "__pthread_key_create" ascii fullword
$str15 = "The threadpool received as argument is NULL." ascii fullword
$str16 = "Failed to enqueue a task to free tasks queue." ascii fullword
$str17 = "Failed to obtain a task from the jobs queue." ascii fullword
$str18 = "Failed to add a new task to the tasks queue." ascii fullword
$str19 = "setsockopt failed" ascii fullword
$str20 = "libxselinux.so" ascii fullword
$str21 = "/lib/libxselinux" ascii fullword
condition:
uint16( 0 ) == 0x457f and 8 of them
}
rule DEADBITS_Avemaria_Warzone : AVEMARIA WARZONE WINMALWARE INFOSTEALER FILE
{
meta:
description = "No description has been set in the source file - DeadBits"
author = "Adam Swanda"
id = "1e03927b-d59c-5e1f-bdee-e44dfb172fad"
date = "2019-07-18"
modified = "2019-08-08"
reference = "https://github.com/deadbits/yara-rules"
source_url = "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/avemaria_warzone.yara#L1-L32"
license_url = "N/A"
logic_hash = "1fe55fc8ea80616b11757193c2c74b9cf577ab661ddca4c6c64cfad63a300614"
score = 75
quality = 80
tags = "AVEMARIA, WARZONE, WINMALWARE, INFOSTEALER, FILE"
Author = "Adam M. Swanda"
strings:
$str1 = "cmd.exe /C ping 1.2.3.4 -n 2 -w 1000 > Nul & Del /f /q " ascii fullword
$str2 = "MsgBox.exe" wide fullword
$str4 = "\\System32\\cmd.exe" wide fullword
$str6 = "Ave_Maria" wide
$str7 = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\SpecialAccounts\\UserList" ascii fullword
$str8 = "SMTP Password" wide fullword
$str11 = "\\Google\\Chrome\\User Data\\Default\\Login Data" wide fullword
$str12 = "\\sqlmap.dll" wide fullword
$str14 = "SELECT * FROM logins" ascii fullword
$str16 = "Elevation:Administrator!new" wide
$str17 = "/n:%temp%" ascii wide
condition:
( uint16( 0 ) == 0x5a4d and filesize < 400KB ) and ( 5 of ( $str* ) or all of them )
}
rule DEADBITS_Silenttrinity_Delivery_Document : FILE
{
meta:
description = "No description has been set in the source file - DeadBits"
author = "Adam Swanda"
id = "be8cf8b7-d7f8-587d-b7bd-ad10796cda7c"
date = "2019-07-19"
modified = "2019-07-19"
reference = "https://countercept.com/blog/hunting-for-silenttrinity/"
source_url = "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/SilentTrinity_Delivery.yara#L1-L30"
license_url = "N/A"
logic_hash = "1efaa317dd250fa127b134ff8e6e6ac48d1056059256f790925d2315a6865033"
score = 75
quality = 80
tags = "FILE"
Description = "Attempts to detect SilentTrinity delivery documents"
Author = "Adam M. Swanda"
strings:
$s0 = "VBE7.DLL" fullword ascii
$s1 = "TargetPivotTable" fullword ascii
$s2 = "DocumentUserPassword" fullword wide
$s3 = "DocumentOwnerPassword" fullword wide
$s4 = "Scripting.FileSystemObject" fullword wide
$s5 = "MSXML2.ServerXMLHTTP" fullword wide
$s6 = "Win32_ProcessStartup " fullword ascii
$s7 = "Step 3: Start looping through all worksheets" fullword ascii
$s8 = "Step 2: Start looping through all worksheets" fullword ascii
$s9 = "Stringer" fullword wide
$s10 = "-decode -f" fullword wide
$s11 = "2. Da biste pogledali dokument, molimo kliknite \"OMOGU" fullword wide
condition:
uint16( 0 ) == 0xcfd0 and filesize < 200KB and ( 8 of ( $s* ) or all of them )
}
rule DEADBITS_APT34_LONGWATCH : APT34 WINMALWARE KEYLOGGER FILE
{
meta:
description = "No description has been set in the source file - DeadBits"
author = "Adam Swanda"
id = "74a6a408-2f0e-567d-8968-c304d258df81"
date = "2019-07-22"
modified = "2019-07-22"
reference = "https://www.fireeye.com/blog/threat-research/2019/07/hard-pass-declining-apt34-invite-to-join-their-professional-network.html"
source_url = "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/APT34_LONGWATCH.yara#L1-L43"
license_url = "N/A"
logic_hash = "8f9ed228325800baea3a2874c71337709c04d93419d4d56821a791dbce6f4582"
score = 75
quality = 78
tags = "APT34, WINMALWARE, KEYLOGGER, FILE"
Description = "APT34 Keylogger"
strings:
$log = "c:\\windows\\temp\\log.txt" ascii fullword
$clipboard = "---------------CLIPBOARD------------" ascii fullword
$func0 = "\"Main Invoked.\"" ascii fullword
$func1 = "\"Main Returned.\"" ascii fullword
$logger3 = ">---------------------------------------------------" ascii fullword
$logger4 = "[ENTER]" ascii fullword
$logger5 = "[CapsLock]" ascii fullword
$logger6 = "[CRTL]" ascii fullword
$logger7 = "[PAGE_UP]" ascii fullword
$logger8 = "[PAGE_DOWN]" ascii fullword
$logger9 = "[HOME]" ascii fullword
$logger10 = "[LEFT]" ascii fullword
$logger11 = "[RIGHT]" ascii fullword
$logger12 = "[DOWN]" ascii fullword
$logger13 = "[PRINT]" ascii fullword
$logger14 = "[PRINT SCREEN]" ascii fullword
$logger15 = "[INSERT]" ascii fullword
$logger16 = "[SLEEP]" ascii fullword
$logger17 = "[PAUSE]" ascii fullword
$logger18 = "[TAB]" ascii fullword
$logger19 = "[ESC]" ascii fullword
$logger20 = "[DEL]" ascii fullword
$logger21 = "[ALT]" ascii fullword
condition:
uint16( 0 ) == 0x5a4d and $log and all of ( $func* ) and all of ( $logger* ) and $clipboard
}
rule DEADBITS_APT34_VALUEVAULT : APT34 INFOSTEALER WINMALWARE FILE
{
meta:
description = "No description has been set in the source file - DeadBits"
author = "Adam Swanda"
id = "11d08fe7-9080-5393-b566-6f01e3eec18b"
date = "2019-07-22"
modified = "2020-02-02"
reference = "https://www.fireeye.com/blog/threat-research/2019/07/hard-pass-declining-apt34-invite-to-join-their-professional-network.html"
source_url = "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/APT34_VALUEVAULT.yara#L1-L63"
license_url = "N/A"
logic_hash = "311eed153920b29b8d9e99651fe62259d685140d12bb073001e0576811a01198"
score = 75
quality = 78
tags = "APT34, INFOSTEALER, WINMALWARE, FILE"
Description = "Information stealing malware used by APT34, written in Go."
strings:
$fsociety = "fsociety.dat" ascii
$powershell = "New-Object -ComObject Shell.Application" ascii
$gobuild = "Go build ID: " ascii
$gopath01 = "browsers-password-cracker" ascii nocase
$gopath02 = "main.go" ascii nocase
$gopath03 = "mozilla.go" ascii nocase
$gopath04 = "ie.go" ascii nocase
$str1 = "main.Decrypt" ascii fullword
$str3 = "main.NewBlob" ascii fullword
$str4 = "main.CheckFileExist" ascii fullword
$str5 = "main.CopyFileToDirectory" ascii fullword
$str6 = "main.CrackChromeBased" ascii fullword
$str7 = "main.CrackIE" ascii fullword
$str8 = "main.decipherPassword" ascii fullword
$str9 = "main.DecodeUTF16" ascii fullword
$str10 = "main.getHashTable" ascii fullword
$str11 = "main.getHistory" ascii fullword
$str12 = "main.getHistoryWithPowerShell" ascii fullword
$str13 = "main.getHistoryFromRegistery" ascii fullword
$str14 = "main.main" ascii fullword
$str15 = "main.DecryptAESFromBase64" ascii fullword
$str16 = "main.DecryptAES" ascii fullword
$str17 = "main.CrackMozila" ascii fullword
$str18 = "main.decodeLoginData" ascii fullword
$str19 = "main.decrypt" ascii fullword
$str20 = "main.removePadding" ascii fullword
$str21 = "main.getLoginData" ascii fullword
$str22 = "main.isMasterPasswordCorrect" ascii fullword
$str23 = "main.decrypt3DES" ascii fullword
$str24 = "main.getKey" ascii fullword
$str25 = "main.manageMasterPassword" ascii fullword
$str26 = "main.getFirefoxProfiles" ascii fullword
$str27 = "main._Cfunc_DumpVault" ascii fullword
$str28 = "main.CrackIEandEdgeNew" ascii fullword
$str29 = "main.init.ializers" ascii fullword
$str30 = "main.init" ascii fullword
condition:
uint16( 0 ) == 0x5a4d and ( ( 10 of ( $str* ) and 3 of ( $gopath* ) ) or ( $fsociety and $powershell and $gobuild ) or ( $fsociety and 10 of ( $str* ) ) )
}
rule DEADBITS_Dnspionage : APT DNSCHANGER FILE
{
meta:
description = "No description has been set in the source file - DeadBits"
author = "Adam Swanda"
id = "9f740645-60dc-5376-94ad-59d8efbf1942"
date = "2019-07-18"
modified = "2019-07-19"
reference = "https://github.com/deadbits/yara-rules"
source_url = "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/DNSpionage.yara#L1-L47"
license_url = "N/A"
logic_hash = "f20c71d0698d98cc58fa199c708ec7bf5cb0ec62503a20b532e752dab9aab920"
score = 75
quality = 78
tags = "APT, DNSCHANGER, FILE"
Description = "Attempts to detect DNSpionage PE samples"
Author = "Adam M. Swanda"
strings:
$x00 = "/Loginnn?id=" fullword ascii
$hdr0 = "Content-Disposition: fo" fullword ascii
$hdr1 = "Content-Type: multi" fullword ascii
$ua0 = "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36" fullword ascii
$ua1 = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246" fullword ascii
$str0 = "send command result error! status code is: " fullword ascii
$str1 = "uploading command result form" fullword ascii
$str2 = "log.txt" fullword ascii
$str3 = "http host not found in config!" fullword ascii
$str4 = "send command result" fullword ascii
$str5 = "download error. status code: " fullword ascii
$str6 = "get command with dns" fullword ascii
$str7 = "dns host not found in config!" fullword ascii
$str8 = "command result is: " fullword ascii
$str9 = "command result size: " fullword ascii
$str10 = "connection type not found in config!" fullword ascii
$str11 = "commands: " fullword ascii
$str12 = "command is: " fullword ascii
$str13 = "port not found in config!" fullword ascii
$str14 = "download filename not found! " fullword ascii
$str15 = "base64 key not found in config!" fullword ascii
$str16 = "download filename is: " fullword ascii
$str17 = "config json is not valid" fullword ascii
$str18 = "config file will be changed from server!" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and filesize < 1000KB and ( ( 5 of ( $str* ) ) or ( $x00 and ( 1 of ( $hdr* ) ) and 1 of ( $ua* ) ) )
}
rule DEADBITS_Silenttrinity : FILE
{
meta:
description = "No description has been set in the source file - DeadBits"
author = "Adam Swanda"
id = "40f9174c-e9a5-5453-b5fa-6c01c46daffa"
date = "2019-07-19"
modified = "2019-07-19"
reference = "https://countercept.com/blog/hunting-for-silenttrinity/"
source_url = "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/SilentTrinity_Payload.yara#L1-L55"
license_url = "N/A"
logic_hash = "7fd1775aadfccfdf141c0721f557e6c54b058ac17a59a8e4561dd62ab4a1eff3"
score = 75
quality = 78
tags = "FILE"
Description = "Attempts to detect the SilentTrinity malware family"
Author = "Adam M. Swanda"
strings:
$pdb01 = "SILENTTRINITY.pdb" ascii
$str01 = "Found {0} in zip" ascii fullword
$str02 = "{0} not in zip file" ascii fullword
$str03 = "Invalid HMAC: {0}" ascii fullword
$str04 = "Attempting HTTP GET to {0}" ascii fullword
$str05 = "Downloaded {0} bytes" ascii fullword
$str06 = "Error downloading {0}: {1}" ascii fullword
$str07 = "Attempting HTTP POST to {0}" ascii fullword
$str08 = "POST" ascii fullword
$str09 = "application/octet-stream" ascii fullword
$str10 = "Error sending job results to {0}: {1}" ascii fullword
$str11 = ".dll" ascii fullword
$str12 = "Trying to resolve assemblies by staging zip" ascii fullword
$str13 = "'{0}' loaded" ascii fullword
$str14 = "Usage: SILENTTRINITY.exe []" ascii fullword
$str15 = "IronPython.dll" ascii fullword
$str16 = "IronPythonDLL" ascii fullword
$str17 = "DEBUG" ascii fullword
$str18 = "Main.py" ascii fullword
$str19 = "Execute" ascii fullword
$str20 = "SILENTTRINITY.Properties.Resources" ascii fullword
$str21 = ".zip" ascii fullword
$a00 = "HttpGet" ascii fullword
$a01 = "System.Net" ascii fullword
$a02 = "Target" ascii fullword
$a03 = "WebClient" ascii fullword
$a04 = "get_Current" ascii fullword
$a05 = "Endpoint" ascii fullword
$a06 = "AesDecrypt" ascii fullword
$a07 = "AesEncrypt" ascii fullword
$a08 = "cert" ascii fullword
$a09 = "WebRequest" ascii fullword
$a10 = "HttpPost" ascii fullword
condition:
uint16( 0 ) == 0x5a4d and ( ( 8 of ( $str* ) or ( all of ( $a* ) and $pdb01 ) or $pdb01 ) )
}
rule DEADBITS_Dacls_Trojan_Windows : FILE
{
meta:
description = "No description has been set in the source file - DeadBits"
author = "Adam Swanda"
id = "424b2c0d-2373-5a72-9a97-52b4bfc5cdcf"
date = "2020-01-07"
modified = "2020-01-07"
reference = "https://github.com/deadbits/yara-rules"
source_url = "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/Dacls_Windows.yara#L1-L30"
license_url = "N/A"
logic_hash = "b77df7e3be9c264d6a63d40dbf49c41e9dd55b4e570c063b5710b849c36cc166"
score = 75
quality = 80
tags = "FILE"
Author = "Adam M. Swanda"
strings:
$fext00 = ".exe" ascii wide
$fext01 = ".cmd" ascii wide
$fext02 = ".bat" ascii wide
$fext03 = ".com" ascii wide
$str00 = "Software\\mthjk" ascii wide
$str01 = "WindowsNT.dll" ascii fullword
$str02 = "GET %s HTTP/1.1" ascii fullword
$str03 = "content-length:" ascii fullword
$str04 = "Connection: keep-alive" ascii fullword
$cls00 = "c_2910.cls" ascii fullword
$cls01 = "k_3872.cls" ascii fullword
condition:
( uint16( 0 ) == 0x5a4d ) and ( ( all of ( $cls* ) ) or ( all of ( $fext* ) and all of ( $str* ) ) )
}
/*
* YARA Rule Set
* Repository Name: DelivrTo
* Repository: https://github.com/delivr-to/detections
* Retrieval Date: 2026-03-15
* Git Commit: f85e1d0c477cbf4689d1cfe4a80049c465673b23
* Number of Rules: 2
* Skipped: 0 (age), 6 (quality), 7 (score), 0 (importance)
*
*
* LICENSE
*
* NO LICENSE SET
*/
rule DELIVRTO_SUSP_PDF_MHT_Activemime_Sept23 : FILE
{
meta:
description = "Presence of MHT ActiveMime within PDF for polyglot file"
author = "delivr.to"
id = "fbac1371-bad4-5751-a5c4-ce6c270fb83e"
date = "2023-09-04"
modified = "2023-09-04"
reference = "https://blogs.jpcert.or.jp/en/2023/08/maldocinpdf.html"
source_url = "https://github.com/delivr-to/detections/blob/f85e1d0c477cbf4689d1cfe4a80049c465673b23/yara-rules/pdf_mht_activemime.yar#L1-L19"
license_url = "N/A"
logic_hash = "af1450f649de6daec242f11e3b3c35305d3127fac4ef719a4ddb4edab3ae3651"
score = 70
quality = 78
tags = "FILE"
strings:
$mht0 = "mime" ascii nocase
$mht1 = "content-location:" ascii nocase
$mht2 = "content-type:" ascii nocase
$act = "edit-time-data" ascii nocase
condition:
uint32( 0 ) == 0x46445025 and all of ( $mht* ) and $act
}
/*
* YARA Rule Set
* Repository Name: ESET
* Repository: https://github.com/eset/malware-ioc
* Retrieval Date: 2026-03-15
* Git Commit: 6061a882d399c54e9759c90fc511a81caf5e0731
* Number of Rules: 57
* Skipped: 38 (age), 21 (quality), 2 (score), 0 (importance)
*
*
* LICENSE
*
* Copyright (c) 2014-2018 ESET spol. s r.o.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
rule ESET_Apt_Windows_TA410_X4_Hash_Values : FILE
{
meta:
description = "Matches X4 hash function found in TA410 X4"
author = "ESET Research"
id = "859bb977-82d0-5314-b1a8-fb3bb06a1b28"
date = "2020-10-09"
modified = "2022-04-27"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/ta410/ta410.yar#L127-L149"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
logic_hash = "bcf3891ff888ca99af9aa0e239b29241ae819022607fb829c5731267add308ea"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = "1"
strings:
$s1 = {D1 10 76 C2 B6 03}
$s2 = {71 3E A8 0D}
$s3 = {DC 78 94 0E}
$s4 = {40 0D E7 D6 06}
$s5 = {83 BB FD E8 06}
$s6 = {92 9D 9B FF EC 03}
$s7 = {DD 0E FC FA F5 03}
$s8 = {15 60 1E FB F5 03}
condition:
uint16( 0 ) == 0x5a4d and 4 of them
}
rule ESET_Apt_Windows_TA410_X4_Hash_Fct : FILE
{
meta:
description = "Matches X4 hash function found in TA410 X4"
author = "ESET Research"
id = "5ca435a4-7c6e-594d-8c4d-d577735884e6"
date = "2020-10-09"
modified = "2022-04-27"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/ta410/ta410.yar#L151-L187"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
logic_hash = "3b2d44cb7685a99e9aeb08f886f6876d43ee99d1e52e40705c3fa97ce3bfa9a0"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = "1"
strings:
$chunk_1 = {
0F B6 01
84 C0
74 ??
48 69 D2 83 00 00 00
48 0F BE C0
48 03 D0
48 FF C1
E9 ?? ?? ?? ??
}
condition:
uint16( 0 ) == 0x5a4d and any of them
}
rule ESET_Apt_Windows_TA410_Lookback_HTTP : FILE
{
meta:
description = "Matches LookBack's hardcoded HTTP request"
author = "ESET Research"
id = "ca4ee437-5ac9-5715-90fb-e0e74a817bb5"
date = "2021-10-12"
modified = "2022-04-27"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/ta410/ta410.yar#L333-L349"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
logic_hash = "0e777f56136cd11d62abdf4f120410d5fe9cd522cfc06afbf085414a96279bf7"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = "1"
strings:
$s1 = "POST http://%s/status.php?r=%d%d HTTP/1.1\x0d\nAccept: text/html, application/xhtml+xml, */*\x0d\nAccept-Language: en-us\x0d\nUser-Agent: %s\x0d\nContent-Type: application/x-www-form-urlencoded\x0d\nAccept-Encoding: gzip, deflate\x0d\nHost: %s\x0d\nContent-Length: %d\x0d\nConnection: Keep-Alive\x0d\nCache-Control: no-cache\x0d\n\x0d\n" ascii wide
$s2 = "id=1&op=report&status="
condition:
uint16( 0 ) == 0x5a4d and all of them
}
rule ESET_Apt_Windows_TA410_Flowcloud_Loader_Strings : FILE
{
meta:
description = "Matches various strings found in TA410 FlowCloud first stage."
author = "ESET Research"
id = "a3fb894f-8e26-5cbd-a1f2-8a9ab1db0901"
date = "2021-10-12"
modified = "2022-04-27"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/ta410/ta410.yar#L379-L415"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
logic_hash = "3c90723e009ffe2603910566ac52a324256676ee3ff128d94427681010e10e8b"
score = 75
quality = 78
tags = "FILE"
license = "BSD 2-Clause"
version = "1"
strings:
$key = "y983nfdicu3j2dcn09wur9*^&initialize(y4r3inf;'fdskaf'SKF"
$s2 = "startModule" fullword
$s4 = "auto_start_module" wide
$s5 = "load_main_module_after_install" wide
$s6 = "terminate_if_fail" wide
$s7 = "clear_run_mru" wide
$s8 = "install_to_vista" wide
$s9 = "load_ext_module" wide
$s10 = "sll_only" wide
$s11 = "fail_if_already_installed" wide
$s12 = "clear_hardware_info" wide
$s13 = "av_check" wide fullword
$s14 = "check_rs" wide
$s15 = "check_360" wide
$s16 = "responsor.dat" wide ascii
$s17 = "auto_start_after_install_check_anti" wide fullword
$s18 = "auto_start_after_install" wide fullword
$s19 = "extern_config.dat" wide fullword
$s20 = "is_hhw" wide fullword
$s21 = "SYSTEM\\Setup\\PrintResponsor" wide
$event = "Global\\Event_{201a283f-e52b-450e-bf44-7dc436037e56}" wide ascii
$s23 = "invalid encrypto hdr while decrypting"
condition:
uint16( 0 ) == 0x5a4d and ( $key or $event or 5 of ( $s* ) )
}
rule ESET_Apt_Windows_TA410_Flowcloud_Header_Decryption : FILE
{
meta:
description = "Matches the function used to decrypt resources headers in TA410 FlowCloud"
author = "ESET Research"
id = "403c1845-bc25-5a49-8553-8a0be18d6970"
date = "2026-01-15"
modified = "2022-04-27"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/ta410/ta410.yar#L417-L496"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
logic_hash = "74b6c42bf2de159b2b0a15637e6bd94069367e3000c887714d6e3b50aa3646be"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
strings:
$chunk_1 = {
8B 1E
8B CF
D3 CB
8D 0C 28
83 C7 06
30 18
8B 1E
D3 CB
8D 0C 02
30 58 ??
8B 1E
D3 CB
8B 4C 24 ??
03 C8
30 58 ??
8B 1E
D3 CB
8B 4C 24 ??
03 C8
30 58 ??
8B 1E
D3 CB
8B 4C 24 ??
03 C8
83 C0 06
30 58 ??
8B 1E
D3 CB
30 58 ??
83 FF 10
72 ??
}
condition:
uint16( 0 ) == 0x5a4d and all of them
}
rule ESET_Apt_Windows_TA410_Flowcloud_Dll_Hijacking_Strings : FILE
{
meta:
description = "Matches filenames inside TA410 FlowCloud malicious DLL."
author = "ESET Research"
id = "6636d4d0-0a7f-5971-a7f4-58803042d874"
date = "2021-10-12"
modified = "2022-04-27"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/ta410/ta410.yar#L498-L517"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
logic_hash = "e8082d4216364a12ba395f772b5caed94b3068d26a2b3a97ef711d61a82f65b3"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = "1"
strings:
$dat1 = "emedres.dat" wide
$dat2 = "vviewres.dat" wide
$dat3 = "setlangloc.dat" wide
$dll1 = "emedres.dll" wide
$dll2 = "vviewres.dll" wide
$dll3 = "setlangloc.dll" wide
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $dat* ) or all of ( $dll* ) )
}
rule ESET_Apt_Windows_TA410_Flowcloud_Malicious_Dll_Antianalysis : FILE
{
meta:
description = "Matches anti-analysis techniques used in TA410 FlowCloud hijacking DLL."
author = "ESET Research"
id = "b38a1d4d-5053-5a6d-be8c-c00261936417"
date = "2021-10-12"
modified = "2022-04-27"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/ta410/ta410.yar#L519-L552"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
logic_hash = "8f14352118d32a43c17f70bd753acc48bd314965f10ab97818e8a434bbda96d9"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = "1"
strings:
$chunk_1 = {
33 C0
E8 ?? ?? ?? ??
83 C0 10
3D 00 00 00 80
7D 01
EB FF
E0 50
C3
}
condition:
uint16( 0 ) == 0x5a4d and all of them
}
rule ESET_Apt_Windows_TA410_Flowcloud_Shellcode_Decryption : FILE
{
meta:
description = "Matches the decryption function used in TA410 FlowCloud self-decrypting DLL"
author = "ESET Research"
id = "8af7b2fa-be40-5ec8-8413-1c982a463a9a"
date = "2021-10-12"
modified = "2022-04-27"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/ta410/ta410.yar#L569-L615"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
logic_hash = "939ffe6a41c957aa5d6c012484b2deab49a5e71a4b7e203a41c180f872803921"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = "1"
strings:
$chunk_1 = {
33 D2
8B 45 ??
BB 6B 04 00 00
F7 F3
81 C2 A8 01 00 00
81 E2 FF 00 00 00
8B 7D ??
33 C9
EB ??
30 14 39
00 14 39
41
3B 4D ??
72 ??
}
condition:
uint16( 0 ) == 0x5a4d and all of them
}
rule ESET_Apt_Windows_TA410_Flowcloud_Fcclient_Strings : FILE
{
meta:
description = "Strings found in fcClient/rescure.dat module."
author = "ESET Research"
id = "876bae0b-2612-559b-9ead-b633a3789663"
date = "2021-10-12"
modified = "2022-04-27"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/ta410/ta410.yar#L617-L639"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
logic_hash = "c05b7031a5aec1bcf29eca06c010c402edeb24a093a2043dbc21781dff22c7fe"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = "1"
strings:
$s1 = "df257bdd-847c-490e-9ef9-1d7dc883d3c0"
$s2 = "\\{2AFF264E-B722-4359-8E0F-947B85594A9A}"
$s3 = "Global\\{26C96B51-2B5D-4D7B-BED1-3DCA4848EDD1}" wide
$s4 = "{804423C2-F490-4ac3-BFA5-13DEDE63A71A}" wide
$s5 = "{A5124AF5-DF23-49bf-B0ED-A18ED3DEA027}" wide
$s6 = "XXXModule_func.dll"
$driver1 = "\\drivers\\hidmouse.sys" wide fullword
$driver2 = "\\drivers\\hidusb.sys" wide fullword
condition:
uint16( 0 ) == 0x5a4d and ( any of ( $s* ) or all of ( $driver* ) )
}
rule ESET_Apt_Windows_TA410_Flowcloud_Fcclientdll_Strings : FILE
{
meta:
description = "Strings found in fcClientDll/responsor.dat module."
author = "ESET Research"
id = "80ecaf51-406f-590c-8f9c-59672683de02"
date = "2021-10-12"
modified = "2022-04-27"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/ta410/ta410.yar#L641-L669"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
logic_hash = "3a93f58cf14b57a96157077ec14aa6fb181e3da80f4ba46c0379a58b67c08a0e"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = "1"
strings:
$s1 = "http://%s/html/portlet/ext/draco/resources/draco_manager.swf/[[DYNAMIC]]/1"
$s2 = "Cookie: COOKIE_SUPPORT=true; JSESSIONID=5C7E7A60D01D2891F40648DAB6CB3DF4.jvm1; COMPANY_ID=10301; ID=666e7375545678695645673d; PASSWORD=7a4b48574d746470447a303d; LOGIN=6863303130; SCREEN_NAME=4a2b455377766b657451493d; GUEST_LANGUAGE_ID=en-US"
$fc_msg = ".fc_net.msg"
$s4 = "\\pipe\\namedpipe_keymousespy_english" wide
$s5 = "8932910381748^&*^$58876$%^ghjfgsa413901280dfjslajflsdka&*(^7867=89^&*F(^&*5678f5ds765f76%&*%&*5"
$s6 = "cls_{CACB140B-0B82-4340-9B05-7983017BA3A4}" wide
$s7 = "HTTP/1.1 200 OK\x0d\nServer: Apache-Coyote/1.1\x0d\nPragma: No-cache\x0d\nCache-Control: no-cache\x0d\nExpires: Thu, 01 Jan 1970 08:00:00 CST\x0d\nLast-Modified: Fri, 27 Apr 2012 08:11:04 GMT\x0d\nContent-Type: application/xml\x0d\nContent-Length: %d\x0d\nDate: %s GMT"
$sql1 = "create table if not exists table_filed_space"
$sql2 = "create table if not exists clipboard"
$sql3 = "create trigger if not exists file_after_delete after delete on file"
$sql4 = "create trigger if not exists file_data_after_insert after insert on file_data"
$sql5 = "create trigger if not exists file_data_after_delete after delete on file_data"
$sql6 = "create trigger if not exists file_data_after_update after update on file_data"
$sql7 = "insert into file_data(file_id, ofs, data, status)"
condition:
uint16( 0 ) == 0x5a4d and ( any of ( $s* ) or #fc_msg >= 8 or 4 of ( $sql* ) )
}
rule ESET_Apt_Windows_TA410_Rootkit_Strings : FILE
{
meta:
description = "Strings found in TA410's Rootkit"
author = "ESET Research"
id = "a6a97721-571e-5414-9b00-5789d7bcd078"
date = "2021-10-12"
modified = "2022-04-27"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/ta410/ta410.yar#L671-L697"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
logic_hash = "1d3ad63508c5e4bca32b9a44b738cb4a7384ccfa5704ce329260adb342ea4e60"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = "1"
strings:
$driver1 = "\\Driver\\kbdclass" wide
$driver2 = "\\Driver\\mouclass" wide
$device1 = "\\Device\\KeyboardClass0" wide
$device2 = "\\Device\\PointerClass0" wide
$driver3 = "\\Driver\\tcpip" wide
$device3 = "\\Device\\tcp" wide
$driver4 = "\\Driver\\nsiproxy" wide
$device4 = "\\Device\\Nsi" wide
$reg1 = "\\Registry\\Machine\\SYSTEM\\Setup\\AllowStart\\ceipCommon" wide
$reg2 = "RHH%d" wide
$reg3 = "RHP%d" wide
$s1 = "\\SystemRoot\\System32\\drivers\\hidmouse.sys" wide
condition:
uint16( 0 ) == 0x5a4d and all of ( $s1 , $reg* ) and ( all of ( $driver* ) or all of ( $device* ) )
}
rule ESET_Cw_Windows_Redline_Panel_Tab_Headers : FILE
{
meta:
description = "Matches view headers in Redline Panel"
author = "ESET Research"
id = "44a95845-b0a3-59c1-8188-86d415eff0bf"
date = "2022-10-11"
modified = "2024-11-12"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/redline/redline.yar#L32-L55"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
hash = "a154dfaedc237c047f419eb6884dab1ef4e2a17d"
logic_hash = "3198aa9df2814a5f1d5568c6eed5f3189b2f72b3928cc97645f9bf57eebab9ac"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = 2
strings:
$ = "RedLine | Log In"
$ = "RedLine | Autofilles Viewer"
$ = "RedLine | Choose Browser"
$ = "RedLine | Cookie Viewer"
$ = "RedLine | Credit Card Viewer"
$ = "RedLine | Files Viewer"
$ = "RedLine | Log saver"
$ = "RedLine | System Info Viewer"
condition:
uint16( 0 ) == 0x5A4D and 6 of them
}
rule ESET_Cw_Windows_Redline_Panel_Distinctive_Strings : FILE
{
meta:
description = "Matches rare strings found in Redline panel"
author = "ESET Research"
id = "d40ccb6b-e777-5c05-b97c-ead910047649"
date = "2022-10-11"
modified = "2024-11-12"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/redline/redline.yar#L57-L77"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
hash = "a154dfaedc237c047f419eb6884dab1ef4e2a17d"
logic_hash = "7ff0239426c4c3b46a269fad71232295c038c09f276cdc3c7f1142c830260a6d"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = 2
strings:
$env_var = "%DSK_23%"
$fn_name = "IsGratherThan"
$telegram0 = "Telegram: @REDLINESUPPORT"
$telegram1 = "https://t.me/REDLINESUPPORT"
condition:
uint16( 0 ) == 0x5A4D and any of them
}
rule ESET_Cw_Windows_Redline_Panel_Prompts : FILE
{
meta:
description = "Matches prompt messages in Redline panel"
author = "ESET Research"
id = "3481586b-ed4b-5a27-82a0-0bbb3eea279e"
date = "2022-10-11"
modified = "2024-11-12"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/redline/redline.yar#L79-L113"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
hash = "a154dfaedc237c047f419eb6884dab1ef4e2a17d"
logic_hash = "0dfab05a9383ba13b3c610f1ab0c81e95804470002f27171ab39706f7723983a"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = 2
strings:
$ = "Choose directory to save log"
$ = "Select log to set comment"
$ = "Please enter an action to create new task"
$ = "Please enter a target to create new task"
$ = "Please enter a final point to create new task"
$ = "Please enter a correct action to create new task"
$ = "Please enter a correct final point to create new task"
$ = "Please enter an action to edit task"
$ = "Please enter a target to edit task"
$ = "Please enter a final point to edit task"
$ = "Please enter a correct action to edit task"
$ = "Please enter a correct final point to edit task"
$ = "Please enter a correct status to edit task"
$ = "Please, enter a domains"
$ = "Please, enter a valid server ip"
$ = "Choose a file to pump"
$ = "Enter a valid count of bytes"
$ = "Enter a valid count of bytes. Must be more then zero"
$ = "Disconnected. Reboot your panel"
condition:
uint16( 0 ) == 0x5A4D and 10 of them
}
rule ESET_Cw_Windows_Redline_Panel_Status_Message_Strings : FILE
{
meta:
description = "Matches error/success messages in Redline panel"
author = "ESET Research"
id = "70bdff10-9c86-57e3-b839-e86173a44855"
date = "2022-10-11"
modified = "2024-11-12"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/redline/redline.yar#L115-L142"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
hash = "a154dfaedc237c047f419eb6884dab1ef4e2a17d"
logic_hash = "c60fabc81967b083be72ff564af744ab60441de5d563ea6d88d873c0a99bfbdd"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = 1
strings:
$ = "All Browsers are empty"
$ = "Client [{0}:{1}:{2}] completed task with {3} ID."
$ = "A List of logs cleared"
$ = "Browsers not found"
$ = "Browsers is empty"
$ = "Done. Check your build file"
$ = "You must to enable assembly info or certificate in settings"
$ = "Duplicate log from "
$ = "Password list is empty"
$ = "Cookie list is empty"
$ = "FTPs not found"
$ = "Files not found"
condition:
uint16( 0 ) == 0x5A4D and 8 of them
}
rule ESET_Mozi_Killswitch : FILE
{
meta:
description = "Mozi botnet kill switch"
author = "Ivan Besina"
id = "e3d34ae0-de06-5ff4-b44b-44d264b6dd29"
date = "2023-09-29"
modified = "2023-10-31"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/mozi/mozi.yar#L32-L51"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
logic_hash = "90eaed2f7f5595b145b2678a46ef6179082192215369fa9235024b0ce1574a49"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = "1"
strings:
$iptables1 = "iptables -I INPUT -p tcp --destination-port 7547 -j DROP"
$iptables2 = "iptables -I OUTPUT -p tcp --sport 30005 -j DROP"
$haha = "/haha"
$networks = "/usr/networks"
condition:
all of them and filesize < 500KB
}
rule ESET_Sparklinggoblin_Chacha20 : FILE
{
meta:
description = "SparklingGoblin ChaCha20 implementations"
author = "ESET Research"
id = "c0caceca-f685-5786-82f6-3ab7435f8061"
date = "2021-05-20"
modified = "2021-08-26"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/sparklinggoblin/SparklingGoblin.yar#L59-L368"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
hash = "2edbea43f5c40c867e5b6bbd93cc972525df598b"
hash = "b6d245d3d49b06645c0578804064ce0c072cbe0f"
hash = "8be6d5f040d0085c62b1459afc627707b0de89cf"
hash = "4668302969fe122874fb2447a80378dcb671c86b"
hash = "9bdecb08e16a23d271d0a3e836d9e7f83d7e2c3b"
hash = "9ce7650f2c08c391a35d69956e171932d116b8bd"
hash = "91b32e030a1f286e7d502ca17e107d4bfbd7394a"
logic_hash = "b742bc22e0ebbce40607cb109b4d6fb03a40c1fb223c8092d93346dd3dd22789"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
strings:
$chunk_1 = {
8B 4D ??
56
8B 75 ??
57
8B 7D ??
8B 04 BB
01 04 93
8B 04 B3
33 04 93
C1 C0 10
89 04 B3
01 04 8B
8B 04 BB
33 04 8B
C1 C0 0C
89 04 BB
01 04 93
8B 04 B3
33 04 93
C1 C0 08
89 04 B3
01 04 8B
8B 04 BB
33 04 8B
C1 C0 07
89 04 BB
}
$chunk_2 = {
03 4D ??
44 03 C0
03 55 ??
33 F1
45 33 D8
C1 C6 10
44 33 F2
41 C1 C3 10
41 03 FB
41 C1 C6 10
45 03 E6
41 03 DA
44 33 CB
44 03 EE
41 C1 C1 10
8B C7
33 45 ??
45 03 F9
C1 C0 0C
44 03 C0
45 33 D8
44 89 45 ??
41 C1 C3 08
41 03 FB
44 8B C7
44 33 C0
41 8B C5
33 45 ??
C1 C0 0C
03 C8
41 C1 C0 07
33 F1
89 4D ??
C1 C6 08
44 03 EE
41 8B CD
33 C8
41 8B C4
33 45 ??
C1 C0 0C
03 D0
C1 C1 07
44 33 F2
89 55 ??
41 C1 C6 08
45 03 E6
41 8B D4
33 D0
41 8B C7
41 33 C2
C1 C2 07
C1 C0 0C
03 D8
44 33 CB
41 C1 C1 08
45 03 F9
45 8B D7
44 33 D0
8B 45 ??
03 C1
41 C1 C2 07
44 33 C8
89 45 ??
41 C1 C1 10
45 03 E1
41 8B C4
33 C1
8B 4D ??
C1 C0 0C
03 C8
44 33 C9
89 4D ??
89 4D ??
41 C1 C1 08
45 03 E1
41 8B CC
33 C8
8B 45 ??
C1 C1 07
89 4D ??
89 4D ??
03 C2
41 03 D8
89 45 ??
41 33 C3
C1 C0 10
44 03 F8
41 8B CF
33 CA
8B 55 ??
}
$chunk_3 = {
C7 45 ?? 65 78 70 61
4C 8D 45 ??
C7 45 ?? 6E 64 20 33
4D 8B F9
C7 45 ?? 32 2D 62 79
4C 2B C1
C7 45 ?? 74 65 20 6B
}
$chunk_4 = {
0F B6 02
0F B6 4A ??
C1 E1 08
0B C8
0F B6 42 ??
C1 E1 08
0B C8
0F B6 42 ??
C1 E1 08
0B C8
41 89 0C 10
48 8D 52 ??
49 83 E9 01
}
$chunk_5 = {
03 4D ??
44 03 C0
03 55 ??
33 F1
41 33 F8
C1 C6 10
44 33 F2
C1 C7 10
44 03 DF
41 C1 C6 10
45 03 E6
44 03 CB
45 33 D1
44 03 EE
41 C1 C2 10
41 8B C3
33 45 ??
45 03 FA
C1 C0 0C
44 03 C0
41 33 F8
44 89 45 ??
C1 C7 08
44 03 DF
45 8B C3
44 33 C0
41 8B C5
33 45 ??
C1 C0 0C
03 C8
41 C1 C0 07
33 F1
89 4D ??
C1 C6 08
44 03 EE
41 8B CD
33 C8
41 8B C4
33 45 ??
C1 C0 0C
03 D0
C1 C1 07
44 33 F2
89 55 ??
41 C1 C6 08
45 03 E6
41 8B D4
33 D0
41 8B C7
33 C3
C1 C2 07
C1 C0 0C
44 03 C8
45 33 D1
41 C1 C2 08
45 03 FA
41 8B DF
33 D8
8B 45 ??
03 C1
C1 C3 07
44 33 D0
89 45 ??
41 C1 C2 10
45 03 E2
41 8B C4
33 C1
8B 4D ??
C1 C0 0C
03 C8
44 33 D1
89 4D ??
89 4D ??
41 C1 C2 08
45 03 E2
41 8B CC
33 C8
8B 45 ??
C1 C1 07
89 4D ??
89 4D ??
03 C2
45 03 C8
89 45 ??
33 C7
C1 C0 10
44 03 F8
41 8B CF
33 CA
8B 55 ??
C1 C1 0C
03 D1
8B FA
89 55 ??
33 F8
89 55 ??
8B 55 ??
03 D3
C1 C7 08
44 03 FF
41 8B C7
33 C1
C1 C0 07
89 45 ??
89 45 ??
8B C2
33 C6
C1 C0 10
44 03 D8
41 33 DB
C1 C3 0C
03 D3
8B F2
89 55 ??
33 F0
41 8B C1
41 33 C6
C1 C6 08
C1 C0 10
44 03 DE
44 03 E8
41 33 DB
41 8B CD
C1 C3 07
41 33 C8
44 8B 45 ??
C1 C1 0C
44 03 C9
45 8B F1
44 33 F0
41 C1 C6 08
45 03 EE
41 8B C5
33 C1
8B 4D ??
C1 C0 07
}
condition:
any of them and filesize < 450KB
}
rule ESET_Apt_Windows_Invisimole_SFX_Dropper : FILE
{
meta:
description = "Detects trojanized InvisiMole files: patched RAR SFX droppers with added InvisiMole blobs (config encrypted XOR 2A at the end of a file)"
author = "ESET Research"
id = "08490bcd-3139-5fac-9c6c-5a32acb7217a"
date = "2021-05-17"
modified = "2021-05-17"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/invisimole/invisimole.yar#L79-L95"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
logic_hash = "6ca248d42c1e889988e5931d80df071cb20e623fb0c4a208044cabe073f71ce4"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = "1"
strings:
$encrypted_config = {5F 59 4F 58 19 18 04 4E 46 46 2A 5D 59 5A 58 43 44 5E 4C 7D 2A 0F 2A 59 2A 78 2A 4B 2A 58 2A 0E 2A 6F 2A 72 2A 4B 2A 0F 2A 4E 2A 04 2A 0F 2A 4E 2A 76 2A 0F 2A 79 2A 2A 2A 79 42 4F 46 46 6F 52 4F 49 5F 5E 4F 7D 2A 79 42 4F 46 46 19 18 04 4E 46 46 2A 7C 43 58 5E 5F 4B 46 6B 46 46 45 49 2A 66 45 4B 4E 66 43 48 58 4B 58 53 6B}
condition:
uint16( 0 ) == 0x5A4D and $encrypted_config
}
rule ESET_Apt_Windows_Invisimole_CPL_Loader : FILE
{
meta:
description = "CPL loader"
author = "ESET Research"
id = "feff8627-6085-5835-ac1b-d4522245f7db"
date = "2021-05-17"
modified = "2021-05-17"
reference = "https://github.com/eset/malware-ioc/"
source_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/invisimole/invisimole.yar#L97-L118"
license_url = "https://github.com/eset/malware-ioc/blob/6061a882d399c54e9759c90fc511a81caf5e0731/LICENSE"
logic_hash = "cd5c19e14faa7fd3758b30193ccf2bed3692ad29d8216466523ca25d2abcfe88"
score = 75
quality = 80
tags = "FILE"
license = "BSD 2-Clause"
version = "1"
strings:
$s1 = "WScr%steObject(\"WScr%s.Run(\"::{20d04fe0-3a%s30309d}\\\\::{21EC%sDD-08002B3030%s\", 0);"
$s2 = "\\Control.js" wide
$s3 = "\\Control Panel.lnk" wide
$s4 = "FPC 3.0.4 [2019/04/13] for x86_64 - Win64"
$s5 = "FPC 3.0.4 [2019/04/13] for i386 - Win32"
$s6 = "imageapplet.dat" wide
$s7 = "wkssvmtx"
condition:
uint16( 0 ) == 0x5A4D and ( 3 of them )
}
/*
* YARA Rule Set
* Repository Name: FireEye-RT
* Repository: https://github.com/mandiant/red_team_tool_countermeasures/
* Retrieval Date: 2026-03-15
* Git Commit: 3561b71724dbfa3e2bb78106aaa2d7f8b892c43b
* Number of Rules: 139
* Skipped: 0 (age), 25 (quality), 7 (score), 0 (importance)
*
*
* LICENSE
*
* BSD 2-Clause License
Copyright (c) 2023, MANDIANT
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
rule FIREEYE_RT_APT_Hacktool_MSIL_JUSTASK_1 : FILE
{
meta:
description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the 'justask' project."
author = "FireEye"
id = "06a03d82-db69-5b5a-a578-a8053814e917"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/JUSTASK/production/yara/APT_HackTool_MSIL_JUSTASK_1.yar#L4-L15"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "dd8805d0e470e59b829d98397507d8c2"
logic_hash = "24d2f8e3838c4f02cd80644a396ce7cf105761d2feba54e39973564ca5e97571"
score = 75
quality = 73
tags = "FILE"
rev = 2
strings:
$typelibguid0 = "aa59be52-7845-4fed-9ea5-1ea49085d67a" ascii nocase wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}
rule FIREEYE_RT_Hacktool_MSIL_Wmispy_1 : FILE
{
meta:
description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the 'WMIspy' project."
author = "FireEye"
id = "ac394751-da40-564b-8e24-8f353326b46a"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/WMISPY/production/yara/HackTool_MSIL_WMIspy_1.yar#L4-L15"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "dd8805d0e470e59b829d98397507d8c2"
logic_hash = "a5a9f7c7a7bfe474e8b21306ea220b4d476832f3ad4fafdd8967a2250d15a701"
score = 75
quality = 73
tags = "FILE"
rev = 1
strings:
$typelibguid0 = "5ee2bca3-01ad-489b-ab1b-bda7962e06bb" ascii nocase wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}
rule FIREEYE_RT_APT_Hacktool_MSIL_WMISPY_2 : FILE
{
meta:
description = "wql searches"
author = "FireEye"
id = "474af878-a657-54bc-a063-04532df928d4"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/WMISPY/production/yara/APT_HackTool_MSIL_WMISPY_2.yar#L4-L24"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "3651f252d53d2f46040652788499d65a"
logic_hash = "553fc1e536482a56b3228a5c9ebac843af9083e8ac864bf65c81b36a39ca5e5e"
score = 75
quality = 75
tags = "FILE"
rev = 4
strings:
$MSIL = "_CorExeMain"
$str1 = "root\\cimv2" wide
$str2 = "root\\standardcimv2" wide
$str3 = "from MSFT_NetNeighbor" wide
$str4 = "from Win32_NetworkLoginProfile" wide
$str5 = "from Win32_IP4RouteTable" wide
$str6 = "from Win32_DCOMApplication" wide
$str7 = "from Win32_SystemDriver" wide
$str8 = "from Win32_Share" wide
$str9 = "from Win32_Process" wide
condition:
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and $MSIL and all of ( $str* )
}
rule FIREEYE_RT_Hacktool_MSIL_PXELOOT_1 : FILE
{
meta:
description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the PXE And Loot project."
author = "FireEye"
id = "5a72a6ff-bae4-57f5-a19b-a4595ac57293"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/PXELOOT/production/yara/HackTool_MSIL_PXELOOT_1.yar#L4-L15"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "82e33011ac34adfcced6cddc8ea56a81"
logic_hash = "c9892adcb9ff5471235e45988f6662d3b8f984fdafca7024a5781eed50f6c0b3"
score = 75
quality = 73
tags = "FILE"
rev = 7
strings:
$typelibguid1 = "78B2197B-2E56-425A-9585-56EDC2C797D6" ascii nocase wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and $typelibguid1
}
rule FIREEYE_RT_APT_Backdoor_Win_GORAT_5 : FILE
{
meta:
description = "No description has been set in the source file - FireEye-RT"
author = "FireEye"
id = "73102bd2-7b94-5c7b-b9a4-cfc9cf5e3212"
date = "2020-12-02"
date = "2020-12-02"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/REDFLARE (Gorat)/production/yara/APT_Backdoor_Win_GORAT_5.yar#L4-L23"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "cdf58a48757010d9891c62940c439adb, a107850eb20a4bb3cc59dbd6861eaf0f"
logic_hash = "67f85fb3bedfd18a1226c92318f387be3c7ff9566ca2d554c49cf62389482552"
score = 75
quality = 75
tags = "FILE"
rev = 1
strings:
$1 = "comms.BeaconData" fullword
$2 = "comms.CommandResponse" fullword
$3 = "rat.BaseChannel" fullword
$4 = "rat.Config" fullword
$5 = "rat.Core" fullword
$6 = "platforms.AgentPlatform" fullword
$7 = "GetHostID" fullword
$8 = "/rat/cmd/gorat_shared/dllmain.go" fullword
condition:
( uint16( 0 ) == 0x5A4D ) and ( uint32( uint32( 0x3C ) ) == 0x00004550 ) and all of them
}
rule FIREEYE_RT_Trojan_MSIL_GORAT_Module_Powershell_1 : FILE
{
meta:
description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the 'RedFlare - Module - PowerShell' project."
author = "FireEye"
id = "b0fba130-9cd9-5b7f-a806-9ff8099f5731"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/REDFLARE (Gorat)/production/yara/Trojan_MSIL_GORAT_Module_PowerShell_1.yar#L4-L16"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "dd8805d0e470e59b829d98397507d8c2"
logic_hash = "e596bc0316a4ef85f04c2683ebc7c94bf9b831843232c33e62c84991e4caeb97"
score = 75
quality = 71
tags = "FILE"
rev = 1
strings:
$typelibguid0 = "38d89034-2dd9-4367-8a6e-5409827a243a" ascii nocase wide
$typelibguid1 = "845ee9dc-97c9-4c48-834e-dc31ee007c25" ascii nocase wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}
rule FIREEYE_RT_Trojan_MSIL_GORAT_Plugin_DOTNET_1 : FILE
{
meta:
description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the 'RedFlare - Plugin - .NET' project."
author = "FireEye"
id = "faa73d64-4bb1-5c06-a3a5-1f1aa99ea932"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/REDFLARE (Gorat)/production/yara/Trojan_MSIL_GORAT_Plugin_DOTNET_1.yar#L4-L16"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "dd8805d0e470e59b829d98397507d8c2"
logic_hash = "e979822273c6d1ccdfebd341c9e2cb1040fe34a04e8b41c024885063fd946ad5"
score = 75
quality = 71
tags = "FILE"
rev = 1
strings:
$typelibguid0 = "cd9407d0-fc8d-41ed-832d-da94daa3e064" ascii nocase wide
$typelibguid1 = "fc3daedf-1d01-4490-8032-b978079d8c2d" ascii nocase wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}
rule FIREEYE_RT_APT_Backdoor_Win_GORAT_1 : FILE
{
meta:
description = "This detects if a sample is less than 50KB and has a number of strings found in the Gorat shellcode (stage0 loader). The loader contains an embedded DLL (stage0.dll) that contains a number of unique strings. The 'Cookie' string found in this loader is important as this cookie is needed by the C2 server to download the Gorat implant (stage1 payload)."
author = "FireEye"
id = "5ac84cf1-49fb-533d-b211-b1a92239063b"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/REDFLARE (Gorat)/production/yara/APT_Backdoor_Win_GORAT_1.yar#L4-L23"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "66cdaa156e4d372cfa3dea0137850d20"
logic_hash = "f6a0a923f64375e7ffdc080aec41db19a9e162405f1290ed0bbcce5a342bdadb"
score = 75
quality = 75
tags = "FILE"
rev = 4
strings:
$s1 = "httpComms.dll" ascii wide
$s2 = "Cookie: SID1=%s" ascii wide
$s3 = "Global\\" ascii wide
$s4 = "stage0.dll" ascii wide
$s5 = "runCommand" ascii wide
$s6 = "getData" ascii wide
$s7 = "initialize" ascii wide
$s8 = "Windows NT %d.%d;" ascii wide
$s9 = "!This program cannot be run in DOS mode." ascii wide
condition:
filesize < 50KB and all of them
}
rule FIREEYE_RT_APT_Backdoor_Macos_GORAT_1 : FILE
{
meta:
description = "This rule is looking for specific strings associated with network activity found within the MacOS generated variant of GORAT"
author = "FireEye"
id = "4646eadb-7acf-582f-9ad6-00f012ceed8a"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/REDFLARE (Gorat)/production/yara/APT_Backdoor_MacOS_GORAT_1.yar#L4-L19"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "68acf11f5e456744262ff31beae58526"
logic_hash = "2df5f87d44968670511880d21ad184779d0561c7c426a5d6426bcefd0904a9b7"
score = 75
quality = 75
tags = "FILE"
rev = 3
strings:
$s1 = "SID1=%s" ascii wide
$s2 = "http/http.dylib" ascii wide
$s3 = "Mozilla/" ascii wide
$s4 = "User-Agent" ascii wide
$s5 = "Cookie" ascii wide
condition:
(( uint32( 0 ) == 0xBEBAFECA ) or ( uint32( 0 ) == 0xFEEDFACE ) or ( uint32( 0 ) == 0xFEEDFACF ) or ( uint32( 0 ) == 0xCEFAEDFE ) ) and all of them
}
rule FIREEYE_RT_Hacktool_MSIL_Sharpersist_2 : FILE
{
meta:
description = "No description has been set in the source file - FireEye-RT"
author = "FireEye"
id = "49d7891e-b97a-52a8-acfd-bbf986732d6c"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/SHARPERSIST/production/yara/HackTool_MSIL_SharPersist_2.yar#L4-L23"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "98ecf58d48a3eae43899b45cec0fc6b7"
logic_hash = "57387352f8fd08e8b859dffc1164d46370f248b337526c265634160010572a00"
score = 75
quality = 75
tags = "FILE"
rev = 1
strings:
$a1 = "SharPersist.lib"
$a2 = "SharPersist.exe"
$b1 = "ERROR: Invalid hotkey location option given." ascii wide
$b2 = "ERROR: Invalid hotkey given." ascii wide
$b3 = "ERROR: Keepass configuration file not found." ascii wide
$b4 = "ERROR: Keepass configuration file was not found." ascii wide
$b5 = "ERROR: That value already exists in:" ascii wide
$b6 = "ERROR: Failed to delete hidden registry key." ascii wide
$pdb1 = "\\SharPersist\\"
$pdb2 = "\\SharPersist.pdb"
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and ( ( @pdb2 [ 1 ] < @pdb1 [ 1 ] + 50 ) or ( 1 of ( $a* ) and 2 of ( $b* ) ) )
}
rule FIREEYE_RT_Hacktool_MSIL_Sharpersist_1 : FILE
{
meta:
description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the SharPersist project."
author = "FireEye"
id = "586e6c91-6970-57d1-8d8c-05ae9eb6117a"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/SHARPERSIST/production/yara/HackTool_MSIL_SharPersist_1.yar#L4-L15"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "98ecf58d48a3eae43899b45cec0fc6b7"
logic_hash = "cf480026c31b522850e25ba2d7986773d9c664242a2667ecd33151621c98c91e"
score = 75
quality = 73
tags = "FILE"
rev = 1
strings:
$typelibguid1 = "9D1B853E-58F1-4BA5-AEFC-5C221CA30E48" ascii nocase wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and $typelibguid1
}
rule FIREEYE_RT_Hacktool_MSIL_SEATBELT_2 : FILE
{
meta:
description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the public SeatBelt project."
author = "FireEye"
id = "225b42fe-c73a-59c0-a1f4-1d6dff6e76e1"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/BELTALOWDA/production/yara/HackTool_MSIL_SEATBELT_2.yar#L4-L15"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "9f401176a9dd18fa2b5b90b4a2aa1356"
logic_hash = "e48474c5025fd88e3c2824e1e943ff56cde0ea05984aad0249ccf73caa6d4a36"
score = 75
quality = 73
tags = "FILE"
rev = 3
strings:
$typelibguid1 = "AEC32155-D589-4150-8FE7-2900DF4554C8" ascii nocase wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and $typelibguid1
}
rule FIREEYE_RT_Hacktool_MSIL_Sharphound_3 : FILE
{
meta:
description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the public SharpHound3 project."
author = "FireEye"
id = "456b3208-1e8d-5eb7-81ee-39f1c886c5a7"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/PUPPYHOUND/production/yara/HackTool_MSIL_SharpHound_3.yar#L4-L15"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "eeedc09570324767a3de8205f66a5295"
logic_hash = "baeea6cae42c755ee389378229b2b206c82f60f75a5ce5f9cfa06871fc9507d1"
score = 75
quality = 73
tags = "FILE"
rev = 4
strings:
$typelibguid1 = "A517A8DE-5834-411D-ABDA-2D0E1766539C" ascii nocase wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and $typelibguid1
}
rule FIREEYE_RT_Loader_MSIL_Allthethings_1 : FILE
{
meta:
description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the 'AllTheThings' project."
author = "FireEye"
id = "1805b406-2531-56bf-8e08-e63a59ffcc84"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/ALLTHETHINGS/production/yara/Loader_MSIL_AllTheThings_1.yar#L4-L15"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "dd8805d0e470e59b829d98397507d8c2"
logic_hash = "e3058095f2a49f8c0f78cb392024795367609b04c1da80210ab8d72c6613ee71"
score = 75
quality = 73
tags = "FILE"
rev = 2
strings:
$typelibguid0 = "542ccc64-c4c3-4c03-abcd-199a11b26754" ascii nocase wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}
rule FIREEYE_RT_Hacktool_MSIL_Sharpschtask_1 : FILE
{
meta:
description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the 'SharpSchtask' project."
author = "FireEye"
id = "5c7a5dee-3bc2-54b2-a7e2-be05ba74d4a1"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/SHARPSCHTASK/production/yara/HackTool_MSIL_SharpSchtask_1.yar#L4-L15"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "dd8805d0e470e59b829d98397507d8c2"
logic_hash = "7437fde82920f4d015a7f149b58924baf6cb220c6f6857d9509e23795ff0811c"
score = 75
quality = 73
tags = "FILE"
rev = 1
strings:
$typelibguid0 = "0a64a5f4-bdb6-443c-bdc7-f6f0bf5b5d6c" ascii nocase wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}
rule FIREEYE_RT_Loader_MSIL_Netshshellcoderunner_1 : FILE
{
meta:
description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the 'NetshShellCodeRunner' project."
author = "FireEye"
id = "b3521812-7ea3-5f80-89bd-3bdd71b687f2"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/NETSHSHELLCODERUNNER/production/yara/Loader_MSIL_NetshShellCodeRunner_1.yar#L4-L15"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "dd8805d0e470e59b829d98397507d8c2"
logic_hash = "97f6475a9d42697f633e06a9b04a85021ca4920145eb4af257d71b431448f0e9"
score = 75
quality = 73
tags = "FILE"
rev = 2
strings:
$typelibguid0 = "49c045bc-59bb-4a00-85c3-4beb59b2ee12" ascii nocase wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}
rule FIREEYE_RT_Builder_MSIL_Sinfuloffice_1 : FILE
{
meta:
description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the 'SinfulOffice' project."
author = "FireEye"
id = "cf020fb3-751b-5346-8c0d-dc0a552599a3"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/SINFULOFFICE/production/yara/Builder_MSIL_SinfulOffice_1.yar#L4-L15"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "dd8805d0e470e59b829d98397507d8c2"
logic_hash = "b5d49a8720e4daa21e95ec66299daec42e65906017de886ea91f7bb6bfb04c77"
score = 75
quality = 73
tags = "FILE"
rev = 1
strings:
$typelibguid0 = "9940e18f-e3c7-450f-801a-07dd534ccb9a" ascii nocase wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}
rule FIREEYE_RT_Methodology_OLE_CHARENCODING_2 : FILE
{
meta:
description = "Looking for suspicious char encoding"
author = "FireEye"
id = "7abd1a11-7a55-50ac-aa6b-537e7c59a5ab"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/SINFULOFFICE/supplemental/yara/Methodology_OLE_CHARENCODING_2.yar#L4-L23"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "41b70737fa8dda75d5e95c82699c2e9b"
logic_hash = "20843295531dfd88934fe0902a5101c5c0828e82df3289d7f263f16df9c92324"
score = 65
quality = 75
tags = "FILE"
rev = 4
strings:
$echo1 = "101;99;104;111;32;111;102;102;" ascii wide
$echo2 = "101:99:104:111:32:111:102:102:" ascii wide
$echo3 = "101x99x104x111x32x111x102x102x" ascii wide
$pe1 = "77;90;144;" ascii wide
$pe2 = "77:90:144:" ascii wide
$pe3 = "77x90x144x" ascii wide
$pk1 = "80;75;3;4;" ascii wide
$pk2 = "80:75:3:4:" ascii wide
$pk3 = "80x75x3x4x" ascii wide
condition:
( uint32( 0 ) == 0xe011cfd0 ) and filesize < 10MB and any of them
}
rule FIREEYE_RT_APT_Hacktool_MSIL_SHARPSACK_1 : FILE
{
meta:
description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the 'sharpsack' project."
author = "FireEye"
id = "8e344acb-73c4-5509-be9d-85cf6fe94445"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/SHARPSACK/production/yara/APT_HackTool_MSIL_SHARPSACK_1.yar#L4-L15"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "dd8805d0e470e59b829d98397507d8c2"
logic_hash = "ecc3250e65e34595b4b827add3eb3062edad6a3373930048bfd6225d4a229e93"
score = 75
quality = 73
tags = "FILE"
rev = 2
strings:
$typelibguid0 = "1946808a-1a01-40c5-947b-8b4c3377f742" ascii nocase wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}
rule FIREEYE_RT_APT_Hacktool_MSIL_FLUFFY_2 : FILE
{
meta:
description = "No description has been set in the source file - FireEye-RT"
author = "FireEye"
id = "ce39710e-7649-5f7d-bbbe-65dc30f678e8"
date = "2020-12-04"
date = "2020-12-04"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/FLUFFY/production/yara/APT_HackTool_MSIL_FLUFFY_2.yar#L4-L21"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "11b5aceb428c3e8c61ed24a8ca50553e"
logic_hash = "872ab717668375a49d6c7b1927a680747b405c0198fe4fc6f43ccc562870eb37"
score = 75
quality = 75
tags = "FILE"
rev = 1
strings:
$s1 = "\x00Asktgt\x00"
$s2 = "\x00Kerberoast\x00"
$s3 = "\x00HarvestCommand\x00"
$s4 = "\x00EnumerateTickets\x00"
$s5 = "[*] Action: " wide
$s6 = "\x00Fluffy.Commands\x00"
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and all of them
}
rule FIREEYE_RT_Loader_MSIL_Wildchild_1 : FILE
{
meta:
description = "The TypeLibGUID present in a .NET binary maps directly to the ProjectGuid found in the '.csproj' file of a .NET project. This rule looks for .NET PE files that contain the ProjectGuid found in the WildChild project."
author = "FireEye"
id = "350dd658-46c9-573b-b532-07e4b437ba8d"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/WILDCHILD/production/yara/Loader_MSIL_WildChild_1.yar#L4-L15"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "7e6bc0ed11c2532b2ae7060327457812"
logic_hash = "e4320e33770613542182518ec787e4ccbb32f83c8afca5ec957d4846e6f4eb04"
score = 75
quality = 73
tags = "FILE"
rev = 4
strings:
$typelibguid1 = "2e71d5ff-ece4-4006-9e98-37bb724a7780" ascii nocase wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and $typelibguid1
}
rule FIREEYE_RT_Dropper_HTA_Wildchild_1 : FILE
{
meta:
description = "This rule looks for strings present in unobfuscated HTAs generated by the WildChild builder."
author = "FireEye"
id = "f570baa5-7d58-5a0a-b713-769e62076f76"
date = "2020-12-08"
modified = "2020-12-09"
reference = "https://github.com/mandiant/red_team_tool_countermeasures/"
source_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/rules/WILDCHILD/production/yara/Dropper_HTA_WildChild_1.yar#L4-L24"
license_url = "https://github.com/mandiant/red_team_tool_countermeasures//blob/3561b71724dbfa3e2bb78106aaa2d7f8b892c43b/LICENSE.txt"
hash = "3e61ca5057633459e96897f79970a46d"
logic_hash = "60c1d53b8a43b9b7518f3260a4d61c6806641ee894a2a331a3a0a2ea0aff9d99"
score = 75
quality = 75
tags = "FILE"
rev = 5
strings:
$s1 = "processpath" ascii wide
$s2 = "v4.0.30319" ascii wide
$s3 = "v2.0.50727" ascii wide
$s4 = "COMPLUS_Version" ascii wide
$s5 = "FromBase64Transform" ascii wide
$s6 = "MemoryStream" ascii wide
$s7 = "entry_class" ascii wide
$s8 = "DynamicInvoke" ascii wide
$s9 = "Sendoff" ascii wide
$script_header = "