<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CClassicVideos &#187; bootloader</title>
	<atom:link href="http://cclassic.users.sourceforge.net/wp/?feed=rss2&#038;tag=bootloader" rel="self" type="application/rss+xml" />
	<link>http://cclassic.users.sourceforge.net/wp</link>
	<description>Software, Hardware und der ganze Rest</description>
	<lastBuildDate>Wed, 22 Jun 2016 16:56:24 +0000</lastBuildDate>
	<language>de-DE</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8</generator>
	<item>
		<title>Bypassing the Boot-Lock on my ThinkPad</title>
		<link>http://cclassic.users.sourceforge.net/wp/?p=574</link>
		<comments>http://cclassic.users.sourceforge.net/wp/?p=574#comments</comments>
		<pubDate>Fri, 04 Oct 2013 13:59:50 +0000</pubDate>
		<dc:creator><![CDATA[Markus]]></dc:creator>
				<category><![CDATA[English language]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Boot]]></category>
		<category><![CDATA[bootloader]]></category>
		<category><![CDATA[Bootlock]]></category>
		<category><![CDATA[bypass]]></category>
		<category><![CDATA[Disk]]></category>
		<category><![CDATA[drive]]></category>
		<category><![CDATA[Fail]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[FDD]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Floppy]]></category>
		<category><![CDATA[Floppy Disk]]></category>
		<category><![CDATA[from]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[Laptop]]></category>
		<category><![CDATA[Lenovo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[Notebook]]></category>
		<category><![CDATA[plop]]></category>
		<category><![CDATA[plpbt]]></category>
		<category><![CDATA[pwn]]></category>
		<category><![CDATA[pwned]]></category>
		<category><![CDATA[SD]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[ThinkPad]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://cclassic.users.sourceforge.net/wp/?p=574</guid>
		<description><![CDATA[&#8211; OR: How I used a floppy disk to pwn a security system &#8211; I recently got a Lenovo ThinkPad T430 from my employer. My first thought after I saw that it was running Windows XP was &#8220;Can I make it run Linux?&#8221;. Luckily we weren&#8217;t forbidden to boot another OS than the stock one]]></description>
				<content:encoded><![CDATA[<p><strong>&#8211; OR: How I used a floppy disk to pwn a security system &#8211;</strong></p>
<p>I recently got a Lenovo ThinkPad T430 from my employer. My first thought after I saw that it was running Windows XP was &#8220;Can I make it run Linux?&#8221;. Luckily we weren&#8217;t forbidden to boot another OS than the stock one on it. Admittedly, they didn&#8217;t explicitly allow us to do it either. To be accurate, they didn&#8217;t say a single thing on what we are supposed to do with these computers. So I can&#8217;t be wrong if I don&#8217;t change anything on the system, can I?</p>
<p>Anyways, to the fun part! Officially, the notebook has two Windows-systems on it. One for use in the company and one for &#8220;private&#8221; use. The BIOS is password protected and booting from any device other than the internal hard drive has been disabled. Since I am definitely not allowed to modify the hardware on this computer, I didn&#8217;t even start thinking about swapping the hard drive or similar things. Instead, I focused on the software. One thing immediately caught my eye, they are using a program called &#8220;eXtended FDisk&#8221; to select the OS on boot.</p>
<div id="attachment_575" style="width: 1930px" class="wp-caption alignnone"><a href="http://cclassic.users.sourceforge.net/wp/wp-content/uploads/2013/10/Bootmanager.jpg"><img class="size-full wp-image-575 " alt="The used bootmanager: eXtended FDisk" src="http://cclassic.users.sourceforge.net/wp/wp-content/uploads/2013/10/Bootmanager.jpg" width="1920" height="1440" /></a><p class="wp-caption-text">The used bootmanager: eXtended FDisk</p></div>
<p>Apart from the fact that this is a beta version, I noticed the little text on the bottom saying &#8220;F1/F2: Disk A:&#8221;. Sounds like we might be able to boot using a Floppy, and sure we are. So I grabbed my USB floppy drive and one of my old DOS disks and threw it in. A few seconds later I had MS-DOS running on my laptop. Quickly I remembered that running MS-DOS on that machine wasn&#8217;t my goal and I continued pursuing my actual target. Since booting Linux from a floppy disk (if even possible) isn&#8217;t much fun, I somehow needed to boot an OS from a drive other than A. For the time being, I went the obvious path and used that I am able to execute code using a floppy disk. This code may also be another bootloader. After a few tries, I settled with <a title="Plop (plpbt)" href="http://www.plop.at/de/bootmanager/plpbt.bin.html" target="_blank">Plop (plpbt)</a>.</p>
<p>I plugged in my USB flash drive with Ubuntu Linux on it, inserted the Plop-disk into my FDD and restarted the computer. And there it was: A boot option for the flash drive.</p>
<div id="attachment_577" style="width: 1930px" class="wp-caption alignnone"><a href="http://cclassic.users.sourceforge.net/wp/wp-content/uploads/2013/10/plpbt.jpg"><img class="size-full wp-image-577" alt="Plop Bootmanager" src="http://cclassic.users.sourceforge.net/wp/wp-content/uploads/2013/10/plpbt.jpg" width="1920" height="1440" /></a><p class="wp-caption-text">Plop Bootmanager</p></div>
<p>For some reason, I was getting a blank screen when trying to boot the MBR of my flash drive using Plop. However, this can be circumvented by pressing &#8220;q&#8221; in the main menu and selecting the partition manually. In my case it was HDB Partition 2.</p>
<div id="attachment_581" style="width: 1930px" class="wp-caption alignnone"><a href="http://cclassic.users.sourceforge.net/wp/wp-content/uploads/2013/10/selectdisk.jpg"><img src="http://cclassic.users.sourceforge.net/wp/wp-content/uploads/2013/10/selectdisk.jpg" alt="HDD/Partition selector" width="1920" height="1440" class="size-full wp-image-581" /></a><p class="wp-caption-text">Just select the correct drive and partition&#8230;</p></div>
<p>Just ignore the warning regarding that the bootsector is the MBR if it appears and press &#8220;Y&#8221; (or &#8220;Z&#8221; in case you have German keyboard layout).</p>
<div id="attachment_590" style="width: 1930px" class="wp-caption alignnone"><a href="http://cclassic.users.sourceforge.net/wp/wp-content/uploads/2013/10/ignoreWarning.jpg"><img src="http://cclassic.users.sourceforge.net/wp/wp-content/uploads/2013/10/ignoreWarning.jpg" alt="Ignore the warning" width="1920" height="1440" class="size-full wp-image-590" /></a><p class="wp-caption-text">Simply ignore the warning and press Y.</p></div>
<p>Shortly after and to conclude the exercise for now, I had this on my screen:<br />
<div id="attachment_583" style="width: 1930px" class="wp-caption alignnone"><a href="http://cclassic.users.sourceforge.net/wp/wp-content/uploads/2013/10/success.jpg"><img src="http://cclassic.users.sourceforge.net/wp/wp-content/uploads/2013/10/success.jpg" alt="Finally got Linux to boot!" width="1920" height="1440" class="size-full wp-image-583" /></a><p class="wp-caption-text">Finally got Linux to boot!</p></div></p>
<p><strong>Final thoughts</strong><br />
I successfully completed what I wanted to do. It might be a bit convoluted and having to use a floppy disk isn&#8217;t the fastest and quietest way to boot a computer, but for using this machine at home, it&#8217;s all right.</p>
<p>However, this security hole did not have to be in the system since eXtended FDisk supports password protection for the boot-from-floppy option. Also, as a infosec person, I would never recommend deploying software in beta status on &#8220;production devices&#8221;. Maybe they just thought &#8220;Ah, who even has floppy drives these days?! We don&#8217;t need to care about this!&#8221;</p>
<p>One path which I did not pursue at all is trying to reconfigure eXtended FDisk. This should also be possible and we would not need a floppy drive at all. The sweet thing about the FDD-solution is that it can not be traced at all whereas the other solutions require changes to the installed system.</p>
]]></content:encoded>
			<wfw:commentRss>http://cclassic.users.sourceforge.net/wp/?feed=rss2&#038;p=574</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
