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.

FreeReviewedSigma · Medium · v2
Product
windows
Service
security
Author
Cian Heasley (SigmaHQ), DRL 1.1
Published
2020-06-10
Updated
2026-07-31
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