Sigma rule: Harvesting Of Wifi Credentials Via Netsh.EXE

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-5d7a20711bba, updated 2023-02-13T00:00:00.000Z.

Rule

Title
Harvesting Of Wifi Credentials Via Netsh.EXE
Status
test
Level
medium
Author
Andreas Hunkeler (@Karneades), oscd.community
Date
2020-04-20
Modified
2023-02-13
File
rules/windows/process_creation/proc_creation_win_netsh_wifi_credential_harvesting.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detect the harvesting of wifi credentials using netsh.exe

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\netsh.exe'
    - OriginalFileName: 'netsh.exe'
selection_cli:
    CommandLine|contains|all:
        - 'wlan'
        - ' s'
        - ' p'
        - ' k'
        - '=clear'
condition: all of selection_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.discovery
  • attack.credential-access
  • attack.t1040

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/process_creation/proc_creation_win_netsh_wifi_credential_harvesting.yml

Sources and licences

  • SigmaHQ

    "Harvesting Of Wifi Credentials Via Netsh.EXE" by Andreas Hunkeler (@Karneades), oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_netsh_wifi_credential_harvesting.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Harvesting Of Wifi Credentials Via Netsh.EXE",
entity page, dataset version ref-5d7a20711bba, updated 2023-02-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/42b1a5b8-353f-4f10-b256-39de4467faff (accessed 2026-11-03).
Underlying source: SigmaHQ rule 42b1a5b8-353f-4f10-b256-39de4467faff, 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.