← Back to Writeups
CUSTOMEasyForensics

Системный лог (System Log)

XESXOR9/2/20261 min read
#forensics#custom#easy#ascii_decoding#pml_analysis#string_extraction#linux

Системный лог (System Log)

Platform: hackerlab | Category: Forensics | Type: Challenge | Difficulty: Easy | OS: Linux | Author: XESXOR | Date: 2026-01-06 | Status: Solved Techniques: ascii_decoding, pml_analysis, string_extraction

Summary

Task: Analyze a system log file to find suspicious activity. Solution: Identified PML (Process Monitor Log) format, extracted strings, and decoded ASCII codes from a suspicious filename to reveal the flag.

Системный лог (System Log) — HackerLab

Description

Не так давно у меня на рабочем ПК стали происходить странные вещи, как будто кто-то ещё пользуется компьютером и создаёт файлы. Может быть ты сможешь разобраться что не так?

Files: syslog.zip → task.PML

Analysis

File Identification

bash
$ xxd task.PML | head -5
00000000: 504d 4c5f 0900 0000 0000 0000 0000 0000  PML_............

Signature PML_ = Process Monitor Log (Sysinternals).

String Extraction

bash
$ strings task.PML | grep -i desktop
C:\Users\trager\Desktop\67 79 68 69 66 89 123 109 52 108 49 99 105 48 117 115 95 102 49 108 51 95 99 114 101 97 116 51 100 125.txt

‍​‌‌​​​​‌​‌‌​​‌‌​​‌‌​​‌‌​​‌‌​​‌​​​​‌‌​​​​​‌‌​​‌‌​​‌‌​​‌​‌​‌‌​​‌​‌‍

The filename is a sequence of ASCII codes.

Solution

python
#!/usr/bin/env python3
ascii_codes = [67, 79, 68, 69, 66, 89, 123, 109, 52, 108, 49, 99, 
               105, 48, 117, 115, 95, 102, 49, 108, 51, 95, 99, 
               114, 101, 97, 116, 51, 100, 125]

flag = ''.join(chr(c) for c in ascii_codes)
print(flag)  # CODEBY{REDACTED}

‍​‌‌​​​​‌​‌‌​​‌‌​​‌‌​​‌‌​​‌‌​​‌​​​​‌‌​​​​​‌‌​​‌‌​​‌‌​​‌​‌​‌‌​​‌​‌‍