Room: SOC shift
Room scenario. The evening shift ended, and before leaving the analyst left the exports he had ordered: Sysmon and Security logs from the hosts of the corporate domain (CORP) and traffic taken from the DNS resolver segment. In the morning an alert came in about suspicious activity connected with an accountant. You will close out the incident.
Archive soc_shift.zip: sysmon.jsonl (EventID 1, 3, 11, 22; each line is one event, inside EventData there are LogonId, CommandLine, ...), security.jsonl (4624 — TargetLogonId, LogonType, IpAddress; 4688), dns.pcap and a short smena_qaydlari.txt. Hosts: WS01 10.30.1.21 (accounting), SRV02 10.30.1.52, DC01 10.30.1.10, WS07, SRV05, ADMIN-PC (the administrators' workstation). All times are UTC. Do not run anything — the scripts are read-only.
Answers to the questions are not submitted — they point the way; each step builds on the previous one:
- Task 1. Moving from WS01 to SRV02: among the LogonType 3 logons on SRV02, find the one where the source
IpAddress= WS01, which appeared after the document processes on WS01 and which is not the user's own account. Which account is it? What is theTargetLogonIdon SRV02? - Task 2. Look at the processes that ran on SRV02 under that
LogonId(Sysmon 1LogonId). How did they move on to DC01? Find the matching LogonType 10 logon on DC01 (IpAddress= SRV02) and its newLogonId. - Task 3. Pick out the
powershell -Enccommand started under exactly thatLogonIdon DC01. Note: DC01 also has other-Enccommands (a scheduled task, the administrator's own RDP session) — take the one that fits the chain. In base64 PowerShell it is UTF-16LE. What does the script do: which domain, session identifier, number of fragments, key? - Task 4. Collect the TXT responses requested by the script from
dns.pcap(the fragment number is in thei.sid.domenname; responses may be split into several text strings, and some queries may be repeated). Queries with a differentsidbelong to another session. - Task 5. Join the fragments in order, base64-decode them and decrypt with RC4 using the key from the script. The
BAYROQ{...}inside is the final answer (the last 16 characters are lowercase hex).
Flag format: BAYROQ{...}.