<?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>Truth, Computing and Fail &#187; Wireless networks</title>
	<atom:link href="http://anomit.com/category/wireless-networks/feed/" rel="self" type="application/rss+xml" />
	<link>http://anomit.com</link>
	<description></description>
	<lastBuildDate>Sun, 26 Dec 2010 19:39:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>First run of BackTrack2</title>
		<link>http://anomit.com/2008/04/18/first-run-of-backtrack2/</link>
		<comments>http://anomit.com/2008/04/18/first-run-of-backtrack2/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 18:03:12 +0000</pubDate>
		<dc:creator>anomit</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Wireless networks]]></category>
		<category><![CDATA[aircrack]]></category>
		<category><![CDATA[cryptography]]></category>
		<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://oni.ifastnet.com/2008/04/18/first-run-of-backtrack2/</guid>
		<description><![CDATA[Yeah, I know BT3 Beta is doing the rounds but when learning something, I don&#8217;t exactly like to walk on the bleeding edge! The collection of tools is amazing and I don&#8217;t even need to go on blabbering about it. Its the distro of choice for security professionals. The multitude of scripts are simply vast [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah, I know BT3 Beta is doing the rounds but when learning something, I don&#8217;t exactly like to walk on the bleeding edge!</p>
<p>The collection of tools is amazing and I don&#8217;t even need to go on blabbering about it. Its the distro of choice for security professionals. The multitude of scripts are simply vast each grouped neatly in the appropriate categories for radio analyzing, os fingerprinting, forensics etc etc (heck, I don&#8217;t even remember all of them).</p>
<p><a href='http://anomit.com/wordpress/wp-content/uploads/2008/04/dsc00123.jpg' title='dsc00123.JPG'><img src='http://anomit.com/wordpress/wp-content/uploads/2008/04/dsc00123-150x150.jpg' alt='dsc00123.JPG' /></a><br />
I booted into BT2 using the live CD. I prefer the live CD in this case as I don&#8217;t exactly wanna mess around with my wireless settings by creating and destroying multiple VAPs. Got down straight to work, fired up airodump-ng. Found a couple of clients connected to the AP near me. Deauth-ed them with aireplay-ng. To make sure it was working, called over a friend to my room, tested the deauth on his laptop and it was working!</p>
<p><a href='http://anomit.com/wordpress/wp-content/uploads/2008/04/dsc00125.jpg' title='dsc00125.JPG'><img src='http://anomit.com/wordpress/wp-content/uploads/2008/04/dsc00125-150x150.jpg' alt='dsc00125.JPG' /></a><br />
Ok, catch up with your breath. This is how I did it:</p>
<p>Created a VAP ath1 in monitor mode<br />
<code>wlanconfig ath1 create wlandev wifi0 wlanmode monitor</code><br />
I wont even explain how to start up airodump-ng. Its as easy as 1-2-3.</p>
<p>Deauth the clients using the MAC addresses found with aireplay-ng.<br />
<code>aireplay-ng -0 30 -c <i>client MAC address</i> -a <i> access point MAC address </i> ath1</code><br />
Here -0 means deauth and 30 is the number of deauth requests to be sent.</p>
<p>At this stage, you can easily spoof the MAC address and capture the packets intended to be received by the now disconnected client. Maybe get around MAC based authentication too if that is the first layer of security in a network.<br />
Finally, don&#8217;t forget to check out the documentation and tutorials at aircrack-ng.org</p>
]]></content:encoded>
			<wfw:commentRss>http://anomit.com/2008/04/18/first-run-of-backtrack2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Preventing atheros card from being disconnected often</title>
		<link>http://anomit.com/2008/02/19/preventing-atheros-card-from-being-disconnected-often/</link>
		<comments>http://anomit.com/2008/02/19/preventing-atheros-card-from-being-disconnected-often/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 18:00:46 +0000</pubDate>
		<dc:creator>anomit</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Wireless networks]]></category>

		<guid isPermaLink="false">http://oni.ifastnet.com/2008/02/19/preventing-atheros-card-from-being-disconnected-often/</guid>
		<description><![CDATA[Found out this solution at ubuntu forums after googling a bit. I was totally fed up with the connection acting out randomly. The solution lies in locking the network interface to a specific 802.11 a/b/g mode. Edit your /etc/rc.local file and add the following lines before exit 0 modprobe ath_pci (sleep 10 &#038;&#038; /sbin/iwpriv ath0 [...]]]></description>
			<content:encoded><![CDATA[<p>Found out this solution at ubuntu forums after googling a bit. I was totally fed up with the connection acting out randomly. The solution lies in locking the network interface to a specific 802.11 a/b/g mode.</p>
<p>Edit your /etc/rc.local file and add the following lines before <strong>exit 0</strong></p>
<p><code>modprobe ath_pci<br />
(sleep 10 &#038;&#038; /sbin/iwpriv ath0 mode 3) &#038;<br />
</code></p>
<p>Actually it uses the <strong>iwpriv mode X</strong> command to lock the card to a specific mode, where <code><br />
X=0, for a/b/g<br />
      1, for a<br />
      2, for b<br />
      3, for g</code><br />
You add this to /etc/rc.local to make the change permanent, so that these settings are loaded every time you boot into ubuntu.</p>
<p><a href="http://ubuntuforums.org/showthread.php?t=540101">Source</a></p>
<p>Gotta try out wicd as a replacement for network manager too.</p>
]]></content:encoded>
			<wfw:commentRss>http://anomit.com/2008/02/19/preventing-atheros-card-from-being-disconnected-often/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dirty games</title>
		<link>http://anomit.com/2007/09/10/dirty-games/</link>
		<comments>http://anomit.com/2007/09/10/dirty-games/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 13:46:13 +0000</pubDate>
		<dc:creator>anomit</dc:creator>
				<category><![CDATA[My Life]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Wireless networks]]></category>

		<guid isPermaLink="false">http://oni.ifastnet.com/2007/09/10/dirty-games/</guid>
		<description><![CDATA[With much hype and publicity, the wifi service of our university was launched 10 days ago. The service was christened I-ON (no idea what that has got to do with wireless networking) and large, beautiful posters greeted you on every step inside the campus: inside the hostels, the college, the lecture halls and all other [...]]]></description>
			<content:encoded><![CDATA[<p>With much hype and publicity, the wifi service of our university was launched 10 days ago. The service was christened <strong>I-ON</strong> (no idea what that has got to do with wireless networking) and large, beautiful posters greeted you on every step inside the campus: inside the hostels, the college, the lecture halls and all other places imaginable and within the reach of the human physique. It promised to <strong>Mobify ur world</strong> and according to the fkin fully techno illiterate helpdesk personnel, you would be getting speeds around 500 kbps. So, the first few days went fine, we were downloading and surfing merrily at speeds touching 50 KB/s. Anyways we were very well aware that a speed of 500 kbps is not feasible and possible for the size of the network and the backbone our university possesses. But still the speeds were simply great.<br />
And then comes the shocker. Some 3 days back, suddenly everything drops and starts to suck, big time. Downloads drop to 6 KB/s. So what is it? As obvious it can get, its a nasty traffic shaper. The University gets back to its dirty tricks. You decide for yourself. 6 KB/s. Fucking hell. I would be getting the same speed on a dial up connection. For God&#8217;s sake, it is an internet service for the whole University. What can be more shameful that a University with 50+ years of history behind can&#8217;t offer a basic, decent internet connection to its students. Everything is simply wrong about the whole thing. To download even a small tool like Brutus, I&#8217;ve to wait 5 minutes and yes, that is if I stop whatever surfing I might be doing at that time. What purpose would this connection serve?</p>
<p>Agreed that traffic shapers are very much needed for maintaining the QoS of the network, but the University authorities have simply pulled off a cheap trick by misusing the powers of these tools.</p>
<p>In my next post, I&#8217;ll be posting some <strong>iperf</strong> results as evidence to my claims.</p>
]]></content:encoded>
			<wfw:commentRss>http://anomit.com/2007/09/10/dirty-games/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling the wireless radio LED on linux</title>
		<link>http://anomit.com/2007/07/12/enabling-the-wireless-radio-led-on-linux/</link>
		<comments>http://anomit.com/2007/07/12/enabling-the-wireless-radio-led-on-linux/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 08:10:26 +0000</pubDate>
		<dc:creator>anomit</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Wireless networks]]></category>

		<guid isPermaLink="false">http://oni.ifastnet.com/2007/07/12/enabling-the-wireless-radio-led-on-linux/</guid>
		<description><![CDATA[I found this page on the madwifi wiki long ago, but then forgot &#8217;bout posting it here. For those with an Atheros chipset card, this is for enabling the LED indicator so that you can be sure that the wireless interface is working. For my Thinkpad R60, these were the lines I needed to enter [...]]]></description>
			<content:encoded><![CDATA[<p>I found <strong><a href="http://madwifi.org/wiki/UserDocs/EnableLEDs">this page</a></strong> on the madwifi wiki long ago, but then forgot &#8217;bout posting it here. For those with an Atheros chipset card, this is for enabling the LED indicator so that you can be sure that the wireless interface is working.</p>
<p>For my Thinkpad R60, these were the lines I needed to enter in <strong>/etc/sysctl.conf<br />
</strong><br />
<code>dev.wifi0.ledpin=1<br />
dev.wifi0.softled=1</code></p>
]]></content:encoded>
			<wfw:commentRss>http://anomit.com/2007/07/12/enabling-the-wireless-radio-led-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Possible flaw in CISCO RADIUS authentication</title>
		<link>http://anomit.com/2007/05/30/possible-flaw-in-cisco-radius-authentication/</link>
		<comments>http://anomit.com/2007/05/30/possible-flaw-in-cisco-radius-authentication/#comments</comments>
		<pubDate>Wed, 30 May 2007 01:50:26 +0000</pubDate>
		<dc:creator>anomit</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Wireless networks]]></category>

		<guid isPermaLink="false">http://oni.ifastnet.com/2007/05/30/possible-flaw-in-cisco-radius-authentication/</guid>
		<description><![CDATA[The wi-fi connection in our hostels is controlled and billed through a login and authentication procedure using RADIUS(Remote Authentication Dial In User Service) on the CISCO IOS. Recently I happened to notice something. Suppose I log out of my account but have a program that keeps me connected to the net like Google Talk or [...]]]></description>
			<content:encoded><![CDATA[<p>The wi-fi connection in our hostels is controlled and billed through a login and authentication procedure using RADIUS(Remote Authentication Dial In User Service) on the CISCO IOS. Recently I happened to notice something. Suppose I log out of my account but have a program that keeps me connected to the net like Google Talk or any P2P program. Now someone else on another machine can login with the same ID and there you go, two machines on the network authenticated with the same ID. No, I don&#8217;t lose my connection.</p>
<p>If any experts are reading this, is it a flaw in the IOS RADIUS itself or something is wrong with its implementation on our network?</p>
]]></content:encoded>
			<wfw:commentRss>http://anomit.com/2007/05/30/possible-flaw-in-cisco-radius-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>aircrack-ng: Part I</title>
		<link>http://anomit.com/2007/03/31/aircrack-ng-part-i/</link>
		<comments>http://anomit.com/2007/03/31/aircrack-ng-part-i/#comments</comments>
		<pubDate>Sat, 31 Mar 2007 06:36:08 +0000</pubDate>
		<dc:creator>anomit</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Wireless networks]]></category>

		<guid isPermaLink="false">http://oni.ifastnet.com/2007/03/31/aircrack-ng-part-i/</guid>
		<description><![CDATA[Finally decided to get cracking on the aircrack-ng suite that was lying with me. But just setting it up was a heck of a task but as it is always with linux, a great learning experience too. I have an atheros chipset wireless card on my lappy, and the madwifi-ng drivers for Edgy don&#8217;t include [...]]]></description>
			<content:encoded><![CDATA[<p>Finally decided to get cracking on the aircrack-ng suite that was lying with me. But just setting it up was a heck of a task but as it is always with linux, a great learning experience too.</p>
<p><span id="more-12"></span></p>
<p>I have an atheros chipset wireless card on my lappy, and the <a href="http://madwifi.org/" target="_blank">madwifi-ng</a> drivers for Edgy don&#8217;t include the madwifi-tools package. So had to download and install it from <a href="http://packages.debian.org/cgi-bin/search_packages.pl?keywords=madwifi-tools&amp;searchon=names&amp;subword=1&amp;version=testing&amp;release=all" target="_blank">debian&#8217;s testing branch</a>. This package includes the <strong>wlanconfig</strong> tool. Without this, the aircrack-ng suite is as good as defunct.</p>
<p>Now comes the real part. Firing up the suite. First of all, you need to put your card into &#8216;monitor mode&#8217; . Under this mode, you will be able to monitor all the traffic in your wireless network. Somewhat like the promiscuous mode.</p>
<p>Now, when you enter the following command, you will get something like the following output:</p>
<pre class="brush: plain; title: ;"># iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:&quot;Tata Indicom Wi-Fi&quot;
Mode:Managed  Frequency:2.462 GHz  Access Point: 00:17:5A:B7:B8:20
Bit Rate:11 Mb/s   Tx-Power:8 dBm   Sensitivity=0/3
Retry:off   RTS thr:off   Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=19/94  Signal level=-76 dBm  Noise level=-95 dBm
Rx invalid nwid:28018  Rx invalid crypt:0  Rx invalid frag:0
Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sit0      no wireless extensions.
</pre>
<p>Now lets be clear about something. The interface wifi0 is actually the base device, indicative of the network card you are using. Suppose you have two cards supported by the madwifi driver. Then these two will show up as wifi0 and wifi1. Now for each base device, you can use <strong>wlanconfig</strong> to create <strong>VAPs</strong> (<strong>V</strong>irtual <strong>A</strong>ccess <strong>P</strong>oints) running under different modes. Now going back to the output above, if you want to use ath0 for monitoring purposes, which is already under use, use airmon-ng to first stop the VAP.</p>
<pre class="brush: plain; title: ;">#airmon-ng stop ath0

Interface       Chipset         Driver

wifi0           Atheros         madwifi-ng
ath0            Atheros         madwifi-ng VAP (parent: wifi0) (VAP destroyed)
</pre>
<p>Now if you want to use another VAP like say ath1, use wlanconfig to create it in station mode and then stop it by issuing the above command.</p>
<pre class="brush: plain; title: ;"># wlanconfig ath1 create wlandev wifi0 wlanmode sta</pre>
<p>Now, after stopping the device you need to put the card in monitor mode</p>
<pre class="brush: plain; title: ;">#airmon-ng start wifi0

Interface       Chipset         Driver

wifi0           Atheros         madwifi-ng
ath0            Atheros         madwifi-ng VAP (parent: wifi0) (monitor mode enabled)</pre>
<p>Now comes the role of airodump-ng for sniffing out networks. Start it</p>
<pre class="brush: plain; title: ;">#airodump-ng ath0</pre>
<p>So, airodump-ng now starts hopping channels and lists all the access points it can receive beacons from. You will see an output like this:</p>
<p><a href="http://server6.theimagehosting.com/image.php?img=aircrack-ng.png" target="_blank"><img src="http://images6.theimagehosting.com/aircrack-ng.th.png" title="The Image Hosting" border="0" /></a></p>
<p>Next comes the part of zeroing in one certain AP and capturing data packets from it, writing all of it to disk and use it for cracking the WEP key.</p>
<p>To be contd in the 2nd part (&#8216;coz this gets updated as soon as I myself learn it!)</p>
<p>Recommended readings:<br />
1. <a href="http://madwifi.org">The MadWifi wiki page</a><br />
2. <a href="http://www.aircrack-ng.org/doku.php">The aircrack-ng documentation</a><br />
3. And ofcourse the man pages!</p>
<p>If you are stuck at any point or screw something up, just visit the <strong>#madwifi </strong>channel on freenode network. The guys there are ever willing to help you out!<br />
<script type="text/javascript"><!--
google_ad_client = "pub-7394086270476181";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
//2007-04-05: homepage_banner
google_ad_channel = "5052727704";
google_color_border = "FFFFFF";
google_color_bg = "C3D9FF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://anomit.com/2007/03/31/aircrack-ng-part-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

