Scenario

As a cybersecurity analyst at TechSecure Corp, you are alerted to unusual activity in the company’s Active Directory environment. Initial reports suggest unauthorized access and possible privilege escalation. Your task is to analyse the provided logs to uncover the extent of the attack and identify the malicious actions taken by the attacker.

Tools used: Splunk, Event Log Explorer.

Investigation

Q1. What is the malicious file used for initial access?

Hunting for process-creation events (Sysmon Event ID 1) on the most likely target (the Office workstation), filtering for cmd/powershell images:

index=shadowroast AND "event.code"=1 AND "winlog.computer_name"="Office-PC.CORPNET.local"
AND ("winlog.event_data.Image"="*cmd*" OR "winlog.event_data.Image"="*powershell*")

Initial access process

A suspicious process stands out: AdobeUpdater.exe, run by user sanderson, with PowerShell spawned underneath it.

Answer: AdobeUpdater.exe

Q2. What is the registry Run key name created for persistence?

Pivoting to registry-modification events (Sysmon Event ID 13) and filtering for Run paths:

index=shadowroast AND "event.code"=13 AND "winlog.computer_name"="Office-PC.CORPNET.local"
AND winlog.event_data.TargetObject=*Run*

Run key persistence

A single entry comes back, tied to the malicious file, with the key name visible.

Answer: wyW5PZyF

Q3. What is the full path of the directory used to store dropped tools?

Going back to Q1, the PowerShell process tied to AdobeUpdater.exe has process ID 4780. Hunting on that PID (as process or parent):

index="shadowroast" AND event.code=1 AND winlog.computer_name=Office-PC.CORPNET.local
AND (winlog.event_data.ProcessId=4780 OR winlog.event_data.ParentProcessId=4780)

Dropped tools directory

Two entries return; one is irrelevant, the other shows Mimikatz being run from the staging directory, revealing where the attacker keeps their tooling.

Answer: C:\Users\Default\AppData\Local\Temp\

Q4. What tool was used for privilege escalation and credential harvesting?

Everything tied to the staging directory is worth hunting:

index="shadowroast" AND event.code=1 AND winlog.computer_name=Office-PC.CORPNET.local
AND "winlog.event_data.CurrentDirectory"="C:\\Users\\Default\\AppData\\Local\\Temp\\"

(The path is double-escaped because of the SPL syntax.)

Rubeus and Mimikatz

Two tools show up: Mimikatz, and Rubeus hiding under the name BackupUtility.exe. Rubeus was used for an AS-REP Roasting attack, targeting accounts with Kerberos pre-authentication disabled to extract crackable hashes. The attacker then ran Mimikatz (as DefragTool.exe) under a different parent user, confirming a second compromised account, CORPNET\tcooper, in addition to the earlier CORPNET\sanderson.

Answer: Rubeus

Q5. Was credential harvesting successful? If so, which domain account was compromised?

As seen in Q4, the second compromised account is tcooper.

Answer: tcooper

Q6. What tool registered a rogue Domain Controller to manipulate AD data?

Registering a rogue DC is the DCShadow technique (a Mimikatz capability). AD schema/object changes are logged under Event ID 4929:

index="shadowroast" AND event.code=4929

DCShadow event 4929

The log confirms Mimikatz behind the rogue DC registration.

Answer: mimikatz

Q7. What is the first command used to enable RDP for lateral movement?

Enabling RDP means setting the registry value fDenyTSConnections to 0. Hunting command lines for it:

index="shadowroast" AND event.code=1 AND winlog.event_data.CommandLine=*fDenyTSConnections*

Enable RDP command

It was executed on DC01 and the file server, consistent with lateral movement.

Answer:

regadd"hklm\system\currentcontrolset\control\terminalserver"/ffDenyTSConnections/tREG_DWORD/d0

Q8. What is the name of the archive created after compressing confidential files?

Searching the file server for file-creation events (Sysmon Event ID 11) with archive extensions:

index="shadowroast" AND winlog.computer_name=FileServer.CORPNET.local AND event.code=11
AND (winlog.event_data.TargetFilename=*.zip OR winlog.event_data.TargetFilename=*.7z OR winlog.event_data.TargetFilename=*.rar)

Compressed archive

The log shows the archive name.

Answer: CrashDump.zip

Indicators of compromise (IOC)

TypeValue
Initial access binaryAdobeUpdater.exe
Persistence Run keywyW5PZyF
Tool staging directoryC:\Users\Default\AppData\Local\Temp\
Rubeus (masqueraded)BackupUtility.exe
Mimikatz (masqueraded)DefragTool.exe
Compromised accountssanderson, tcooper
Exfil archiveCrashDump.zip

MITRE ATT&CK mapping

TacticTechniqueID
ExecutionUser Execution: Malicious FileT1204.002
PersistenceRegistry Run Keys / Startup FolderT1547.001
Defense EvasionMasquerading: Rename System UtilitiesT1036.005
Credential AccessSteal or Forge Kerberos Tickets: AS-REP RoastingT1558.004
Credential AccessOS Credential Dumping: LSASS MemoryT1003.001
Defense EvasionRogue Domain Controller (DCShadow)T1207
Lateral MovementRemote Services: RDPT1021.001
CollectionArchive Collected DataT1560.001

References

  • CyberDefenders — ShadowRoast challenge
  • MITRE ATT&CK — T1558.004 (AS-REP Roasting), T1207 (Rogue Domain Controller), T1560.001 (Archive Collected Data)