You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sysmon.md
+22-6Lines changed: 22 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1135,9 +1135,16 @@ Example monitoring for script file creation by extension:
1135
1135
1136
1136
## Named Pipes
1137
1137
1138
-
A named pipe is a named, one-way or duplex pipe for communication between the pipe server and one or more pipe clients. Each named pipe has a unique name that distinguishes it from other named pipes in the system\'s list of named objects. Pipe names are specified as \\\\ServerName\\pipe\\PipeName when connection is local a "." would be used as ServerName.
1138
+
A named pipe is a named, one-way or duplex pipe for communication
1139
+
between the pipe server and one or more pipe clients. Each named pipe
1140
+
has a unique name that distinguishes it from other named pipes in the
1141
+
system\'s list of named objects. Pipe names are specified as
1142
+
\\\\ServerName\\pipe\\PipeName when connection is local a "." would be
1143
+
used as ServerName.
1139
1144
1140
-
Named pipes are used for pivoting in several RATs/Implants to have SMB connections between machines. Some tools will use named pipes to talk to injected code in other processes.
1145
+
Named pipes are used for pivoting in several RATs/Implants to have SMB
1146
+
connections between machines. Some tools will use named pipes to talk to
1147
+
injected code in other processes.
1141
1148
1142
1149
Sysmon will generate a events
1143
1150
@@ -1151,7 +1158,11 @@ For named pipes there are 2 approaches that can be taken:
1151
1158
1152
1159
* Include only known malicious actors.
1153
1160
1154
-
The first approach requires more maintenance but in case of a breach offers more value. The second one would be more targeted but this kind of detection is better served with automation in the SIEM. Experienced attackers normally avoid known Pipes to prevent breaking normal operation of the system applications.
1161
+
The first approach requires more maintenance but in case of a breach
1162
+
offers more value. The second one would be more targeted but this kind
1163
+
of detection is better served with automation in the SIEM. Experienced
1164
+
attackers normally avoid known Pipes to prevent breaking normal
1165
+
operation of the system applications.
1155
1166
1156
1167
The process for PipeName values should be constant process.
1157
1168
@@ -1193,7 +1204,8 @@ The fields for the Pipe Create Event are:
1193
1204
1194
1205
***ProcessGuid**: Process Guid of the process that created the pipe
1195
1206
1196
-
***ProcessId**: Process ID used by the OS to identify the process that created the pipe
1207
+
***ProcessId**: Process ID used by the OS to identify the process
1208
+
that created the pipe
1197
1209
1198
1210
***PipeName**: Name of the pipe created
1199
1211
@@ -1209,7 +1221,8 @@ The fields for the Pipe Connect Event are:
1209
1221
1210
1222
***ProcessGuid**: Process Guid of the process that connected the pipe
1211
1223
1212
-
***ProcessId**: Process ID used by the OS to identify the process that connected the pipe
1224
+
***ProcessId**: Process ID used by the OS to identify the process
1225
+
that connected the pipe
1213
1226
1214
1227
***PipeName**: Name of the pipe connected
1215
1228
@@ -1250,7 +1263,10 @@ Example excluding known good Pipe Names
1250
1263
</Sysmon>
1251
1264
```
1252
1265
1253
-
One thing to consider is that Sysmon uses a minifilter just like the file events, any AV or EDR with a higher altitude number if it triggers on the named pipe and block Sysmon will not log the event.
1266
+
One thing to consider is that Sysmon uses a minifilter just like the
1267
+
file events. If any AV or EDR with a lower altitude number triggers
1268
+
on a named pipe and blocks it, Sysmon will not log the event.
0 commit comments