<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>lo0.ro</title>
	
	<link>http://www.lo0.ro</link>
	<description>cat /dev/null &gt; stupidity - nobody is safe</description>
	<lastBuildDate>Sun, 07 Apr 2013 14:59:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Lo0ro" /><feedburner:info uri="lo0ro" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>how to install backtrack 5 R3 on a encrypted hdd and get it working with the latest tools</title>
		<link>http://feedproxy.google.com/~r/Lo0ro/~3/nLCy6ay5U3w/</link>
		<comments>http://www.lo0.ro/2013/how-to-install-backtrack-5-r3-on-a-encrypted-hdd-and-get-it-working-with-the-latest-tools/#comments</comments>
		<pubDate>Tue, 02 Apr 2013 18:30:56 +0000</pubDate>
		<dc:creator>un baiat</dc:creator>
				<category><![CDATA[hacking]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[baby gnomes]]></category>
		<category><![CDATA[backtrack 5 r3]]></category>
		<category><![CDATA[encypted hdd]]></category>
		<category><![CDATA[fix audio]]></category>
		<category><![CDATA[fix firefox]]></category>
		<category><![CDATA[fix flash player]]></category>
		<category><![CDATA[fix java]]></category>
		<category><![CDATA[fix lock screen]]></category>
		<category><![CDATA[fix wireless]]></category>

		<guid isPermaLink="false">http://www.lo0.ro/?p=698</guid>
		<description><![CDATA[First of all this is not my work an I will try to mention every source. This is based on one post of Kevin over at www.infosecramblings.com  and one of sirwolfgang from disillusion.us Second, I now Kali is out but I'm just waiting for a more mature project as the dist has a lot of [...]]]></description>
				<content:encoded><![CDATA[<p>First of all this is not my work an I will try to mention every source. This is based on one post of Kevin over at <a href="http://www.infosecramblings.com/">www.infosecramblings.com</a>  and one of sirwolfgang from <a href="http://disillusion.us">disillusion.us</a></p>
<p>Second, I now Kali is out but I'm just waiting for a more mature project as the dist has a lot of bugs.</p>
<p>This tutorial is for the a 32 bit install but if you have an IQ grater than 60 I'm sure you'll mange to adapt. Also please check the versions downloaded with wget are the latest.</p>
<p><span id="more-698"></span></p>
<p>Get Backtrack 5 R3 from somewhere. Get UNebootin and install it to a stick. Now you have installed backtrack 5 r3 on an non-ecrypted non-persistent usb stick. Wow. Great. Of course you can always burn a DVD.</p>
<p>To get a clean usb disk  on a win station open a command prompt and type the the following:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">diskpart
list disk
<span style="color: #000000; font-weight: bold;">select</span> disk <span style="color: #7a0874; font-weight: bold;">&#40;</span>enter usb disk number<span style="color: #7a0874; font-weight: bold;">&#41;</span>
clean
create partition primary
<span style="color: #000000; font-weight: bold;">select</span> partition <span style="color: #000000;">1</span>
format <span style="color: #007800;">fs</span>=fat32 quick
active
assign</pre></td></tr></table></div>

<p>Boot it up and enter startx to get the gnome or kde interface.</p>
<p>1. Open a terminal and get an ip address. If you have dhcp enabled on your router just type dhclient eth0 and hit enter.<br />
2. Delete all partitions. This is how you do it:</p>
<p>fdisk /dev/sda</p>
<p># use the appropriate drive letter for your system</p>
<p># delete existing partitions. There may be more than one.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">Command <span style="color: #7a0874; font-weight: bold;">&#40;</span>m <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">help</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: d
Partition number <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1</span>-<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #000000;">1</span></pre></td></tr></table></div>

<p># create the first partition</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">Command <span style="color: #7a0874; font-weight: bold;">&#40;</span>m <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">help</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: n
Command action e extended p primary partition <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1</span>-<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> p
Partition number <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1</span>-<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #000000;">1</span>
First cylinder <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1</span>-<span style="color: #000000;">2022</span>, default <span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>:
Using default value <span style="color: #000000;">1</span> Last cylinder, +cylinders or +<span style="color: #c20cb9; font-weight: bold;">size</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>K,M,G<span style="color: #7a0874; font-weight: bold;">&#125;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1</span>-<span style="color: #000000;">2022</span>, default <span style="color: #000000;">2022</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: +1G</pre></td></tr></table></div>

<p># create the extended partition</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">Command <span style="color: #7a0874; font-weight: bold;">&#40;</span>m <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">help</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: n
Command action e extended p primary partition <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1</span>-<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> e
Partition number <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1</span>-<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #000000;">2</span>
First cylinder <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">66</span>-<span style="color: #000000;">2022</span>, default <span style="color: #000000;">66</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>:
Using default value <span style="color: #000000;">66</span> Last cylinder, +cylinders or +<span style="color: #c20cb9; font-weight: bold;">size</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>K,M,G<span style="color: #7a0874; font-weight: bold;">&#125;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">66</span>-<span style="color: #000000;">2022</span>, default <span style="color: #000000;">2022</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>:
Using default value <span style="color: #000000;">2022</span></pre></td></tr></table></div>

<p># Create the logical partition.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">Command <span style="color: #7a0874; font-weight: bold;">&#40;</span>m <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">help</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: n
Command action l logical <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">5</span> or over<span style="color: #7a0874; font-weight: bold;">&#41;</span> p primary partition <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1</span>-<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> l
First cylinder <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">66</span>-<span style="color: #000000;">2022</span>, default <span style="color: #000000;">66</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>:
Using default value <span style="color: #000000;">66</span> Last cylinder, +cylinders or +<span style="color: #c20cb9; font-weight: bold;">size</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>K,M,G<span style="color: #7a0874; font-weight: bold;">&#125;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">66</span>-<span style="color: #000000;">2022</span>, default <span style="color: #000000;">2022</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>:
Using default value <span style="color: #000000;">2022</span></pre></td></tr></table></div>

<p># Setting the partition type for the first partition to ext3 Command (m for help): t</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">Partition number <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1</span>-<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #000000;">1</span>
Hex code <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">type</span> L to list codes<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #000000;">83</span></pre></td></tr></table></div>

<p># Setting the first partition active</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">Command <span style="color: #7a0874; font-weight: bold;">&#40;</span>m <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">help</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: a
Partition number <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1</span>-<span style="color: #000000;">4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #000000;">1</span>
Command <span style="color: #7a0874; font-weight: bold;">&#40;</span>m <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">help</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #c20cb9; font-weight: bold;">w</span></pre></td></tr></table></div>

<p>If you happen to get an error that mentions something like “..the partition table failed with error 16:…”, you need to reboot before continuing with the how-to. After rebooting, you will need to re-execute the Partitioning section of this tutorial.</p>
<p>Install the tool needed for encrypting your hdd:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get update</span>
<span style="color: #c20cb9; font-weight: bold;">apt-get install</span> hashalot</pre></td></tr></table></div>

<p>Our next step is to enable encryption on the logical partition we created above and make it available for use. Before we do that though, there is an optional step we can take if we want to make sure no one can tell where our data is on the drive. It isn’t really necessary since anything written will be encrypted, but if we want to be thorough and make sure no one can see where our data even sits on the drive, we can fill the logical partition with random data before enabling encryption on it. This will take some time, as much as a couple hours or more. Execute the following command:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;">if</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>urandom <span style="color: #007800;">of</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda5 <span style="color: #000000; font-weight: bold;">&amp;</span> <span style="color: #007800;">pid</span>=<span style="color: #007800;">$!</span></pre></td></tr></table></div>

<p>Then use the fallowing to check the write speed, and progress.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">kill</span> –USR1 <span style="color: #007800;">$pid</span></pre></td></tr></table></div>

<p>To do my full 250GB hdd, it was going to take 24 hours. I let it go over night it got to 150GB then I just killed the process, and continued on with my life.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">kill</span> <span style="color: #007800;">$pid</span></pre></td></tr></table></div>

<p>The following commands will setup encryption services for the partition and open it for use. There are several ciphers that can be used, but the one indicated in the command is supposed to be the most secure and quickest for Ubuntu 8.10. Please note that the case of the command luksFormat is required.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">cryptsetup <span style="color: #660033;">-y</span> <span style="color: #660033;">--cipher</span> aes-xts-plain <span style="color: #660033;">--key-size</span> <span style="color: #000000;">512</span> luksFormat <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda5</pre></td></tr></table></div>

<p>WARNING! ======== This will overwrite data on /dev/sda5 irrevocably. Are you sure? (Type uppercase yes): YES<br />
Enter LUKS passphrase: (enter passphrase) [type passphrase]<br />
Verify passphrase: (repeat passphrase) [type passphase]</p>
<p>Command successful.</p>
<p>Now type:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">cryptsetup luksOpen <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda5 pvcrypt</pre></td></tr></table></div>

<p>and hit enter<br />
Enter LUKS passphrase: [type passphrase]<br />
key slot 0 unlocked. Command successful.</p>
<p>If you should happen to get a “cannot access device” error when trying to perform the cryptsetup setup commands above, make sure the drive has not been mounted. That can happen sometimes. Now that that’s all done, we can create our root and swap partitions using LVM.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">pvcreate <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>pvcrypt</pre></td></tr></table></div>

<p>Physical "volume /dev/mapper/pvcrypt" successfully created</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">vgcreate vg <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>pvcrypt</pre></td></tr></table></div>

<p>Volume group "vg" successfully created</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">lvcreate <span style="color: #660033;">-n</span> root <span style="color: #660033;">-l</span> <span style="color: #000000;">100</span><span style="color: #000000; font-weight: bold;">%</span>FREE vg</pre></td></tr></table></div>

<p>Logical volume "root" created.</p>
<p>The final step is to format the logical volumes we just created. I have not included the output below for brevity’s sake.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">mkfs.ext4 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>vg-root</pre></td></tr></table></div>

<p>Installation</p>
<p>Believe it or not, we are finally ready to start installing Backtrack. To do, double-click on the install.sh icon on the desktop. This will start the graphical installer.</p>
<p>Select you language of choice and click the ‘Forward’ button.</p>
<p>The next step is to select our keyboard layout. Pick yours and click the ‘Forward’ button. I cannot vouch for any keyboard layout other than English.</p>
<p>Click on ‘Specify partitions manually’ and click the ‘Forward’ button.</p>
<p>We are not going to indicate the mount points for our partitions. First let’s setup our root partition. Click on the row with vg-root in it and click the ‘Change’ button.</p>
<p>Select ext4 from the dropdown menu for ‘Use as:’, click ‘Format the partition:’, enter ‘/’ without the quotes for the mount point and click the ‘OK’ button. The system will re-read the partition table and redisplay it.</p>
<p>Again, select ext4 and click the format checkbox. Enter ‘/boot’ without the quotes for the mount point and click the ‘OK’ button. The disk partition will be re-read and the display updated.</p>
<p>You will get this message if you are installing to a USB drive and not using a swap partition. Click the ‘Continue’ button.</p>
<p>WARNING: You must click on the advanced tab on the next page and select your the boot partition created earlier as the target for installing the boot loader. You will break your system if you do not.</p>
<p>Don’t forget! Make sure you select the target disk for your install as the device for the boot loader to be installed on or you run the risk of making the system you are doing this on non-bootable. Then click on the ‘OK’ button.</p>
<p>This will take some time. Go get a coke or beverage or your choice and relax for a bit. More waiting. and…more waiting. If it seems like the system is stuck at 99% forever, that’s normal, at least in every case where I have done the install.</p>
<p>Finally! Important! Click on the ‘Continue Testing’ button. DO NOT click on the ‘Restart Now’ button or you have to redo a bunch of stuff.</p>
<p>We have now installed the main distribution to our thumb drive. The next step is to configure the newly installed system to use LVM and open the encrypted partition. However, before we do that we need to figure out the UUID of our encrypted volume. We want to do this so that we don’t run into problems if the device name of the drive changes from machine to machine. The command we used to use to do this was vol_id. This has changed with Backtrack 5. We now use blkid. So execute blkidas below.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">blkid <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda5
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda5: <span style="color: #007800;">UUID</span>=<span style="color: #ff0000;">&quot;2c133ec5-2eb2-4261-b8ee-5f6924b24ee4&quot;</span> <span style="color: #007800;">TYPE</span>=<span style="color: #ff0000;">&quot;crypto-LUKS&quot;</span></pre></td></tr></table></div>

<p>Make a note of the ID_FS_UUID value which is in italics above. We will need it later. Note: your output will be different than mine. Now time to configure our newly installed system. The first thing we have to do is make the newly installed system active so we can make changes to it. We do that by mounting the partitions and chrooting to it.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>backtrack5
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>vg-root <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>backtrack5
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda1 <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>backtrack5<span style="color: #000000; font-weight: bold;">/</span>boot
<span style="color: #c20cb9; font-weight: bold;">chroot</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>backtrack5
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> proc proc <span style="color: #000000; font-weight: bold;">/</span>proc
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> sysfs sys <span style="color: #000000; font-weight: bold;">/</span>sys</pre></td></tr></table></div>

<p>To make everything truly operational, we can mount /dev/pts, but every time I try I have problems unless I reboot first. That is a real pain, so I just don’t mount /dev/pts. We will get a couple warnings/errors as we go along, but they do not affect our install. The magic to making all this work is to rebuild the initrd image that is used to boot our system. We need to include some things, load some modules, and tell it to open the encrypted volume, but first we have to go through the whole process of installing software again. We have to do this because we are essentially right back where we started when we booted the live cd. Do the following again.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get update</span>
<span style="color: #c20cb9; font-weight: bold;">apt-get install</span> hashalot</pre></td></tr></table></div>

<p>The next step is to configure how initramfs-tools will create our initrd file. This involves editing one files, the /etc/crypttab file. follow the directions below to correct it. I use the vi editor, but you can use your favorite editor.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>crypttab</pre></td></tr></table></div>

<p>We need to add the following line to the file. If you are new to vi, hit the o key and the type the following:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">pvcrypt <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>disk<span style="color: #000000; font-weight: bold;">/</span>by-uuid<span style="color: #000000; font-weight: bold;">/</span> none luks</pre></td></tr></table></div>

<p>When you are done typing that line, hit the esc key and then type ‘:wq’ without the quotes to save and exit vi. The file should look like this. The uuid is unique to my case. Make sure yours matches your system.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666;"># </span>pvcrypt <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>disk<span style="color: #000000; font-weight: bold;">/</span>by-uuid<span style="color: #000000; font-weight: bold;">/</span>09330b5a-<span style="color: #000000;">5659</span>-4efd-8e9d-0abc404c5162 none luks</pre></td></tr></table></div>

<p>Fixing the /etc/fstab file if necessary If we need to edit the /etc/fstab file, do the following. Again, use your favorite editor or vi.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fstab</pre></td></tr></table></div>

<p>The file will look something like below. The UUIDs will be different though.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /etc/fstab: static file system information.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Use 'blkid -o value -s UUID' to print the universally unique identifier</span>
<span style="color: #666666; font-style: italic;"># for a device; this may be used with UUID= as a more robust way to name</span>
<span style="color: #666666; font-style: italic;"># devices that works even if disks are added and removed. See fstab(5).</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># proc /proc proc nodev,noexec,nosuid 0 0</span>
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>vg-root <span style="color: #000000; font-weight: bold;">/</span> ext4 defaults <span style="color: #000000;">0</span> <span style="color: #000000;">1</span>
<span style="color: #666666; font-style: italic;"># /boot was on /dev/sda1 during installation</span>
<span style="color: #007800;">UUID</span>=326d524e-7bb8-40a2-<span style="color: #000000;">8915</span>-4bc77e86ced6 <span style="color: #000000; font-weight: bold;">/</span>boot ext4 defaults <span style="color: #000000;">0</span> <span style="color: #000000;">2</span></pre></td></tr></table></div>

<p>So in the fstab file replace options (error=remount-ro) with defaults, run "update-initramfs -u".</p>
<p>Fixing the pass phrase bug</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.infosecramblings.com<span style="color: #000000; font-weight: bold;">/</span>cryptroot.patch
<span style="color: #c20cb9; font-weight: bold;">patch</span> <span style="color: #660033;">-u</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>initramfs-tools<span style="color: #000000; font-weight: bold;">/</span>scripts<span style="color: #000000; font-weight: bold;">/</span>local-top<span style="color: #000000; font-weight: bold;">/</span>cryptroot .<span style="color: #000000; font-weight: bold;">/</span>cryptroot.patch
update-initramfs –u
<span style="color: #000000; font-weight: bold;">then</span> run fix-splash and reboot</pre></td></tr></table></div>

<p>Fixing the Auto-Remove Suicide Button</p>
<p>Note: I do not use aptitude, while aptitude safe upgrade will do the same thing, this is a fix for the use of apt-get, and I do not know how it will effect aptitude.</p>
<p>When you installed everything we needed for the crypto it installed some dependency that are marked as auto installed, which means if you auto remove and anything fancy they will be removed. And you NEED them to boot. These fallowing commands will mark them as manually installed, and will keep them whenever you change things.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-mark</span> unmarkauto cryptsetup
<span style="color: #c20cb9; font-weight: bold;">apt-mark</span> unmarkauto ecryptfs-utils
<span style="color: #c20cb9; font-weight: bold;">apt-mark</span> unmarkauto keyutils</pre></td></tr></table></div>

<p>Adding Swap Space</p>
<p>As you have most likely noticed by now, things tend to run a bit slow. This is due to a few things, namely we installed the OS without having any swap space. Swap space normally isn’t encrypted and data could be pulled from it, so we are adding in the swap space, but it will be inside our encrypted volume.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;">if</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>zero <span style="color: #007800;">of</span>=<span style="color: #000000; font-weight: bold;">/</span>swapfile1 <span style="color: #007800;">bs</span>=1M <span style="color: #007800;">count</span>=<span style="color: #000000;">8192</span></pre></td></tr></table></div>

<p># Where count=8192 is 8GB</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">mkswap <span style="color: #000000; font-weight: bold;">/</span>swapfile1
<span style="color: #c20cb9; font-weight: bold;">chown</span> root:root <span style="color: #000000; font-weight: bold;">/</span>swapfile1
<span style="color: #c20cb9; font-weight: bold;">chmod</span> 0600 <span style="color: #000000; font-weight: bold;">/</span>swapfile1
swapon <span style="color: #000000; font-weight: bold;">/</span>swapfile1
<span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fstab
<span style="color: #000000; font-weight: bold;">/</span>swapfile1 swap swap defaults <span style="color: #000000;">0</span> <span style="color: #000000;">0</span></pre></td></tr></table></div>

<p>Then reboot the system. Now do a apt-get update &amp;&amp; apt-get upgrde. Wait a little as shitloads of packages are updated. now do a apt-get dist-upgrade. Repeat the apt-get update &amp;&amp; apt-get upgrade and enter fix-splash once more.</p>
<p>The following tools need to be installed / updated / fixed:</p>
<ul>
<li>java</li>
<li>firefox</li>
<li>wicd / remove this fucking pice of crap. (my apologies to the developers but a crap is a crap no mather how many work has been deployed to do it)</li>
<li>nikto</li>
<li>owasp zap</li>
<li>xlockmore</li>
<li>pulseaudio</li>
</ul>
<p>Lets start with Firefox (thanks vxnuke from backtrack forums):</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">pkill firefox
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>fox
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>fox
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>firefox<span style="color: #000000; font-weight: bold;">/*</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>mozilla<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/*</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>icons<span style="color: #000000; font-weight: bold;">/</span>mozicon128.png
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>mozilla<span style="color: #000000; font-weight: bold;">/</span>plugins
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>firefox</pre></td></tr></table></div>

<p>download this to /tmp/fox</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>ftp.mozilla.org<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>mozilla.org<span style="color: #000000; font-weight: bold;">/</span>firefox<span style="color: #000000; font-weight: bold;">/</span>nightly<span style="color: #000000; font-weight: bold;">/</span>latest-trunk<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>ur desired version .tar.gz<span style="color: #7a0874; font-weight: bold;">&#41;</span>
download from adobe site the latest flash <span style="color: #000000; font-weight: bold;">for</span> linux <span style="color: #7a0874; font-weight: bold;">&#40;</span>tar.gz<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>upload.wikimedia.org<span style="color: #000000; font-weight: bold;">/</span>wikipedia<span style="color: #000000; font-weight: bold;">/</span>commons<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">7</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">76</span><span style="color: #000000; font-weight: bold;">/</span>Mozilla_Nightly_icon_2011.png</pre></td></tr></table></div>


<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xvf</span> firefox-blablaversion.tar.bz2
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xvf</span> install_flash_player_x_linux.blablablax86.tar.gz</pre></td></tr></table></div>


<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-R</span> firefox<span style="color: #000000; font-weight: bold;">/*</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>firefox
<span style="color: #c20cb9; font-weight: bold;">cp</span> libflashplayer.so <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>mozilla<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/</span></pre></td></tr></table></div>

<p>#Restart Backtrack to reload start menu icon's or goto menu editor and reselect icon</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-f</span> Mozilla_Nightly_icon_2011.png <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>icons<span style="color: #000000; font-weight: bold;">/</span>mozicon128.png</pre></td></tr></table></div>

<p>Now for java. Get the latest java from here:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">pkill firefox
<span style="color: #c20cb9; font-weight: bold;">mv</span> jdk-7u3-linux-i586.tar.gz <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>java
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #666666; font-style: italic;"># tar xvfz jdk-7u3-linux-i586.tar.gz</span>
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #666666; font-style: italic;"># update-alternatives --install &quot;/usr/bin/java&quot; &quot;java&quot; &quot;/opt/java/jdk1.7.0_03/bin/java&quot; 1</span>
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #666666; font-style: italic;"># update-alternatives --set java /opt/java/jdk1.7.0_03/bin/java</span>
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #666666; font-style: italic;"># update-alternatives --install &quot;/usr/bin/javac&quot; &quot;javac&quot; &quot;/opt/java/jdk1.7.0_03/bin/javac&quot; 1</span>
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #666666; font-style: italic;"># update-alternatives --set javac /opt/java/jdk1.7.0_03/bin/javac</span>
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #666666; font-style: italic;"># javac -version</span>
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #666666; font-style: italic;"># java -version</span></pre></td></tr></table></div>

<p>now make the fox of fire use java</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-sf</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #000000; font-weight: bold;">/</span>jre1.7.0_03<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>i386<span style="color: #000000; font-weight: bold;">/</span>libnpjp2.so <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>mozilla<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">JAVA_HOME</span>=<span style="color: #ff0000;">&quot;/opt/java/jre1.7.0_03/bin/java&quot;</span></pre></td></tr></table></div>

<p>test it in here:firefox <a href="http://java.com/en/download/testjava.jsp">http://java.com/en/download/testjava.jsp</a>. Now you have firefox with java and flash. You are secure.</p>
<p>Remove the wicd shit:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get remove</span> wicd</pre></td></tr></table></div>

<p>To get network manager do the following:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #660033;">-y</span> <span style="color: #c20cb9; font-weight: bold;">install</span> network-manager-gnome
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span>interfaces<span style="color: #7a0874; font-weight: bold;">&#123;</span>,.stock<span style="color: #7a0874; font-weight: bold;">&#125;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;auto lo&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span>interfaces
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;iface lo inet loopback&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span>interfaces
service network-manager start
nm-applet <span style="color: #000000; font-weight: bold;">&amp;</span></pre></td></tr></table></div>

<p>do</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get autoremove</span></pre></td></tr></table></div>

<p>to get rid of wicd dependencies.</p>
<p>To get zap proxy 2 working: simply delete the old one and install the new version (i think you are capapble of doing this on your own). This applies to nikto too as the ./nikto.pl -update option does not work. Same goes for sqlmap.</p>
<p>Lets make backtrack 5 r3 decent looking.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get install</span> compiz compiz-fusion-plugins-extra emerald simple-ccsm fusion-icon</pre></td></tr></table></div>

<p>Now go to backtrack menu -&gt; system -&gt; compiz fusion<br />
You should see the icon in the toolbar, right click on it and select "Reload Window Manager".</p>
<p>Adding compiz to startup:</p>
<p>Go to /etc/ and edit the file called "rc.local". And just add the files you installed to it, like this:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh -e</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># rc.local</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># This script is executed at the end of each multiuser runlevel.</span>
<span style="color: #666666; font-style: italic;"># Make sure that the script will &quot;exit 0&quot; on success or any other</span>
<span style="color: #666666; font-style: italic;"># value on error.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># In order to enable or disable this script just change the execution</span>
<span style="color: #666666; font-style: italic;"># bits.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># By default this script does nothing.</span>
&nbsp;
compiz
compiz-fusion-plugins-extra
compiz-fusion-plugins-unsupported
emerald
simple-ccsm
fusion-icon
&nbsp;
<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span></pre></td></tr></table></div>

<p>you have to be quiet not ugly <img src='http://www.lo0.ro/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>I like root. But I also love to keep the screen locked. This is from <a href="http://www.dantevios.com/2011/06/24/howto-lock-your-screen-in-backtrack-5-gnome/">http://www.dantevios.com/2011/06/24/howto-lock-your-screen-in-backtrack-5-gnome/</a> :</p>
<p>Install xlockmore via the command line by running the command:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xlockmore</pre></td></tr></table></div>

<p>Go to System -&gt; Preferences -&gt; Keyboard Shortcuts<br />
Find the shortcut labeled “Lock screen”<br />
Click on it and set the shortcut to disabled by pressing the backspace button<br />
At the bottom of the screen click “Add”<br />
For the name enter in something like “Lockscreen”<br />
For the command enter in “xlock”<br />
Click Apply<br />
Click on the newly created menu item you made “Lockscreen” at the bottom of the list and press CRL+ALT+L or whatever you want to bind your screen locking key to be.<br />
Click Close<br />
Vuala! Now you can lock your screen by pressing the key you bound.<br />
I will update/clean this tutorial as soon as I have time.</p>
<p>Ah yes fixing the sound:</p>
<p>Add a startup program</p>
<p>Open Startup Application on System &gt; Preferences &gt; Startup Application.<br />
Then fill the form with this</p>
<p>Name : Pulseaudio daemon<br />
Command :/usr/bin/pulseaudio<br />
Comment : Start the sound daemon</p>
<p>Get the nessus deb package from the official site and install it using dpkg -i (packagename).deb.</p>
<p>There are many other tools that need to beupdated any many others that are not included in this tutorial. But if they were mentioned than it would be all to easy. Right? If the steps described here do not work or you think I broke some law or copyrights please drop a line to my legal departament. Thx</p>
<img src="http://feeds.feedburner.com/~r/Lo0ro/~4/nLCy6ay5U3w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lo0.ro/2013/how-to-install-backtrack-5-r3-on-a-encrypted-hdd-and-get-it-working-with-the-latest-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lo0.ro/2013/how-to-install-backtrack-5-r3-on-a-encrypted-hdd-and-get-it-working-with-the-latest-tools/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-install-backtrack-5-r3-on-a-encrypted-hdd-and-get-it-working-with-the-latest-tools</feedburner:origLink></item>
		<item>
		<title>DefCamp 2012 – Romania Bucharest</title>
		<link>http://feedproxy.google.com/~r/Lo0ro/~3/bjpwhqtBFO0/</link>
		<comments>http://www.lo0.ro/2012/defcamp-2012-romania-bucharest/#comments</comments>
		<pubDate>Tue, 13 Nov 2012 10:32:43 +0000</pubDate>
		<dc:creator>un baiat</dc:creator>
				<category><![CDATA[conference]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[bucharest]]></category>
		<category><![CDATA[defcamp 2012]]></category>
		<category><![CDATA[IT conference]]></category>

		<guid isPermaLink="false">http://www.lo0.ro/?p=692</guid>
		<description><![CDATA[What? DefCamp 2012. Second edition of the Romanian conference dedicated to IT Security or as the organizers declare, in-security. The idea of DefCamp came out in March 2011, after some informal discussions between more computer security addicts from Romania, passionate about various INFOSEC topics. When? Friday, November 30, 2012 at 9:00 AM - Sunday, December [...]]]></description>
				<content:encoded><![CDATA[<p>What?</p>
<p>DefCamp 2012. Second edition of the Romanian conference dedicated to IT Security or as the organizers declare, in-security. The idea of DefCamp came out in March 2011, after some informal discussions between more computer security addicts from Romania, passionate about various INFOSEC topics.</p>
<p>When?</p>
<p>Friday, November 30, 2012 at 9:00 AM - Sunday, December 2, 2012 at 6:00 PM (PST) Bucharest, Romania. 44.441682,26.059049 to be more precisely. <a href="https://plus.google.com/109940733198368750319/about?gl=ro&amp;hl=ro" target="_blank">https://plus.google.com/109940733198368750319/about?gl=ro&amp;hl=ro</a></p>
<p>Who?<br />
Unlike the first edition of DefCamp where mostly Romanian underground security specialists enthusiasts were present this year the event is backedup by KPMG Romania.</p>
<p>And I really have to mention the following:</p>
<ul>
<li>Jim Manico, VP of Security Architecture at WhiteHat Security and VP OWASP with over 16 years of experience in IT security</li>
<li>Andras Kabai, Senior IT Security Specialist at Deloitte</li>
<li>Marian Ventuneac, Security Architect at Genworth Financial and Founder OWASP Ireland-Limerick Chapter</li>
<li>Alexandru Bălan, Chief Security Researcher at Bitdefender</li>
<li>Adrian Furtună, Security Consultant at KPMG România and international speaker at IT security conferences</li>
<li>Bogdan Alecu, System Administrator and international speaker at IT security conferences</li>
</ul>
<p>Some of the topics discussed will be: 0days, captcha breaking, digipass bypass, mobile security, android malware, DDOS, networking, P2P networks, D&amp;D APT’s, social engineering and baking muffins.</p>
<p>Why?</p>
<p>If grey-hat, black-hat, blue-hat or white-hat means more to you then fashion, you should join. There will be security workshops, forensic, cracking, hacking and polo contests. Also it is very important that you keep up with the latest topics in this very dincamic field.</p>
<p>Another reason to join is helping this event to become the best running hacker convention around Eastern Europe.</p>
<p>Official website: <a href="http://www.defcamp.ro/" target="_blank">http://www.defcamp.ro/</a><br />
Official Facebook page: <a href="http://www.facebook.com/pages/DefCamp/116250668472724" target="_blank">http://www.facebook.com/pages/DefCamp/116250668472724</a><br />
And: <a href="http://www.worldit.info/articole/defcamp-2012-bucuresti-un-eveniment-hipnotizant-tu-ai-vazut-prezentarile/" target="_blank">http://www.worldit.info/articole/defcamp-2012-bucuresti-un-eveniment-hipnotizant-tu-ai-vazut-prezentarile/</a></p>
<p>Buy your ticket here: <a href="http://defcamp2012-es2.eventbrite.com/?rank=1#" target="_blank">http://defcamp2012-es2.eventbrite.com/?rank=1#</a></p>
<img src="http://feeds.feedburner.com/~r/Lo0ro/~4/bjpwhqtBFO0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lo0.ro/2012/defcamp-2012-romania-bucharest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lo0.ro/2012/defcamp-2012-romania-bucharest/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=defcamp-2012-romania-bucharest</feedburner:origLink></item>
		<item>
		<title>snuck automatic XSS filter bypass</title>
		<link>http://feedproxy.google.com/~r/Lo0ro/~3/y9hQXwg-B-4/</link>
		<comments>http://www.lo0.ro/2012/snuck-automatic-xss-filter-bypass/#comments</comments>
		<pubDate>Sat, 27 Oct 2012 19:10:26 +0000</pubDate>
		<dc:creator>un baiat</dc:creator>
				<category><![CDATA[hacking]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[xss]]></category>

		<guid isPermaLink="false">http://www.lo0.ro/?p=688</guid>
		<description><![CDATA[snuck is an automated tool that may definitely help in finding XSS vulnerabilities in web applications. It is based on Selenium and supports Mozilla Firefox, Google Chrome and Internet Explorer. The approach, it adopts, is based on the inspection of the injection's reflection context and relies on a set of specialized and obfuscated attack vectors [...]]]></description>
				<content:encoded><![CDATA[<p>snuck is an automated tool that may definitely help in finding XSS vulnerabilities in web applications. It is based on Selenium and supports Mozilla Firefox, Google Chrome and Internet Explorer. The approach, it adopts, is based on the inspection of the injection's reflection context and relies on a set of specialized and obfuscated attack vectors for filter evasion. In addition, XSS testing is performed in-browser, a real web browser is driven for reproducing the attacker's behavior and possibly the victim's.</p>
<p>Description</p>
<p>snuck is quite different from typical web security scanners, it basically tries to break a given XSS filter by specializing the injections in order to increase the success rate. The attack vectors are selected on the basis of the reflection context, that is the exact point where the injection falls in the reflection web page's DOM. Having access to the pages' DOM is possible through Selenium Web Driver, which is an automation framework, that allows to replicate operations in web browsers. Since many steps could be involved before an XSS filter is "activated", an XML configuration file should be filled in order to make snuck aware of the steps it needs to perform with respect to the tested web application. Practically speaking, the approach is similar to the iSTAR's one, but it focuses on one particular XSS filter.</p>
<p>Download <a title="snuck" href="http://code.google.com/p/snuck/">here</a></p>
<img src="http://feeds.feedburner.com/~r/Lo0ro/~4/y9hQXwg-B-4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lo0.ro/2012/snuck-automatic-xss-filter-bypass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lo0.ro/2012/snuck-automatic-xss-filter-bypass/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=snuck-automatic-xss-filter-bypass</feedburner:origLink></item>
		<item>
		<title>IronWASP – Iron Web application Advanced Security testing Platform</title>
		<link>http://feedproxy.google.com/~r/Lo0ro/~3/Zh7qQA0J3Xw/</link>
		<comments>http://www.lo0.ro/2012/ironwasp-iron-web-application-advanced-security-testing-platform/#comments</comments>
		<pubDate>Mon, 16 Jul 2012 20:16:44 +0000</pubDate>
		<dc:creator>un baiat</dc:creator>
				<category><![CDATA[CRSF]]></category>
		<category><![CDATA[enumeration]]></category>
		<category><![CDATA[Fuzzer]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[Information gathering]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[xss]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[scanner]]></category>
		<category><![CDATA[SQL injection]]></category>
		<category><![CDATA[sqli scanners]]></category>
		<category><![CDATA[vulnerability scanner]]></category>
		<category><![CDATA[Web Application Scanner]]></category>

		<guid isPermaLink="false">http://www.lo0.ro/?p=680</guid>
		<description><![CDATA[IronWASP (Iron Web application Advanced Security testing Platform) is an open source system for web application vulnerability testing. It is designed to be customizable to the extent where users can create their own custom security scanners using it. Though an advanced user with Python/Ruby scripting expertise would be able to make full use of the [...]]]></description>
				<content:encoded><![CDATA[<p>IronWASP (Iron Web application Advanced Security testing Platform) is an open source system for web application vulnerability testing. It is designed to be customizable to the extent where users can create their own custom security scanners using it. Though an advanced user with Python/Ruby scripting expertise would be able to make full use of the platform, a lot of the tool’s features are simple enough to be used by absolute beginners.</p>
<p>Learn more about it <a href="http://ironwasp.org/learn.html">here</a> | Download from <a href="http://ironwasp.org/download.html">here</a></p>
<p>Passive Plug-ins</p>
<ul>
<li>Analyzes all traffic going through the tool</li>
<li>Can also modify the traffic</li>
<li>Identifies vulnerabilities passively</li>
</ul>
<p>Eg: Passwords sent over clear-text, Http-Only /Secure flag missing in cookies</p>
<p>Active Plug-ins</p>
<ul>
<li>Performs scans against the target to</li>
<li>identify vulnerabilities</li>
<li>Executed only when the user explicitly</li>
<li>calls them</li>
<li>Fine-grained scanning support</li>
</ul>
<p>Eg: Cross-site Scripting, SQL Injection</p>
<p>IronWASP performs Taint Analysis forDOM based XSS, identifies Sources and Sinks and traces them through the code. Also custom Source and Sink objects can be configured.</p>
<img src="http://feeds.feedburner.com/~r/Lo0ro/~4/Zh7qQA0J3Xw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lo0.ro/2012/ironwasp-iron-web-application-advanced-security-testing-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lo0.ro/2012/ironwasp-iron-web-application-advanced-security-testing-platform/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ironwasp-iron-web-application-advanced-security-testing-platform</feedburner:origLink></item>
		<item>
		<title>web-sorrow – server security scanner</title>
		<link>http://feedproxy.google.com/~r/Lo0ro/~3/freOyYHA0Ug/</link>
		<comments>http://www.lo0.ro/2012/web-sorrow-server-security-scanner/#comments</comments>
		<pubDate>Fri, 15 Jun 2012 17:27:47 +0000</pubDate>
		<dc:creator>un baiat</dc:creator>
				<category><![CDATA[enumeration]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[Information gathering]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[eneumeration]]></category>
		<category><![CDATA[version detect]]></category>
		<category><![CDATA[web-sorrow scanner]]></category>

		<guid isPermaLink="false">http://www.lo0.ro/?p=674</guid>
		<description><![CDATA[A perl based tool for misconfiguration, version detection, enumeration, and server information scanning. Web-Sorrow is a "safe to run" program. meaning it is not designed attempt to exploit or preform any kind of injection, DDoS/DoS, CSRF, XSS, or any harmful attacks. It's entirely focused on Enumeration and collecting Info on the target server. CURRENT functionality: [...]]]></description>
				<content:encoded><![CDATA[<p>A perl based tool for misconfiguration, version detection, enumeration, and server information scanning. Web-Sorrow is a "safe to run" program. meaning it is not designed attempt to exploit or preform any kind of injection, DDoS/DoS, CSRF, XSS, or any harmful attacks. It's entirely focused on Enumeration and collecting Info on the target server.</p>
<p>CURRENT functionality:<br />
-S - stands for standard. a set of Standard tests and includes: indexing of directories testing, banner grabbing, language detection (should be obvious), robots.txt, 200 response testing (some servers send a 200 ok for every req), and thumbs.db scanning<br />
-auth - looks for login pages with a list of some of the most common login files and dirs and admin consoles. don't need to be very big list of URLs because what else are going to name it? notAlogin.php???<br />
-Cp - scan with a huge list of plugins dirs. the list is a bit old (Drupal and wordpress plugins databases are now current but sorry joomla's still a bit old)<br />
-I - searches the responses for interesting strings<br />
-Ws - looks for web services such as hosting provider, blogging services, favicon fingerprinting, and cms version info<br />
-Fd - look for generally things people don't want you to see. The list is generated form a TON of robot.txt so whatever it finds should be interesting.<br />
-ninja - A light weight and undetectable scan that uses bits and peaces from other scans<br />
-R - use http range headers to make scans faster<br />
-Shadow - Use Google cache instead of requesting from the target host<br />
-Sd - Bruteforce Sub Domains<br />
-Db - Bruteforce Directories with the big dirbuster Database<br />
-ua - use a custom UserAgent. PUT UA IN QUOTES if there's spaces<br />
-proxy - send all http reqs via a proxy. example: 255.255.255.254:8080<br />
-e - run all the scans in the tool</p>
<p>web-sorrow also has false positives checking on most of it's requests (it pretty accurate but not perfect)</p>
<p>EXAMPLES:</p>
<ul>
<li>basic: perl Wsorrow.pl -host scanme.nmap.org -S</li>
<li>stealthy: perl Wsorrow.pl -host scanme.nmap.org -ninja -proxy 190.145.74.10:3128</li>
<li>scan for login pages: perl Wsorrow.pl -host 192.168.1.1 -auth</li>
<li>CMS intense scan: perl Wsorrow.pl -host 192.168.1.1 -Ws -Cp all -I</li>
<li>most intense scan possible: perl Wsorrow.pl -host 192.168.1.1 -e</li>
<li>dump http headers: perl headerDump.pl</li>
<li>Check if host is alive: perl hdt.pl -host 192.168.1.1</li>
</ul>
<p><a title="Download Web-Sorrow" href="http://code.google.com/p/web-sorrow/" target="_blank">Download</a></p>
<p>CONTACT: @flyinpoptartcat</p>
<img src="http://feeds.feedburner.com/~r/Lo0ro/~4/freOyYHA0Ug" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.lo0.ro/2012/web-sorrow-server-security-scanner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.lo0.ro/2012/web-sorrow-server-security-scanner/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=web-sorrow-server-security-scanner</feedburner:origLink></item>
	</channel>
</rss>
