HackBlue

Labs / Windows event logs

Someone cleared the Security log

A domain controller cleared its Security log at 2 AM. A forwarded copy survived. Use jq on the exported events to see who cleared it and what they did just before.

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

What you’re looking at

A domain controller cleared its Security log at 2 AM. A forwarded copy survived. Use jq on the exported events to see who cleared it and what they did just before.

Your goal: Use a forwarded copy of a cleared log to show who cleared it and what they did first.

Briefing
the story: what happened and what evidence you were handed.
Terminal
the dark box. It is a pretend Linux shell 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

JSON
JavaScript Object Notation, a text format of fields and values
IP
Internet Protocol address, the number that identifies a machine on a network

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

Event 1102 means the Security log was cleared. The local log on DC01 now starts at record 1, but Windows Event Forwarding had already sent a copy to the collector. You have it as JSON lines from evtx_dump at /cases/dc01-security.jsonl.

Each line is one event. The ID is at .Event.System.EventID. Most fields live under .Event.EventData. Event 1102 keeps its fields under .Event.UserData.LogFileCleared.

analyst@ir-ws

ir-ws · Windows event logs

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