YARA · SEKOIA.IO Community
SEKOIA_Implant_Any_Sliver
Rule which detects any Sliver implant PE/Dlls/ELFs/MAC-O.
- Author
- Sekoia.io
- Date
- 2021-11-08
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Rule which detects any Sliver implant PE/Dlls/ELFs/MAC-O.
Targets: Windows PE, Linux ELF, macOS Mach-O.
It defines 5 patterns (5 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
implant-any-sliver.yarDetection Rule License 1.1
rule SEKOIA_Implant_Any_Sliver : FILE
{
meta:
= "Rule which detects any Sliver implant PE/Dlls/ELFs/MAC-O."
= "Sekoia.io"
= "4b16f28a-2048-4044-8620-8e7a1651f2b1"
= "2021-11-08"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/implant_any_sliver.yar#L1-L28"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "c7a2790fd13de0476cfe16ef26b2d4c8775f4f453d076c78975e2c372f03322c"
= 75
= 80
= "FILE"
= "1.1"
= "TLP:CLEAR"
strings:
$s1 = ").GetActiveC2" ascii
$s2 = ").GetVersion" ascii
$s3 = ").GetReconnectInterval" ascii
$s4 = ").GetProxyURL" ascii
$s5 = ").GetPollInterval" ascii
condition:
( uint16be( 0 ) == 0x4d5a or uint32be( 0 ) == 0x7f454c46 or uint32be( 0 ) == 0xcffaedfe ) and ( true and filesize < 11MB and filesize > 7MB ) and ( all of ( $s* ) )
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | ").GetActiveC2" | ascii |
| $s2 | text | ").GetVersion" | ascii |
| $s3 | text | ").GetReconnectInterval" | ascii |
| $s4 | text | ").GetProxyURL" | ascii |
| $s5 | text | ").GetPollInterval" | ascii |
Condition
( uint16be( 0 ) == 0x4d5a or uint32be( 0 ) == 0x7f454c46 or uint32be( 0 ) == 0xcffaedfe ) and ( true and filesize < 11MB and filesize > 7MB ) and ( all of ( $s* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must start with the ELF header — a Linux/Unix executable.
- The file must start with a Mach-O / fat binary magic — a macOS executable.
- The file must be smaller than 11MB (a cheap guard that skips large files).
- The file must be larger than 7MB.
- All patterns in ( $s* ) 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: 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: 4b16f28a-2048-4044-8620-8e7a1651f2b1
Metadata
| version | 1.1 |
|---|---|
| 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