{"id":"36bed6b2-e9a0-4fff-beeb-413a92b86138","title":"Active Directory Computers Enumeration With Get-AdComputer","description":"Detects usage of the \"Get-AdComputer\" to enumerate Computers or properties within Active Directory.","author":"frack113","status":"test","level":"low","date":"2022-03-17","modified":"2023-07-08","tags":["attack.discovery","attack.t1018","attack.t1087.002"],"technique_ids":["T1018","T1087.002"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Unknown"],"references":["https://learn.microsoft.com/en-us/powershell/module/activedirectory/get-adcomputer","https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1018/T1018.md","https://github.com/redcanaryco/atomic-red-team/blob/02cb591f75064ffe1e0df9ac3ed5972a2e491c97/atomics/T1087.002/T1087.002.md"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_get_adcomputer.yml","source_sha256":"8abff1b3dcceec9dc0cf92f18247cafc1ed140f1959b5e0e6ca87b36f7118955","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_get_adcomputer.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Active Directory Computers Enumeration With Get-AdComputer\nid: 36bed6b2-e9a0-4fff-beeb-413a92b86138\nstatus: test\ndescription: Detects usage of the \"Get-AdComputer\" to enumerate Computers or properties within Active Directory.\nreferences:\n    - https://learn.microsoft.com/en-us/powershell/module/activedirectory/get-adcomputer\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1018/T1018.md\n    - https://github.com/redcanaryco/atomic-red-team/blob/02cb591f75064ffe1e0df9ac3ed5972a2e491c97/atomics/T1087.002/T1087.002.md\nauthor: frack113\ndate: 2022-03-17\nmodified: 2023-07-08\ntags:\n    - attack.discovery\n    - attack.t1018\n    - attack.t1087.002\nlogsource:\n    product: windows\n    category: ps_script\n    definition: 'Requirements: Script Block Logging must be enabled'\ndetection:\n    selection_cmdlet:\n        ScriptBlockText|contains: 'Get-AdComputer '\n    selection_option:\n        ScriptBlockText|contains:\n            - '-Filter '\n            - '-LDAPFilter '\n            - '-Properties '\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: low\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1018","id":"T1018","name":"Remote System Discovery","page":"techniques/enterprise/T1018/"},{"key":"enterprise/T1087.002","id":"T1087.002","name":"Domain Account","page":"techniques/enterprise/T1087.002/"}],"data_path":"data/detection-rules/36bed6b2-e9a0-4fff-beeb-413a92b86138.json","kind":"sigma"}
