Sigma rule: Password Provided In Command Line Of Net.EXE

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

Rule

Title
Password Provided In Command Line Of Net.EXE
Status
test
Level
medium
Author
Tim Shelton (HAWK.IO)
Date
2021-12-09
Modified
2023-02-21
File
rules/windows/process_creation/proc_creation_win_net_use_password_plaintext.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects a when net.exe is called with a password in the command line

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith:
          - '\net.exe'
          - '\net1.exe'
    - OriginalFileName:
          - 'net.exe'
          - 'net1.exe'
selection_cli:
    CommandLine|contains|all:
        - ' use '
        - ':*\\'
        - '/USER:* *'
filter_main_empty:
    CommandLine|endswith: ' '
condition: all of selection_* and not 1 of filter_main_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.initial-access
  • attack.persistence
  • attack.privilege-escalation
  • attack.lateral-movement
  • attack.stealth
  • attack.t1021.002
  • attack.t1078

MITRE ATT&CK ids this rule names

References

  • Internal Research

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_net_use_password_plaintext.yml

Sources and licences

  • SigmaHQ

    "Password Provided In Command Line Of Net.EXE" by Tim Shelton (HAWK.IO) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_net_use_password_plaintext.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: Password Provided In Command Line Of Net.EXE",
entity page, dataset version ref-5f165445ac65, updated 2023-02-21T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/d4498716-1d52-438f-8084-4a603157d131 (accessed 2026-11-03).
Underlying source: SigmaHQ rule d4498716-1d52-438f-8084-4a603157d131, 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.