Some BIOS modification articles

Just wrote some BIOS modification articles a while ago. Maybe some people here interested to read it:
1. Pinczakko's Guide to Award BIOS Reverse Engineering.
Table of Contents

1. Foreword
2. Prerequisite
2.1. PCI BUS
2.2. ISA BUS
3. Some Hardware Peculiarities
3.1. BIOS Chip Addressing
3.2. Obscure Hardware Port
3.3. "Relocatable" Hardware Port
3.4. Expansion ROM Handling
4. Some Software Peculiarities
4.1. Call Instruction Peculiarity
4.2. Retn Instruction Peculiarity
5. Our Tools of Trade
5.1. What do we need anyway?
5.2. Intro to IDA Pro Techniques
5.2.1. Introducing IDA Pro
5.2.2. IDA Pro Scripting and Key Bindings
6. Award BIOS File Structure
6.1. The Compressed Components
6.2. The Pure Binary Components
6.3. The Memory Map In The Real System (Mainboard)
7. Disassembling the BIOS
7.1. Bootblock
7.1.1. "Virtual Shutdown" routine
7.1.2. Chipset_Reg_Early_Init routine
7.1.3. Init_Interrupt_n_PwrMgmt routine
7.1.4. Call To "Early Silicon Support" Routine
7.1.5. Bootblock Is Copied And Executed In RAM
7.1.6. Call to bios decompression routine and the jump into decompressed system bios Enable FFF80000h-FFFDFFFFh decoding Copy lower 128KB of BIOS code from ROM chip into RAM Disable FFF8_0000h-FFFD_FFFFh decoding Verify checksum of the whole compressed BIOS image Look for the decompression engine Decompress the compressed BIOS components The format of the LZH level-1 compressed bios components The location of various checksums The key parts of the decompression routine Shadow the BIOS code Enable the microprocessor cache then jump into the decompressed system BIOS
7.2. System BIOS a.k.a Original.tmp
7.2.1. Entry point from "Bootblock in RAM"
7.2.2. The awardext.rom and Extension BIOS Components (lower 128KB bios-code) Relocation Routine
7.2.3. Call to the POST routine a.k.a "POST jump table execution"
7.2.4. The "segment vector" Routines
7.2.5. "chksum_ROM" Procedure
7.2.6. Original.tmp Decompression Routine for The "Extension_BIOS Components"
7.2.7. Microcode Update Routine
8. Rants and Raves
9. Closing

2. Pinczakko's Guide to Award BIOS Patching
Table of Contents

1. Introduction
2. Modbin Internals
3. System-BIOS Patching Ninjutsu
3.1. The Secret Of The Sharingan
3.1.1. Byte Patterns a.k.a Signatures of Binary Files
3.1.2. Attacking With Sharingan
3.2. Case 1: Sharingan Attack to The EPA Procedure
3.3. Case 2: Sharingan Attack to The Clock Generator Initialization Routine
4. Generic System-BIOS Patching Ninjutsu
5. References

Anyway, to moderators: I really sorry if the post is misplaced, but I've tried to find the most suitable forum section for this post and I think this section is the most suitable one. Please relocate this post if you feel it shouldn't be here.

2 answers Last reply
More about some bios modification articles
  1. Hmmm... too bad I have a Phoenix BIOS.
  2. Quote:
    Well well, more unexplored ModBin sections for me to explore! :D w00tz!

    Thanx for the guide.

    yeah, no problem. I just wish people to realize the capability of their toolz :wink:
Ask a new question

Read More

Motherboards Hardware BIOS