Possible User Enumeration And Export Through Get-ADUser Cmdlet (via process_creation)

This rule detects use of the Get-ADUser cmdlet to collect user information and output it to a file

SigmamediumWindowsv1
sigma
title: Possible User Enumeration And Export Through Get-ADUser Cmdlet (via process_creation)
id: a50a43d4-e83f-5f55-b339-93fd3ed3d92c
status: stable
description: This rule detects use of the Get-ADUser cmdlet to collect user information and output it to a file
references:
    - https://attack.mitre.org/techniques/T1033/
    - 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/
author: Huntrule Team
date: 2026-05-10
tags:
    - attack.discovery
    - attack.t1033
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith:
              - '\powershell.exe'
              - '\pwsh.exe'
        - OriginalFileName:
              - 'PowerShell.EXE'
              - 'pwsh.dll'
    selection_cli:
        CommandLine|contains|all:
            - 'Get-ADUser '
            - ' -Filter \*'
        CommandLine|contains:
            - ' > '
            - ' | Select '
            - 'Out-File'
            - 'Set-Content'
            - 'Add-Content'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.