{"id":"1114e048-b69c-4f41-bc20-657245ae6e3f","title":"User Discovery And Export Via Get-ADUser Cmdlet","description":"Detects usage of the Get-ADUser cmdlet to collect user information and output it to a file","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2022-09-09","modified":"2022-11-17","tags":["attack.discovery","attack.t1033"],"technique_ids":["T1033"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate admin scripts may use the same technique, it's better to exclude specific computers or users who execute these commands or scripts often"],"references":["http://blog.talosintelligence.com/2022/09/lazarus-three-rats.html","https://www.microsoft.com/en-us/security/blog/2022/10/18/defenders-beware-a-case-for-post-ransomware-investigations/"],"source_path":"rules/windows/process_creation/proc_creation_win_powershell_user_discovery_get_aduser.yml","source_sha256":"7ffd0d4f3bf86c0dd59e138aac19f745d47e9ab14836ea71a33b629198f13635","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_powershell_user_discovery_get_aduser.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: User Discovery And Export Via Get-ADUser Cmdlet\nid: 1114e048-b69c-4f41-bc20-657245ae6e3f\nrelated:\n    - id: c2993223-6da8-4b1a-88ee-668b8bf315e9\n      type: similar\nstatus: test\ndescription: Detects usage of the Get-ADUser cmdlet to collect user information and output it to a file\nreferences:\n    - http://blog.talosintelligence.com/2022/09/lazarus-three-rats.html\n    - https://www.microsoft.com/en-us/security/blog/2022/10/18/defenders-beware-a-case-for-post-ransomware-investigations/\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-09-09\nmodified: 2022-11-17\ntags:\n    - attack.discovery\n    - attack.t1033\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith:\n              - '\\powershell.exe'\n              - '\\pwsh.exe'\n        - OriginalFileName:\n              - 'PowerShell.EXE'\n              - 'pwsh.dll'\n    selection_cli:\n        CommandLine|contains|all:\n            - 'Get-ADUser '\n            - ' -Filter \\*'\n        CommandLine|contains:\n            - ' > '\n            - ' | Select '\n            - 'Out-File'\n            - 'Set-Content'\n            - 'Add-Content'\n    condition: all of selection_*\nfalsepositives:\n    - Legitimate admin scripts may use the same technique, it's better to exclude specific computers or users who execute these commands or scripts often\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1033","id":"T1033","name":"System Owner/User Discovery","page":"techniques/enterprise/T1033/"}],"data_path":"data/detection-rules/1114e048-b69c-4f41-bc20-657245ae6e3f.json","kind":"sigma"}
