YARA · SEKOIA.IO Community
SEKOIA_Implant_Any_Sliver_Not_Stripped
Rule which detects non stripped Sliver 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 non stripped Sliver PE/Dlls/ELFs/MAC-O.
Targets: Windows PE, Linux ELF, macOS Mach-O.
It defines 1 patterns (1 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
implant-any-sliver-not-stripped.yarDetection Rule License 1.1
rule SEKOIA_Implant_Any_Sliver_Not_Stripped : FILE
{
meta:
= "Rule which detects non stripped Sliver PE/Dlls/ELFs/MAC-O."
= "Sekoia.io"
= "35543c7c-c39b-4f96-b37c-1d27736e40fc"
= "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_not_stripped.yar#L1-L24"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "5240f3ea1fb421697eeb12eb17d0b31c036b53f39c3a590473d87065b5d28e3e"
= 75
= 80
= "FILE"
= "2021-12-22"
= "1.1"
= "TLP:CLEAR"
strings:
$a1 = "github.com/bishopfox/sliver/implant/sliver/"
condition:
( uint16be( 0 ) == 0x4d5a or uint32be( 0 ) == 0x7f454c46 or uint32be( 0 ) == 0xcffaedfe ) and filesize < 11MB and filesize > 8MB and #a1 > 200
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $a1 | text | "github.com/bishopfox/sliver/implant/sliver/" |
Condition
( uint16be( 0 ) == 0x4d5a or uint32be( 0 ) == 0x7f454c46 or uint32be( 0 ) == 0xcffaedfe ) and filesize < 11MB and filesize > 8MB and #a1 > 200In 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 8MB.
- Pattern $a1 must occur > 200 times.
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: 35543c7c-c39b-4f96-b37c-1d27736e40fc
Metadata
| modification_date | 2021-12-22 |
|---|---|
| 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