Help Irongeek.com pay for
bandwidth and research equipment:

Web Hosting By:


Sponsored by:

Google
Affiliates:
















Irongeek's Featured Links:

Web Hosting

Web Hosting

Free Web Hosting hosting

Keylogger

Document Scanning

Free Domain Names

Notebooks

Recover Data

Free Antivirus

hosted exchange 2007

EC-Council ECSA Training Videos









































Web Hosting:
Help Irongeek.com pay for bandwidth and research equipment:

 

AddThis Feed Button Using Kon-Boot from a USB Flash Drive: Bypass those pesky Windows and Linux login passwords completely

Using Kon-Boot from a USB Flash Drive: Bypass those pesky Windows and Linux login passwords completely

    This is a place holder till I get the time to do a proper write up. Kon-boot is a cool tool you can download from http://www.piotrbania.com/all/kon-boot/ that boots from a CD or floppy and modifies memory to let you login without knowing a local account password in both Windows (even up to Windows 7) and Linux (not all distros). Kon-Boot is sort of a boot loader that let's you bypass having to use valid credentials when the OS finishes booting. Unfortunately, CDs are hard to put in your pocket, and many machines don't have floppies any more. What I needed was to be able to put Kon-Boot on my pico USB thumbdrive. I found some details online about how to get it on a thumbdrive using the floppy image and Unetbootin, but I had some problems with it doing an infinity loop when I tried to use Kon-Boot from a USB flash drive (worked fine on the same box from a CD). I read some of the comments on Raymond's blog, and someone pointed out the problem but did not really give the file changes to fix it (which I will give below). It seems when you boot Kon-Boot from a USB device, the USB device becomes hd0, but then Kon-Boot tries to pass on the booting process to hd0 (when the internal drive is most likely hd1 at that point) so you get the infinity loop or gray screen. I modified the syslinx.cfg to get it to work. Here are the steps to get Kon-Boot to work from a USB pen-drive:

1. Follow the directions at http://www.raymond.cc/blog/archives/2009/05/11/burn-iso-image-to-usb-flash-pen-drive-kon-boot-to-usb/ using the floppy image and Unetbootin.

2. Extract the files in the following zip to the root of your thumbdrive:   

            http://www.irongeek.com/downloads/irongeekusbkonbootfiles.zip

3. Tell your BIOS to boot from a USB drive (F12 on most Dell's brings up this boot device menu).

4. When the syslinux menu comes up, choose "1st Kon-Boot" first and step through it.

 

5. The 2nd time the syslinux menu comes up, choose the option "2nd try boot from drive C: as hd1".

6. If hd1 does not work, try hd2 and so forth until you get in. If you have a a multi-boot system you may get a boot error, but it still worked for me after I confirmed past it.

7. On Linux login as kon-usr at the terminal (not GDM/KDM/XDM). On Windows use any valid local user name and a blank password (or even gibberish, anything you type in as a password seems to work).

Thanks to the Pauldotcom guys for letting me know about Kon-Boot.

 

 

 

 

 

Printable version of this article

blog comments powered by Disqus

Ten most recent posts on Irongeek.com:


If you would like to republish one of the articles from this site on your webpage or print journal please contact IronGeek.

Copyright 2010, IronGeek
Louisville / Kentuckiana Information Security Enthusiast

xxx