# Pb-22 Open Suricata Rules # License: BSD-3-Clause; see ../LICENSE # Source: https://github.com/Pb-22/Network_Detections # Status: SID allocation merged # SID range: 9955000-9959999 alert tcp $HOME_NET any -> $HOME_NET any (msg:"PB22 HUNTING Possible Sliver Age and Minisign Key Material in Internal TCP Stream"; flow:established; content:"|0A 3E 61 67 65 31|"; depth:64; content:"untrusted comment:"; distance:0; within:160; content:"trusted comment:"; distance:0; within:320; reference:url,sliver.sh/docs?name=Transport+Encryption; reference:url,github.com/BishopFox/sliver/blob/master/docs/sliver-docs/pages/docs/md/Pivots.md; classtype:policy-violation; sid:9955000; rev:1; metadata:attack_target Client_Endpoint, created_at 2026_11_11, deployment Internal, confidence Medium, signature_severity Medium, tag Sliver, tag Pivot, tag Hunting, updated_at 2026_11_11;) alert dns any any -> any any (msg:"PB22 MALWARE CAV3RN DNS Channel Selection"; dns.query; bsize:>10; content:".m."; offset:7; depth:64; fast_pattern; nocase; pcre:"/^[a-z0-9]{3,4}[0-3]\x2e(?:[0-9a-f]{2}){1,31}\x2em\x2e/i"; reference:url,securelist.com/project-cav3rn-continues/120991; classtype:command-and-control; sid:9955001; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, affected_product Windows_11, attack_target Client_Endpoint, created_at 2026_11_11, deployment Perimeter, deployment Internal, performance_impact Low, confidence Medium, signature_severity Major, tag C2_Framework, tag DNS_C2, tag Domain_Independent, tag Project_CAV3RN, updated_at 2026_11_11, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1071, mitre_technique_name Application_Layer_Protocol; target:src_ip;) alert dns any any -> any any (msg:"PB22 MALWARE CAV3RN DNS Deployment ID Freshness"; dns.query; bsize:>11; content:".q."; offset:8; depth:63; fast_pattern; nocase; pcre:"/^[a-z0-9]{5}\x2e(?:[0-9a-f]{2}){1,31}\x2eq\x2e/i"; reference:url,securelist.com/project-cav3rn-continues/120991; classtype:command-and-control; sid:9955002; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, affected_product Windows_11, attack_target Client_Endpoint, created_at 2026_11_11, deployment Perimeter, deployment Internal, performance_impact Low, confidence Medium, signature_severity Major, tag C2_Framework, tag DNS_C2, tag Domain_Independent, tag Project_CAV3RN, updated_at 2026_11_11, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1071, mitre_technique_name Application_Layer_Protocol; target:src_ip;) alert dns any any -> any any (msg:"PB22 MALWARE CAV3RN DNS Deployment ID Recovery"; dns.query; bsize:>11; content:".p."; offset:8; depth:63; fast_pattern; nocase; pcre:"/^[a-z0-9]{5}\x2e(?:[0-9a-f]{2}){1,31}\x2ep\x2e/i"; reference:url,securelist.com/project-cav3rn-continues/120991; classtype:command-and-control; sid:9955003; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, affected_product Windows_11, attack_target Client_Endpoint, created_at 2026_11_11, deployment Perimeter, deployment Internal, performance_impact Low, confidence Medium, signature_severity Major, tag C2_Framework, tag DNS_C2, tag Domain_Independent, tag Project_CAV3RN, updated_at 2026_11_11, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1071, mitre_technique_name Application_Layer_Protocol; target:src_ip;) alert tcp any any -> $HOME_NET any (msg:"LOCAL HUNTING WMI-style certutil command-output encoding request"; flow:established,to_server,only_stream; content:"|05 00 00 83 10 00 00 00|"; content:"|18 00|"; distance:14; within:2; content:"|57 00 69 00 6e 00 33 00 32 00 5f 00 50 00 72 00 6f 00 63 00 65 00 73 00 73 00 00 00|"; distance:0; within:256; nocase; content:"|43 00 72 00 65 00 61 00 74 00 65 00 00 00|"; distance:0; within:128; nocase; content:"|5f 5f 50 41 52 41 4d 45 54 45 52 53 00 01 63 00 6d 00 64 00 2e 00 65 00 78 00 65 00 20 00 2f 00 51 00 20 00 2f 00 63 00 20 00 20 00 63 00 65 00 72 00 74 00 75 00 74 00 69 00 6c 00 20 00 2d 00 65 00 6e 00 63 00 6f 00 64 00 65 00 68 00 65 00 78 00 20 00 2d 00 66 00|"; distance:0; within:2048; nocase; fast_pattern; content:"|30 00 78 00 34 00 30 00 30 00 30 00 30 00 30 00 30 00 31 00 00 00|"; distance:0; within:1024; nocase; pcre:"/\x05\x00\x00\x83\x10\x00\x00\x00.{14}\x18\x00(?!.{0,256}\x05\x00[\x00-\x13][\x03\x83]\x10\x00\x00\x00).{0,256}W\x00i\x00n\x003\x002\x00_\x00P\x00r\x00o\x00c\x00e\x00s\x00s\x00\x00\x00(?!.{0,128}\x05\x00[\x00-\x13][\x03\x83]\x10\x00\x00\x00).{0,128}C\x00r\x00e\x00a\x00t\x00e\x00\x00\x00(?!.{0,2048}\x05\x00[\x00-\x13][\x03\x83]\x10\x00\x00\x00).{0,2048}__PARAMETERS\x00\x01c\x00m\x00d\x00\x2e\x00e\x00x\x00e\x00\x20\x00\x2f\x00Q\x00\x20\x00\x2f\x00c\x00\x20\x00\x20\x00c\x00e\x00r\x00t\x00u\x00t\x00i\x00l\x00\x20\x00\x2d\x00e\x00n\x00c\x00o\x00d\x00e\x00h\x00e\x00x\x00\x20\x00\x2d\x00f\x00/si"; pcre:"/\G(?:[^\x00]\x00){0,512}0\x00x\x004\x000\x000\x000\x000\x000\x000\x001\x00\x00\x00/Rsi"; reference:url,learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wmi/cbce28cd-fd45-4df1-9ec8-416e6bb33691; reference:url,github.com/XiaoliChan/wmiexec-RegOut; classtype:misc-activity; sid:9955009; rev:12; metadata:affected_product Windows, attack_target Client_Endpoint, deployment Internal, confidence Low, signature_severity Informational, created_at 2026_11_17, updated_at 2026_11_17; target:dest_ip;) alert tcp any any -> $HOME_NET any (msg:"HUNTING WMI-style combined recovery-inhibition command request"; flow:established,to_server,only_stream; content:"|05 00 00 83 10 00 00 00|"; content:"|18 00|"; distance:14; within:2; content:"|57 00 69 00 6e 00 33 00 32 00 5f 00 50 00 72 00 6f 00 63 00 65 00 73 00 73 00 00 00|"; distance:0; within:256; nocase; content:"|43 00 72 00 65 00 61 00 74 00 65 00 00 00|"; distance:0; within:128; nocase; content:"__PARAMETERS|00 01|"; distance:0; within:2048; content:"|72 00 65 00 63 00 6f 00 76 00 65 00 72 00 79 00 65 00 6e 00 61 00 62 00 6c 00 65 00 64 00|"; distance:0; within:1024; nocase; fast_pattern; content:"|64 00 65 00 6c 00 65 00 74 00 65 00|"; nocase; pcre:"/(?(DEFINE)(?(?:[\x20\x09]\x00){1,8})(?(?:[\x20\x09]\x00){0,8})(?

(?:[A-Za-z]\x00\x3a\x00\x5c\x00\x57\x00\x69\x00\x6e\x00\x64\x00\x6f\x00\x77\x00\x73\x00\x5c\x00\x53\x00\x79\x00\x73\x00\x74\x00\x65\x00\x6d\x00\x33\x00\x32\x00\x5c\x00|\x25\x00\x53\x00\x79\x00\x73\x00\x74\x00\x65\x00\x6d\x00\x52\x00\x6f\x00\x6f\x00\x74\x00\x25\x00\x5c\x00\x53\x00\x79\x00\x73\x00\x74\x00\x65\x00\x6d\x00\x33\x00\x32\x00\x5c\x00)?)(?(?:(?&P)\x76\x00\x73\x00\x73\x00\x61\x00\x64\x00\x6d\x00\x69\x00\x6e\x00(?:\x2e\x00\x65\x00\x78\x00\x65\x00)?(?&S)\x64\x00\x65\x00\x6c\x00\x65\x00\x74\x00\x65\x00(?&S)\x73\x00\x68\x00\x61\x00\x64\x00\x6f\x00\x77\x00\x73\x00(?&S)(?:\x2f\x00\x61\x00\x6c\x00\x6c\x00(?:(?&S)\x2f\x00\x71\x00\x75\x00\x69\x00\x65\x00\x74\x00)?|\x2f\x00\x71\x00\x75\x00\x69\x00\x65\x00\x74\x00(?&S)\x2f\x00\x61\x00\x6c\x00\x6c\x00)|(?&P)\x77\x00\x6d\x00\x69\x00\x63\x00(?:\x2e\x00\x65\x00\x78\x00\x65\x00)?(?&S)\x73\x00\x68\x00\x61\x00\x64\x00\x6f\x00\x77\x00\x63\x00\x6f\x00\x70\x00\x79\x00(?&S)\x64\x00\x65\x00\x6c\x00\x65\x00\x74\x00\x65\x00(?:(?&S)\x2f\x00\x6e\x00\x6f\x00\x69\x00\x6e\x00\x74\x00\x65\x00\x72\x00\x61\x00\x63\x00\x74\x00\x69\x00\x76\x00\x65\x00)?|(?&P)\x77\x00\x62\x00\x61\x00\x64\x00\x6d\x00\x69\x00\x6e\x00(?:\x2e\x00\x65\x00\x78\x00\x65\x00)?(?&S)\x64\x00\x65\x00\x6c\x00\x65\x00\x74\x00\x65\x00(?&S)\x63\x00\x61\x00\x74\x00\x61\x00\x6c\x00\x6f\x00\x67\x00(?:(?&S)\x2d\x00\x71\x00\x75\x00\x69\x00\x65\x00\x74\x00)?))(?(?&P)\x62\x00\x63\x00\x64\x00\x65\x00\x64\x00\x69\x00\x74\x00(?:\x2e\x00\x65\x00\x78\x00\x65\x00)?(?&S)\x2f\x00\x73\x00\x65\x00\x74\x00(?&S)(?:\x7b\x00\x64\x00\x65\x00\x66\x00\x61\x00\x75\x00\x6c\x00\x74\x00\x7d\x00|\x7b\x00\x63\x00\x75\x00\x72\x00\x72\x00\x65\x00\x6e\x00\x74\x00\x7d\x00)(?&S)\x72\x00\x65\x00\x63\x00\x6f\x00\x76\x00\x65\x00\x72\x00\x79\x00\x65\x00\x6e\x00\x61\x00\x62\x00\x6c\x00\x65\x00\x64\x00(?&S)\x6e\x00\x6f\x00)(?(?&O)\x26\x00(?:\x26\x00)?(?&O))(?\x22\x00(?:[\x20-\x21\x23-\x7e]\x00){1,160}\x22\x00)(?(?:(?&D)(?&J)(?&R)|(?&R)(?&J)(?&D))))\x05\x00\x00\x83\x10\x00\x00\x00.{14}\x18\x00(?>(?!.{0,256}\x05\x00[\x00-\x13][\x03\x83]\x10\x00\x00\x00).{0,256}\x57\x00\x69\x00\x6e\x00\x33\x00\x32\x00\x5f\x00\x50\x00\x72\x00\x6f\x00\x63\x00\x65\x00\x73\x00\x73\x00\x00\x00)(?>(?!.{0,128}\x05\x00[\x00-\x13][\x03\x83]\x10\x00\x00\x00).{0,128}\x43\x00\x72\x00\x65\x00\x61\x00\x74\x00\x65\x00\x00\x00)(?>(?!.{0,2048}\x05\x00[\x00-\x13][\x03\x83]\x10\x00\x00\x00).{0,2048}__PARAMETERS\x00\x01)\x63\x00\x6d\x00\x64\x00(?:\x2e\x00\x65\x00\x78\x00\x65\x00)?(?&S)(?:\x2f\x00\x51\x00(?&S))?\x2f\x00\x63\x00(?&S)(?:(?&B)|\x28\x00(?&O)(?&B)(?&O)\x29\x00)(?:(?&S)\x31\x00\x3e\x00(?&S)(?&F)(?&S)\x32\x00\x3e\x00\x26\x00\x31\x00)?(?:[\x20\x09]\x00){0,256}\x00\x00/si"; reference:url,attack.mitre.org/techniques/T1490/; classtype:policy-violation; sid:9955010; rev:7; metadata:deployment Internal, confidence Low, signature_severity Major, created_at 2026_11_18, updated_at 2026_11_18, mitre_tactic_id TA0040, mitre_tactic_name Impact, mitre_technique_id T1490, mitre_technique_name Inhibit_System_Recovery; target:dest_ip;)