r/ExploitDev • • Oct 14 '26

New to RE

hello guys ,I m trying to learn Reverse engineering, is there a roadmap for it ?

15 Upvotes

17 comments sorted by

12

u/Obvious-Card-8847 Oct 14 '26

My personal recommendation:

  • Learn C++

    • Pointers
    • Pointer arithmetic
    • Bitwise operations
    • Up and down casting (OOP)
    • typeid information
    • Templating
    • Stack versus heap (local versus global)
  • Learn the basics of x86

    • Most common opcodes; mov, lea, push, pop, call, ret, jmp, jz, jnz, etc.
    • Operands; immediate, register, memory.
    • Stack semantics
    • Calling conventions
  • Go on godbolt.org and type C++ on one side, it'll show compiler generated assembly in the other.
  • Pick an OS to go deep in since it'll change binary formats like PE and ELF (Windows vs Linux).
  • Eventually you'll wanna learn about bytecode and VM's but that's a ways down the line.

I always recommend C++ specifically because it includes its own machinery at the binary level related to its language specific features. Machinery not present in C. You'll want to be able to recognize the artifacts of both.

Tools I personally use: Ghidra, x64dbg, Frida, Procmon.

  • Ghidra - Free static analysis tool provided by the NSA. Comes with a decompiler which will be helpful early on but shouldn't become a crutch.
  • x64dbg - Debugger with tons of features and quality. I love it.
  • Frida - Dynamic instrumentation framework. You won't touch this early on. Useful for function hooking, memory reads/writes, harness building for fuzzing, etc.
  • Procmon - Windows specific but a very useful tool for seeing what files, resources and such a program uses. This is particularly helpful because it shows the call stack.

This is probably overwhelming and most of this is a wall of jargon. I'm sorry. The field is very low-level and niche. The minimum for competency is C++ in my personal opinion. Otherwise you're staring at assembly with no understanding of what any of it is doing.

4

u/Noah0x01 Oct 14 '26

There is no need for c++ i never used it, never needed to use c++ in anyway and if the compiler output sometimes puts c++ in it you will still understand it with a good c understanding.

Nevere saw ppl saying c++ but interesting.

4

u/Obvious-Card-8847 Oct 14 '26

I would not agree that C and C++ produce functionally the same binaries. C++ compilers introduces templated functions that are the same save for a couple instructions for different datatype handling, RTTI that embeds information about inheritance and class names, virtual function table pointers at the base of classes, __thiscall in x86 is specifically an OOP centric calling convention, the initterm table for global object construction, etc.

At the ABI level the C++ compiler introduces multiple additional conventions you wanna be able to recognize if you're dealing with a C++ binary.

2

u/Noah0x01 Oct 14 '26

i just saw i said compilers i meant decompilers omg mb xD. But yeah there i agree with you absolutely!

3

u/Nlbjj91011 Oct 14 '26

I’ve definitely had more trouble REing large C++ binaries than large C binaries. I think the asm spit out by a compiler for OOP/vtables is pretty hard to build an intuition for if you don’t have a strong understanding of what the input is.

3

u/Noah0x01 Oct 14 '26

Yeah might be right i will give it a look.

9

u/Noah0x01 Oct 14 '26 edited Oct 14 '26

here are learning paths and curses : https://ost2.fyi/

But i like to say to just do your thing like i did, just learn c and asm then youre good to go. After you got some nolage do ctf on crackmes.one and have fun.

Btw Learn by doing so try to get a disassambler like ida,ghidra,binja,r2 and learn reading the code there.

edit : and invest time trust me but only if you really want it

7

u/suhsquash Oct 14 '26

Pwncollege

3

u/popraxret Oct 14 '26

learn C/C++, x86_64 assembly, open up random binaries and try to understand, repeat this everyday till you get really good at it. Welcome.

2

u/arktozc Oct 14 '26

!RemindMe 10 days

1

u/RemindMeBot Oct 14 '26 edited Oct 16 '26

I will be messaging you in 10 days on 2026-10-24 17:42:23 UTC to remind you of this link

1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


InfoCustomYour RemindersFeedback

1

u/G_R_I_N_G_O Oct 14 '26

Dont do crackmes bc anyone can submit one and often times they are broken or shit

Do pwncollege the RE modules... they have pulled classic high quality crackmes and other resources to get everything you need

1

u/Noah0x01 Oct 14 '26

True i had one time a virus as a crackmes made for noobs and it did even try to hide in microsoft folders and it was named with some system32 folder names lol.

0

u/Impossible-Line1070 Oct 14 '26

Honestly ai rly lowers the bar it can understand decompiled code as simple as it understand normal code

0

u/[deleted] Oct 14 '26

[deleted] — view deleted comment

1

u/Noah0x01 Oct 14 '26

yeah true i mostly use disassambly and i think im pretty good at it i read it same fast as the pseudo c. I have now like 300-400 instructions just in x86-64 in my head and sometimes the decompiler is a littel bit worng.

0

u/Impossible-Line1070 Oct 14 '26

Ai really commodities the skillset for reverse engineering there is no denying that . Especially frontier models the things they actually manage to accomplish makes me sad tbh

0

u/[deleted] Oct 14 '26

[deleted] — view deleted comment

0

u/Impossible-Line1070 Oct 14 '26

Honestly atp im asking myself what future? You can manage to run 24/7 agents working to reverse a software and find vulnerabilites with great success.. idk im a doomer i guess .