<?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>Michele Manzotti &#187; penetration</title>
	<atom:link href="http://www.manzotti.eu/tag/penetration/feed" rel="self" type="application/rss+xml" />
	<link>http://www.manzotti.eu</link>
	<description></description>
	<lastBuildDate>Thu, 19 Jan 2012 09:56:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>SHODAN for Pentration Tester</title>
		<link>http://www.manzotti.eu/shodan-for-pentration-tester</link>
		<comments>http://www.manzotti.eu/shodan-for-pentration-tester#comments</comments>
		<pubDate>Mon, 02 Aug 2010 10:18:44 +0000</pubDate>
		<dc:creator>manzotti.eu</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[defcon]]></category>
		<category><![CDATA[penetration]]></category>
		<category><![CDATA[shodan]]></category>
		<category><![CDATA[tester]]></category>

		<guid isPermaLink="false">http://manzotti.eu/?p=1855</guid>
		<description><![CDATA[Proprio in questi giorni a Las Vegas si è concluso il 18esimo Defcon, una manifestazione dove i migliori Hacker di tutto il mondo si riuniscono e presentano nuove metodologie di attacco. La novità di quest&#8217;anno è senza dubbio l&#8217;attacco alla WPA2, crittografia attualmente considerata la più sicura nelle reti WiFi. Tuttavia mi piace condividere anche [...]]]></description>
			<content:encoded><![CDATA[<p>Proprio in questi giorni a Las Vegas si è concluso il <a href="http://www.defcon.org/html/defcon-18/dc-18-index.html">18esimo Defcon</a>, una manifestazione dove i migliori Hacker di tutto il mondo si riuniscono e presentano nuove metodologie di attacco. La novità di quest&#8217;anno è senza dubbio l&#8217;<a href="http://www.defcon.org/html/defcon-18/dc-18-speakers.html#Ahmad">attacco alla WPA2</a>, crittografia attualmente considerata la più sicura nelle reti WiFi.</p>
<p>Tuttavia mi piace condividere anche quest&#8217;altra interessante presentazione su <a href="http://www.shodanhq.com/">SHODAN</a>, un motore di ricerca per computer e server. SHODAN permette di scovare in Internet devices come router, switch, server web&#8230; insomma un bel patrimonio di risorse! Molto intriganti sono i case study di cui uno relativo a Cisco e molto simile a <a href="http://manzotti.eu/il-giovane-hacker">quello che avevo discusso qui</a>.</p>
<p><a title="View SHODAN for Penetration Testers (DEFCON 18) on Scribd" href="http://www.scribd.com/doc/35202796/SHODAN-for-Penetration-Testers-DEFCON-18" style="margin: 12px auto 6px auto; font-family: Helvetica,Arial,Sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; display: block; text-decoration: underline;">SHODAN for Penetration Testers (DEFCON 18)</a> <object id="doc_374927059446669" name="doc_374927059446669" height="500" width="100%" type="application/x-shockwave-flash" data="http://d1.scribdassets.com/ScribdViewer.swf" style="outline:none;" rel="media:presentation" resource="http://d1.scribdassets.com/ScribdViewer.swf?document_id=35202796&#038;access_key=key-ka62xdefspyn5n30do7&#038;page=1&#038;viewMode=slideshow" xmlns:media="http://search.yahoo.com/searchmonkey/media/" xmlns:dc="http://purl.org/dc/terms/" ><param name="movie" value="http://d1.scribdassets.com/ScribdViewer.swf"><param name="wmode" value="opaque"><param name="bgcolor" value="#ffffff"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><param name="FlashVars" value="document_id=35202796&#038;access_key=key-ka62xdefspyn5n30do7&#038;page=1&#038;viewMode=slideshow"><embed id="doc_374927059446669" name="doc_374927059446669" src="http://d1.scribdassets.com/ScribdViewer.swf?document_id=35202796&#038;access_key=key-ka62xdefspyn5n30do7&#038;page=1&#038;viewMode=slideshow" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="500" width="100%" wmode="opaque" bgcolor="#ffffff"></embed></object></p>
<p>A presto!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.manzotti.eu/shodan-for-pentration-tester/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installare BackTrack 4 beta su hard disk</title>
		<link>http://www.manzotti.eu/installare-backtrack-4-beta-su-hard-disk</link>
		<comments>http://www.manzotti.eu/installare-backtrack-4-beta-su-hard-disk#comments</comments>
		<pubDate>Fri, 20 Feb 2009 23:40:08 +0000</pubDate>
		<dc:creator>manzotti.eu</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[BackTrack]]></category>
		<category><![CDATA[installare]]></category>
		<category><![CDATA[penetration]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://manzotti.eu/?p=282</guid>
		<description><![CDATA[Vediamo come installare la nostra BT4 beta sull&#8217; HD. Avviamo il dvd e dopo aver caricato la tastiera italiana &#8220;loadkeys it&#8221; prepariamo l&#8217;HD per l&#8217;installazione creando 3 partizione primarie: /dev/sda1 --&#62; /boot /dev/sda2 --&#62; swap /dev/sda3 --&#62; / Ovviamente lo spazio dipende da quanto abbiamo libero nel nostro hd. Tuttavia 128M, 1024M e 10G rispettivamente [...]]]></description>
			<content:encoded><![CDATA[<p>Vediamo come installare la nostra <a href="http://remote-exploit.org/backtrack_download.html">BT4 beta</a> sull&#8217; HD.</p>
<p>Avviamo il dvd e dopo aver caricato la tastiera italiana &#8220;<strong>loadkeys it</strong>&#8221; prepariamo l&#8217;HD per l&#8217;installazione creando 3 partizione primarie:</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda1 <span style="color: #339933;">--&gt;</span> <span style="color: #339933;">/</span>boot
<span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda2 <span style="color: #339933;">--&gt;</span> <span style="color: #006600;">swap</span>
<span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda3 <span style="color: #339933;">--&gt;</span> <span style="color: #339933;">/</span></pre></div></div>

<p>Ovviamente lo spazio dipende da quanto abbiamo libero nel nostro hd. Tuttavia 128M, 1024M e 10G rispettivamente dovrebbe andare.<br />
Possiamo fare questo sia con &#8220;<strong>fdisk</strong> /dev/sda&#8221; che con &#8220;<strong>cfdisk</strong>&#8220;, ricordandoci di mettere il type 82 allo swap e il bootable alla /boot.</p>
<p>Ora non ci resta che seguire questi comandi:</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;">root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># mke2fs /dev/sda1</span>
root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># mkswap /dev/sda2</span>
root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># swapon /dev/sda2</span>
root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># mkreiserfs /dev/sda3</span>
root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># mkdir /mnt/bt</span>
root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># mount /dev/sda3 /mnt/bt/</span>
root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># mkdir /mnt/bt/boot</span>
root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># mount /dev/sda1 /mnt/bt/boot</span>
root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># cp --preserve -R /{bin,dev,home,pentest,root,usr,boot,etc,lib,opt,sbin,var} /mnt/bt/</span>
root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># mkdir /mnt/bt/{mnt,tmp,proc,sys}</span>
root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># chmod 1777 /mnt/bt/tmp/</span>
root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># mount -t proc proc /mnt/bt/proc</span>
root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># mount -o bind /dev /mnt/bt/dev/</span>
root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># chroot /mnt/bt/ /bin/bash</span></pre></div></div>

<p>Configuriamo il boot loader lilo editando il file /etc/lilo.conf come segue:</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;">lba32
boot<span style="color: #339933;">=/</span>dev<span style="color: #339933;">/</span>sda
root<span style="color: #339933;">=/</span>dev<span style="color: #339933;">/</span>sda3
&nbsp;
<span style="color: #666666; font-style: italic;"># bitmap=/boot/sarge.bmp</span>
<span style="color: #666666; font-style: italic;"># bmp-colors=1,,0,2,,0</span>
<span style="color: #666666; font-style: italic;"># bmp-table=120p,173p,1,15,17</span>
<span style="color: #666666; font-style: italic;"># bmp-timer=254p,432p,1,0,0</span>
<span style="color: #666666; font-style: italic;"># install=bmp</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># delay=20</span>
&nbsp;
prompt
timeout<span style="color: #339933;">=</span><span style="color: #cc66cc;">50</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># map=/boot/map</span>
&nbsp;
vga<span style="color: #339933;">=</span>0x317
&nbsp;
image<span style="color: #339933;">=/</span>boot<span style="color: #339933;">/</span>vmlinuz
label<span style="color: #339933;">=</span><span style="color: #ff0000;">&quot;BT4&quot;</span>
read<span style="color: #339933;">-</span>only
initrd<span style="color: #339933;">=/</span>boot<span style="color: #339933;">/</span>splash<span style="color: #339933;">.</span>initrd
append<span style="color: #339933;">=</span>quiet</pre></div></div>

<p>Facendo bene attenzione alle partizioni di root e di boot.</p>
<p>A questo punto modifichiamo il file /etc/fstab elimando i mount inutili come segue:</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda3 <span style="color: #339933;">/</span> reiserfs defaults <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #666666; font-style: italic;"># AutoUpdate</span>
<span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda2 none swap sw <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span>
proc <span style="color: #339933;">/</span>proc proc defaults <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #666666; font-style: italic;"># AutoUpdate</span>
sysfs <span style="color: #339933;">/</span>sys sysfs defaults <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #666666; font-style: italic;"># AutoUpdate</span>
devpts <span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>pts devpts gid<span style="color: #339933;">=</span><span style="color: #cc66cc;">5</span><span style="color: #339933;">,</span>mode<span style="color: #339933;">=</span><span style="color: #cc66cc;">620</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #666666; font-style: italic;"># AutoUpdate</span>
tmpfs <span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>shm tmpfs defaults <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #666666; font-style: italic;"># AutoUpdate</span></pre></div></div>

<p>Infine salviamo le modifiche di lilo:</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;">root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:/</span><span style="color: #666666; font-style: italic;"># lilo -v</span></pre></div></div>

<p>Ora usciamo dal filesytem chrootato e rebootiamo la macchina!!</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;">root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:/</span><span style="color: #666666; font-style: italic;"># exit</span>
<span style="color: #000066;">exit</span>
root<span style="color: #0000ff;">@bt</span><span style="color: #339933;">:~</span><span style="color: #666666; font-style: italic;"># reboot</span></pre></div></div>

<p>Se tutto è andato per il verso giusto avrete la vostra BT4 beta installata e funzionante.<br />
Buon pen testing a tutti.</p>
<p>Riferimenti <a href="http://www.offensive-security.com/documentation/bt4install.pdf">pdf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.manzotti.eu/installare-backtrack-4-beta-su-hard-disk/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

