Start this hobby
Your first practical checklist
Buy or borrow
A computer that can run a virtual machine. Analyse unfamiliar programs inside a virtual machine, so a reasonably modern computer with 8GB of memory is helpful
First 30 minutes
Write a tiny C program that checks a password, compile it and note what it does when you run it normally.
First week goal
Download one beginner-rated crackme, work out its check without patching it, and write up how you did it.
Avoid this mistake
Trying to understand every instruction wastes hours, so find the interesting part, such as an input check, a string or a function call, and follow that.
Is this for me?
A quick fit check
Good signs
- You like working out how something works from the outside and are patient with detail.
- You are curious how code becomes what the processor actually executes, and you're happy to learn some assembly.
- You enjoy puzzles that reward systematic note-taking and gradual progress.
Think twice if
- Reading assembly is slow and unfamiliar at first, and the first few weeks can feel like very little progress.
- The law and licences limit what you may study: many software licences forbid it, and UK law allows decompiling only in narrow circumstances.
- Real-world targets like malware are risky to handle, so as a beginner you are mostly limited to practice programs.
Make reverse engineering practice easier
Work first with programs you compile yourself in C, so you know what the source was and can compare it with what the disassembler shows, before moving to crackmes made by other people.
First session
What to do in the first 30 minutes
Compile a ten-line C program that asks for a number and prints 'correct' or 'wrong', and run it a few times.
Load the compiled file into a free disassembler inside a virtual machine, let it analyse, and find the main function.
Look for the comparison instruction (cmp) followed by a conditional jump, and work out which number your input is being compared with.
Run the program with that number to confirm, and write down which instructions gave you the answer.
The appeal · Digital practice
Why try reverse engineering practice?
Reverse engineering practice means studying a finished program, with no source code, to work out how it behaves by reading its machine code in a disassembler or decompiler and stepping through it in a debugger. It is the technical core of some capture the flag challenges and of malware analysis, but as a hobby it is usually done on 'crackme' puzzles and programs you compile yourself, which is different from breaking licences on commercial software. Beginners move from their own small programs to crackmes, then bigger programs and other processor types, and may later specialise in malware analysis, firmware or old games.
Understanding what programs do
You see how loops, conditions and function calls in high-level code look at machine level.
A skill that supports security and debugging
The same reading skill is used in malware analysis, vulnerability research and debugging when the source code isn't available.
Self-contained puzzles
Each crackme has a clear point at which you've solved it, so there is always a next small goal.
Keep it simple
What you need to begin
- A computer that can run a virtual machineAnalyse unfamiliar programs inside a virtual machine, so a reasonably modern computer with 8GB of memory is helpful
- A free disassembler or decompiler and a debuggerSeveral capable free tools exist, including Ghidra; pick one and learn it properly before trying others
- Small practice programsWrite short C programs and compile them yourself, then move to crackmes made for learners with clear difficulty ratings
- A beginner reference for assembly languageA library book or free online tutorial for x86-64 or ARM, plus a cheat-sheet of registers and common instructions
The fundamentals
Four skills to build
Reading assembly
Understanding registers, the stack and common instructions lets you follow what the processor does, and it is the foundation for everything else.
Static analysis
Using a disassembler or decompiler to read a program without running it, labelling functions and variables as you work them out.
Dynamic analysis with a debugger
Setting breakpoints and stepping through a running program to watch values change shows what the code really does.
Recognising compiler patterns
Spotting how compilers turn loops, strings and function calls into machine code lets you read bigger programs faster.
Four small steps
Your first week
- Write a tiny C program that checks a password, compile it and note what it does when you run it normally.
- Install a free disassembler inside a virtual machine, load your program and find the main function and the password string.
- Learn the basic x86-64 instructions (mov, cmp, jmp, call) and trace your own program's password check through the disassembly.
- Download one beginner-rated crackme, work out its check without patching it, and write up how you did it.
The longer path
How progress usually looks
For reverse engineering practice, a sustainable rhythm is two or three sessions of about an hour a week, ideally with a regular short slot for reading assembly. Move forward when the current step feels repeatable, not merely possible once.
Reading your own programs
You can find main and follow simple conditions and loops in the disassembly of programs you wrote.
Beginner crackmes
You solve easy crackmes using a disassembler and debugger and keep notes on what you found.
Bigger programs and other formats
You work through larger binaries, deal with packed or obfuscated code and try other platforms such as ARM, Java or .NET programs.
Applied analysis
You use the skill on CTF binaries, analyse safe malware samples in a locked-down lab, or study file formats and older games.
Progress markers
What improvement looks like
You can find main and follow simple conditions and loops in the disassembly of programs you wrote.
You work through larger binaries, deal with packed or obfuscated code and try other platforms such as ARM, Java or .NET programs.
You use the skill on CTF binaries, analyse safe malware samples in a locked-down lab, or study file formats and older games.
Spend deliberately
A realistic cost plan
The headline starting range is Free–£40 (a book is optional), but access, borrowing and second-hand equipment can change that substantially.
Learn with other people
Community and safety
Finding your people
Online reverse engineering forums, CTF teams and university cyber societies are the main places to find others, and many crackme sites have solution write-ups. Security meet-ups and hackspaces in the UK sometimes run beginner workshops.
Safety note
Never run unknown programs or malware on your main computer: use a virtual machine without shared folders and take a snapshot you can restore. Study only software you own, programs written for practice or software whose licence permits it, because breaking copy protection or sharing cracks can infringe copyright.
Three common beginner mistakes
- Trying to understand every instruction wastes hours, so find the interesting part, such as an input check, a string or a function call, and follow that.
- Leaving everything as raw addresses in the disassembler makes it unreadable, so rename functions and variables as you work them out.
- Patching a program before you understand it teaches little, so first explain the check in your own words, then confirm it with the debugger.
Good to know
One tip worth keeping
The classic mistake is jumping straight to a famous, difficult program and giving up in a sea of assembly. Start with your own tiny programs where you already know the answer, and never run unknown programs or malware samples outside a virtual machine with no shared folders.
Before you begin
Common questions
Is reverse engineering legal in the UK?+
Studying your own code, practice crackmes and openly licensed software is fine. Decompiling other software is allowed only in limited cases and many licences forbid it, so check first and never share cracks.
Do I need to know assembly first?+
Not before you start, because you learn it as you go. Writing small C programs and looking at their assembly is a gentle way in.
What is a crackme?+
A small program written as a puzzle, where you work out the password or logic to reach a success message. They are made for practice and usually rated by difficulty.
What is the difference between a disassembler and a decompiler?+
A disassembler shows machine code as assembly instructions. A decompiler tries to turn it back into C-like code, which is easier to read but not always accurate.
How long does it take to get good?+
Reading simple programs takes a few weeks of regular practice, but fluency with real software takes much longer. The skill builds gradually.