|
960 | 960 | <PipeName condition="begin with">\Winsock2\CatalogChangeListener-</PipeName> |
961 | 961 | <PipeName condition="end with">-0,</PipeName> |
962 | 962 | </Rule> |
963 | | - <!-- these are standard pipes that appear frequently but the Sigma rules use RE to match exactly --> |
| 963 | + <!-- these are standard pipes that appear frequently but the Sigma rules use RE to match on malicious pipes that use the common names as a prefix --> |
964 | 964 | <PipeName condition="begin with">\scerpc</PipeName> |
965 | 965 | <PipeName condition="begin with">\ntsvcs</PipeName> |
966 | 966 | <PipeName condition="begin with">\wkssvc</PipeName> |
967 | 967 | <!-- Other specific named pipes --> |
968 | 968 | <PipeName condition="contains">6e7645c4-32c5-4fe3-aabf-e94c2f4370e7</PipeName> <!-- LiquidSnake hacktool https://github.com/RiccardoAncarani/LiquidSnake --> |
969 | 969 | <Image condition="end with">\scrcons.exe</Image> <!-- Susupicious WMI Event Consumer creating a named pipe --> |
| 970 | + <Rule groupRelation="and"> <!-- Some interesting ConnectPipe events that we want to include --> |
| 971 | + <EventType condition="is">ConnectPipe</EventType> |
| 972 | + <PipeName condition="is">\MICROSOFT##WID\tsql\query</PipeName> <!-- https://github.com/SigmaHQ/sigma/pull/2128 --> |
| 973 | + </Rule> |
970 | 974 | </PipeEvent> |
971 | 975 | </RuleGroup> |
972 | | - <!-- we skip the connect pipe event since they could be to noisy and a CreatePipe event should come before these --> |
973 | | - <RuleGroup name="" groupRelation="or"> |
| 976 | + <!-- Common Pipe Names to would appear very often in --> |
| 977 | + <RuleGroup name="CommonPipes" groupRelation="or"> |
974 | 978 | <PipeEvent onmatch="exclude"> |
975 | | - <EventType condition="is">ConnectPipe</EventType> |
976 | | - <!-- the standard named pipes used by Windows services (we want only the ones that begin with these names)--> |
| 979 | + <!-- the standard named pipes used by Windows services (we want only the ones that begin with these names) --> |
977 | 980 | <PipeName condition="is">\scerpc</PipeName> |
978 | 981 | <PipeName condition="is">\ntsvcs</PipeName> |
979 | 982 | <PipeName condition="is">\wkssvc</PipeName> |
|
0 commit comments