Skip to content

Commit 2618b37

Browse files
committed
new CobaltStrike NamedPipe patterns
1 parent df67cdc commit 2618b37

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

sysmonconfig-export.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -897,6 +897,30 @@
897897
<PipeName condition="begin with">\postex_ssh_</PipeName>
898898
<PipeName condition="begin with">\status_</PipeName>
899899
<PipeName condition="begin with">\msagent_</PipeName>
900+
<!-- Malleable C2 profiles https://svch0st.medium.com/guide-to-named-pipes-and-hunting-for-cobalt-strike-pipes-dc46b2c5f575 -->
901+
<!-- some of these are not exact matches, but the corresponding Sigma rules use Regexp to match exactly -->
902+
<PipeName condition="begin with">\mojo.5688.8052.183894939787088877</PipeName>
903+
<PipeName condition="begin with">\mojo.5688.8052.35780273329370473</PipeName>
904+
<PipeName condition="begin with">\DserNamePipe</PipeName>
905+
<PipeName condition="begin with">\mypipe-f</PipeName>
906+
<PipeName condition="begin with">\mypipe-h</PipeName>
907+
<PipeName condition="begin with">\windows.update.manager</PipeName>
908+
<PipeName condition="begin with">\ntsvcs_</PipeName>
909+
<PipeName condition="begin with">\scerpc_</PipeName>
910+
<!-- these are standard pipes that appear frequently but the Sigma rules use RE to match exactly -->
911+
<PipeName condition="begin with">\scerpc</PipeName>
912+
<PipeName condition="begin with">\ntsvcs</PipeName>
913+
<PipeName condition="begin with">\wkssvc</PipeName>
914+
</PipeEvent>
915+
</RuleGroup>
916+
<!-- we skip the connect pipe event since they could be to noisy and a CreatePipe event should come before these -->
917+
<RuleGroup name="" groupRelation="or">
918+
<PipeEvent onmatch="exclude">
919+
<EventType condition="is">ConnectPipe</EventType>
920+
<!-- the standard named pipes used by Windows services (we want only the ones that begin with these names)-->
921+
<PipeName condition="is">\scerpc</PipeName>
922+
<PipeName condition="is">\ntsvcs</PipeName>
923+
<PipeName condition="is">\wkssvc</PipeName>
900924
</PipeEvent>
901925
</RuleGroup>
902926

0 commit comments

Comments
 (0)