Bienvenido! - Willkommen! - Welcome!

Bitácora Técnica de Tux&Cía., Santa Cruz de la Sierra, BO
Bitácora Central: Tux&Cía.
Bitácora de Información Avanzada: Tux&Cía.-Información
May the source be with you!

Tuesday, July 14, 2009

Kon-Boot

Source

Kon-Boot is an prototype piece of software which allows to change contents of a linux kernel (and now Windows kernel also!!!) on the fly (while booting). In the current compilation state it allows to log into a linux system as 'root' user without typing the correct password or to elevate privileges from current user to root.
For Windows systems it allows to enter any password protected profile without any knowledge of the password.

It was acctually started as silly project of mine, which was born from my never-ending memory problems :)
Secondly it was mainly created for Ubuntu, later i have made few add-ons to cover some other linux distributions.
Finally, please consider this is my first linux project so far :) Entire Kon-Boot was written in pure x86 assembly, using old grandpa-geezer TASM 4.0.

Additional notes:
Typical usage scenario:

LIWaP usage scenario:

1. Boot with Kon-boot CD or Floppy

2. When Linux is fully booted go to the console mode

3. Type 'kon-usr' as login, if it works you should be now in the system

4. !Remember! to restore the system when you are leaving, you can do this by typing 'kon-fix' as login again.

Sample console output:

Ubuntu 8.04 torpeda tty1
torpeda login: kon-usr
# id uid=0(root) gid=0(root)
# whoami root

Logging problem?

torpeda login: kon-usr
/bin/sh: Can't open kon-usr

FIX: type 'kon-fix' as login

:: Using Kon-Boot - Method type 2 - Setreuid privilege elevation

Use this instructions

:: Current Kon-Boot features

Feature

Supported

Disk access filtering (IVT)

Yes

System Address Map fixing for buggy BIOSES ('SMAP' entries)

Yes - basic

Multiple kernel signatures + no hardcoded kernel address

Yes

Deprotecting memory regions

Yes - basic through fixing cr0

Syscalls filtering

Yes

Finding kmalloc()

No - currenty omitted
NEW LINUX AND WINDOWS VERSION:

Kon-Boot Windows&Linux

Download



Floppy image:
DOWNLOAD

CD-ISO:
DOWNLOAD

No comments: