Giter Site home page Giter Site logo

x64dbg-cpuidspoofer's Introduction

CPUID Spoofer

GitHub release (latest by date) GitHub Workflow Status

CpuidSpoofer is a x64dbg plugin which helps you to modify the behaviour of the CPUID instruction.

For example, you can easily change the manufacturer ID string:

Custom processor name

Installation

  1. Go to Latest Release page
  2. Download CpuidSpoofer.dp64 into x64dbg\x64\plugins\
  3. Download CpuidSpoofer.dp32 into x64dbg\x32\plugins\

Usage

Everything is accessible from the top menu bar, under the Plugins โ†’ CPUID Spoofer submenu.

Options

The options/presets dialog allows you to prepare various triggers and actions that should happen upon CPUID instruction execution.

These presets are global. They are shared between debugged files.

Find CPUIDs and set breakpoints

Once the debugged file is fully loaded, breakpoints must be placed onto the CPUID instructions.

Click the convenient Find CPUIDs and set breakpoints menu option to automatically place those breakpoints.

Two breakpoints will be created for each CPUID instruciton. First, directly on the said instr., for trigger evaluation. Second, after the said instr., for action evaluation.

You can place these breakpoints manually by selecting a CPUID instruction in the CPU tab and clicking Set breakpoint here.

If you find yourself overwhelmed by the number of breakpoints created, just click on Remove all breakpoints. This will remove both automatically and manually placed breakpoints (by this tool only).

Advanced usage

This plugin exports two commands: CpuidSpooferBegin and CpuidSpooferEnd. When CPUID instruction is found, two breakpoints are created, as described above. Each of them executes one of these exported commands.

The "Begin" command evaluates all triggers from all enabled presets. If the trigger condition is true, preset action is selected to be executed.

The "End" command executes all perviously selected actions.

To break execution during trigger or action evaluation, append $breakpointcondition=1; into the Custom field.

x64dbg-cpuidspoofer's People

Contributors

jonatan1024 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.