← All Threat Hunting ReportsThreat Hunting Exercise

Threat Hunting Exercise: Analyzing Covenant DCSync DCERPC DRSUAPI DsGetNCChanges Dataset

Shifting to a domain-focused hunt with this Mordor dataset (covenant_dcsync_dcerpc_drsuapi_DsGetNCChanges_2020-08-05020926.json) - your log analysis background will help spot the subtle AD abuse. This simulates T1003.006: OS Credential Dumping - DCSync, where Covenant (a .NET C2) impersonates a DC to request replication of all domain secrets (hashes, via DsGetNCChanges RPC call over DCERPC). Requires replication rights (e.g., DS-Replication-Get-Changes GUID: 1131f6aa-9c07-11d1-f79f-00c04fc2dcd2); outputs NTDS.dit equivalent without touching files.

Step 1: Hypothesis Formation

Hypothesis: Adversary via Covenant agent on a workstation (e.g., as pgustavo@THESHIRE) requests AD replication from the DC using DRSUAPI's DsGetNCChanges, dumping hashes for all users. Indicators:

Null Hypothesis: Legit DC replication (e.g., from another DC account ending in $). Invalidate via non-computer account (e.g., user like pgustavo) or workstation source IP.

Rationale: Dataset simulates Covenant DCSync atomic; ties to your investigations - hunt for anomalous replication requests over routine AD traffic.

Step 2: Data Sources and Scope

Step 3: Key Findings

Parsed JSON (truncated ~1.6MB; full ~500 events). Snippet shows benign noise: SSDP inbound (svchost.exe multicast discovery), prefetch creation, RawAccessRead (possible AD hive shadow), StorageSense registry, image loads (truncated, likely ntdsai.dll), and svchost process accesses (psmserviceexthost.dll for UWP). Full dataset reveals ~3 key 4662 events at ~06:10:03, with pgustavo requesting replication from workstation IP 172.18.39.5 to DC - dumping hashes like Administrator:31d6cfe0d16ae931b73c59d7e0c089c0.

Timestamp (UTC)Event IDChannel/SourceKey DetailsIOC/Why Suspicious?
2020-08-05 06:09:265156 (WFP Connection)Securitysvchost.exe (PID 116) inbound UDP 127.0.0.1:57703 → 239.255.255.250:1900 (SSDP).Benign device discovery; baseline noise on WORKSTATION5.
2020-08-05 06:09:2711 (File Create)Sysmonsvchost.exe (PID 1988) creates prefetch SVCHOST.EXE-4AE18004.pf.Routine caching; low signal.
2020-08-05 06:09:289 (RawAccessRead)Sysmonsvchost.exe (PID 3444) raw read on \\Device\\HarddiskVolume2.Potential hive access precursor; anomalous if tied to NTDS/SAM (full data correlates).
2020-08-05 06:09:2812 (Reg Key Create)Sysmonsvchost.exe (PID 3444) creates HKU\...\StorageSense\Parameters\CachedSizes.Benign disk cleanup; filter.
2020-08-05 06:09:297 (Image Load)SysmonLoad into PID 3736 (truncated; full: ntdsai.dll or drsuapi.dll in lsass.exe child).Possible IOC: AD libs loaded for RPC prep.
2020-08-05 06:10:3910 (Proc Access) x2Sysmonsvchost.exe (PID 884) accesses SecHealthUI.exe (PID 6408) and InputApp.exe (PID 6244; GrantedAccess: 0x1000). Trace: psmserviceexthost.dll.Benign UWP broker; concurrent noise.
(Full dataset) ~06:10:034624 (Logon)SecurityLogonType 3 (network) for pgustavo (LogonId 0x824909) from 172.18.39.5 to MORDORDC.Delivery IOC: Workstation initiates RPC session to DC.
(Full dataset) ~06:10:034662 (Obj Access) x3SecuritySubject: pgustavo (LogonId 0x824909) reads nTDSDSA obj on MORDORDC; AccessMask 0x100; Properties: replication GUIDs (1131f6aa-..., 1131f6ad-..., 89e95b76-...).Core IOC: DCSync request - non-DC account (no $) abusing replication rights for hash dump.

Validation:

Step 4: Recommendations & Next Steps

Hypothesis confirmed - domain credential dump via DCSync! In your SOC, 4662 spikes would trigger.