YARA · SEKOIA.IO Community
SEKOIA_Apt_Andariel_Dorarat_Strings
Detects Dora RAT based on strings
- Author
- Sekoia.io
- Date
- 2024-06-17
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects Dora RAT based on strings
Targets: Windows PE.
It defines 4 patterns (3 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-andariel-dorarat-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Andariel_Dorarat_Strings : FILE
{
meta:
= "Detects Dora RAT based on strings"
= "Sekoia.io"
= "30388291-a287-489f-a060-c90a16cda217"
= "2024-06-17"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_andariel_dorarat_strings.yar#L1-L19"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "21e1c77d486cbf6ddaa2eca673275c7c21cc59fa9551c2eb02c526518ed5b217"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$x1 = "/encryption.go" ascii fullword
$x2 = "/handshake.go" ascii fullword
$x3 = "/trans_module.go" ascii fullword
$enc_rsc = { 14 02 72 14 D3 4C 4A 49 55 36 14 DF 8D 6F 2D CF }
condition:
uint16be( 0 ) == 0x4d5a and ( all of ( $x* ) or $enc_rsc )
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "/encryption.go" | ascii fullword |
| $x2 | text | "/handshake.go" | ascii fullword |
| $x3 | text | "/trans_module.go" | ascii fullword |
| $enc_rsc | hex | { 14 02 72 14 D3 4C 4A 49 55 36 14 DF 8D 6F 2D CF } |
Condition
uint16be( 0 ) == 0x4d5a and ( all of ( $x* ) or $enc_rsc )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in ( $x* ) must match.
- Pattern $enc_rsc must be present.
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: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 30388291-a287-489f-a060-c90a16cda217
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-03-06