YARA · WithSecure Labs IOCs
WITHSECURELABS_Ducktail_Artifacts
Detects artifacts found in files associated to DUCKTAIL malware
- Author
- WithSecure
- Date
- 2022-07-18
- Modified
- 2022-07-26
- Score / Quality
- 75 / 75
What this rule detects
Detects artifacts found in files associated to DUCKTAIL malware
Associated malware family: Ducktail.
Targets: Windows PE.
It defines 4 patterns (2 text, 0 hex, 2 regex).
YARA-X says: warning[redundant_modifier]: redundant case-insensitive modifier
Summary generated from the rule's metadata and condition.
Rule source
rule WITHSECURELABS_Ducktail_Artifacts : FILE
{
meta:
= "Detects artifacts found in files associated to DUCKTAIL malware"
= "WithSecure"
= "937c9688-b74f-5e02-838f-ab6757a8d2a1"
= "2022-07-18"
= "2022-07-26"
= "https://labs.withsecure.com/publications/ducktail"
= "https://github.com/WithSecureLabs/iocs/blob/1a8384468dd292c6d2c5114c32e42dc0da1f5ae1/DUCKTAIL/ducktail_artifacts.yar#L1-L20"
= "https://github.com/WithSecureLabs/iocs/blob/1a8384468dd292c6d2c5114c32e42dc0da1f5ae1/LICENSE"
= "3dbd9e1c3d0fd6358d4adcba04fdfc0b6e8acc49"
= "9370243589327b458486e3f7637779c2a96b4250"
= "b98170b18b906aee771dbd4dbd31e5963a90a50e"
= "1daa5e654058c802826b6a306b5bfc9d0c05c4ee54607e94e618a8d409ce74d9"
= 75
= 75
= "FILE"
= "1.0"
strings:
$pdb_path_1 = /[a-z]\:\\projects\\(viruttest|virot)\\/i nocase ascii
$pdb_path_2 = /[a-z]\:\\users\\ductai\\/i nocase ascii
$pdb_path_3 = "\\dataextractor.pdb" nocase ascii
$email = "ductai2308@gmail.com" wide ascii
condition:
uint16( 0 ) == 0x5A4D and any of them
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $pdb_path_1 | regex | /[a-z]\:\\projects\\(viruttest|virot)\\/i | nocase ascii |
| $pdb_path_2 | regex | /[a-z]\:\\users\\ductai\\/i | nocase ascii |
| $pdb_path_3 | text | "\\dataextractor.pdb" | nocase ascii |
| text | "ductai2308@gmail.com" | wide ascii |
Condition
uint16( 0 ) == 0x5A4D and any of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least one pattern in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 3dbd9e1c3d0fd6358d4adcba04fdfc0b6e8acc49
- 9370243589327b458486e3f7637779c2a96b4250
- b98170b18b906aee771dbd4dbd31e5963a90a50e
Licence & attribution
Author: WithSecure
Source repository: WithSecure Labs IOCs @ 1a8384468d
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright (c) 2022, WithSecure Oyj
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 937c9688-b74f-5e02-838f-ab6757a8d2a1
Metadata
| version | 1.0 |
|---|
Tags:FILE
Related rules
- MalwareWithSecure Labs IOCs· WithSecure· 2022-11-17
- MalwareSignature Base (Florian Roth / Nextron)· dr4k0nia· 2023-06-16
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- RUSSIANPANDA_Ducktail_MainbotMetadata onlyMalwareRussianPanda· RussianPanda· 2023-12-24
- RUSSIANPANDA_Ducktail_Myrdpservice_BotMetadata onlyMalwareRussianPanda· RussianPanda· 2023-12-24
- RUSSIANPANDA_DucktailMetadata onlyMalwareRussianPanda· RussianPanda· 2023-04-25
- MalwareWithSecure Labs IOCs· WithSecure· 2026-01-22
- MalwareWithSecure Labs IOCs· WithSecure· 2026-05-28