Nytro Posted January 2, 2013 Report Posted January 2, 2013 [h=1][C/C++] Reverse Engineering Tutorial for newbies[/h][h=3]Muted[/h] --------------------------------------------------------- ---===> Reverse Engineering Tutorial <===--- --==> For Beginners <==-- on Windows ----------------------------------------------------------= SECTION 1 (Misc. information) =-I. WHAT THIS TUTORIAL WILL COVERII. PREFACEIII. REQUIREMENTSIV. RECOMMENDATIONS-= SECTION 2 (WPM hack) =-I. WHAT TO HACK/HOW TO DO ITII. THE "GAME"III. THE MEMORY SEARCHERIV. TYING IT ALL TOGETHER (WPM)-= SECTION 3 (DLL hack) =-I. ADVANTAGES TO CODE INJECTIONII. HOW TO CREATE A BASIC DLLIII. DLL FILES -> MORE IN DEPTHIV. FINDING MEMORY ADDRESSES (OllyDbg)V. HOW 'JUMP PATCHING' WORKSVI. CALLING A FUNCTION FROM WITHINAPPENDIXES:A. How to create a DLL project (MSVC, Dev-C++, etc)B. TextControl header fileC. Links to function prototypes used (MSDN site)D. WPM Hack (source code)E. DLL Hack (source code)F. DLL Injector (source code) - I take no credit for thisG. The game (source code, "Hack me")-------------------------------------------------------------------------------------------------------------------Section 1WHAT THIS TUTORIAL WILL COVER:- General theory behind 'hacking' games- Usage of (C/C++) WriteProcessMemory function- Injection of code (patch jumping to a user-defined *.dll)PREFACE (skip if you want):This tutorial is aimed in a very general direction, towards helping people who have never really 'hacked'anything before, but want to try. Somebody who may, or may not have knowledge in the 'field' area, of hacking.If you've never hacked before, but used them, and used memory searchers before, this is for you to read!If you've created a few hacks before, but never tried to inject a *.dll before, or created a patch jump...This tutorial might be for you, but then again, you may already know, but never really have done it.REQUIREMENTS:- Knowledge of C or C++ (if you've only coded in C, know that "naked" is a C++ only keyword)- A compiler that is capable of inline, Intel syntax Assembly (MSVC is, but is not share/freeware)RECOMMENDATIONS:- Knowledge of basic Assembly (extremely helpful)- Knowledge of how to use a memory searcher (TSearch, ArtMoney, or another)- Knowledge of how to use a debugger (OllyDbg, SoftIce)- Knowledge of how computers function, in general (memory addresses, virtual memory addresses, etc)Tutorial:http://www.rohitab.com/discuss/topic/35537-cc-reverse-engineering-tutorial-for-newbies/ Quote