Jump to content
Nytro

[C/C++] Reverse Engineering Tutorial for newbies

Recommended Posts

Posted

[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 COVER

II. PREFACE

III. REQUIREMENTS

IV. RECOMMENDATIONS

-= SECTION 2 (WPM hack) =-

I. WHAT TO HACK/HOW TO DO IT

II. THE "GAME"

III. THE MEMORY SEARCHER

IV. TYING IT ALL TOGETHER (WPM)

-= SECTION 3 (DLL hack) =-

I. ADVANTAGES TO CODE INJECTION

II. HOW TO CREATE A BASIC DLL

III. DLL FILES -> MORE IN DEPTH

IV. FINDING MEMORY ADDRESSES (OllyDbg)

V. HOW 'JUMP PATCHING' WORKS

VI. CALLING A FUNCTION FROM WITHIN

APPENDIXES:

A. How to create a DLL project (MSVC, Dev-C++, etc)

B. TextControl header file

C. 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 this

G. The game (source code, "Hack me")

-------------------------------------------------------------------------------------------------------------------

Section 1

WHAT 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/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...