YARA · deadbits yara-rules
DEADBITS_Dacls_Trojan_Windows
No description has been set in the source file - DeadBits
- Author
- Adam Swanda
- Date
- 2020-01-07
- Score / Quality
- 75 / 80
What this rule detects
No description has been set in the source file - DeadBits
Targets: Windows PE.
It defines 11 patterns (11 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
dacls-trojan-windows.yarThe Unlicense
rule DEADBITS_Dacls_Trojan_Windows : FILE
{
meta:
= "No description has been set in the source file - DeadBits"
= "Adam Swanda"
= "424b2c0d-2373-5a72-9a97-52b4bfc5cdcf"
= "2020-01-07"
= "2020-01-07"
= "https://github.com/deadbits/yara-rules"
= "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/Dacls_Windows.yara#L1-L30"
= "N/A"
= "b77df7e3be9c264d6a63d40dbf49c41e9dd55b4e570c063b5710b849c36cc166"
= 75
= 80
= "FILE"
= "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* ) ) )
}
Strings (11 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $fext00 | text | ".exe" | ascii wide |
| $fext01 | text | ".cmd" | ascii wide |
| $fext02 | text | ".bat" | ascii wide |
| $fext03 | text | ".com" | ascii wide |
| $str00 | text | "Software\\mthjk" | ascii wide |
| $str01 | text | "WindowsNT.dll" | ascii fullword |
| $str02 | text | "GET %s HTTP/1.1" | ascii fullword |
| $str03 | text | "content-length:" | ascii fullword |
| $str04 | text | "Connection: keep-alive" | ascii fullword |
| $cls00 | text | "c_2910.cls" | ascii fullword |
| $cls01 | text | "k_3872.cls" | ascii fullword |
Condition
( uint16( 0 ) == 0x5a4d ) and ( ( all of ( $cls* ) ) or ( all of ( $fext* ) and all of ( $str* ) ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in ( $cls* ) must match.
- All patterns in ( $fext* ) must match.
- All patterns in ( $str* ) 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
References
Licence & attribution
Author: Adam Swanda
Source repository: deadbits yara-rules @ d002f7ecee
Licence: The Unlicense (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 424b2c0d-2373-5a72-9a97-52b4bfc5cdcf
Tags:FILE
Related rules
- Malwaredeadbits yara-rules· Adam Swanda· 2020-01-07