Start of executable hack / decompilation / debugging

I am comfortable in C # / Java, and I know C and C ++ well. However, I want to dig deeper and learn more about the little things. For example, a simple console program in C ++:

int main()
{
    char *ptr = "helloworld";
    return 1;
}

I opened it in Visual Studio using a debugger (after deleting the pdb file) to execute the code in the assembly. I also use the HxD hex editor to view the binary.

Obviously, I am far from understanding what is happening. I want to learn how to track code when it is executed for a binary file. I have no source (if possible) or just as much as possible to learn about this subject. I understand step-by-step debugging with the source, as I use it every day at work, but without it I am helpless.

Is there a tutorial for this type? What tools / walkthroughs can you recommend?

Thank.

+3
source share
4 answers

If you want to take a deeper look at Ollydbg and some reverse / hacked tutorials .. It will take a lot of time :) And you will find out how the material works :) Reverse Engineering Team is a good starting point. Any search engine will give you a lot of material with the right keywords .. :)

+4
source

You will need to understand the assembly, at least. I would start writing several (somewhat trivial) programs to get an idea of ​​opcodes, registration codes, stack usage, etc.

http://en.wikibooks.org/wiki/X86_Assembly

+2
source

:

  • - ;
  • ( , , ?)
  • " " ( , ).
  • Intels/AMD ( ?)

/Soft:

  • .
  • IDA Pro.
  • HEX ( , ).
  • DDK ( WDK - Windows Driver Kit).
  • SDK-, .

.

, :)

+2

I did not know why no one mentioned Lena's textbooks on reverse engineering.
I personally found them very useful. You can find them here www.tuts4you.com
But you need to understand some basic assemblies, such as (jmp, etc., Registers), and I do not need to mention a fair understanding of programming (I'm sure you have one). There are also many cracks that you can do to improve yourself.

+2
source

Source: https://habr.com/ru/post/1778829/


All Articles