Memory image: hidden process
The SamSU SOC team acquired a physical memory image from a compromised server: memory.dmp. A rootkit is suspected: it unlinked its process from the ActiveProcessLinks list, so a regular pslist does not show it. The service key inside the process is stored in chunks in memory. Volatility does not recognize this simplified format, so you will analyze the structure yourself.
Format (all little-endian): at the start of the image 'SMEMDUMP' | u32 versiya | u32 tasvir hajmi | u32 active_head (offset of the first EPROCESS in the image) | u32 0x1000.
| EPROCESS (0x60 bytes) | Field |
|---|---|
+00 | pool tegi 'Proc' |
+04 / +08 | u32 pid / u32 ppid |
+0C | char[16] jarayon nomi (NUL bilan to'ldirilgan) |
+1C / +20 | u32 flink / u32 blink: ActiveProcessLinks (tasvir offseti, 0 = ro'yxat oxiri) |
+24 / +2C | u64 create_time / u64 exit_time (0 = jarayon hali ishlayapti) |
+34 / +38 | u32 vad_table (offset) / u32 vad_count |
+3C | u32 cfg_head: konfiguratsiya zanjirining birinchi tuguni (VIRTUAL manzil) |
VAD entry (16 bytes): u32 vstart | u32 size | u32 phys | u32 prot — physical offset phys + (va - vstart) for virtual address va. Each process has its own VAD table (virtual addresses are identical across processes, while physical locations differ!).
The configuration chain resides in the process heap. Node: u32 next (virtual address of the next node, 0 = end) | u16 len (string byte length) | u16 flags (bit0 = node BUSY) | len bytes of UTF-16LE text. Freed (flags bit0 = 0) nodes contain old, no longer valid data.
Task: find the unlinked process that is still RUNNING (exit_time = 0); concatenating the text of the busy nodes in its chain in chain order produces the flag: BAYROQ{PROCESS_DUMP_SATRLAR_xxxxxxxxxxxxxxxx} (the last 16 characters are lowercase hex). Be careful: a 'Proc' tag is not always a real EPROCESS; the image also contains many similar strings from other processes.