YARA · SEKOIA.IO Community
SEKOIA_Loader_Win_Aresloader
Finds AresLoader samples based on characteristic strings
- Author
- Sekoia.io
- Date
- 2023-05-02
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds AresLoader samples based on characteristic strings
Targets: Windows PE.
It defines 13 patterns (13 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
loader-win-aresloader.yarDetection Rule License 1.1
rule SEKOIA_Loader_Win_Aresloader : FILE
{
meta:
= "Finds AresLoader samples based on characteristic strings"
= "Sekoia.io"
= "bf5070fc-c8ca-4458-8702-cd1830667b7a"
= "2023-05-02"
= "2024-12-19"
= "https://blog.cyble.com/2023/04/28/citrix-users-at-risk-aresloader-spreading-through-disguised-gitlab-repo/"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_win_aresloader.yar#L1-L28"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "2edbb625394506e865580373d5c3454b4fa201183c84d247b4373f24e25f5fd4"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "{\\\"ip\\\": '%s', \\\"UID\\\": '%s', \\\"geo\\\": '%s', \\\"service\\\": '%s', \\\"owner_token\\\": '%s'}" ascii
$str02 = "AresLdr_v_3" ascii
$str03 = "https://ipinfo.io/ip" ascii
$str04 = "C:\\Users\\%s\\AppData\\Roaming\\%s\\%s" ascii
$str05 = "/manager/payload" ascii
$str06 = "/manager/loader" ascii
$str07 = "/manager/legit" ascii
$str08 = "/manager/hvnc" ascii
$str09 = "C%p %d V=%0X w=%ld %s" ascii
$str10 = "rundll32.exe %s,%s" ascii
$str11 = "%startinfo" ascii
$str12 = "%managedapp" ascii
$str13 = "%has_cctor" ascii
condition:
uint16( 0 ) == 0x5A4D and 5 of them
}
Strings (13 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "{\\\"ip\\\": '%s', \\\"UID\\\": '%s', \\\"geo\\\": '%s', \\\"service\\\": '%s', \\\"owner_token\\\": '%s'}" | ascii |
| $str02 | text | "AresLdr_v_3" | ascii |
| $str03 | text | "https://ipinfo.io/ip" | ascii |
| $str04 | text | "C:\\Users\\%s\\AppData\\Roaming\\%s\\%s" | ascii |
| $str05 | text | "/manager/payload" | ascii |
| $str06 | text | "/manager/loader" | ascii |
| $str07 | text | "/manager/legit" | ascii |
| $str08 | text | "/manager/hvnc" | ascii |
| $str09 | text | "C%p %d V=%0X w=%ld %s" | ascii |
| $str10 | text | "rundll32.exe %s,%s" | ascii |
| $str11 | text | "%startinfo" | ascii |
| $str12 | text | "%managedapp" | ascii |
| $str13 | text | "%has_cctor" | ascii |
Condition
uint16( 0 ) == 0x5A4D and 5 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 5 patterns 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
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: bf5070fc-c8ca-4458-8702-cd1830667b7a
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20