Detectionmediumtest

Harvesting Of Wifi Credentials Via Netsh.EXE

Detect the harvesting of wifi credentials using netsh.exe

Open in Detection LabConvert ruleBuild Package
Andreas Hunkeler, oscd.communityCreated 2020-04-20Updated 2023-02-1342b1a5b8-353f-4f10-b256-39de4467faffwindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
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
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
42b1a5b8-353f-4f10-b256-39de4467faff
Status
test
Level
medium
Type
Detection
Created
2020-04-20
Modified
2023-02-13
Path
rules/windows/process_creation/proc_creation_win_netsh_wifi_credential_harvesting.yml
Raw Tags
attack.discoveryattack.credential-accessattack.t1040
View on GitHub