<?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>TrueJournals &#187; realbasic</title>
	<atom:link href="http://truejournals.com/topics/realbasic/feed/" rel="self" type="application/rss+xml" />
	<link>http://truejournals.com</link>
	<description>College student; Engineer; Programmer; Nerd.</description>
	<lastBuildDate>Mon, 18 Jul 2011 04:24:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>cca-bypass 0.5</title>
		<link>http://truejournals.com/2009/12/04/cca-bypass-0-5/</link>
		<comments>http://truejournals.com/2009/12/04/cca-bypass-0-5/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 03:55:53 +0000</pubDate>
		<dc:creator>TrueJournals</dc:creator>
				<category><![CDATA[realbasic]]></category>
		<category><![CDATA[cca]]></category>
		<category><![CDATA[cca-bypass]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://truejournals.com/?p=136</guid>
		<description><![CDATA[Now this is what I call rapid development!  One day of coding, and I have a new and much improved version of cca-bypass.  This version still has two binaries, but it has my own sec_cloak_apply, instead of sec_cloak.  Basically, sec_cloak_apply allows me to do some additional things with the code, backing up the registry values, [...]]]></description>
			<content:encoded><![CDATA[<p>Now this is what I call rapid development!  One day of coding, and I have a new and much improved version of cca-bypass.  This version still has two binaries, but it has my own sec_cloak_apply, instead of sec_cloak.  Basically, sec_cloak_apply allows me to do some additional things with the code, backing up the registry values, and allowing you to restore them later.  This could come in handy.</p>
<p>Other than that, the big improvement is the addition of a progress bar, and making the login process asynchronous.  This means that there&#8217;ll be a nice little progress bar to show you how far along in the login process the task is.  Note that it takes a second after you click &#8220;Login&#8221; for the task to start running.</p>
<p>Finally, there is a LOT more error checking in the Login process, so all errors should now be in plain English.  If you DO encounter an error, and you think you shouldn&#8217;t have, please let me know, and I&#8217;ll do my best to fix it.  I can&#8217;t test every situation!  Anyway, on to the download links for version 0.5:</p>
<p>Pre-compiled binary: <a title="cca-bypass binary" href="http://truejournals.com/downloads/cca-bypass-0.5-binary.zip">cca-bypass-0.5-binary.zip</a> (2.39 MB)</p>
<p>Source: <a title="cca-bypass source" href="http://truejournals.com/downloads/cca-bypass-0.5-os.zip">cca-bypass-0.5-os.zip</a> (38 KB)</p>
<p>Note: I&#8217;m still considering this beta because I haven&#8217;t been able to thoroughly test it.  It should be pretty, stable, though, so don&#8217;t be afraid of the &#8220;beta&#8221;!</p>
]]></content:encoded>
			<wfw:commentRss>http://truejournals.com/2009/12/04/cca-bypass-0-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cca-bypass beta1</title>
		<link>http://truejournals.com/2009/12/04/cca-bypass-beta1/</link>
		<comments>http://truejournals.com/2009/12/04/cca-bypass-beta1/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 21:44:24 +0000</pubDate>
		<dc:creator>TrueJournals</dc:creator>
				<category><![CDATA[realbasic]]></category>

		<guid isPermaLink="false">http://truejournals.com/?p=130</guid>
		<description><![CDATA[For a while, Cisco Clean Access on Windows has bothered the heck out of me.  The client for CCA on windows is just plain buggy.  It takes forever to open, prompts me to let it run as admin every time I boot into Windows, doesn&#8217;t let me use the Internet until I update Windows (which [...]]]></description>
			<content:encoded><![CDATA[<p>For a while, Cisco Clean Access on Windows has bothered the heck out of me.  The client for CCA on windows is just plain buggy.  It takes forever to open, prompts me to let it run as admin every time I boot into Windows, doesn&#8217;t let me use the Internet until I update Windows (which sometimes requires a reboot first), and sometimes just doesn&#8217;t work.  However, I&#8217;ve only recently decided to investigate more, and figure out how to get past it.</p>
<p>The idea is simple: on a machine running Linux, everything is done through a web interface.  This makes it simple to create a script to get through Clean Access.  However, on Windows, while this web interface is presented, it simply tells you to download the client.  The obvious method of bypassing this, changing the User Agent of your browser, doesn&#8217;t work: Clean Access has other methods of detecting that you&#8217;re running Windows, using TCP fingerprinting.  Basically, Cisco has figured out certain commands they can send over the network, and exactly how a Windows machine will respond.  So, the answer becomes to change these responses.<span id="more-130"></span></p>
<p>It turns out that this can be done using something called sec_cloak.  This is, really, a security tool: it prevents people on the network from detecting which Operating System you&#8217;re running.  If people can&#8217;t tell you&#8217;re running Windows, they can&#8217;t attack you with TCP attacks that work against Windows, so they&#8217;ll try those that your computer is masked to.  For our purposes, we can mask the computer to Linux.  To do this, sec_cloak changes some magic values in the registry.  That&#8217;s about where my technical knowledge of sec_cloak ends.  How someone found these values, and why changing them does what it does, I&#8217;m not sure about.  For our purposes, though, that&#8217;s really not very important.  The important part is that now, the network can&#8217;t tell which OS you&#8217;re running.</p>
<p>However, this is STILL not enough.  The web interface has some sneaky tricks to keep trying to detect which operating system you&#8217;re running.  So, we need to fool it more.  The web interface has a couple methods: it checks your User Agent, and has some javascript to attempt to detect if you&#8217;re running Windows.  So, we now have the magic combination: sec_cloak to Linux, change the User Agent to a Linux one, and disable javascript in the browser.</p>
<p>Luckily, sec_cloak only needs to be applied once.  However, the login still needs to be done every time, and part of the pain with Cisco&#8217;s Clean Access Client was that I needed to type in my username and password every time I booted my computer up.  So, my next step was to create an application.  After a good couple hours of coding, I have an application that will apply the sec_cloak fix, save login credentials, and go through the login pages automatically.  It still requires a bit of user interaction: clicking the &#8220;login&#8221; button, but I&#8217;m working on cutting this out, and having the only interaction be setting up everything.</p>
<p>Note that cca-bypass should still be considered beta.  That is, it seems stable enough in my small testing to work most of the time, but you shouldn&#8217;t be surprised if something funky happens.  This application does absolutely <strong>no</strong> error catching, so don&#8217;t be surprised if it just crashes and doesn&#8217;t log you in.  If cca-bypass doesn&#8217;t work to log you in, you can still use the Clean Access Client to login to the network, without damaging the sec_cloak fix.</p>
<p>cca-bypass stores your username and password encrypted, however, I&#8217;m not going to claim that the encryption is perfect/can&#8217;t be broken.  Be careful who gets hold of your files.  The encryption is done using a password which is different in the pre-compiled version than it is in the open-source version, to remove the obviousness of that security hole.</p>
<p>I have personally tested cca-bypass on Windows 7.  However, I have also tested the same fix on Vista, and I have reports that the fix should work on XP.  I will try to do more testing to confirm that everything works on XP and Vista.</p>
<p>Pre-compiled binary: <a title="cca-bypass 0.1 binary" href="http://truejournals.com/wp-content/uploads/2009/12/cca-bypass-0.1-binary.zip">http://truejournals.com/wp-content/uploads/2009/12/cca-bypass-0.1-binary.zip</a></p>
<p>Source: <a title="cca-bypass 0.1 source" href="http://truejournals.com/wp-content/uploads/2009/12/cca-bypass-0.1-source.zip">http://truejournals.com/wp-content/uploads/2009/12/cca-bypass-0.1-source.zip</a></p>
<p>If you have any questions/comments/suggestions, please leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://truejournals.com/2009/12/04/cca-bypass-beta1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

