Concrete signature match: Trojan - Appears legitimate but performs malicious actions for Linux platform, family Sliver
This is a critical detection of Trojan:Linux/Sliver.C, a sophisticated command-and-control (C2) framework used for post-exploitation activities on Linux systems. Identified through concrete signatures and machine learning behavioral analysis, it enables attackers to perform network pivoting, data exfiltration, and system control.
Relevant strings associated with this threat: - #/bishopfox/sliver/protobuf/sliverpb (PEHSTR) - sliverpb/sliver.proto (PEHSTR) - .sliverpb.NetInterface (PEHSTR) - .sliverpb.FileInfo (PEHSTR) - .sliverpb.SockTabEntry.SockAddr (PEHSTR) - .sliverpb.DNSBlockHeader (PEHSTR) - .sliverpb.ServiceInfoReq (PEHSTR) - .sliverpb.PivotEntry (PEHSTR) - .sliverpb.WGTCPForwarder (PEHSTR) - .sliverpb.WGSocksServer (PEHSTR) - .sliverpb.WindowsPrivilegeEntry (PEHSTR) - .commonpb.Response (PEHSTR) - .commonpb.Request (PEHSTR)
rule Trojan_Linux_Sliver_C_2147912571_0
{
meta:
author = "threatcheck.sh"
detection_name = "Trojan:Linux/Sliver.C!MTB"
threat_id = "2147912571"
type = "Trojan"
platform = "Linux: Linux platform"
family = "Sliver"
severity = "Critical"
info = "MTB: Microsoft Threat Behavior"
signature_type = "SIGNATURE_TYPE_ELFHSTR_EXT"
threshold = "3"
strings_accuracy = "High"
strings:
$x_1_1 = {75 14 48 85 c0 74 09 48 8b 2c 24 48 83 c4 08 c3 e8 d8 b9 fa ff 90 4c 8d 6c 24 10} //weight: 1, accuracy: High
$x_1_2 = {48 85 c0 74 09 48 8b 2c 24 48 83 c4 08 c3 e8 d8 b8 fa ff 90 4c 8d 6c 24 10 4d 39 2c 24 75 e1 49 89 24 24 eb db} //weight: 1, accuracy: High
$x_1_3 = {74 21 48 8b 10 48 8b 58 08 0f b6 48 10 0f b6 78 11 48 89 d0 e8 a4 b1 fa ff 48 8b 6c 24 18 48 83 c4 20 c3 e8 d5 b7 fa ff} //weight: 1, accuracy: High
condition:
(filesize < 20MB) and
(all of ($x*))
}48e9e4a2fe3621b55d48fcc4909e8a4c0d7866c9a96f9bf236079eafb9ce2254Immediately isolate the affected Linux system. Conduct a comprehensive forensic analysis to identify the initial compromise vector and any further malicious activity or persistence. Eradicate the Sliver implant, revoke compromised credentials, and ensure all systems are patched. Enhance network segmentation and strengthen endpoint security on Linux hosts.