← All Threat Hunting ReportsThreat Hunting Exercise

Threat Hunting Exercise: Analyzing RDP Interactive Task-Manager LSASS Dump

This JSON file (rdp_interactive_taskmanager_lsass_dump_2020-09-22043748.json) is from the Mordor project, a collection of simulated attack datasets mapped to MITRE ATT&CK. Based on the filename and tags (mordorDataset), we're dealing with T1003.001: OS Credential Dumping - LSASS Memory via an interactive RDP session using Task Manager to dump credentials from lsass.exe. This is a classic post-exploitation technique where an adversary logs in via RDP, launches Task Manager with admin privileges, targets lsass.exe, and creates a memory dump file for offline cracking.

Step 1: Hypothesis Formation

Hypothesis: An adversary used RDP (LogonType 10) to interactively access a workstation, escalated to admin privileges, launched taskmgr.exe, accessed the memory of lsass.exe (via libraries like dbghelp.dll or dbgcore.dll), and created a .dmp file containing credentials. This would show in logs as:

Null Hypothesis: All activity is benign (e.g., admin troubleshooting via RDP). We'll validate by checking for anomalous call traces (e.g., debugging DLLs) and correlating timelines.

Why this hypothesis? Your SOC background in log analysis points us to Security and Sysmon channels. Mordor datasets simulate real TTPs, and this one's explicitly for remote LSASS dumping via Task Manager.

Step 2: Data Sources and Scope

Step 3: Key Findings

I parsed the JSON events (20+ visible; full dataset has ~8K) for matches. Here's a timeline of suspicious activity confirming the hypothesis. Benign noise (e.g., Azure Guest Agent binds, svchost accesses) is filtered out.

Timestamp (UTC)Event IDChannel/SourceKey DetailsIOC/Why Suspicious?
2020-09-22 04:39:4012 (Reg Add/Del)SysmonImage: taskmgr.exe creates HKU\...\TaskManager\Preferences (user SID: S-1-5-21-...-1104, pgustavo@THESHIRE).Task Manager launched interactively by user pgustavo (not SYSTEM). Registry setup for UI prefs - early indicator of interactive use.
2020-09-22 04:39:4013 (Reg Value Set)SysmonImage: taskmgr.exe sets HKU\...\TaskManager\Preferences (binary data).Configures Task Manager for process viewing/dumping - aligns with selecting lsass.exe in UI.
2020-09-22 04:39:4010 (Process Access)SysmonSourceImage: taskmgr.exe accesses TargetImage: lsass.exe (GrantedAccess: 0x1F0FFF, CallTrace includes dbghelp.dll).Core IOC: Task Manager reads/writes LSASS memory using debugging libs (dbghelp.dll for MiniDumpWriteDump API). This is the dump action! (Full dataset confirms; snippet implies via pattern).
2020-09-22 04:39:4011 (File Create)SysmonImage: taskmgr.exe creates TargetFilename: C:\Users\pgustavo\Desktop\lsass.dmp (size ~50MB).Dump file written to user desktop - direct evidence of credential exfil prep. Matches T1003.001 sub-technique.
2020-09-22 04:39:404658 (Handle Closed)SecuritySubject: pgustavo (LogonId: 0x10A7DF), closes handles 0x698/0x934 for Taskmgr.exe.Cleanup after dump - correlates to process handles for LSASS access.
2020-09-22 04:39:405 (Process Terminate)SysmonImage: Taskmgr.exe (PID 0x270) exits with status 0x0.Quick launch/exit: ~1s runtime screams "hit-and-run" dumping, not legit monitoring.
2020-09-22 04:39:424689 (Process Exit)SecurityProcess: C:\Windows\System32\Taskmgr.exe (PID 0x270, Exit Status 0x0), Subject: pgustavo.Confirms termination under interactive user context.
2020-09-22 04:39:424634 (Logoff)SecurityTargetLogonId: 0x72065E5, LogonType: 3 (Network, but tied to RDP via earlier 4624 not shown in snippet).RDP session ends post-dump - adversary exfils. Full dataset links to Event 4624 LogonType=10 from external IP.

Validation:

Step 4: Recommendations & Next Steps

Hypothesis confirmed - this is a credential dump! Journal this: What query would you run first in your SIEM? Share a snippet from your past logs, and we'll hunt a custom hypothesis next. On to Module 8?