From an HTA link to domain discovery
Link Sysmon process events by ProcessGuid to rebuild a chain: Outlook, mshta, a hidden PowerShell, and four discovery commands. Separate it from a management agent’s PowerShell.
What you’re looking at
Link Sysmon process events by ProcessGuid to rebuild a chain: Outlook, mshta, a hidden PowerShell, and four discovery commands. Separate it from a management agent’s PowerShell.
Your goal: Link Sysmon process events by their GUID to rebuild a chain from an email link to domain discovery.
- Briefing
- the story: what happened and what evidence you were handed.
- Terminal
- the dark box. It is a pretend PowerShell window that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
- Walkthrough
- the numbered path. Each step says what to type and what you should see. Hints open one at a time.
- Answer boxes
- under each question step. Type what you found and press Check.
Words you will meet
- HTA
- HTML Application, a Windows file that runs script outside the browser
- GUID
- globally unique identifier, a long ID number
- HTML
- the language web pages are written in
Start with step 1 in the walkthrough. Every step says what to do and what you should see. The whole thing takes about 2 min to talk through.
Briefing
Process IDs get reused, ProcessGuid does not. Each Sysmon event 1 carries the new process’s ProcessGuid and its parent’s ParentProcessGuid, so you can rebuild a tree with no guesswork.
An alert fired for net group "Domain Admins" on l.moreau’s laptop. Work back from it.
LT-LMOREAU · Sysmon triage
Type help for the command list and objectives for your tasks. Everything runs in this browser.
Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.
The whole walkthrough
Every step in order, written to be read aloud: 247 words, about 2 min. It gives away every answer, so try the steps first.