YARA · ditekSHen detection
DITEKSHEN_INDICATOR_TOOL_Sliver
Detects Sliver implant cross-platform adversary emulation/red team
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-09-25
- Score / Quality
- 75 / 75
What this rule detects
Detects Sliver implant cross-platform adversary emulation/red team
Targets: Windows PE.
It defines 11 patterns (11 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
indicator-tool-sliver.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_TOOL_Sliver : FILE
{
meta:
= "Detects Sliver implant cross-platform adversary emulation/red team"
= "ditekSHen"
= "e0c5404b-8e6b-5c3a-9e37-56012c3802dd"
= "2020-11-06"
= "2024-09-25"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L882-L900"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "4f9442b74c84c7b4a8fcf93de2919d12efe2f41d0b4e8514b43822fba0962af2"
= 75
= 75
= "FILE"
strings:
$x1 = "github.com/bishopfox/sliver/protobuf/sliverpbb." ascii
$s1 = ".commonpb.ResponseR" ascii
$s2 = ".PortfwdProtocol" ascii
$s3 = ".WGTCPForwarder" ascii
$s4 = ".WGSocksServerR" ascii
$s5 = ".PivotEntryR" ascii
$s6 = ".BackdoorReq" ascii
$s7 = ".ProcessDumpReq" ascii
$s8 = ".InvokeSpawnDllReq" ascii
$s9 = ".SpawnDll" ascii
$s10 = ".TCPPivotReq" ascii
condition:
( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x457f or uint16( 0 ) == 0xfacf ) and ( 1 of ( $x* ) or 5 of ( $s* ) )
}
Strings (11 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "github.com/bishopfox/sliver/protobuf/sliverpbb." | ascii |
| $s1 | text | ".commonpb.ResponseR" | ascii |
| $s2 | text | ".PortfwdProtocol" | ascii |
| $s3 | text | ".WGTCPForwarder" | ascii |
| $s4 | text | ".WGSocksServerR" | ascii |
| $s5 | text | ".PivotEntryR" | ascii |
| $s6 | text | ".BackdoorReq" | ascii |
| $s7 | text | ".ProcessDumpReq" | ascii |
| $s8 | text | ".InvokeSpawnDllReq" | ascii |
| $s9 | text | ".SpawnDll" | ascii |
| $s10 | text | ".TCPPivotReq" | ascii |
Condition
( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x457f or uint16( 0 ) == 0xfacf ) and ( 1 of ( $x* ) or 5 of ( $s* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 1 patterns in ( $x* ) must match.
- At least 5 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: ditekSHen
Source repository: ditekSHen detection @ e76c93dcde
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: e0c5404b-8e6b-5c3a-9e37-56012c3802dd
Tags:FILE
Related rules
- Suspicious / huntingditekSHen detection· ditekSHen· 2023-08-22
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21