Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
SmmBackdoor — First open source and publicly available System Management Mode backdoor for UEFI based platforms. Good as general purpose playground for various SMM experiments. | Kitploit
Tools/GitHubGitHub/cr4sh/smmbackdoor
Privilege EscalationPersistence MechanismsExploitationPost-ExploitationHardware HackingPayload DevelopmentFirmware Analysis
GitHubcr4sh/smmbackdoor

SmmBackdoor

First open source and publicly available System Management Mode backdoor for UEFI based platforms. Good as general purpose playground for various SMM experiments.

View Repository
632161433 years agoReviewed by Kitploit
Share

SMM backdoor for UEFI based platforms


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

This is legacy abandoned project, for current version of the backdoor check SMM Backdoor Next Gen project page and its documentation:

https://github.com/Cr4sh/SmmBackdoorNg

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

For more information about this project please read the following article:

http://blog.cr4.sh/2015/07/building-reliable-smm-backdoor-for-uefi.html

Repository contents:

  • SmmBackdoor.py -- Python program that allows to infect PE image of UEFI DXE driver with backdoor code, communicate with installed backdoor to read SMRAM and do some other useful things.

  • SmmBackdoor/ -- source code of UEFI part that runs in System Management Mode.

  • SmmBackdoor.efi, SmmBackdoor.pdb -- UEFI part binary and it's debug symbols.

  • smm_call/ -- proof of concept Linux program that interacts with installed backdoor to get root privileges for it's process.

To build SmmBackdoor project you need to have a Windows machine with Visual Studio 2008 and EDK2 source code (https://github.com/tianocore/edk2).

Step by step instruction:

  1. Copy SmmBackdoor subdirectory to EDK2 source code directory.

  2. Edit Conf/target.txt file and set ACTIVE_PLATFORM property value to OvmfPkg/OvmfPkgX64.dsc.

  3. Edit OvmfPkg/OvmfPkgX64.dsc and add the following lines at the end of the file:

#
# 3-rd party drivers
#
SmmBackdoor/SmmBackdoor.inf {
  <LibraryClasses>
    DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
    MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
}

4. Run Visual Studio 2008 Command Prompt and cd to EDK2 directory.

  1. Execute Edk2Setup.bat --pull to configure build environment and download required binaries.

  2. cd SmmBackdoor && build

  3. After compilation resulting PE image file will be created at Build/OvmfX64/DEBUG_VS2008x86/X64/SmmBackdoor/SmmBackdoor/OUTPUT/SmmBackdoor.efi

To run SmmBackdoor.efi as infector payload on example of Intel DQ77KB motherboard:

  1. Dump motherboard firmware using hardware SPI programmer.

  2. Open dumped flash image in UEFITool.

  3. Extract PE image of FFS file with GUID = 26A2481E-4424-46A2-9943-CC4039EAD8F8 and save it to extracted.bin file.

  4. Infect extrated image with SmmBackdoor.efi using SmmBackdoor.py:

$ python SmmBackdoor.py --infect extracted.bin --output infected.bin --payload SmmBackdoor.efi
  1. In UEFITool replace original PE image with infected.bin.

  2. Save modified flash image to file and write it to the motherboard ROM with programmer.

Backdoor also has debug output capabilities that allows to see DXE phase debug messages on the screen and receive runtime phase debug messages over COM port.

To use SmmBackdoor.py you need to install a pefile Python library (https://pypi.python.org/pypi/pefile) and CHIPSEC framework (https://github.com/chipsec/chipsec) including Python bindings.

Supported commands:

  • SmmBackdoor.py --infect <source_path> --output <dest_path> --payload <payload_path> - Infect PE image of DXE driver with specified backdoor code.

  • SmmBackdoor.py --test - Check for backdoor presence and print status information from BACKDOOR_INFO structure.

  • SmmBackdoor.py --dump-smram - Dump all available SMRAM regions into the files.

  • SmmBackdoor.py --read-phys

    - Print hexadecimal dump of physical memory page at given address.

  • SmmBackdoor.py --read-virt

    - Print hexadecimal dump of virtual memory page at given address.

  • SmmBackdoor.py --timer-enable - Enable periodic timer SMI that required for smm_call (by default it's enabled).

  • SmmBackdoor.py --timer-disable - Disable periodic timer SMI.

smm_call usage:

  • smm_call [<arg_1> [<arg_2>]] - Send specified control code and arguments to SMM backdoor.

  • smm_call --privesc - Ask the backdoor to give a root privileges for caller process and run command shell.

Please note, that this code was tested only with Intel DQ77KB motherboard. You may try to run it on any other UEFI compatible hardware, but some of the backdoor features might not work.

Written by: Dmytro Oleksiuk (aka Cr4sh)

[email protected] http://blog.cr4.sh

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    755
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    510
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    415
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    343
  • 5

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    259
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    258

Explore all tools

Browse our collection of tools

View all tools →