Suspicious Password Provided In Command Line Of Net.EXE (via process_creation)
This rule detects a when net.exe is called with a password in the command line
SigmamediumWindowsv1
sigma
suspicious-password-provided-in-command-line-of-net-exe-via-process-creation
title: Suspicious Password Provided In Command Line Of Net.EXE (via process_creation)
id: e6099d68-6840-5de9-85f7-6d471dc10c82
status: stable
description: This rule detects a when net.exe is called with a password in the command line
references:
- https://attack.mitre.org/techniques/T1078/
- https://attack.mitre.org/techniques/T1021/002/
- Internal Research
author: Huntrule Team
date: 2026-05-26
tags:
- attack.initial-access
- attack.persistence
- attack.privilege-escalation
- attack.lateral-movement
- attack.stealth
- attack.t1021.002
- attack.t1078
logsource:
category: process_creation
product: windows
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_*
falsepositives:
- Unknown
level: medium
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.