A simple, universal opcode pattern scanner for Windows processes (PEs). Easily search for specific opcode byte patterns in the memory of running processes.
- 🔍 Scan any running Windows process for custom opcode patterns
- 🧩 Supports searching by process name or PID
- 🛡️ Optionally check for a preceding byte pattern
- 📦 Module-aware: shows module name and offset for each match
- 🐍 Written in pure Python, leverages
ctypesandpsutil - 🔍 Use in combination with x64dbg, Cheat Engine etc. to reliably find dynamic Offsets
- Windows OS
- Python 3.7+
- psutil
Install dependencies:
pip install psutilpython opcode-scanner.py -n <process_name> -o "<opcode_pattern>"or
python opcode-scanner.py -p <pid> -o "<opcode_pattern>"-n, --name: Target process name (e.g.notepad.exe)-p, --pid: Target process PID-o, --opcode: Opcode pattern to search for (hex, e.g."F3 0F 11 0C 98")-b, --before: (Optional) Preceding pattern to check (hex, e.g."F3 0F 58 C8")
python opcode-scanner.py -n notepad.exe -o "F3 0F 11 0C 98"- Lists all found addresses with module name and offset
- Marks matches with preceding pattern
- Requires appropriate permissions to read process memory.
Created for quick and easy opcode pattern scanning on Windows.
Enjoy scanning! 🚦