Detection rules › Sigma

Windows Pcap Drivers

Status
test
Severity
medium
Log source
product windows, service security
Author
Cian Heasley
Source
github.com/SigmaHQ/sigma

Detects Windows Pcap driver installation based on a list of associated .sys files.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1040 Network Sniffing
DiscoveryT1040 Network Sniffing

Event coverage

Rule body yaml

title: Windows Pcap Drivers
id: 7b687634-ab20-11ea-bb37-0242ac130002
status: test
description: Detects Windows Pcap driver installation based on a list of associated .sys files.
references:
    - https://ragged-lab.blogspot.com/2020/06/capturing-pcap-driver-installations.html#more
author: Cian Heasley
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

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 4697
    ServiceFileName|contains:
        - 'pcap'
        - 'npcap'
        - 'npf'
        - 'nm3'
        - 'ndiscap'
        - 'nmnt'
        - 'windivert'
        - 'USBPcap'
        - 'pktmon'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
ServiceFileNamematch
  • USBPcap
  • ndiscap
  • nm3
  • nmnt
  • npcap
  • npf
  • pcap
  • pktmon
  • windivert