Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.78 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.78 KB

BCspotter

Introduction

BCspotter is a Python script designed to ease the process of finding bad characters in memory dumps, specifically in the context of exploit development. The inspiration for this project came from the "Finding Bad Characters" course video by Heath Adams (TCM), where he referred to the task of finding bad characters as an "eye-spotting exercise."

As someone who has experienced the challenges of identifying bad characters in memory dumps using tools like Immunity Debugger, I wanted to automate and simplify this process. BCspotter serves as a tool to automate the detection of bad characters, making it less prone to human error and significantly reducing the time and effort required for this task.

How It Works

BCspotter reads a memory dump file, identifies hex values, and compares them against a predefined list of bad characters. It then provides a list of absent bad characters, streamlining the identification process.

The bad_chars listed is obtained from https://github.com/cytopia/badchars

Features

  • Automatic detection of bad characters in memory dumps.
  • Efficient comparison against a predefined list of bad characters.
  • Simplifies the "eye-spotting exercise" mentioned in exploit development.

How to run

    cd BCspotter
    python3 bcspotter.py

NOTE: Make sure you edit the code here file_path = "dump" # and replace with your filename. You also need a dump file, which for Immunity-debugger is image

Usage

  1. Clone the Repository:

    git clone https://github.com/asadzz/BCspotter.git
    

Acknowledgments

Special thanks to Heath Adams (TCM) for the inspiration provided in the "Finding Bad Characters" course video.