HackBlue

Labs / Sysmon triage

A telemetry task that is not from Office

Trace a VBScript from a zipped invoice through Sysmon process events to the scheduled task it created. Name the task, its interval, and the script it keeps re-running.

  • Terminal mission
  • Intermediate
  • 3 objectives
  • 0 of 3 solved

What you’re looking at

Trace a VBScript from a zipped invoice through Sysmon process events to the scheduled task it created. Name the task, its interval, and the script it keeps re-running.

Your goal: Trace a VBScript from a zipped invoice to the scheduled task that keeps it running.

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.

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

b.ortiz opened an invoice zip from email on Mar 11. Nothing seemed to happen, so she deleted it. The script inside did not need to stay in the zip.

schtasks /create /sc minute /mo N runs a task every N minutes. /tn is the task name, and attackers often hide it under \Microsoft\ to look built in.

PowerShell · WKS-0431

WKS-0431 · 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: 232 words, about 2 min. It gives away every answer, so try the steps first.