{"id":"243de76f-4725-4f2e-8225-a8a69b15ad61","title":"PowerShell Create Local User","description":"Detects creation of a local user via PowerShell","author":"@ROxPinTeddy","status":"test","level":"medium","date":"2020-04-11","modified":"2022-12-25","tags":["attack.execution","attack.t1059.001","attack.persistence","attack.t1136.001"],"technique_ids":["T1059.001","T1136.001"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Legitimate user creation"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1136.001/T1136.001.md"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_create_local_user.yml","source_sha256":"fd7dd1cb197938c70e3e7201d9c9837c4c12c94d2f88f26d770c1bbb32fbdca4","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_create_local_user.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: PowerShell Create Local User\nid: 243de76f-4725-4f2e-8225-a8a69b15ad61\nstatus: test\ndescription: Detects creation of a local user via PowerShell\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1136.001/T1136.001.md\nauthor: '@ROxPinTeddy'\ndate: 2020-04-11\nmodified: 2022-12-25\ntags:\n    - attack.execution\n    - attack.t1059.001\n    - attack.persistence\n    - attack.t1136.001\nlogsource:\n    product: windows\n    category: ps_script\n    definition: 'Requirements: Script Block Logging must be enabled'\ndetection:\n    selection:\n        ScriptBlockText|contains: 'New-LocalUser'\n    condition: selection\nfalsepositives:\n    - Legitimate user creation\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1059.001","id":"T1059.001","name":"PowerShell","page":"techniques/enterprise/T1059.001/"},{"key":"enterprise/T1136.001","id":"T1136.001","name":"Local Account","page":"techniques/enterprise/T1136.001/"}],"data_path":"data/detection-rules/243de76f-4725-4f2e-8225-a8a69b15ad61.json","kind":"sigma"}
