Password Attacksbioscmospasswordrecoverydecryption

CmosPwd

CmosPwd is a cross-platform tool to decrypt passwords stored in CMOS used to access a computer's BIOS setup. It works out of the box on most modern systems, though some esoteric BIOSes may require additional steps.

Description

CmosPwd recovers BIOS passwords by decrypting those stored in the CMOS memory. This is useful for accessing BIOS setups on systems where the password has been forgotten, enabling configuration changes or further system analysis in penetration testing or recovery scenarios.

The tool supports various BIOS types, including Award BIOS where recovered passwords differ from originals but still function. It operates on Linux systems like Kali, targeting the CMOS chip that retains BIOS settings across reboots.

Use cases include forensic analysis, system administration, and security assessments where BIOS access is locked. Note that while effective on modern systems, compatibility varies with BIOS implementations.

How It Works

CmosPwd reads CMOS memory contents, either directly from the system or from backups, and applies decryption modules specific to BIOS vendors. It supports keyboard layouts for certain BIOS types (French AZERTY, German QWERTZ) and executes targeted modules (e.g., /m0010011 for modules 3,6,7). For Award BIOS, it generates functional equivalents of original passwords. Additional functions include dumping CMOS, killing CMOS settings, or handling CMOS backup files for write/load/restore operations.

Installation

bash
sudo apt install cmospwd

Flags

/kfrFrench AZERTY keyboard
/kdeGerman QWERTZ keyboard
/dDump CMOS
/wWrite CMOS backup file
/lLoad CMOS backup file
/rRestore CMOS backup file
/kKill CMOS
/m[01]*Execute selected module, e.g., /m0010011 for modules 3,6,7

Examples

Display help and usage information for the tool
cmospwd -h
Decrypt CMOS password using French AZERTY keyboard layout
cmospwd /kfr
Decrypt using German QWERTZ keyboard and dump CMOS contents
cmospwd /kde /d
Write CMOS contents to a backup file
cmospwd /w cmos_backup_file
Load CMOS from a backup file
cmospwd /l cmos_backup_file
Restore CMOS from a backup file
cmospwd /r cmos_backup_file
Kill/reset CMOS settings
cmospwd /k
Execute modules 3, 6, and 7 for password recovery
cmospwd /m0010011
Updated 2026-04-16kali.org ↗