T1201 CrowdStrike LogScale · LogScale

Detect Password Policy Discovery in CrowdStrike LogScale

Adversaries may attempt to access detailed information about the password policy used within an enterprise network or cloud environment. Password policies enforce complexity requirements that make passwords harder to guess or crack through brute force. By discovering lockout thresholds, minimum length, and complexity rules, adversaries can tailor dictionary and brute force attacks to comply with the policy — maximizing credential testing while avoiding account lockout. Discovery occurs via command-line utilities (net accounts, Get-ADDefaultDomainPasswordPolicy, chage, pwpolicy), cloud APIs (AWS GetAccountPasswordPolicy), and network device CLIs. This technique is commonly observed in the early reconnaissance phase of intrusions by groups including OilRig, Turla, and Chimera.

MITRE ATT&CK

Tactic
Discovery
Technique
T1201 Password Policy Discovery
Canonical reference
https://attack.mitre.org/techniques/T1201/

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
#repo=base_sensor #event_simpleName=ProcessRollup2
| FileName = /(?i)(net\.exe|net1\.exe|powershell\.exe|pwsh\.exe|chage|pwpolicy)$/
| CommandLine = /(?i)(accounts|Get-ADDefaultDomainPasswordPolicy|Get-ADFineGrainedPasswordPolicy|Get-ADFineGrainedPasswordPolicySubject|Get-PassPol|NtdsAudit|--pass-pol|--password-policy|getaccountpolicies)/
| case {
    FileName = /(?i)(net\.exe|net1\.exe)/ AND CommandLine = /(?i)accounts/ | DiscoveryMethod := "net accounts" ;
    CommandLine = /(?i)Get-ADDefaultDomainPasswordPolicy/ | DiscoveryMethod := "PowerShell AD Cmdlet" ;
    CommandLine = /(?i)Get-ADFineGrainedPasswordPolicy/ | DiscoveryMethod := "PowerShell AD Fine-Grained Cmdlet" ;
    CommandLine = /(?i)Get-PassPol/ | DiscoveryMethod := "PoshC2 Get-PassPol" ;
    CommandLine = /(?i)NtdsAudit/ | DiscoveryMethod := "NtdsAudit Utility" ;
    CommandLine = /(?i)(--pass-pol|--password-policy)/ | DiscoveryMethod := "CrackMapExec-style" ;
    FileName = /(?i)chage/ AND CommandLine = /(?i)(-l\b|--list)/ | DiscoveryMethod := "Linux chage" ;
    FileName = /(?i)pwpolicy/ AND CommandLine = /(?i)getaccountpolicies/ | DiscoveryMethod := "macOS pwpolicy" ;
    * | DiscoveryMethod := "Other"
  }
| IsDomainQuery := if(CommandLine = /(?i)(/domain|Get-ADDefaultDomainPasswordPolicy|Get-ADFineGrainedPasswordPolicy)/, "true", "false")
| table([_timeutc, ComputerName, UserName, FileName, CommandLine, ParentBaseFileName, DiscoveryMethod, IsDomainQuery])
| sort(field=_timeutc, order=desc)
medium severity high confidence

CrowdStrike LogScale (Falcon SIEM) query detecting T1201 Password Policy Discovery using ProcessRollup2 events. Identifies net accounts, PowerShell AD password policy cmdlets, NtdsAudit, CrackMapExec flags, Linux chage, and macOS pwpolicy commands with discovery method classification.

Data Sources

CrowdStrike Falcon Endpoint sensor (ProcessRollup2 events)Falcon Data Replicator (FDR)

Required Tables

base_sensor ProcessRollup2

False Positives & Tuning

  • IT administrators or help desk staff using 'net accounts' to verify lockout threshold settings after user lockout incidents
  • Automated compliance scanning tools running PowerShell AD cmdlets to export policy configuration for audit reports
  • Red team or penetration testing activity on systems designated for authorized security assessments
Download portable Sigma rule (.yml)

Other platforms for T1201


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Local Password Policy Discovery via net accounts

    Expected signal: Sysmon Event ID 1: Process Create with Image ending in net.exe or net1.exe, CommandLine='net accounts'. Security Event ID 4688 (if command line auditing is enabled) with same details. Parent process will be cmd.exe or the calling shell.

  2. Test 2Domain Password Policy Discovery via net accounts /domain

    Expected signal: Sysmon Event ID 1: Process Create with Image=net.exe, CommandLine='net accounts /domain'. Net.exe internally calls net1.exe which also generates a process creation event. The query contacts the PDC emulator — Sysmon Event ID 3 (Network Connect) may show a connection to the DC on port 445 or 135.

  3. Test 3Domain Password Policy via PowerShell Get-ADDefaultDomainPasswordPolicy

    Expected signal: Sysmon Event ID 1: Process Create with Image=powershell.exe, CommandLine containing 'Get-ADDefaultDomainPasswordPolicy'. PowerShell ScriptBlock Log Event ID 4104 capturing the full command. Sysmon Event ID 7 (Image Load) may show Microsoft.ActiveDirectory.Management.dll being loaded.

  4. Test 4Linux Password Policy Discovery via PAM configuration

    Expected signal: On systems with auditd: syscall audit records for openat()/read() on /etc/security/pwquality.conf and /etc/pam.d/common-password (auditd rule: -w /etc/pam.d/ -p r -k pam_policy_read). Process creation event for chage with -l argument. On MDE Linux agent: DeviceProcessEvents event for chage with ProcessCommandLine containing '-l'.

Unlock Pro Content

Get the full detection package for T1201 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections