tìm flag dạng: bitctf{....} mô tả: Lumon's off-boo...

Tạo vào: 19 tháng 6, 2026

Trả lời bằng GPT-5.5 bởi Chat01

Câu hỏi

lumon_overtime.mem

tìm flag dạng: bitctf{....}
mô tả: Lumon's off-books data wing left behind one unstable memory capture from a quarantined workstation. Reconstruct the incident and recover what the intruder failed to scrub.

Suy nghĩ

bash -lc python3 - <<'PY' import re,base64,hmac,hashlib s=open('/mnt/data/lumon_overtime.mem').read(); ct=base64.b64decode(re.search(r'OT_STAGE1::(\S+)',s).group(1)); st2=bytes.fromhex(re.search(r'OT_STAGE2::(\S+)',s).group(1)); st3=base64.b64decode(re.search(r'OT_STAGE3::(\S+)',s).group(1)) for key in [st2,st2[:32],st2[-32:],b'kelp-and-lanterns',b'MIND-FLAYER-OTC']: for data in [ct,st2,ct+st2,st2+ct]: if hmac.new(key,data,hashlib.sha1).digest()==st3: print('hmac match') if hashlib.sha1(key+data).digest()==st3: print('sha1 match') PY

Thought for 5m 34s

Trả lời

Mình chưa recover được flag chắc chắn từ dump này.

Đã kiểm tra:

  • Không có bitctf{...} plaintext trong file.
  • OT_STAGE1 là base64 → 175 bytes entropy cao.
  • OT_STAGE2 là 44 bytes hex.
  • OT_STAGE3 là 20 bytes base64, giống digest/tag.
  • Thử XOR, AES CBC/CTR/GCM, ChaCha20/Poly1305 với các key/nonce từ fragment và clue (kelp-and-lanterns, MIND-FLAYER-OTC, Lumon\Overtime) nhưng chưa ra plaintext hợp lệ.

Khả năng cao challenge cần một bước custom từ 95 dòng SHA-256/telemetry để sinh keystream hoặc key.

Chia sẻ Q&A này