Sigma rule: First Time Seen Remote Named Pipe
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-16fa7fe42d45, updated 2023-03-14T00:00:00.000Z.
Rule
- Title
- First Time Seen Remote Named Pipe
- Status
- test
- Level
- high
- Author
- Samir Bousseaden
- Date
- 2019-04-03
- Modified
- 2023-03-14
- File
- rules/windows/builtin/security/win_security_lm_namedpipe.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
This detection excludes known namped pipes accessible remotely and notify on newly observed ones, may help to detect lateral movement and remote exec using named pipes
Log source
- product
- windows
- service
- security
- definition
- The advanced audit policy setting "Object Access > Audit Detailed File Share" must be configured for Success/Failure
Detection
selection1:
EventID: 5145
ShareName: '\\\\\*\\IPC$' # looking for the string \\*\IPC$
false_positives:
RelativeTargetName:
- 'atsvc'
- 'samr'
- 'lsarpc'
- 'lsass'
- 'winreg'
- 'netlogon'
- 'srvsvc'
- 'protected_storage'
- 'wkssvc'
- 'browser'
- 'netdfs'
- 'svcctl'
- 'spoolss'
- 'ntsvcs'
- 'LSM_API_service'
- 'HydraLsPipe'
- 'TermSrv_API_service'
- 'MsFteWds'
- 'sql\query'
- 'eventlog'
condition: selection1 and not false_positivesFalse positives (as the rule lists them)
- Update the excluded named pipe to filter out any newly observed legit named pipe
Tags
- attack.lateral-movement
- attack.t1021.002
MITRE ATT&CK ids this rule names
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_lm_namedpipe.yml
Sources and licences
SigmaHQ
"First Time Seen Remote Named Pipe" by Samir Bousseaden (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_lm_namedpipe.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: First Time Seen Remote Named Pipe",
entity page, dataset version ref-16fa7fe42d45, updated 2023-03-14T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/52d8b0c6-53d6-439a-9e41-52ad442ad9ad (accessed 2026-11-03).
Underlying source: SigmaHQ rule 52d8b0c6-53d6-439a-9e41-52ad442ad9ad, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.