<?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>ひろぽっぽれす &#187; VirtualPC</title>
	<atom:link href="http://hiropo.co.uk/archives/category/virtualpc/feed" rel="self" type="application/rss+xml" />
	<link>http://hiropo.co.uk</link>
	<description>Web系エンジニアの適当なブログです。どうでも酔いものばかり作ってます。</description>
	<lastBuildDate>Sun, 25 Jul 2010 17:09:15 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>「ブラッディ・マンデイ」の藤丸がもってるUSBメモリの作り方</title>
		<link>http://hiropo.co.uk/archives/111</link>
		<comments>http://hiropo.co.uk/archives/111#comments</comments>
		<pubDate>Sat, 20 Dec 2008 13:22:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VirtualPC]]></category>
		<category><![CDATA[backtrack]]></category>
		<category><![CDATA[crack]]></category>
		<category><![CDATA[hack]]></category>

		<guid isPermaLink="false">http://hiropo.co.uk/?p=111</guid>
		<description><![CDATA[ブラッディ・マンデイ、ついに最終回が終わりましたね。 今回はブラッディ・マンデイの主人公、高木藤丸がもっているUSBメモリ（的な）の作り方を。 （※自己責任でつくってねん。ちなみに不正侵入は犯罪だよ！ダメ！絶対！） このUSBメモリの中身を作るにあたって、参考にしたサイトは下記の通りです。 ■高校生サーバー管理者の考察日誌 ブラッディ・マンデイが始まってから『「ブラッディ・マンデイ」を考察する』というブログを書き始められたのですが、 このブログを書いてるのはなんと高校生！脱帽です。 ■【BackTrack 3】：Royal Windows 今回のUSBメモリ作成にあたって選んだOS『backtrack3』について記事を書かれているatc-500 さんのブログ。 今回の作成方法もここを丸パクりと言っていほど参考にしています。 高木藤丸仕様ですが、USBメモリ内にＵＳＢブート可能なＯＳを入れて、 そいつをもろもろカスタマイズして使ってるんではないかと。 という訳で、ＵＳＢブート可能なＬｉｎｕｘを使います。 ubuntuでも良いし、ＵＳＢブートできるFedoraでも良いし、ＯＳは何でも良いです。 今回僕はペネトレーションテスト用ＯＳ、『backtrack3』を使います。 （backtrackについては自分で調べてくださいね。） ちなみに、ざっくりとした作り方はこちら ▼準備するもの [1] ubuntu Linux （ＬｉｖｅCD） or VMware版 ubuntu Linux ※ubuntuはUSBメモリのパーティションを分割するために使います。 ※パーティション分割できればOKなので、OSはubuntuじゃなくても可。 [2] USBメモリ（4GB以上がオススメ） とりあえず上記があればつくれます。あとUSBブートできるパソコンも必要ね！ [3]backtrack3final （ペネトレーション用OS） [4]ophcrack （windowsパスワードクラッカー） 要は、[2]に[3]と[4]をぶっこむというわけです。（完成！？ｗ） まずはUSBメモリを分割します。 fdiskを使って分割していきましょう。 PLAIN TEXT CODE: root@ubuntu-vm:~# fdisk /dev/sdb Command &#40;m for help&#41;: p &#160; Disk /dev/sdb: [...]]]></description>
			<content:encoded><![CDATA[<p>ブラッディ・マンデイ、ついに最終回が終わりましたね。<br />
今回はブラッディ・マンデイの主人公、高木藤丸がもっているUSBメモリ（的な）の作り方を。<br />
（※自己責任でつくってねん。ちなみに不正侵入は犯罪だよ！ダメ！絶対！）</p>
<p>このUSBメモリの中身を作るにあたって、参考にしたサイトは下記の通りです。<br />
■<a href="http://japan.cnet.com/blog/isidai/" target="_blank">高校生サーバー管理者の考察日誌</a><br />
ブラッディ・マンデイが始まってから『「ブラッディ・マンデイ」を考察する』というブログを書き始められたのですが、<br />
このブログを書いてるのはなんと高校生！脱帽です。<br />
■<a href="http://royalwin.blog.so-net.ne.jp/2008-07-01" target="_blank">【BackTrack 3】：Royal Windows</a><br />
今回のUSBメモリ作成にあたって選んだOS『backtrack3』について記事を書かれているatc-500 さんのブログ。<br />
今回の作成方法もここを丸パクりと言っていほど参考にしています。</p>
<p>高木藤丸仕様ですが、USBメモリ内にＵＳＢブート可能なＯＳを入れて、<br />
そいつをもろもろカスタマイズして使ってるんではないかと。<br />
という訳で、ＵＳＢブート可能なＬｉｎｕｘを使います。<br />
ubuntuでも良いし、ＵＳＢブートできるFedoraでも良いし、ＯＳは何でも良いです。<br />
今回僕はペネトレーションテスト用ＯＳ、『backtrack3』を使います。<br />
（backtrackについては自分で調べてくださいね。）</p>
<p><a href="http://hiropo.co.uk/archives/95">ちなみに、ざっくりとした作り方はこちら</a></p>
<blockquote><p>▼準備するもの<br />
[1] <a href="http://www.ubuntulinux.jp/products/JA-Localized/download" target="_blank">ubuntu Linux （ＬｉｖｅCD）</a> or <a href="http://www.ubuntulinux.jp/products/JA-Localized/vmware" target="_blank">VMware版 ubuntu Linux</a><br />
※ubuntuはUSBメモリのパーティションを分割するために使います。<br />
※パーティション分割できればOKなので、OSはubuntuじゃなくても可。<br />
[2] USBメモリ（4GB以上がオススメ）</p></blockquote>
<p>とりあえず上記があればつくれます。あとUSBブートできるパソコンも必要ね！<br />
[3]<a href="http://www.remote-exploit.org/backtrack_download.html" target="_blank">backtrack3final （ペネトレーション用OS）</a><br />
[4]<a href="http://ophcrack.sourceforge.net/download.php" target="_blank">ophcrack （windowsパスワードクラッカー）</a></p>
<p>要は、[2]に[3]と[4]をぶっこむというわけです。（完成！？ｗ）</p>
<p>まずはUSBメモリを分割します。<br />
fdiskを使って分割していきましょう。</p>
<div class="igBar"><span id="lcode-9"><a href="#" onclick="javascript:showCodeTxt('code-9'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-9">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">root@ubuntu-vm:~# fdisk /dev/sdb</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Command <span style="color:#006600; font-weight:bold;">&#40;</span>m for help<span style="color:#006600; font-weight:bold;">&#41;</span>: p</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Disk /dev/sdb: <span style="color:#800000;color:#800000;">4009</span> MB, <span style="color:#800000;color:#800000;">4009754624</span> bytes</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#800000;color:#800000;">5</span> heads, <span style="color:#800000;color:#800000;">32</span> sectors/track, <span style="color:#800000;color:#800000;">48947</span> cylinders</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Units = cylinders of <span style="color:#800000;color:#800000;">160</span> * <span style="color:#800000;color:#800000;">512</span> = <span style="color:#800000;color:#800000;">81920</span> bytes</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Disk identifier: 0x9fe248cd</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;Device Boot&nbsp; &nbsp; &nbsp; Start&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;End&nbsp; &nbsp; &nbsp; Blocks&nbsp; &nbsp;Id&nbsp; System </div>
</li>
</ol>
</div>
</div>
</div>
<p>
まず、fdiskのpコマンドで、USBメモリ内にパーティションがないことを確認。<br />
通常は、パーティションが何かしらあると思うので、dコマンドでパーティションを削除しておくこと。</p>
<p>では、パーティションがないという前提ですすめていく。</p>
<div class="igBar"><span id="lcode-10"><a href="#" onclick="javascript:showCodeTxt('code-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-10">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Command <span style="color:#006600; font-weight:bold;">&#40;</span>m for help<span style="color:#006600; font-weight:bold;">&#41;</span>: n</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Command action</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;e&nbsp; &nbsp;extended</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;p&nbsp; &nbsp;primary partition <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">1</span>-<span style="color:#800000;color:#800000;">4</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">p</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Partition number <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">1</span>-<span style="color:#800000;color:#800000;">4</span><span style="color:#006600; font-weight:bold;">&#41;</span>: <span style="color:#800000;color:#800000;">1</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">First cylinder <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">1</span>-<span style="color:#800000;color:#800000;">48947</span>, default <span style="color:#800000;color:#800000;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>:</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Using default value <span style="color:#800000;color:#800000;">1</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Last cylinder or +size or +sizeM or +sizeK <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">1</span>-<span style="color:#800000;color:#800000;">48947</span>, default <span style="color:#800000;color:#800000;">48947</span><span style="color:#006600; font-weight:bold;">&#41;</span>: <span style="color:#800000;color:#800000;">24473</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
fdiskのnコマンドでプライマリパーティションを切っていく。<br />
まず一つ目。シリンダーサイズが48947となっているので、半分（24473）のところでパーティションをぶち切る。<br />
そして、ファーストパーティションはwindows形式（FAT32）にする。</p>
<div class="igBar"><span id="lcode-11"><a href="#" onclick="javascript:showCodeTxt('code-11'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-11">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Command <span style="color:#006600; font-weight:bold;">&#40;</span>m for help<span style="color:#006600; font-weight:bold;">&#41;</span>: t</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Selected partition <span style="color:#800000;color:#800000;">1</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Hex code <span style="color:#006600; font-weight:bold;">&#40;</span>type L to list codes<span style="color:#006600; font-weight:bold;">&#41;</span>: b</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Changed system type of partition <span style="color:#800000;color:#800000;">1</span> to b <span style="color:#006600; font-weight:bold;">&#40;</span>W95 FAT32<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Command <span style="color:#006600; font-weight:bold;">&#40;</span>m for help<span style="color:#006600; font-weight:bold;">&#41;</span>: p</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Disk /dev/sdb: <span style="color:#800000;color:#800000;">4009</span> MB, <span style="color:#800000;color:#800000;">4009754624</span> bytes</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#800000;color:#800000;">5</span> heads, <span style="color:#800000;color:#800000;">32</span> sectors/track, <span style="color:#800000;color:#800000;">48947</span> cylinders</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Units = cylinders of <span style="color:#800000;color:#800000;">160</span> * <span style="color:#800000;color:#800000;">512</span> = <span style="color:#800000;color:#800000;">81920</span> bytes</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Disk identifier: 0x9fe248cd</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;Device Boot&nbsp; &nbsp; &nbsp; Start&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;End&nbsp; &nbsp; &nbsp; Blocks&nbsp; &nbsp;Id&nbsp; System</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">/dev/sdb1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#800000;color:#800000;">1</span>&nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#800000;color:#800000;">24473</span>&nbsp; &nbsp; &nbsp;<span style="color:#800000;color:#800000;">1957824</span>&nbsp; &nbsp; b&nbsp; W95 FAT32 </div>
</li>
</ol>
</div>
</div>
</div>
<p>
tコマンドで、b を選ぶとファイルシステムがwindows形式（FAT32）になった。</p>
<p>同じ要領でセカンドパーティションを作っていく。</p>
<div class="igBar"><span id="lcode-12"><a href="#" onclick="javascript:showCodeTxt('code-12'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-12">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Command <span style="color:#006600; font-weight:bold;">&#40;</span>m for help<span style="color:#006600; font-weight:bold;">&#41;</span>: n</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Command action</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;e&nbsp; &nbsp;extended</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;p&nbsp; &nbsp;primary partition <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">1</span>-<span style="color:#800000;color:#800000;">4</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">p</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Partition number <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">1</span>-<span style="color:#800000;color:#800000;">4</span><span style="color:#006600; font-weight:bold;">&#41;</span>: <span style="color:#800000;color:#800000;">2</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">First cylinder <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">24474</span>-<span style="color:#800000;color:#800000;">48947</span>, default <span style="color:#800000;color:#800000;">24474</span><span style="color:#006600; font-weight:bold;">&#41;</span>:</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Using default value <span style="color:#800000;color:#800000;">24474</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Last cylinder or +size or +sizeM or +sizeK <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">24474</span>-<span style="color:#800000;color:#800000;">48947</span>, default <span style="color:#800000;color:#800000;">48947</span><span style="color:#006600; font-weight:bold;">&#41;</span>:</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Using default value <span style="color:#800000;color:#800000;">48947</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Command <span style="color:#006600; font-weight:bold;">&#40;</span>m for help<span style="color:#006600; font-weight:bold;">&#41;</span>: t</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Partition number <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">1</span>-<span style="color:#800000;color:#800000;">4</span><span style="color:#006600; font-weight:bold;">&#41;</span>: <span style="color:#800000;color:#800000;">2</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Hex code <span style="color:#006600; font-weight:bold;">&#40;</span>type L to list codes<span style="color:#006600; font-weight:bold;">&#41;</span>: <span style="color:#800000;color:#800000;">83</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Command <span style="color:#006600; font-weight:bold;">&#40;</span>m for help<span style="color:#006600; font-weight:bold;">&#41;</span>: p</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Disk /dev/sdb: <span style="color:#800000;color:#800000;">4009</span> MB, <span style="color:#800000;color:#800000;">4009754624</span> bytes</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#800000;color:#800000;">5</span> heads, <span style="color:#800000;color:#800000;">32</span> sectors/track, <span style="color:#800000;color:#800000;">48947</span> cylinders</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Units = cylinders of <span style="color:#800000;color:#800000;">160</span> * <span style="color:#800000;color:#800000;">512</span> = <span style="color:#800000;color:#800000;">81920</span> bytes</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Disk identifier: 0x9fe248cd</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;Device Boot&nbsp; &nbsp; &nbsp; Start&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;End&nbsp; &nbsp; &nbsp; Blocks&nbsp; &nbsp;Id&nbsp; System</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">/dev/sdb1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#800000;color:#800000;">1</span>&nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#800000;color:#800000;">24473</span>&nbsp; &nbsp; &nbsp;<span style="color:#800000;color:#800000;">1957824</span>&nbsp; &nbsp; b&nbsp; W95 FAT32</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">/dev/sdb2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#800000;color:#800000;">24474</span>&nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#800000;color:#800000;">48947</span>&nbsp; &nbsp; &nbsp;<span style="color:#800000;color:#800000;">1957920</span>&nbsp; &nbsp;<span style="color:#800000;color:#800000;">83</span>&nbsp; Linux </div>
</li>
</ol>
</div>
</div>
</div>
<p>
セカンドパーティションはファイルシステムをLinuxにした。<br />
セカンドパーティションは設定データなどを保存するためのディスクになる。</p>
<p>ここまでできたら、fdisk の w コマンドで設定を保存し終了する。<br />
fdiskを抜けたら、ふたつのパーティションをフォーマットする。</p>
<p>もしマウントされていたら、umountコマンドでアンマウントしておくこと。</p>
<div class="igBar"><span id="lcode-13"><a href="#" onclick="javascript:showCodeTxt('code-13'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-13">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">root@ubuntu-vm:~# mkfs.<span style="">vfat</span> /dev/sdb1</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">root@ubuntu-vm:~# mkfs.<span style="">ext2</span> /dev/sdb2 </div>
</li>
</ol>
</div>
</div>
</div>
<p>
次に、データ保存用の"changes"フォルダをつくる。</p>
<div class="igBar"><span id="lcode-14"><a href="#" onclick="javascript:showCodeTxt('code-14'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-14">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">root@ubuntu-vm:~# mount /dev/sdb2 /media/disk</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">root@ubuntu-vm:~# cd /media/disk/</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">root@ubuntu-vm:/media/disk# ls</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">lost+found</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">root@ubuntu-vm:/media/disk# mkdir changes</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">root@ubuntu-vm:/media/disk# ls</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">changes&nbsp; lost+found </div>
</li>
</ol>
</div>
</div>
</div>
<p>
上記例では、/media/disk にUSBメモリのセカンドパーティションをマウントして、<br />
mkdir で "changes"フォルダを作っている。</p>
<p>ここまでで、USBメモリ側の準備はできた。</p>
<p>さて、これからが本番である。<br />
backtrack本体とophcrackをUSBメモリにつっこんでいく。<br />
MBRはbacktrack3のものを使う。そして、backtrack3とophcrackのカーネルを共存させる。</p>
<p>ここからはwindowsでもmacでもLinuxでも作業方法は何でも良い。<br />
ここではwindowsをベースに説明していく。（ここからは超簡単。）</p>
<p>まずはダウンロードしてきたbacktrackを解凍する。<br />
すると中に、</p>
<blockquote><p>/boot<br />
/BT3</p></blockquote>
<p>というフォルダがあるので、こいつらをUSBメモリのファーストパーティションにコピーする。<br />
そしたら次にダウンロードしたophcrackを解凍して中身を確認する。</p>
<blockquote><p>/boot<br />
/ophcrack</p></blockquote>
<p>というフォルダが確認できるだろう。<br />
そしたら、"/ophcrack"フォルダだけ、USBメモリにコピーする。<br />
（レインボーテーブルもダウンロードした人はレインボーテーブルも。）</p>
<p>ここまでできたら、次にUSBメモリ内に移動する。<br />
そして、"/boot" フォルダ内に "oph"というフォルダをつくる。</p>
<blockquote><p>＃ここまでのUSBメモリ内<br />
/boot<br />
/boot/oph<br />
/ophcrack<br />
/BT3</p>
<p>※他にもフォルダやファイルはあるが、割愛する。</p></blockquote>
<p>ここまでできたら、"/boot/oph" フォルダ内に、ophcrackのカーネルイメージを入れる。</p>
<blockquote><p>＃ophcrackを解凍した際にできた"/boot"フォルダ内から、<br />
"vmlinuz" と "initrd.gz" をUSBメモリ内の"/boot/oph" にコピーする。</p></blockquote>
<p>これでUSBメモリ内に必要なファイルはすべて揃った。</p>
<p>次にブートメニューをいじっていく。<br />
USBメモリ内にある、"/boot/syslinux" フォルダ内の"syslinux.cfg" をカスタマイズする。<br />
このファイルがブートメニューの設定ファイルである。</p>
<p>必要なものは下記の３つあたりだろう。<br />
ちなみに下記は僕がすでにカスタマイズしたあとです。<br />
ポイントは"changes=/dev/sdb2" ←こいつ。<br />
セカンドパーティションが設定やらのデータ保存領域になります。</p>
<div class="igBar"><span id="lcode-15"><a href="#" onclick="javascript:showCodeTxt('code-15'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-15">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#backtrack3 グラフィックモード</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">LABEL pchanges</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">MENU LABEL BackTrack3</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">KERNEL /boot/vmlinuz</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">APPEND initrd=/boot/initrd.<span style="">gz</span> ramdisk_size=<span style="color:#800000;color:#800000;">6666</span> root=/dev/ram0 rw changes=/dev/sdb2 autoexec=xconf;kdm</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#backtrack3 テキストモード</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">LABEL BT3</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">MENU LABEL BackTrack3 text_mode</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">KERNEL /boot/vmlinuz</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">APPEND initrd=/boot/initrd.<span style="">gz</span> ramdisk_size=<span style="color:#800000;color:#800000;">6666</span> root=/dev/ram0 rw changes=/dev/sdb2</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#ophcrack グラフィックモード</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">LABEL oph</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">MENU LABEL Ophcrack</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">KERNEL /boot/oph/vmlinuz</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">APPEND initrd=/boot/oph/initrd.<span style="">gz</span> ramdisk_size=<span style="color:#800000;color:#800000;">6666</span> root=/dev/ram0 rw autoexec=xconf;startx changes=/slax/ </div>
</li>
</ol>
</div>
</div>
</div>
<p>
これですべての準備は整いましたね。<br />
最後に、下記のファイルを実行して、USBブートを可能にする。</p>
<div class="igBar"><span id="lcode-16"><a href="#" onclick="javascript:showCodeTxt('code-16'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-16">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">＃USBメモリ内の、下記ファイルを実行。※必ずUSBメモリ内で実行してください！</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">＃windowsのローカル上で実行するとwindowsがぶっこわれる可能性が。</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">/boot/bootinst.<span style="">bat</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
これで完成です。長かったですね・・・。<br />
あとは、USBメモリをブートすれば、藤丸仕様っぽいUSBメモリが完成です。<br />
パスワードクラックでも、侵入テストでも何でもテキトーにやってみてください。<br />
（自分のマシンを対象にやってねん。人のマシンはダメよ！）</p>
<p>ってな感じで以上です。<br />
なんか間違ってる部分とかあったらご指摘くださいませ。（まだまだ勉強中です…。）</p>
]]></content:encoded>
			<wfw:commentRss>http://hiropo.co.uk/archives/111/feed</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>FedoraCore6の起動オプションをいじってみた。</title>
		<link>http://hiropo.co.uk/archives/59</link>
		<comments>http://hiropo.co.uk/archives/59#comments</comments>
		<pubDate>Wed, 10 Dec 2008 17:20:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FedoraCore]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VirtualPC]]></category>

		<guid isPermaLink="false">http://hiropo.co.uk/?p=59</guid>
		<description><![CDATA[以前書いた記事↓ ＃VirtualPC Fedoraの起動　Athlon系は起動オプション clock=pit をつける。 毎回、ブートオプションに "clock=pit" つけるのはめんどいので、 FedoraCore6の grub.conf をいじってみたい。 PLAIN TEXT CODE: &#91;root@Asuka ~&#93;# vi /boot/grub/grub.conf kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 clock=pit shutdown -r now で、無事に reboot したお。 これで毎回入れる手間が省ける。]]></description>
			<content:encoded><![CDATA[<p>以前書いた記事↓</p>
<p><a href="http://hiropo.co.uk/archives/49">＃VirtualPC Fedoraの起動　Athlon系は起動オプション clock=pit をつける。</a></p>
<p>毎回、ブートオプションに "clock=pit" つけるのはめんどいので、<br />
FedoraCore6の grub.conf をいじってみたい。</p>
<div class="igBar"><span id="lcode-18"><a href="#" onclick="javascript:showCodeTxt('code-18'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-18">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>root@Asuka ~<span style="color:#006600; font-weight:bold;">&#93;</span># vi /boot/grub/grub.<span style="">conf</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">kernel /vmlinuz-<span style="color:#800000;color:#800000;">2</span>.<span style="color:#800000;color:#800000;">6</span>.<span style="color:#800000;color:#800000;">18</span>-<span style="color:#800000;color:#800000;">1</span>.<span style="color:#800000;color:#800000;">2798</span>.<span style="">fc6</span> ro root=/dev/VolGroup00/LogVol00 clock=pit </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>shutdown -r now で、無事に reboot したお。</p>
<p>これで毎回入れる手間が省ける。</p>
]]></content:encoded>
			<wfw:commentRss>http://hiropo.co.uk/archives/59/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualPC Fedoraの起動　Athlon系は起動オプション clock=pit をつける。</title>
		<link>http://hiropo.co.uk/archives/49</link>
		<comments>http://hiropo.co.uk/archives/49#comments</comments>
		<pubDate>Wed, 01 Oct 2008 13:56:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FedoraCore]]></category>
		<category><![CDATA[VirtualPC]]></category>
		<category><![CDATA[鯖]]></category>

		<guid isPermaLink="false">http://hiropo.co.uk/archives/49</guid>
		<description><![CDATA[FedoraCore6 がインスコされてるVirtualHDDをVirtualPCで読みだそうとしたところ、起動途中で止まってしまう。 いろいろ調べていくうちに、intel系は特に問題なさそうだが、Athlon系は、Fedoraの起動オプションに、clock=pit をつけてあげないと起動しないらしい。 試しに　clock=pit　を起動オプションにつけてみた。 ・・・動いた。 イラっとするなぁ～、MSちゃん！]]></description>
			<content:encoded><![CDATA[<p>FedoraCore6 がインスコされてるVirtualHDDをVirtualPCで読みだそうとしたところ、起動途中で止まってしまう。<br />
いろいろ調べていくうちに、intel系は特に問題なさそうだが、Athlon系は、Fedoraの起動オプションに、clock=pit をつけてあげないと起動しないらしい。</p>
<p>試しに　clock=pit　を起動オプションにつけてみた。</p>
<p>・・・動いた。</p>
<p>イラっとするなぁ～、MSちゃん！</p>
]]></content:encoded>
			<wfw:commentRss>http://hiropo.co.uk/archives/49/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
