<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>I-BLOG &#187; Attacks/Exploits</title>
	<atom:link href="http://www.rsivanandan.com/category/attacksexploits-mitigations/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rsivanandan.com</link>
	<description>Never go to bed mad. Stay up and fight!</description>
	<lastBuildDate>Sat, 17 Dec 2011 08:20:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Gawker Hack &#8211; Are you exposed?</title>
		<link>http://www.rsivanandan.com/2010/12/14/gawker-hack-are-you-exposed/</link>
		<comments>http://www.rsivanandan.com/2010/12/14/gawker-hack-are-you-exposed/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 14:55:46 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>
		<category><![CDATA[Tech in general]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/2010/12/14/gawker-hack-are-you-exposed/</guid>
		<description><![CDATA[&#160; It is no news about Gawker Hack and today I learn from NetworkWorld that, one of the security researchers (HD Moore) who (well, *the GUY who created metasploit framework), have a way to find out if your email address/information has been compromised; 2 Step Process actually:- Step 1: Go to http://pajhome.org.uk/crypt/md5/ , enter an [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>It is no news about Gawker Hack and today I learn from <a href="http://www.networkworld.com/news/2010/121310-how-to-check-if-your.html?source=nww_rss" target="_blank">NetworkWorld</a> that, one of the security researchers (HD Moore) who (well, *the GUY who created metasploit framework), have a way to find out if your email address/information has been compromised;</p>
<p>2 Step Process actually:-</p>
<blockquote><p>Step 1: Go to <a href="http://pajhome.org.uk/crypt/md5/">http://pajhome.org.uk/crypt/md5/</a> , enter an e-mail address in the &#8216;Input&#8217; field, click the &#8216;MD5&#8242; button, then copy the hash from the &#8216;Result&#8217; field.</p>
<p>Step 2: Go to <a href="http://www.google.com/fusiontables/DataSource?dsrcid=350662">http://www.google.com/fusiontables/DataSource?dsrcid=350662</a> , click &#8216;Show Options,&#8217; then paste the already-obtained hash in the field to the right of the &#8216;=&#8217; symbol. Change the left-most field to &#8216;MD5.&#8217; Click &#8216;Apply.&#8217;</p>
<p>If the e-mail address is among those compromised, the search will show a result.</p>
</blockquote>
<p>&#160;</p>
<p>Read it directly from <a href="Step 1: Go to http://pajhome.org.uk/crypt/md5/ , enter an e-mail address in the 'Input' field, click the 'MD5' button, then copy the hash from the 'Result' field." target="_blank">NetworkWorld</a> if you want more information on it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2010/12/14/gawker-hack-are-you-exposed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPTables for Windows</title>
		<link>http://www.rsivanandan.com/2009/10/05/iptables-for-windows/</link>
		<comments>http://www.rsivanandan.com/2009/10/05/iptables-for-windows/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 16:45:33 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>
		<category><![CDATA[Tech in general]]></category>
		<category><![CDATA[Tools For Life]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/2009/10/05/iptables-for-windows/</guid>
		<description><![CDATA[&#160; Oh well, if you’re more used to IPTables than any normal firewall software, then of course you’re gonna need that for your Windows machine as well. Nothing wrong about that, the interesting stuff here is about the technology, really and not who made it – if it works well. Windows IP Firewall (WIPFW) is [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p align="justify">Oh well, if you’re more used to IPTables than any normal firewall software, then of course you’re gonna need that for your Windows machine as well. Nothing wrong about that, the interesting stuff here is about the technology, really and not who made it – if it works well.</p>
<p align="justify">Windows IP Firewall (WIPFW) is an open source project that gives you exactly that;</p>
<p align="justify">Checkout their page <a href="http://wipfw.sourceforge.net/doc.html" target="_blank">here</a></p>
<p align="justify">&#160;</p>
<h5>WHAT IS WIPFW?</h5>
<p>&#160;</p>
<blockquote><p>WIPFW is a <a href="http://www.microsoft.com/">MS Windows</a> operable version of IPFW for <a href="http://www.freebsd.org/">FreeBSD OS</a>. You can use the same functionality and configure it as only you work with IPFW.</p>
<p>IPFW is a packet filtering and accounting system which resides in the kernelmode, and has a user-land control utility, ipfw. Together, they allow you to define and query the rules used by the kernel in its routing decisions.</p>
<p>There are two related parts to ipfw. The firewall section performs packet filtering. There is also an IP accounting section which tracks usage of the router, based on rules similar to those used in the firewall section. This allows the administrator to monitor how much traffic the router is getting from a certain machine, or how much WWW traffic it is forwarding, for example.</p>
<p>As a result of the way that ipfw is designed, you can use ipfw on non-router machines to perform packet filtering on incoming and outgoing connections. This is a special case of the more general use of ipfw, and the same commands and techniques should be used in this situation.</p>
</blockquote>
<p align="justify">And one more important piece of info would be;</p>
<blockquote><p>Q: <strong>Whats the difference between WIPFW and IPFW?</strong></p>
<p>A: Now WIPFW is unable to change packets content, so it is impossible to redirect packets. Also WIPFW has no traffic shaper. In the future WIPFW will be using ndis driver which will allow all abilities.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2009/10/05/iptables-for-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Your Site(s) From Malwares &#8211; Google Web Master Tools</title>
		<link>http://www.rsivanandan.com/2009/03/25/clean-your-sites-from-malwares/</link>
		<comments>http://www.rsivanandan.com/2009/03/25/clean-your-sites-from-malwares/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 06:51:04 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/2009/03/25/clean-your-sites-from-malwares/</guid>
		<description><![CDATA[&#160; As I mentioned before, my site was tagged for malware’s by Google and I had to put quite some effort to get it cleaned. I got a JavaScript injection attacks named ‘Yahoo! Counter Starts”, this seems relatively new and not much of authentic information is available at this moment. But there are a lot [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p align="justify">As I mentioned before, my site was tagged for malware’s by Google and I had to put quite some effort to get it cleaned. I got a JavaScript injection attacks named ‘Yahoo! Counter Starts”, this seems relatively new and not much of authentic information is available at this moment. But there are a lot of forums/blogs that got affected by it and tagged by Google as well.</p>
<p align="justify">Seems that this thing basically has a redirection to an ip address residing somewhere in Russia and eventually takes the username/password details from the site/visitors etc. Pretty Scary if we look for the real meaning of this. Couple of sites helped me in cleaning it up and am consolidating here for the sake of others.</p>
<p align="justify">The script looks something like this;</p>
<table border="1" cellspacing="0" cellpadding="2" width="464">
<tbody>
<tr>
<td valign="top" width="462">
<pre><strong>&lt;script language=javascript&gt;&lt;!-- Yahoo! Counter starts
if(typeof(yahoo_counter)!=typeof(1))eval(unescape('|/#/@.~.!.................[keeps going]
&lt;!-- counter end --&gt;&lt;/script&gt;</strong></pre>
</td>
</tr>
</tbody>
</table>
<p align="justify">&#160;</p>
<p align="justify">Checkout this thread [ <a href="http://www.vbadvanced.com/forum/showthread.php?t=33084" target="_blank">Click Here</a> ] Also it may be possible that your actual php/html files are neat, since this kinda stuff can go into the base DB as well. It is a nasty one to fix. Check all your permissions on the files, is the best thing to do.</p>
<p align="justify">&#160;</p>
<ol>
<li>
<div align="justify"><a href="http://www.google.com/webmasters/tools/" target="_blank">Google.com (Google webmaster tools)</a></div>
<ol>
<li>
<div align="justify">If you own a site, you can add your site address and a full sitemap here and Google will analyze the site for anything that is found wrong. [<a href="https://www.google.com/accounts/ServiceLogin?service=sitemaps&amp;passive=true&amp;nui=1&amp;continue=https%3A%2F%2Fwww.google.com%2Fwebmasters%2Ftools%2Fdashboard&amp;followup=https%3A%2F%2Fwww.google.com%2Fwebmasters%2Ftools%2Fdashboard&amp;hl=en" target="_blank">Click Here to Go</a>] More information can be found [<a href="http://googlewebmastercentral.blogspot.com/" target="_blank">Here</a>]</div>
</li>
</ol>
</li>
<li>
<div align="justify"><a href="http://BadwareBusters.org" target="_blank">BadwareBusters.org</a> </div>
<ol>
<li>
<div align="justify">These guys have a facility where you can provide your web address, they’ll scan and let you know the issues found. There is also an option for looking deep and to have a complete scan report (comes quite fast, 24 hours maximum)</div>
</li>
</ol>
</li>
<li>
<div align="justify"><a href="http://BlacklistDoctor.com" target="_blank">BlacklistDoctor.com</a></div>
<ol>
<li>
<div align="justify">Again these guys have the facility to scan your website by giving the URL will let you know of any found scripts</div>
</li>
</ol>
</li>
<li>
<div align="justify"><a title="http://www.unmaskparasites.com" href="http://www.unmaskparasites.com">UnmaskParasites.com</a></div>
<ol>
<li>
<div align="justify">It was in beta stage and when I tried wasn’t working. Lately it is seen to be working fine. Does scanning of your sites and also gives you an impression on whether it is black marked or not.</div>
</li>
</ol>
</li>
<li>
<div align="justify"><a href="http://malwarebytes.org/" target="_blank">MalwareBytes</a></div>
</li>
<ol>
<li>
<div align="justify">They have a utility to check your computer to see if there are any remnants of trojan files or affected file streams in your local system. This is very important since you cleaning up the site is ok on one hand but what if you reinfect it by yourselves again?</div>
</li>
</ol>
<li>
<div align="justify"><a href="http://wordpress.org/extend/plugins/wp-security-scan/" target="_blank">WP Security Scan</a></div>
</li>
<ol>
<li>
<div align="justify">If you own a wordpress web site like me, this plugin is a good one to use. It does check this following.</div>
</li>
<ol>
<ol>
<li>
<div align="justify">-passwords<br />
            <br />-file permissions</p>
<p>-database security</p>
<p>-version hiding</p>
<p>-WordPress admin protection/security</p>
<p>-removes WP Generator META tag from core code</div>
</li>
</ol>
</ol>
</ol>
<li>
<div align="justify">Also Read this [ <a href="http://blog.taragana.com/index.php/archive/20-wordpress-security-plug-ins-and-tips-to-keep-hackers-away/" target="_blank">Click Here</a> ]</div>
</li>
</ol>
<p align="justify">Once you do the cleaning, go back to Google Web Masters and/or other sites mentioned above for a reevaluation and they’d take off the malware warning tag from your blog once they verify the contents again.</p>
<blockquote>
<p align="justify"><font face="Arial">&#160;</font></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2009/03/25/clean-your-sites-from-malwares/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Country IP Block</title>
		<link>http://www.rsivanandan.com/2009/02/09/country-ip-block/</link>
		<comments>http://www.rsivanandan.com/2009/02/09/country-ip-block/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 02:29:07 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=386</guid>
		<description><![CDATA[Now this is something not new and in today’s world, if it takes you to block a country itself to avoid issues in your network then you’d have to go down that path. I read an article lately on SecurityFocus on blocking based on Countries. The author basically blocked the whole of China and his [...]]]></description>
			<content:encoded><![CDATA[<p align="justify"> Now this is something not new and in today’s world, if it takes you to block a country itself to avoid issues in your network then you’d have to go down that path. I read an article lately on SecurityFocus on blocking based on Countries. The author basically blocked the whole of China and his spam hits came down to 80% it seems.</p>
<p align="justify">&#160;</p>
<p align="justify">For sure if the business I’m running has nothing to do with a country then I think it is not a bad idea considering the fact that you can’t let bad guys come in and do the damage, then you take an action on it. While this has mixed reviews I believe it is justified for the sole reason that it is my network and I choose what to come in here.</p>
<p align="justify">One of the commenter posted this site, <a title="http://www.countryipblocks.net/index.php" href="http://www.countryipblocks.net/index.php">http://www.countryipblocks.net/index.php</a></p>
<p align="justify">&#160;</p>
<p align="justify">Beauty is that you can choose the entire ip data pertaining to a country. For example;</p>
<p align="justify"><a href="http://www.rsivanandan.com/wp-content/uploads/2009/02/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.rsivanandan.com/wp-content/uploads/2009/02/image-thumb.png" width="201" height="341" /></a></p>
<p align="justify">&#160;</p>
</p>
<p>This is the list of IP range of IRAN. Just select and country and click to get the list of that country. </p>
<p>&#160;</p>
<p align="justify">However, it still remains a challenge for your router/firewall to take a list of all rogue ip addresses and start blocking it for the mere horsepower that is required to process through it. Attributed to this if people start doing away by only allowing the country they are in (nowadays you can see every business have an internet connection, and the business is only to that country), then internet would be not be the internet we perceived in the first place!</p>
<p align="justify">&#160;</p>
<p align="justify">Say an interior decorator working in a small state, doesn’t have to allow everybody in the world to see his site/resources, does he?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2009/02/09/country-ip-block/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPA Wi-Fi Encryption is Cracked</title>
		<link>http://www.rsivanandan.com/2008/11/07/wpa-wi-fi-encryption-is-cracked/</link>
		<comments>http://www.rsivanandan.com/2008/11/07/wpa-wi-fi-encryption-is-cracked/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 14:52:00 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>
		<category><![CDATA[Tools For Life]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=320</guid>
		<description><![CDATA[So in the coming weeks, we can see WPA a joke too (just like its predecessor WEP)! To do this, Tews and his co-researcher Martin Beck found a way to break the Temporal Key Integrity Protocol (TKIP) key, used by WPA, in a relatively short amount of time: 12 to 15 minutes, according to Dragos [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">So in the coming weeks, we can see WPA a joke too (just like its predecessor WEP)!</p>
<blockquote><p align="justify">To do this, Tews and his co-researcher Martin Beck found a way to break the Temporal Key Integrity Protocol (TKIP) key, used by WPA, in a relatively short amount of time: 12 to 15 minutes, according to Dragos Ruiu, the PacSec conference&#8217;s organizer.</p>
</blockquote>
<p align="justify">This is in a way good to know in this way rather than the algorithm broken by the ‘bad guys’. So I welcome it <img src='http://www.rsivanandan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p align="justify">[<a target="_blank" href="http://www.csoonline.com/article/460120/WPA_Wi_Fi_Encryption_is_Cracked">Read the Full Story</a>]</p>
<p align="justify">I’m sure a lot of enterprise is now looking or in the process of moving to WPA from WEP, this is going to stall some of ‘em.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:b8948fd9-0d5d-4bde-bf40-696a174d3015" class="wlWriterEditableSmartContent">del.icio.us Tags: <a href="http://del.icio.us/popular/WPA+Broken" rel="tag">WPA Broken</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2008/11/07/wpa-wi-fi-encryption-is-cracked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DHCP Attacks</title>
		<link>http://www.rsivanandan.com/2008/09/20/dhcp-attacks/</link>
		<comments>http://www.rsivanandan.com/2008/09/20/dhcp-attacks/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 17:02:22 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=289</guid>
		<description><![CDATA[&#160; Does DHCP provide any kind of security? NOPE! It is an admin’s job to use supplemental devices/software&#8217;s to prevent it. 2 attacks to look at; 1. DHCP Flooding :- Think about if someone keeps flooding the DHCP requests and the server keeps assigning until the pool is exhausted (Now, how difficult is that?) A [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p align="justify">Does DHCP provide any kind of security? NOPE! It is an admin’s job to use supplemental devices/software&#8217;s to prevent it.</p>
<p align="justify">2 attacks to look at;</p>
<p align="justify">1. DHCP Flooding :- Think about if someone keeps flooding the DHCP requests and the server keeps assigning until the pool is exhausted (Now, how difficult is that?) A tool which can generate random mac addresses in the requests, then it is done!</p>
<p align="justify">2. DHCP Serving :- Think of a rogue server giving away IP addresses causing service disruption. Better still, I can have the hosts send packets to choice of his/her Default Gateway and sniff the contents Or hand out incorrect DNS server IP, so that the connections can be redirected to incorrect/forged web sites? Simple enough (a Google search would give out the tools).</p>
<p align="justify">So how does one prevent these attacks from happening;</p>
<p align="justify">1. Situation 1 (DHCP Flooding) – Modern switches come up with DHCP snooping capabilities where one can restrict the number of mac addresses that can come into a specific ingress port of the switch. Also there are processes to watch over the spurious DHCP requests that seems unusual. The best part is, if you restrict to ONE mac address per port on port security, it can still be circumvented. An attacker can use a tool to use the same mac address, but in the DHCP request packet there is a field to mention the mac address and which is what the DHCP server assigns the IP for (not the original frame mac). So keep changing it and Voila, you’re done!</p>
<p align="justify">2. Situation 2 (DHCP Serving) – This is fairly simple to stop, configure switches to make sure “DHCP OFFER” message types do not come out of normal host access ports (Only allow the “DHCP OFFER” to come out from the DHCP server port, normal hosts have no business sending a “DHCP OFFER” message, isn’t it?).</p>
<p align="justify">Port Security has more value to it, since if compromised at layer 2, everything up is at stake!</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:510f0a57-f8a9-45ff-b16d-85bf6758ec05" class="wlWriterSmartContent">del.icio.us Tags: <a href="http://del.icio.us/popular/DHCP+Attacks" rel="tag">DHCP Attacks</a>,<a href="http://del.icio.us/popular/DHCP+Snooping" rel="tag">DHCP Snooping</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2008/09/20/dhcp-attacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Does having VLAN help prevent MAC Flooding?</title>
		<link>http://www.rsivanandan.com/2008/09/13/does-having-vlan-help-prevent-mac-flooding/</link>
		<comments>http://www.rsivanandan.com/2008/09/13/does-having-vlan-help-prevent-mac-flooding/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 16:53:23 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=288</guid>
		<description><![CDATA[&#160; When we speak about MAC flooding, almost everyone with Information Security insight knows about what it is. What do one achieve with MAC flooding? There are various ways of looking at it. Take an enterprise class switch, and see the spec’s as to how many mac addresses can the switch store in its cache. [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">&#160;</p>
<p align="justify">When we speak about MAC flooding, almost everyone with Information Security insight knows about what it is. What do one achieve with MAC flooding? There are various ways of looking at it.</p>
<p align="justify">Take an enterprise class switch, and see the spec’s as to how many mac addresses can the switch store in its cache. It is very interesting to understand the already known fact (but less thought about), that a switch cannot learn mac address indefinitely, the simple reason is that it is impossible! A Cisco Catalyst 6500 switch can store ~130,000 mac cache entries. What would happen if all of them are filled up? The switch cannot store any more of newly learned MAC address thus stops to add it to the cache, which in turn floods traffic across all the ports if a traffic meant for that mac address comes in!</p>
<p align="justify">Such a massive switch, everyone obviously does VLAN on it. So in theory, a traffic in one VLAN is not seen by the other VLAN. However if we were to think about the lines above, if a MAC flooding happens in VLAN 1, hosts in VLAN 2 would be able to see all traffic in that VLAN 2 (in spite of having a 5 digit/6 digit valued switch). Reason ? Simple;</p>
<p align="justify">MAC Cache values defined in Switches are not VLAN specific, that is for the entire Switch Fabric. So if the MAC Cache Value is 10 entries, after 10 entries, broadcast flooding would happen in all other VLANs too for the newly learned MAC address.</p>
<blockquote><p align="justify">Example;</p>
<p align="justify">Take a switch which can hold 10 MAC Cache Entries; There are 3 VLANS having 4 ports each in each VLAN, we call it VLAN1 VLAN2 VLAN3.</p>
<p align="justify">So from VLAN1, port 1, if we were to flood and fill all the 10 entries, Then the traffic flooding happens not only in VLAN1. Reason, if a new host comes on port 1 of VLAN 2, the switch cannot store the MAC address since the cache is full and is going to broadcast it, when a traffic for that MAC comes around. </p>
</blockquote>
<p align="justify">
<p align="justify">
<p align="justify">Bottom line, if the mac cache is filled, everyone connected to the switch suffers and VLAN’s do not HELP! <strong>At that point; $50,000 SWITCH = $10 HUB</strong></p>
<p align="justify">Of course the VLAN 2 doesn’t see anything from VLAN 1 however, every port in VLAN 2 sees everything that is happening in VLAN 2 (communication happening for all the 3 other ports).</p>
<p align="justify">That calls in for Layer-2 Security, for one aspect.</p>
<p align="justify">
<p align="justify">
<p align="justify">Well, Google for it and you can get N number of tools to do it, so I’m not going to write it down here.</p>
<p align="justify">How do you prevent it? MAC Security. Simple fact is to bind just 1 mac address per port. Well, it is easier said than done. In earlier switches, you have to manually do it. Now consider doing it for 348 ports? How much ever you pay, the guy ain’t gonna do it unless it is his head at stake <img src='http://www.rsivanandan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p align="justify">Good news is that, newer switches can dynamically learn one MAC address and then lock it down. Now if that happens, only the problems that arise due to change in port needs to be addressed. However with technology changes (think of IP Phone + Desktop plugged in 1 port), it kinda gets a bit ugly though! Some switches do offer to learn a limit of MAC addresses instead of just 1. All this comes with some cost obviously, the CPU load!</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:34a2b7a9-3f5a-4022-8ebf-7f41bab4a59d" class="wlWriterSmartContent">del.icio.us Tags: <a href="http://del.icio.us/popular/MAC+Flooding" rel="tag">MAC Flooding</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2008/09/13/does-having-vlan-help-prevent-mac-flooding/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google&#8217;s Web Security Tool</title>
		<link>http://www.rsivanandan.com/2008/07/02/googles-web-security-tool/</link>
		<comments>http://www.rsivanandan.com/2008/07/02/googles-web-security-tool/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 02:17:38 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>
		<category><![CDATA[Tech in general]]></category>
		<category><![CDATA[Tools For Life]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=259</guid>
		<description><![CDATA[&#160; Google’s passive web security assessment tool is made available – open source. A semi-automated, largely passive web application security audit tool, optimized for an accurate and sensitive detection, and automatic annotation, of potential problems and security-relevant design patterns based on the observation of existing, user-initiated traffic in complex web 2.0 environments. Detects and prioritizes [...]]]></description>
			<content:encoded><![CDATA[</p>
<p>&#160;</p>
<p>Google’s passive web security assessment tool is made available – open source.</p>
<blockquote><p><a>A semi-automated, largely passive web application security audit tool, optimized for an accurate and sensitive detection, and automatic annotation, of potential problems and security-relevant design patterns based on the observation of existing, user-initiated traffic in complex web 2.0 environments. </a></p>
<p><a>Detects and prioritizes broad classes of security problems, such as dynamic cross-site trust model considerations, script inclusion issues, content serving problems, insufficient XSRF and XSS defenses, and much more. </a></p>
<p><a><i>Ratproxy</i> is currently believed to support Linux, FreeBSD, MacOS X, and Windows (Cygwin) environments. </a></p>
</blockquote>
<p><a href="http://code.google.com/p/ratproxy/" target="_blank">Download Page…</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2008/07/02/googles-web-security-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Counterfeit Network Gear &#8211; What in the World?</title>
		<link>http://www.rsivanandan.com/2008/06/04/counterfeit-network-gear-what-in-the-world/</link>
		<comments>http://www.rsivanandan.com/2008/06/04/counterfeit-network-gear-what-in-the-world/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 08:30:29 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>
		<category><![CDATA[Tech in general]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=254</guid>
		<description><![CDATA[&#160; The new law enforcement and national security concerns were prompted by Operation Cisco Raider, which has led to 15 criminal cases involving counterfeit products bought in part by military agencies, military contractors and electric power companies in the United States. Over the two-year operation, 36 search warrants have been executed, resulting in the discovery [...]]]></description>
			<content:encoded><![CDATA[</p>
<p>&#160;</p>
<blockquote><p><em>The new law enforcement and national security concerns were prompted by Operation </em><a href="http://topics.nytimes.com/top/news/business/companies/cisco_systems_inc/index.html?inline=nyt-org"><em>Cisco</em></a><em> Raider, which has led to 15 criminal cases involving counterfeit products bought in part by military agencies, military contractors and electric power companies in the United States. Over the </em><a href="http://washingtondc.fbi.gov/dojpressrel/pressrel08/cisco022808.htm"><em>two-year operation</em></a><em>, 36 search warrants have been executed, resulting in the discovery of 3,500 counterfeit Cisco network components with an estimated retail value of more than $3.5 million, the F.B.I. said in a statement.</em></p>
</blockquote>
<p>Not that this is news, we’ve always had this planted in the head about James Bond and his gizmo-gadgets and then the story about Government placing some backdoor’s in network security gears for them to get access whenever needed – Yeah, I dunno – its a nice story to keep floating…</p>
<p>But look what is this man? US Military having Counterfeit gears?</p>
<p>Read Full Story { <a href="http://www.nytimes.com/2008/05/09/technology/09cisco.html?_r=1&amp;th&amp;emc=th&amp;oref=slogin" target="_blank">Redirect</a> }</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2008/06/04/counterfeit-network-gear-what-in-the-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Wireless &#8211; Beware</title>
		<link>http://www.rsivanandan.com/2008/06/03/free-wireless-beware/</link>
		<comments>http://www.rsivanandan.com/2008/06/03/free-wireless-beware/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 15:00:58 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=253</guid>
		<description><![CDATA[&#160; The other day I was talking to my colleague about how fast the wireless technologies have grown for data communications and almost every IT professional (at least) is having the power of WiFi at their homes, since it doesn&#8217;t cost more than 50 dollars to buy a cheap wireless router. Along with that we [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>The other day I was talking to my colleague about how fast the wireless technologies have grown for data communications and almost every IT professional (at least) is having the power of WiFi at their homes, since it doesn&#8217;t cost more than 50 dollars to buy a cheap wireless router. Along with that we were also discussing about how easy now-a-days it is to get connected to somebody else&#8217;s wireless connections <img src='http://www.rsivanandan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  While it is a good growth in technology terms, users aren&#8217;t careful enough to protect their bandwidth &#8211; they just leave their AP open to others. </p>
<p>So was just Googling around and found this free product &#8211; <a href="http://makayama.com" target="_blank">Easy Wifi Radar</a></p>
<p>The tool basically does an analysis of the spectrum to see if there is an AP available and if there is a hole, it just connects to it providing instant *free* Internet access! Now people don&#8217;t even have to know how to search, just click to go on the tool and it will connect.</p>
<p>However, we&#8217;re looking at serious legal issues, if one were to use this tool to steal bandwidth.</p>
<p>Disclaimer : I do not hold any responsibility for issues that one might encounter if he/she were to misuse this tool. It is only for technical knowledge sharing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2008/06/03/free-wireless-beware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>regsvr.exe and hoax attack-week :-)</title>
		<link>http://www.rsivanandan.com/2008/05/19/regsvrexe-and-hoax-attack-week/</link>
		<comments>http://www.rsivanandan.com/2008/05/19/regsvrexe-and-hoax-attack-week/#comments</comments>
		<pubDate>Mon, 19 May 2008 14:53:57 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>
		<category><![CDATA[Life in general]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=248</guid>
		<description><![CDATA[&#160; Well I do have corporate solution for AntiVirus on my work laptop, however I got hit by a worm (regsvr.exe &#8211; typical Google lookup) while my AntiVirus software sat happily there! Eventually I got it on my cell phone as well Removing that was no-brainer anyway&#8217;s; but my time! Not gonna spend time explaining [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Well I do have corporate solution for AntiVirus on my work laptop, however I got hit by a worm (regsvr.exe &#8211; typical Google lookup) while my AntiVirus software sat happily there! Eventually I got it on my cell phone as well <img src='http://www.rsivanandan.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>Removing that was no-brainer anyway&#8217;s; but my time! Not gonna spend time explaining how to remove this (just Google for regsvr.exe and you have ton&#8217;s of solutions).</p>
<p>Second; a guy approaches while I was happily watching TV, telling me that he can get me GAS (took a name of a well known GAS agency) with out having Ration Card (something that Indian&#8217;s would understand <img src='http://www.rsivanandan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> &nbsp; ). I went to that store to see there is no guy by that name in the shop! Luckily I didn&#8217;t give any money to him as booking charges or so.</p>
<p>Then I receive this hoax letter &#8211; International&nbsp; property disposition offering me a 2008 Land Rover or equivalent cash (about 1.8 Million Rupees) and all I have to send is 1000 Rupees in cash &#8211; couldn&#8217;t stop laughing. Then I thought may be there are guys who&#8217;re hit with this and so I did a Google search on &#8216;International Property Disposition + hoax&#8217;, Voila! First post, there are guys who had actually send that money twice and still waiting for the gift???? Whatz wrong with these people man? I do not understand, you just get 1.8 Million for just 1000 Rupees &#8211; then you can as well start printing money on your own&#8230;</p>
<p>That reminds me of an incident, one of my friend sold his DVD player &#8211; the buyer came while he wasn&#8217;t there and gave money, got change only to find later in the evening that the money given was a high quality photo copy!</p>
<p>Great Place to live &#8211; IT hub of India (Bangalore) &#8211; Come to get cheated&#8230;. (Last year at this time I got robbed). Yeah &#8211; they&#8217;re all onto me!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2008/05/19/regsvrexe-and-hoax-attack-week/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>0DAY:ADOBE PDF</title>
		<link>http://www.rsivanandan.com/2007/09/24/0dayadobe-pdf/</link>
		<comments>http://www.rsivanandan.com/2007/09/24/0dayadobe-pdf/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 17:28:17 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>
		<category><![CDATA[Tech in general]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=210</guid>
		<description><![CDATA[This stuff gets better and better; Adobe’s representatives can contact me from the usual place. My advise for you is not to open any PDF files (locally or remotely). Other PDF viewers might be vulnerable too. The issues was verified on Windows XP SP2 with the latest Adobe Reader 8.1, although previous versions are also [...]]]></description>
			<content:encoded><![CDATA[<p>This stuff gets better and better;<br />
<blockquote> Adobe’s representatives can contact me from the usual place. My advise for you is not to open any PDF files (locally or remotely). Other PDF viewers might be vulnerable too. The issues was verified on Windows XP SP2 with the latest Adobe Reader 8.1, although previous versions are also affected. </p></blockquote>
<p>  This was how GNUCitizen closed his post. So apparently there seems to be a defect in Adobe Reader 8.1 on XP SP2 (Verified by him).  Read More [<a href="http://www.gnucitizen.org/blog/0day-pdf-pwns-windows" target="_blank">...</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/09/24/0dayadobe-pdf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Split-Tunneling Good or Bad ?</title>
		<link>http://www.rsivanandan.com/2007/07/19/split-tunneling-good-or-bad/</link>
		<comments>http://www.rsivanandan.com/2007/07/19/split-tunneling-good-or-bad/#comments</comments>
		<pubDate>Thu, 19 Jul 2007 16:23:46 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Access-Control]]></category>
		<category><![CDATA[Attacks/Exploits]]></category>
		<category><![CDATA[Juniper]]></category>
		<category><![CDATA[Tech in general]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=194</guid>
		<description><![CDATA[In the VPN configuration this seems to be a host discussion; so here we go There are 2 options of internet traffic for the VPN users; Split-Tunneling enabled :: This means all the corporate traffic goes through the vpn tunnel and all the internet (local browsing etc) goes through the user&#8217;s local internet connection which [...]]]></description>
			<content:encoded><![CDATA[<p>In the VPN configuration this seems to be a host discussion; so here we go</p>
<p>There are 2 options of internet traffic for the VPN users;</p>
<ol>
<li>Split-Tunneling enabled :: This means all the corporate traffic goes through the vpn tunnel and all the internet (local browsing etc) goes through the user&#8217;s local internet connection which improves the browsing speed/experience for the end user.</li>
<li>Split-Tunneling disabled :: This means all the corporate traffic and local user traffic to internet traverse over the vpn tunnel and the internet traffic first goes to the vpn end-point and then exits to internet </li>
</ol>
<p>Now, point 1 seems to be interesting&nbsp;to some security professionals for the reason that, while connected through VPN there is no local interaction and thus no &#8221; security risk &#8220;. The argument being while connected to the corporate through VPN, the public internet is secluded and thus there is more security in terms of somebody/something from internet gets to the corporate!</p>
<p>Well, let me see; the way I see it &#8211; First of all it makes the internet browsing poor for the end user who is probably browsing more but still is *ON* VPN just for mail checking in the late evening (If that is happening <img src='http://www.rsivanandan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ). Now security-wise, does it mean by just disabling the split-tunneling, an administrator can be assured that the user won&#8217;t harm the corporate ? I don&#8217;t think so;</p>
<blockquote><p><font color="#ffffff">How About users&#8217; machine infected with a Virus/Trojan/Some Crap, whether you have enabled split-tunneling or not, this is going to enter corporate ???? YES.</font></p>
</blockquote>
<p>So what security are we talking about ?</p>
<p>The best approach would be to have Network Access/Admission Control which is integrated with an AntiVirus/AntiSpyware/IPS and Firewall module.</p>
<p>Now is there something obvious I&#8217;m not seeing here? May be somebody can shed some light and I would really appreciate that!</p>
<div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:1bdc00d0-97f5-4f3c-a04d-0c58694c6673" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/VPN" rel="tag">VPN</a>, <a href="http://technorati.com/tags/Split-Tunneling" rel="tag">Split-Tunneling</a>, <a href="http://technorati.com/tags/Security" rel="tag">Security</a></div>
<blockquote><p><font color="#ffffff"></font></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/07/19/split-tunneling-good-or-bad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TCP drop vs reset vs reject</title>
		<link>http://www.rsivanandan.com/2007/06/16/tcp-drop-vs-reset-vs-reject/</link>
		<comments>http://www.rsivanandan.com/2007/06/16/tcp-drop-vs-reset-vs-reject/#comments</comments>
		<pubDate>Sat, 16 Jun 2007 13:41:55 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>
		<category><![CDATA[Tech in general]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=186</guid>
		<description><![CDATA[Since the last post was on unusual tcp connection tear down, it is also important to understand different actions a typical firewalls can take; Drop -&#62; The packet is dropped and never informed about the sender. Reset -&#62; A RST is sent to the sender to let him know that the port is not open. [...]]]></description>
			<content:encoded><![CDATA[<p>Since the last post was on unusual tcp connection tear down, it is also important to understand different actions a typical firewalls can take;</p>
<blockquote><p>Drop -&gt; The packet is dropped and never informed about the sender.</p>
<p>Reset -&gt; A RST is sent to the sender to let him know that the port is not open.</p>
<p>Reject -&gt; Reject is rather interesting, it is almost TCP reset but also sends an ICMP prohibited message saying that the port might be open but you&#8217;re not allowed to talk&nbsp; </p>
</blockquote>
<p>So if you&#8217;re tasked to configure a mode (any of the above), what will you choose for tearing down a connection ?</p>
<p>It depends on the requirement but I&#8217;d rather go with drop since <strong><em>&#8220;If I want to&nbsp;tear down&nbsp;the connection any ways, why send&nbsp; a message saying that I teared it down ?&#8221;</em></strong> Doesn&#8217;t it add additional processing on the box which is doing rather other important IO</p>
<p>
<div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:b6921744-62b1-4ec9-996f-bd05e1098ea8" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">del.icio.us Tags: <a href="http://del.icio.us/popular/RST" rel="tag">RST</a>, <a href="http://del.icio.us/popular/REJECT" rel="tag">REJECT</a>, <a href="http://del.icio.us/popular/DROP" rel="tag">DROP</a>, <a href="http://del.icio.us/popular/TCP" rel="tag">TCP</a>, <a href="http://del.icio.us/popular/Firewall" rel="tag">Firewall</a></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/06/16/tcp-drop-vs-reset-vs-reject/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MAC Address Changer</title>
		<link>http://www.rsivanandan.com/2007/05/30/mac-address-changer/</link>
		<comments>http://www.rsivanandan.com/2007/05/30/mac-address-changer/#comments</comments>
		<pubDate>Wed, 30 May 2007 16:18:08 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>
		<category><![CDATA[Tech in general]]></category>
		<category><![CDATA[Tools For Life]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=156</guid>
		<description><![CDATA[Technitium MAC Address Changer allows you to change Media Access Control (MAC) Address of your Network Interface Card (NIC) irrespective to your NIC manufacturer or its driver  A tool that is released for changing the mac address of Network Interface Cards which would facilitate both the good guys and the bad guys So taste it [...]]]></description>
			<content:encoded><![CDATA[<p><em><a REL="tag" TARGET="_blank" HREF="http://tmac.technitium.com/tmac/index.html"><font COLOR="#0000ff">Technitium MAC Address Changer allows you to change Media Access Control (MAC) Address of your Network Interface Card (NIC) irrespective to your NIC manufacturer or its driver</font></a></em></p>
<p><em> </em>A tool that is released for changing the mac address of Network Interface Cards which would facilitate both the good guys and the bad guys <img src='http://www.rsivanandan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>So taste it <a TARGET="_blank" HREF="http://tmac.technitium.com/tmac/index.html"><font COLOR="#0000ff">here</font></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/05/30/mac-address-changer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Feel safe on a switched lan ?</title>
		<link>http://www.rsivanandan.com/2007/05/17/feel-safe-on-a-switched-lan/</link>
		<comments>http://www.rsivanandan.com/2007/05/17/feel-safe-on-a-switched-lan/#comments</comments>
		<pubDate>Thu, 17 May 2007 15:39:54 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=53</guid>
		<description><![CDATA[So the common belief is that it is very safe when a network is on a *switched* lan compared to a hub. Story? In a hub network, traffic is seen by everybody connected so sniffing would be very easy and with the introduction of switches, you see only traffic that is destined for you. So [...]]]></description>
			<content:encoded><![CDATA[<p>So the common belief is that it is very safe when a network is on a *switched* lan compared to a hub.</p>
<p><u>Story?</u></p>
<p>In a hub network, traffic is seen by everybody connected so sniffing would be very easy and with the introduction of switches, you see only traffic that is destined for you. So that provides you security from sniffing and attacks later-on! Well not quite true as long as ARP is the way it is now&#8230;</p>
<p>So how does arp work? When a machine wants to talk to somebody &#8211; an arp broadcast is done for which only the machine intended would reply with its mac address, so that the communication goes through; very IDEAL scenario.</p>
<p>Now if someone were to send in an incorrect arp response [ pretending to be someone else ], the original machine would still entertain this reply and send the packet to this address. Inherently there is no authentication with ARP protocol, was not required at the time it was designed!</p>
<p>So lets see how it works;</p>
<ul>
<li>Port1 &#8211; Host A is connected with mac A</li>
<li>Port2 &#8211; Host B is connected with mac B</li>
<li>Port3 &#8211; Host C (attacker) is connected with mac C</li>
<li>So Host C (attacker) sends an arp reply to Host A saying that I&#8217;m Host B. Similarly it sends another arp reply to Host B saying that I&#8217;m Host A</li>
<li>So now Host A believes Host B is Host C&nbsp;&nbsp; { AND }</li>
<li>Host B believes Host A is Host C</li>
</ul>
<p>So a simple software at Host C (attacker) would be able to read all the communication between Host A and Host B!</p>
<p>High end managed switches might not entertain the unasked ARP replies but the hosts would! For example Windows XP before SP2 entertains any gratuitous ARP packets and change their local ARP cache!</p>
<p>CVE Entry for this [ <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=2007-1531" target="_blank">Here</a> ]</p>
<p>A tool can be used to read the data and then forward the traffic to respective clients, facilitating that those hosts wouldn&#8217;t even know that there is something going on like this; the fashion as below;</p>
<ul>
<li>Host A sends &#8216;HI&#8217; to Host B</li>
<li>Traffic actually reaches Host C</li>
<li>Host C reads the data and then forwards the packet to Host B</li>
<li>Host B sends &#8216;hello&#8217; to Host A</li>
<li>Traffic actually reaches Host C</li>
<li>Host C reads the data and then forwards the packet to Host A</li>
</ul>
<p>Seems impossible? Well, there is rather a simple tool <a href="http://www.monkey.org/~dugsong/dsniff/" target="_blank">arpspoof</a> which can perform this! </p>
<p>So how do you find out if there is something going on similar to this ? You could use <a href="http://www.securityfocus.com/tools/142" target="_blank">arpwatch</a> to perform the task</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/05/17/feel-safe-on-a-switched-lan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS Obfuscation</title>
		<link>http://www.rsivanandan.com/2007/05/12/os-obfuscation/</link>
		<comments>http://www.rsivanandan.com/2007/05/12/os-obfuscation/#comments</comments>
		<pubDate>Sat, 12 May 2007 17:00:48 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>
		<category><![CDATA[Tech in general]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=151</guid>
		<description><![CDATA[What is so great about it? Well, heard about OS fingerprinting / &#8220;Tcp/IP&#8221; Stack fingerprinting. Those who practice security couldn&#8217;t imagine a life without nmap ?, yeah that line is familiar&#8230; So many of these tools do this by the changes in tcp/ip stacks. The RFC for tcp/ip defines value types for TTL, Window Size, [...]]]></description>
			<content:encoded><![CDATA[<p><font face="Arial" size="2">What is so great about it? Well, heard about OS fingerprinting / &#8220;Tcp/IP&#8221; Stack fingerprinting. Those who practice security couldn&#8217;t imagine a life without </font><a title="NMAP" href="http://www.insecure.org" target="_blank"><font face="Arial" size="2">nmap</font></a><font face="Arial" size="2"> ?, yeah that line is familiar&#8230;</font></p>
<p><font face="Arial" size="2">So many of these tools do this by the changes in tcp/ip stacks. <em><strong><font color="#004080">The RFC for tcp/ip defines value types for TTL, Window Size, MTU etc but do not mandate a default value hence different OS implementations have adopted it to have different values.</font></strong></em> What does it make it easy? Recon&#8230; Just a ping packet would let one know the TTL value, so similar correlations for many parameters would yield the OS in place without much trouble.</font></p>
<p><font face="Arial" size="2">Operating System Obfuscation is a method, using which you could change those parameters on the OS so that it looks like a totally different Operating System!</font></p>
<p><font face="Arial" size="2">If you do not want much of technical details on how you do it, (although I must tell it is a piece of cake) you could use a tool to configure it.</font></p>
<p><font face="Arial" size="2">{</font><a title="Security Cloak" href="http://www.craigheffner.com/security/sec_cloak.zip" target="_blank"><font face="Arial" size="2">Sec_Cloak</font></a><font face="Arial" size="2">}</font></p>
<p><font face="Arial" size="2">Test it out yourselves;</font></p>
<p><font face="Arial" size="2">1. First do an nmap scan [ nmap -O2 &lt;target_ip&gt; ] =&gt; See the OS guesses.</font></p>
<p><font face="Arial" size="2">2. Run Sec_Cloak on the machine and set it to appear as some linux flavor.</font></p>
<p><font face="Arial" size="2">3. Repeat the first step again and watch for the OS guess.</font></p>
<p><font face="Arial" size="2">&nbsp;&nbsp; You&#8217;d get it by then&#8230;.</font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/05/12/os-obfuscation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tini &#8211; Backdoor</title>
		<link>http://www.rsivanandan.com/2007/03/25/tini-backdoor/</link>
		<comments>http://www.rsivanandan.com/2007/03/25/tini-backdoor/#comments</comments>
		<pubDate>Sun, 25 Mar 2007 16:07:02 +0000</pubDate>
		<dc:creator>rsivanandan</dc:creator>
				<category><![CDATA[Attacks/Exploits]]></category>

		<guid isPermaLink="false">http://www.rsivanandan.com/?p=121</guid>
		<description><![CDATA[If you understand the attacks, then you would also understand the difficulty of placing a backdoor on some machine/server. Lets meet &#8216;tini&#8217; ; as the name is, it is tiny (only 3kb in size) and can run without dragging attention. So here is the behavior, Tini is an executable which listens on port 7777. Since [...]]]></description>
			<content:encoded><![CDATA[<p>If you understand the attacks, then you would also understand the difficulty of placing a backdoor on some machine/server.</p>
<p>Lets meet &#8216;tini&#8217; ; as the name is, it is tiny (only 3kb in size) and can run without dragging attention.</p>
<p>So here is the behavior, Tini is an executable which listens on port 7777.</p>
<p>Since it is not a true backdoor it doesn&#8217;t execute by itself, someone has to execute it. Now by execute what it means is a simple &#8216;double click&#8217;.</p>
<p>On Host A run Tini</p>
<p>On Host B, open up a command prompt and do this &#8216;telnet &lt;Host A&gt; 7777&#8242;, you will be presented with the command prompt of Host A.</p>
<p>Beware that most of the AntiVirii/AntiSpyware products will identify this one and may cause problems so use it with due diligence. This is more of a useful tool than a destructive tool.</p>
<p>Also it is possible to change the port, all you need is a hex editor to open up the Tini binary</p>
<p>If some one would like to know, I would post that as well.</p>
<p>{<a HREF="http://ntsecurity.nu/toolbox/tini/" TARGET="_blank">Download and Understand Here</a>}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsivanandan.com/2007/03/25/tini-backdoor/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

