T1590.001 CrowdStrike LogScale · LogScale

Detect Domain Properties in CrowdStrike LogScale

Adversaries may gather information about the victim's network domain(s) that can be used during targeting. Information about domains and their properties may include a variety of details, including what domain(s) the victim owns as well as administrative data (name, registrar, etc.) and more directly actionable information such as contacts, business addresses, and name servers. Adversaries gather this information via direct collection (WHOIS queries, DNS enumeration), passive data sets, or by querying publicly accessible API endpoints such as Microsoft's GetUserRealm and autodiscover APIs in Office 365/Azure environments. Tools such as AADInternals leverage these public APIs to enumerate tenant domain details, federation configuration, and company metadata — all without authenticating to the target environment.

MITRE ATT&CK

Tactic
Reconnaissance
Technique
T1590 Gather Victim Network Information
Sub-technique
T1590.001 Domain Properties
Canonical reference
https://attack.mitre.org/techniques/T1590/001/

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
(#event_simpleName=ProcessRollup2 OR #event_simpleName=SyntheticProcessRollup2 OR #event_simpleName=NetworkConnectIP4 OR #event_simpleName=NetworkConnectIP6 OR #event_simpleName=DnsRequest)
| case {
    CommandLine = /(?i)(Get-AADIntTenantDomains|Get-AADIntLoginInformation|Get-AADIntTenantDetails|Invoke-AADIntReconAsOutsider|Get-AADIntCompanyInformation|AADInternals|Get-AADIntTenantID|Get-AADIntOpenIDConfiguration|Get-AADIntTenantDomainNames)/ |
      DetectionType := "AADInternals_DomainRecon" ;
    CommandLine = /(?i)(GetUserRealm|autodiscover.*microsoft|login\.microsoftonline\.com.*userrealm)/ |
      DetectionType := "O365_API_DomainRecon" ;
    CommandLine = /(?i)(whois\.exe|Get-Whois|Invoke-Whois)/ |
      DetectionType := "WHOIS_Tool_Execution" ;
    RemotePort = 43 |
      DetectionType := "WHOIS_Protocol_Port43" ;
    DomainName = /(?i)(whois\.iana\.org|who\.is|whois\.domaintools\.com|whois\.verisign|rdap\.org|rdap\.arin\.net|rdap\.verisign\.com)/ |
      DetectionType := "WHOIS_WebService_DNS" ;
    * | drop()
}
| not ImageFileName = /(?i)(svchost\.exe$|lsass\.exe$|services\.exe$|MsMpEng\.exe$|SearchProtocolHost\.exe$)/
| table(@timestamp, ComputerName, UserName, ImageFileName, CommandLine, RemoteIP, RemotePort, DomainName, DetectionType)
| sort(@timestamp, order=desc)
medium severity high confidence

CrowdStrike Falcon LogScale (Humio) query detecting domain property reconnaissance (T1590.001) across Falcon process and network telemetry event types. Uses an ordered case branch to classify ProcessRollup2/SyntheticProcessRollup2 events by command line pattern match (AADInternals cmdlets, O365 public API patterns, WHOIS tool strings), NetworkConnectIP4/IP6 events by destination port 43, and DnsRequest events by resolution of known WHOIS or RDAP service hostnames. Events not matching any branch are dropped. Known system process image name suffixes are excluded to reduce benign noise on network and DNS branches.

Data Sources

CrowdStrike Falcon Endpoint Protection platformFalcon LogScale (Humio) — Falcon telemetry repositoryCrowdStrike Falcon Data Replicator (FDR) streaming to LogScale

Required Tables

ProcessRollup2SyntheticProcessRollup2NetworkConnectIP4NetworkConnectIP6DnsRequest

False Positives & Tuning

  • Threat intelligence or SOAR platforms that automatically enrich observables by querying WHOIS or RDAP APIs, generating DnsRequest or NetworkConnect events from automated service account processes on analyst workstations or SOAR nodes
  • IT operations staff using the AADInternals PowerShell module for authorized Azure AD license management, user provisioning audits, or tenant configuration health checks approved through the change management process
  • Browser sessions on analyst or developer workstations accessing web-based WHOIS lookup tools such as who.is or domaintools.com during routine phishing domain or IP investigation tasks, generating DNS and network events from browser processes
Download portable Sigma rule (.yml)

Other platforms for T1590.001


Testing Methodology

Validate this detection against 5 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 1AADInternals Tenant Domain Reconnaissance

    Expected signal: Sysmon Event ID 1: Process Create for powershell.exe with CommandLine containing 'Get-AADIntLoginInformation' and 'AADInternals'. PowerShell ScriptBlock Log Event ID 4104 with the full module import and command. Sysmon Event ID 3: Network connection from powershell.exe to login.microsoftonline.com (port 443). Azure AD Audit Logs may show GetUserRealm API access from the source IP.

  2. Test 2WHOIS Protocol Query via PowerShell

    Expected signal: Sysmon Event ID 1: Process Create for powershell.exe with CommandLine containing 'TcpClient' and 'whois.iana.org' and port 43. Sysmon Event ID 3: Network Connection from powershell.exe to whois.iana.org on DestinationPort 43. Security Event ID 4688 (if command line auditing enabled).

  3. Test 3Azure AD Domain List Enumeration via Graph API

    Expected signal: Sysmon Event ID 1: Process Create for az.cmd or python.exe (Azure CLI) with CommandLine containing 'graph.microsoft.com' and 'domains'. Sysmon Event ID 3: Network connection from the Azure CLI process to graph.microsoft.com on port 443. Azure AD Audit Logs: OperationName='List domains' with the initiating user, IP address, and application 'Microsoft Azure CLI'.

  4. Test 4AADInternals External Tenant Reconnaissance (Outsider Mode)

    Expected signal: Sysmon Event ID 1: Process Create for powershell.exe with CommandLine containing 'Invoke-AADIntReconAsOutsider' and 'AADInternals'. PowerShell ScriptBlock Log Event ID 4104 with the full function invocation. Multiple Sysmon Event ID 3 records: outbound HTTPS connections to login.microsoftonline.com, autodiscover.microsoft.com, and related Microsoft identity endpoints. Azure AD Audit Logs may record the GetUserRealm API calls with source IP.

  5. Test 5Bulk DNS Record Enumeration for Domain Mapping

    Expected signal: Sysmon Event ID 1: Process Create for powershell.exe with CommandLine containing 'Resolve-DnsName' and multiple DNS record types. Sysmon Event ID 22 (DNS Query): multiple DNS queries for the target domain with QueryType values MX, NS, TXT, SOA. Windows DNS Client Event Log (Microsoft-Windows-DNS-Client/Operational): corresponding DNS resolution events.

Unlock Pro Content

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

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections