Detecting Kerberoasting: DC log
Defence exercise. As a SOC analyst, you received a three-day Security log (dc01_security.csv) of the samsu.local domain controller DC01 and a service account inventory (service_accounts.csv) — all inside kerberos_detection.zip. The SIEM 'Kerberoasting' rule triggers frequently, but most of them are false positives. Your job is to identify the real incident and prove its impact. No password cracking, ticket analysis, or attack tools are needed — only log correlation.
Log columns. EventID: 4768 (TGT request), 4769 (service ticket, TGS), 4771 (Kerberos pre-authentication failure), 4624 (logon; LogonType 3 = network), 4672 (special privileges; TargetLogonId links to that logon). TicketEncryptionType: 0x12 = AES256, 0x17 = RC4-HMAC; 0xffffffff with Status 0xe — KDC could not support the requested encryption type (the account does not support RC4). In 4769, ServiceName is the service account name, and TargetUserName is the requester.
Inventory. msDS-SupportedEncryptionTypes: 4 = RC4 only (legacy applications), 24 = AES only, 28 = RC4 and AES. Normally, for such a service, the client requests AES; RC4 is only natural for legacy (4) accounts.
Task 1. Find 'bursts' where RC4 was requested for at least 5 different services from a single client (TargetUserName + IP) within a short time (2 minutes). There are several candidates: a backup agent, an authorized vulnerability scanner, and one more.
Task 2. Distinguish the candidates. Which one also requested RC4 for accounts that support AES? Which one recurs, and which one occurs once?
Task 3. After the real burst, there was a successful network logon (4624, Type 3) from that IP address with one of the requested accounts, immediately followed by privileges assigned with 4672. Find that account (other accounts logged on before the burst, from a different IP, or failed).
Task 4 — Flag. In the inventory, this account has a base64 string after ref: in its Description field (other accounts also have such entries). Decode it. Flag format: BAYROQ{...} (the last 16 characters are lowercase hexadecimal digits).