Cheat Engine
reversing memory
Cheat Engine oyun/client memory üzerinde değer ve pointer zinciri bulur. CTF “memory crackme” ve client-side trust senaryolarında da işe yarar.
Metodoloji
Section titled “Metodoloji”-
Process’e attach et; değer tipini seç (4 byte, float…).
-
Bilinen değeri tara; değiştirip next scan ile daralt.
-
Pointer scan ile stabil base+offset zinciri bul.
-
Code find / breakpoint ile yazan instruction’ı yakala.
Attach → Value Type: 4 Bytes → First ScanOyunda değeri değiştir → Next Scan (Increased/Decreased/Exact)Tek adres kalana kadar tekrarla → bellek breakpoints# Linux alternatifscanmem $(pidof game)python3 -c 'import os; fd=os.open("/proc/PID/mem",os.O_RDWR); os.lseek(fd,0xADDR,0); os.write(fd,b"\x01\x00\x00\x00")'Pointer chain
Section titled “Pointer chain”Pointer scan → max level 5 → base module+offsetYeniden açılışta zincir hâlâ geçerli mi doğrulaAOB scan: unique byte pattern → signatureCode analysis
Section titled “Code analysis”Find out what writes to this addressFind out what accesses this addressNOP / patch instruction → client-side check bypass lab# Frida ile benzerfrida -p PID -e 'Memory.scan(Process.enumerateModules()[0].base,0x100000,"48 89 ??")'Checklist
Section titled “Checklist”[ ] değer adresi bulundu[ ] pointer zinciri stabilize edildi[ ] yazan kod yakalandı[ ] patch/PoC doğrulandı