Professional Documents
Culture Documents
LyThuyet 2-RE
LyThuyet 2-RE
Reverse engineering
What Is Reverse Engineering?
Phân tích mã nguồn của các phần mềm
hoặc các tập tin nhị phân để hiểu cách chúng hoạt động
và có thể sửa đổi chúng.
x
01
Number and Logical Operation in
Computer
Numeral Systems
Base 10: 23
Base 2: 10111b
Base 16: 17h
not 10111 = ?
10111 xor 00111 = ?
10111 and 00111 = ?
10111 or 00111 = ?
02
404 NOT
FOUND
101 ASM
Registers – Instructions - Flags
Registers – Thanh ghi
● RAX EAX AX AH AL – accumulator.
● RBX EBX BX BH BL – base.
● RCX ECX CX CH CL – counter.
● RDX EDX DX DH DL – data.
● RSI ESI SI - source index
● RDI EDI DI - destination index
● RSP ESP SP - stack pointer.
● RBP EBP BP - base pointer.
● R8 R8D R8W R8B (R8 to R15) – extra register.
Instructions – Chỉ thị
Windows Linux
Calling convention - quy ước gọi hàm
Source C (x64)
Windows Linux
Calling convention - quy ước gọi hàm
Windows x64 Calling Convention Linux x64 Calling Convention
03
IDA Pro
https://github.com/zxcat14/ida-pro/releases