YARA · SEKOIA.IO Community
SEKOIA_Loader_Win_Svcready_Imports
Finds samples of the SVCReady loader
- Author
- Sekoia.io
- Date
- 2022-06-08
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds samples of the SVCReady loader
Associated malware family: Svcready.
Targets: Windows PE.
It defines 2 patterns (2 text, 0 hex, 0 regex). YARA modules used: pe.
Summary generated from the rule's metadata and condition.
Rule source
Includes the imports needed to compile it on its own.
loader-win-svcready-imports.yarDetection Rule License 1.1
import "pe"
rule SEKOIA_Loader_Win_Svcready_Imports : FILE
{
meta:
= "Finds samples of the SVCReady loader"
= "Sekoia.io"
= "e89aa736-acee-4881-b367-a9abfe9784ec"
= "2022-06-08"
= "2024-12-19"
= "https://threatresearch.ext.hp.com/svcready-a-new-loader-reveals-itself/"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_win_svcready_imports.yar#L3-L25"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "f210c5363d19dbc822b8476f8ecfd86184af8f1c36819a6c868f171152e7cb74"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str0 = "Svc:RunPEDllNative" ascii
$str1 = "RunPEDllNative::" ascii
condition:
uint16( 0 ) == 0x5A4D and filesize > 200KB and filesize < 2MB and pe.imports ( "GDI32.dll" , "Ellipse" ) and pe.imports ( "GDI32.dll" , "SelectObject" ) and pe.imports ( "GDI32.dll" , "GetStockObject" ) and pe.imports ( "GDI32.dll" ) == 3 and all of them
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str0 | text | "Svc:RunPEDllNative" | ascii |
| $str1 | text | "RunPEDllNative::" | ascii |
Condition
uint16( 0 ) == 0x5A4D and filesize > 200KB and filesize < 2MB and pe.imports ( "GDI32.dll" , "Ellipse" ) and pe.imports ( "GDI32.dll" , "SelectObject" ) and pe.imports ( "GDI32.dll" , "GetStockObject" ) and pe.imports ( "GDI32.dll" ) == 3 and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 2MB (a cheap guard that skips large files).
- The file must be larger than 200KB.
- All patterns in the rule must match.
- Uses the pe module.
- Checks imported functions or libraries.
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: e89aa736-acee-4881-b367-a9abfe9784ec
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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