# corna/me_cleaner

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/corna-me-cleaner).**

4,982 stars · 304 forks · Python · GPL-3.0

## Links

- GitHub: https://github.com/corna/me_cleaner
- awesome-repositories: https://awesome-repositories.com/repository/corna-me-cleaner.md

## Description

me_cleaner is a set of specialized tools for parsing flash descriptors, stripping firmware blobs, and configuring hardware-level shutdowns for management and execution engines. It provides utilities to analyze BIOS memory dumps, extract specific firmware regions, and remove non-essential binary modules to reduce the system interaction surface.

The project specifically targets the cleaning of Intel Management Engine and Trusted Execution Engine firmware images. This involves removing binary blobs and modifying configuration bits to force these subsystems to shut down automatically after the hardware initialization process.

The toolset covers firmware modification capabilities such as deleting compressed blocks from factory partitions, removing non-fundamental partitions, and recalculating partition tables to maintain image integrity.

## Tags

### Security & Cryptography

- [Intel ME Deblobbing](https://awesome-repositories.com/f/security-cryptography/intel-me-deblobbing.md) — Removes binary blobs from Intel Management Engine firmware to limit its ability to interact with the system.
- [Intel Management Engine Restriction](https://awesome-repositories.com/f/security-cryptography/intel-management-engine-restriction.md) — Removes binary blobs from firmware images to limit the Intel Management Engine's ability to interact with the system. ([source](https://github.com/corna/me_cleaner/blob/master/README.md))
- [Intel ME Firmware Cleaning Tools](https://awesome-repositories.com/f/security-cryptography/intel-me-firmware-cleaning-tools.md) — Removes binary blobs and disables functionality within Intel Management Engine and TXE firmware images.
- [Intel TXE Firmware Cleaning](https://awesome-repositories.com/f/security-cryptography/intel-txe-firmware-cleaning.md) — Strips non-essential modules and compressed blocks from Intel Trusted Execution Engine images to reduce their footprint.

### Development Tools & Productivity

- [Firmware Configuration Utilities](https://awesome-repositories.com/f/development-tools-productivity/hardware-configuration-utilities/firmware-configuration-utilities.md) — Provides a utility to modify configuration bits that force the Trusted Execution Engine to shut down after hardware initialization.

### Hardware & IoT

- [Firmware Size Optimization](https://awesome-repositories.com/f/hardware-iot/firmware-management/firmware-size-optimization.md) — Reduces the memory footprint of firmware by excluding unnecessary features and non-fundamental partitions.
- [Firmware Image Editors](https://awesome-repositories.com/f/hardware-iot/firmware-management/firmware-image-extractors/firmware-image-editors.md) — Modifies the internal contents and structure of binary firmware images by stripping binary blobs. ([source](https://github.com/corna/me_cleaner/wiki/How-to-apply-me_cleaner))

### Operating Systems & Systems Programming

- [Firmware Deblobbing Utilities](https://awesome-repositories.com/f/operating-systems-systems-programming/custom-firmware-tools/firmware-deblobbing-utilities.md) — Strips non-essential binary modules from firmware to reduce the attack surface and system interaction.
- [Flash Descriptor Parsers](https://awesome-repositories.com/f/operating-systems-systems-programming/flash-descriptor-parsers.md) — Analyzes the hardware layout to locate and extract specific firmware regions from a full BIOS dump.
- [Hardware-Based Firmware Disabling](https://awesome-repositories.com/f/operating-systems-systems-programming/hardware-based-firmware-disabling.md) — Sets specific configuration bits that instruct the firmware to shut down automatically after the hardware initialization process. ([source](https://github.com/corna/me_cleaner/wiki/How-does-it-work%3F))
- [Intel ME Hardware Disabling](https://awesome-repositories.com/f/operating-systems-systems-programming/intel-me-hardware-disabling.md) — Sets configuration bits in the firmware to force the management engine to shut down after hardware initialization.
- [BIOS Dump Region Extraction](https://awesome-repositories.com/f/operating-systems-systems-programming/ios-firmware-analysis/firmware-dumping-utilities/bios-dump-region-extraction.md) — Identifies and extracts relevant firmware sections from a full BIOS dump by analyzing the Flash Descriptor. ([source](https://github.com/corna/me_cleaner/wiki/How-does-it-work%3F))
- [Firmware Region Extraction](https://awesome-repositories.com/f/operating-systems-systems-programming/ios-firmware-analysis/firmware-dumping-utilities/firmware-region-extraction.md) — Identifies and pulls specific firmware sections from a full BIOS dump using the Flash Descriptor.
- [Firmware Partition Cleaning](https://awesome-repositories.com/f/operating-systems-systems-programming/system-administration-maintenance/partition-managers/firmware-partition-cleaning.md) — Removes non-fundamental partitions and updates the partition table to decrease image size. ([source](https://github.com/corna/me_cleaner/wiki/How-does-it-work%3F))

### Programming Languages & Runtimes

- [Firmware Module Stripping](https://awesome-repositories.com/f/programming-languages-runtimes/binary-blob-management/binary-blob-manipulations/firmware-module-stripping.md) — Provides the ability to strip non-essential binary modules from firmware to restrict subsystem interactions.
- [Compressed Binary Section Stripping](https://awesome-repositories.com/f/programming-languages-runtimes/data-compression-and-decompression/high-speed-block-compression/compressed-binary-section-stripping.md) — Identifies and strips compressed binary sections from factory partitions to remove unwanted functionality.

### Software Engineering & Architecture

- [Hardware Configuration Bit Setting](https://awesome-repositories.com/f/software-engineering-architecture/integer-arithmetic/integer-bit-analyzers/bit-level-integer-operations/bit-manipulation-primitives/hardware-configuration-bit-setting.md) — Sets specific hardware flags to force the firmware to shut down after the initial boot process.

### Data & Databases

- [BIOS Flash Descriptor Parsing](https://awesome-repositories.com/f/data-databases/data-access-querying/memory-mapped-file-access/flash-memory-access/flash-memory-exports/bios-flash-descriptor-parsing.md) — Analyzes flash descriptors to extract specific firmware regions from full BIOS memory dumps.
- [Firmware Partition Table Recalculation](https://awesome-repositories.com/f/data-databases/virtual-table-querying/table-creation/physical-table-definitions/partitioned-physical-tables/table-partitioning-by-column/firmware-partition-table-recalculation.md) — Updates internal offsets and sizes after removing firmware partitions to maintain image integrity.

### Mobile Development

- [Firmware Module Deletion](https://awesome-repositories.com/f/mobile-development/mobile-operating-systems/firmware-customization-tools/custom-firmware-integration-systems/binary-only-firmware-modules/firmware-module-deletion.md) — Deletes specific binary modules and compressed blocks from the factory partition to strip unwanted functionality. ([source](https://github.com/corna/me_cleaner/wiki/How-does-it-work%3F))
