Windows Pcap Driver Installation via EID 4697 ServiceFileName
Flags Windows driver install events (Security 4697) where the service file name matches known Pcap-related driver keywords.
- Product
- windows
- Service
- security
- Author
- Cian Heasley (SigmaHQ), DRL 1.1
- Published
- 2020-06-10
- Updated
- 2026-07-31
ATT&CK techniques
Cred Access → DiscoveryRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule identifies Windows driver installation activity by matching Security event ID 4697 service file names against common packet-capture driver components. Attackers and monitoring tools may install these drivers to enable low-level network visibility, which can also support credential access and discovery workflows. Detection relies on Windows Security audit telemetry for EID 4697 and the ServiceFileName field.
Reporting behind it
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: Windows Pcap Driver Installation via EID 4697 ServiceFileName
id: 96109bdf-7503-43d2-87f8-47b18b606360
status: test
description: This rule identifies Windows driver installation activity by matching Security event ID 4697 service file names against common packet-capture driver components. Attackers and monitoring tools may install these drivers to enable low-level network visibility, which can also support credential access and discovery workflows. Detection relies on Windows Security audit telemetry for EID 4697 and the ServiceFileName field.
references:
- https://ragged-lab.blogspot.com/2020/06/capturing-pcap-driver-installations.html#more
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/builtin/security/win_security_pcap_drivers.yml
author: Cian Heasley, Huntrule Team
date: 2020-06-10
modified: 2023-04-14
tags:
- attack.discovery
- attack.credential-access
- attack.t1040
logsource:
product: windows
service: security
definition: The 'System Security Extension' audit subcategory need to be enabled to log the EID 4697
detection:
selection:
EventID: 4697
ServiceFileName|contains:
- pcap
- npcap
- npf
- nm3
- ndiscap
- nmnt
- windivert
- USBPcap
- pktmon
condition: selection
falsepositives:
- Unknown
level: medium
license: DRL-1.1
related:
- id: 7b687634-ab20-11ea-bb37-0242ac130002
type: derived