Skip to content

API Hashing and String Decryption Reverse Engineering Workshop

Notifications You must be signed in to change notification settings

c3rb3ru5d3d53c/reworkshop

Repository files navigation

API Hashing and String Decryption Reverse Engineering Workshop

This project borrows code from the following:

Features

  1. Empty Import Table
  2. Empty Debug Directory
  3. No Rich Header

Workshop Goals

  1. Write String Decryptor
  2. Write API Hashing Algorithm
  3. Prove they work

Tools

  1. peexports
  2. Remnux
  3. Ghidra
  4. Python

Solution Videos

String Decryption: https://www.youtube.com/watch?v=DxRJKKPmIxQ

Where to Start

sudo apt install git-lfs
git clone https://github.com/c3rb3ru5d3d53c/reworkshop.git
cd reworkshop/
  1. Download solutions/samples.zip
  2. Copy samples.zip to your VM (with internet)
  3. In your Windows and Remnux VM, extract samples.zip (password is infected)
  4. Open stealer.exe with x64dbg (32-bit)
  5. In the Remnux VM, create a new Ghidra project and import stealer.exe
  6. In the Remnux VM with Ghidra, import the .h files from the include/ directory
  7. Write a string decryptor in Python
  8. Write the API hashing algorithm in Python

NOTE: Steps 7 or 8 and be in either order

About

API Hashing and String Decryption Reverse Engineering Workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published