{"id":"d4498716-1d52-438f-8084-4a603157d131","title":"Password Provided In Command Line Of Net.EXE","description":"Detects a when net.exe is called with a password in the command line","author":"Tim Shelton (HAWK.IO)","status":"test","level":"medium","date":"2021-12-09","modified":"2023-02-21","tags":["attack.initial-access","attack.persistence","attack.privilege-escalation","attack.lateral-movement","attack.stealth","attack.t1021.002","attack.t1078"],"technique_ids":["T1021.002","T1078"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["Internal Research"],"source_path":"rules/windows/process_creation/proc_creation_win_net_use_password_plaintext.yml","source_sha256":"2da267880cee50e317dbe0590b47d5761fb57bafb2a53c0cc1e75393d99c650a","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_net_use_password_plaintext.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Password Provided In Command Line Of Net.EXE\nid: d4498716-1d52-438f-8084-4a603157d131\nstatus: test\ndescription: Detects a when net.exe is called with a password in the command line\nreferences:\n    - Internal Research\nauthor: Tim Shelton (HAWK.IO)\ndate: 2021-12-09\nmodified: 2023-02-21\ntags:\n    - attack.initial-access\n    - attack.persistence\n    - attack.privilege-escalation\n    - attack.lateral-movement\n    - attack.stealth\n    - attack.t1021.002\n    - attack.t1078\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith:\n              - '\\net.exe'\n              - '\\net1.exe'\n        - OriginalFileName:\n              - 'net.exe'\n              - 'net1.exe'\n    selection_cli:\n        CommandLine|contains|all:\n            - ' use '\n            - ':*\\\\'\n            - '/USER:* *'\n    filter_main_empty:\n        CommandLine|endswith: ' '\n    condition: all of selection_* and not 1 of filter_main_*\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1021.002","id":"T1021.002","name":"SMB/Windows Admin Shares","page":"techniques/enterprise/T1021.002/"},{"key":"enterprise/T1078","id":"T1078","name":"Valid Accounts","page":"techniques/enterprise/T1078/"}],"data_path":"data/detection-rules/d4498716-1d52-438f-8084-4a603157d131.json","kind":"sigma"}
