2023-07-08 18:02:06 +02:00
|
|
|
title: Active Directory Computers Enumeration With Get-AdComputer
|
2022-03-17 16:48:41 +01:00
|
|
|
id: 36bed6b2-e9a0-4fff-beeb-413a92b86138
|
2024-06-03 10:29:22 +02:00
|
|
|
status: test
|
2023-07-08 18:02:06 +02:00
|
|
|
description: Detects usage of the "Get-AdComputer" to enumerate Computers or properties within Active Directory.
|
2022-03-17 16:48:41 +01:00
|
|
|
references:
|
2023-07-08 18:02:06 +02:00
|
|
|
- https://learn.microsoft.com/en-us/powershell/module/activedirectory/get-adcomputer
|
2022-07-11 14:11:53 +01:00
|
|
|
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1018/T1018.md
|
2023-07-08 18:02:06 +02:00
|
|
|
- https://github.com/redcanaryco/atomic-red-team/blob/02cb591f75064ffe1e0df9ac3ed5972a2e491c97/atomics/T1087.002/T1087.002.md
|
2022-10-26 09:43:39 +02:00
|
|
|
author: frack113
|
2024-08-12 12:02:50 +02:00
|
|
|
date: 2022-03-17
|
|
|
|
|
modified: 2023-07-08
|
2022-10-26 09:43:39 +02:00
|
|
|
tags:
|
|
|
|
|
- attack.discovery
|
|
|
|
|
- attack.t1018
|
2023-07-08 18:02:06 +02:00
|
|
|
- attack.t1087.002
|
2022-03-17 16:48:41 +01:00
|
|
|
logsource:
|
|
|
|
|
product: windows
|
|
|
|
|
category: ps_script
|
2023-01-04 17:49:32 +01:00
|
|
|
definition: 'Requirements: Script Block Logging must be enabled'
|
2022-03-17 16:48:41 +01:00
|
|
|
detection:
|
2023-07-08 18:02:06 +02:00
|
|
|
selection_cmdlet:
|
|
|
|
|
ScriptBlockText|contains: 'Get-AdComputer '
|
|
|
|
|
selection_option:
|
|
|
|
|
ScriptBlockText|contains:
|
|
|
|
|
- '-Filter '
|
|
|
|
|
- '-LDAPFilter '
|
|
|
|
|
- '-Properties '
|
|
|
|
|
condition: all of selection_*
|
2022-03-17 16:48:41 +01:00
|
|
|
falsepositives:
|
|
|
|
|
- Unknown
|
|
|
|
|
level: low
|