<?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>Chakraborty Software &#187; Exploits</title>
	<atom:link href="http://www.chakraborty.ch/category/exploits/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chakraborty.ch</link>
	<description>Information Security Consulting Services</description>
	<lastBuildDate>Tue, 18 Oct 2011 09:12:47 +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>French Researchers &#8220;Hack&#8221; TOR</title>
		<link>http://www.chakraborty.ch/exploits/french-researchers-hack-tor/</link>
		<comments>http://www.chakraborty.ch/exploits/french-researchers-hack-tor/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 09:12:47 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Crypto]]></category>
		<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Network Security]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/?p=471</guid>
		<description><![CDATA[French magazine 01net reports (article in French) that researchers from ESIEA, a French engineering school, have found and exploited some serious vulnerabilities in the TOR network. According to the article, they performed an inventory of the network, finding ca. 6,000 machines, many of whose IPs are accessible &#8220;publicly and directly with the system&#8217;s source code&#8221; (?), <a href='http://www.chakraborty.ch/exploits/french-researchers-hack-tor/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>French magazine <a href="http://pro.01net.com/" target="_blank">01net</a> <a href="http://pro.01net.com/editorial/544024/des-chercheurs-francais-cassent-le-reseau-danonymisation-tor/%20" target="_blank">reports</a> (article in French) that researchers from <a href="http://www.esiea.fr/c/en/Web.Esiea.Public.cuke?" target="_blank">ESIEA</a>, a French engineering school, have found and exploited some serious vulnerabilities in the <a href="http://www.torproject.org/" target="_blank">TOR network</a>.</p>
<p>According to the article, they performed an inventory of the network, finding ca. 6,000 machines, many of whose IPs are accessible &#8220;publicly and directly with the system&#8217;s source code&#8221; (?), as well as a large number of hidden nodes.</p>
<p>There&#8217;s a lack of detail, but supposedly the attack involves creating a virus (?) and using it to infect such vulnerable systems in a laboratory environment, and thus decrypting traffic passing through them &#8211; again via an unknown, unmentioned mechanism.  Finally, traffic is redirected towards infected nodes by essentially performing a denial of service on clean systems.</p>
<p><img class="alignleft" style="margin-right: 10px;" title="TOR project logo" src="http://upload.wikimedia.org/wikipedia/commons/8/8f/Tor_project_logo_hq.png" alt="source: wikipedia.org" width="299" height="190" /></p>
<p>I&#8217;m skeptical, as the piece contains just too much &#8220;oh, and then you hack component x and compromise component y and voilà, you&#8217;re in&#8221; to necessarily be plausible.  Furthermore, the ESIEA page has a large video presentation on French backwardness in &#8220;cyberwarfare&#8221; &#8211; any time a reputable institution uses such terms, it makes me wonder how much it&#8217;s angling for more funding from buzzword-prone politicians, with resulting pressure on researchers to provide supporting, news-grabbing headlines.</p>
<p>However, if it is real, details are to be presented at <a href="http://h2hc.org.br/" target="_blank">Hackers to Hackers</a> in São Paulo on October 29/30.  TOR is no more than an additional layer of obfuscation and should  not be relied upon for anonymity or security.  Like any darknet, it is a complement to application-layer encryption and authentication, no more.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/exploits/french-researchers-hack-tor/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Smart Card Reverse Engineering</title>
		<link>http://www.chakraborty.ch/exploits/smart-card-reverse-engineering/</link>
		<comments>http://www.chakraborty.ch/exploits/smart-card-reverse-engineering/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 22:36:08 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Forensics]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/?p=457</guid>
		<description><![CDATA[Chris Tarnovsky explains how to access and crack the physical protection of a satellite TV smart card. Applicable to numerous card models, just to give an idea of what&#8217;s involved.]]></description>
			<content:encoded><![CDATA[<p><center><iframe title="YouTube video player" class="youtube-player" type="text/html" width="480" height="390" src="http://www.youtube.com/embed/tnY7UVyaFiQ" frameborder="0" allowFullScreen></iframe></center></p>
<p>Chris Tarnovsky explains how to access and crack the physical protection of a satellite TV smart card.  Applicable to numerous card models, just to give an idea of what&#8217;s involved.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/exploits/smart-card-reverse-engineering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cartoon Explanation Of A DOS Attack</title>
		<link>http://www.chakraborty.ch/exploits/cartoon-explanation-of-a-dos-attack/</link>
		<comments>http://www.chakraborty.ch/exploits/cartoon-explanation-of-a-dos-attack/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 13:15:14 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Network Security]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/?p=440</guid>
		<description><![CDATA[Sorry, couldn&#8217;t resist.]]></description>
			<content:encoded><![CDATA[<p>Sorry, couldn&#8217;t resist.</p>
<p><img class="aligncenter" title="Ohai thar..." src="http://i.imgur.com/Fyhsq.png" alt="" width="956" height="808" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/exploits/cartoon-explanation-of-a-dos-attack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The (Hypothetical) Visual Camera Virus</title>
		<link>http://www.chakraborty.ch/exploits/the-hypothetical-visual-camera-virus/</link>
		<comments>http://www.chakraborty.ch/exploits/the-hypothetical-visual-camera-virus/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 12:42:45 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Exploits]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/?p=327</guid>
		<description><![CDATA[Picture this scenario:  sometime in the next ten years, a tourist snaps a photo of a common landmark.  What he does not realize is that, somewhere in the scene, a malicious person has put a  sticker advertising a cleaning service on a lamp post.  The sticker is ratty, half-disintegrated, and only semi-legible to humans, who will never call the half-visible number on it.  It also contains a steganographically obfuscated block of data that exploits a weakness within the camera's image processing software.  The camera is a consumer model, permanently online so shutterbugs can instantly upload and share their snapshots with friends.  The exploit triggers a worm through this channel...and take it from there.]]></description>
			<content:encoded><![CDATA[<p>Pull up a chair, kids, it&#8217;s time for a bit of mental masturbation.</p>
<p>Picture this scenario:  sometime in the next ten years, a tourist snaps a photo of a common landmark.  What he does not realize is that, somewhere in the scene, a malicious person has put a  sticker advertising a cleaning service on a lamp post.  The sticker is ratty, half-disintegrated, and only semi-legible to humans, who will never call the half-visible number on it.  It also contains a steganographically obfuscated block of data that exploits a weakness within the camera&#8217;s image processing software.  The camera is a consumer model, permanently online so shutterbugs can instantly upload and share their snapshots with friends.  The exploit triggers a worm through this channel&#8230;and take it from there.</p>
<p>This is pure fantasy &#8212; or is it?  Attack vectors for exploits have changed, from floppy diskettes, direct access to vulnerable servers, and email, over web site piggybacking, injection into vulnerable wireless networks, and others &#8212; why not consumer devices?  Let&#8217;s look at some individual components that already exist or are plausible:</p>
<p><strong>Attacking Digital Cameras</strong></p>
<p>Two things came to mind in this section:</p>
<p>First, Roman Abramovich&#8217;s huge $1.2 billion yacht, <em><a href="http://en.wikipedia.org/wiki/Eclipse_(yacht)" target="_blank">Eclipse</a></em>, is rumored to come <a href="http://www.wired.com/gadgetlab/2009/09/russian-billionaire-installs-anti-photo-shield-on-giant-yacht/" target="_blank">equipped with an anti-paparazzi system</a> that, according to various accounts, sweeps its surroundings with lasers that detect CCDs (see below) and fires a stronger, &#8220;blinding&#8221; laser at them, either destroying the sensor or at least blanking the shot.  There are multiple problems with this idea, none of which I&#8217;m sufficiently familiar with to go into detail about:</p>
<ul>
<li>until a shot is taken, the sensor is masked by the camera shutter (true, but if the thing is fast enough, that might not be an issue)</li>
<li>most modern DSLRs use CMOS sensors, and I can&#8217;t find info on whether such detection techniques would work on these</li>
<li>photos of <em>Eclipse</em> exist, casting doubt on whether this functions as advertised (then again, maybe it&#8217;s just not turned on while in port due to legal restrictions)</li>
<li>it could be defeated by a one-way mirrored lens</li>
</ul>
<p>For such a system to work, it implies a computational reaction speed that seems improbable, but remember, we&#8217;re talking futuristic here.  Moore&#8217;s Law and all that jazz.  The idea itself is not fundamentally invalid.</p>
<p>Second, <a href="http://ahprojects.com/exhibitions/anti-paparazzi" target="_blank">Adam Harvey</a> claims to be working on an &#8220;anti-paparazzi&#8221; clutch purse.  This is a significantly simpler context, incorporating photovoltaic sensors that set off a bright strobe light when a camera flash is detected, thus whiting out pictures and supposedly guarding the user&#8217;s privacy.</p>
<p>Friends and I have discussed the feasibility of something similar for motorway speed cameras&#8230;</p>
<p>The point?  Cameras are already fair game for electronic countermeasures.</p>
<p><strong>Steganography</strong></p>
<p>Not rocket science.  <a href="http://mo.co.za/open/stegoverview.pdf" target="_blank">Hiding content in digital images</a> (pdf) is a comparatively new technology, but <a href="http://chameleon-stego.tripod.com/home.html" target="_blank">applications</a> have existed for several years that will do this quickly and easily.</p>
<p>Causing visual content to short-circuit complex systems is doable.  In the case of humans, such a &#8220;vulnerability&#8221; was inadvertently exploited when several Japanese children <a href="http://www.snopes.com/radiotv/tv/seizure.asp" target="_blank">suffered</a> <a href="http://en.wikipedia.org/wiki/Photosensitive_epilepsy" target="_blank">photosensitive seizures</a> while  watching <a href="http://www.youtube.com/watch?v=qOG-HKjp5h0" target="_blank">Pokémon</a> (it&#8217;s making me feel a bit sick).  <a href="http://en.wikipedia.org/wiki/Subliminal_stimuli#Images" target="_blank">Subliminal messaging</a> has also been demonstrated to work in a number of studies.  And as my friend Brian astutely pointed out, I completely missed the opportunity to make any <em><a href="http://en.wikipedia.org/wiki/Snow_Crash" target="_blank">Snow Crash</a></em> references here.</p>
<p><a href="http://portal.acm.org/citation.cfm?id=1308671" target="_blank">2-D bar code reading applications</a> are fairly common in camera-equipped mobile phones.  Snapping a photo of a given pattern causes an installed application to perform a certain action (e.g. visit a web site.)  That is, assuming you have the application installed and configured.  Now imagine the possibility of a bit of data that causes not an application, but the actual core camera firmware to &#8220;do stuff&#8221; &#8212; i.e. replicate.</p>
<p><strong>Exploiting Camera Image Processors</strong></p>
<p>This is probably the biggest technological leap, but the component elements are in existence.</p>
<p>A digital camera consists of two main internal components (aside from the lens):  a <a href="http://en.wikipedia.org/wiki/Charge-coupled_device" target="_blank">CCD</a> (charged couple device) or <a href="http://en.wikipedia.org/wiki/CMOS" target="_blank">CMOS</a> (complementary metal-oxide-semiconductor), which handles incoming light signals, and a miniature computer.  The latter has numerous tasks, from governing exposure and ISO values to processing pictures (e.g. turning RAW format into JPEG, including EXIF data, etc.)  Some cameras include on-the-fly face recognition capabilities (for example, the Fujifilm FinePix F40fd came out in 2007).</p>
<p>Any security professional will confirm that, as a rule of thumb, complexity engenders risk.   Digital camera firmware is generally proprietary in nature, and thus not as subject to widespread review or stress-testing as, say, common workstation operating systems or even certain embedded systems.  Embedded platforms can be <a href="http://www.theregister.co.uk/2007/06/13/null_exploit_interview/" target="_blank">susceptible to exploits</a>; it is a function of how they are built and what software they run.  The bigger and more complicated a camera operating system and chipset becomes, the more likely it is that an exploitable security vulnerability could affect it.</p>
<p>Exploit code can be tiny (<a href="http://www.thepublicvoid.com/pubs/knights-cc09.pdf">here is a link</a> (pdf) to a 625-byte exploit of a known vulnerability) so the difficulties of hiding a visual exploit in an image need not face data size limitations.  That is, if you even bother hiding it.  While we&#8217;re not restricted to the standard, just for argument&#8217;s sake a 144&#215;144 pixel <a href="http://en.wikipedia.org/wiki/Data_matrix_(computer)" target="_blank">data matrix</a> can contain up to 2KB of information.  Make it A4-sized,  that&#8217;s ca. 1.5mm<sup>2</sup> per pixel.  I won&#8217;t do the exact math, but a 20MP camera handles ca. 10,000&#215;20,000 pixels.  The above A4 sheet can be pretty far away for each pixel in the data matrix to still be discernible, at least electronically.</p>
<p>Through the image sensor, you have a data entry path that is fundamentally no different from a network card or any other integrated device.</p>
<p>Oh yeah, and here is a <a href="http://antivirus.about.com/od/virusdescriptions/a/wmfexploit_3.htm" target="_blank">timeline of image file exploits</a>.</p>
<p><strong>Wireless Photo Upload</strong></p>
<p>Remote photo capture via USB cable is pretty standard (I use Canon&#8217;s <a href="http://www.canon.co.uk/for_home/product_finder/cameras/digital_slr/eos30d/software/eosutility.asp" target="_blank">EOS Utility</a> with my Hackintosh).  Wireless photography, via surveillance cameras or bluetooth webcams, is also a common practice.</p>
<p>A common problem faced by even casual photographers is <a href="http://www.pixiq.com/contributors/248" target="_blank">police harassment</a>, leading up to confiscation of equipment and prosecution &#8212; often in violation of existing law enforcement guidance and/or local law.  Numerous instances exist of photographers who were forced to delete photos by security guards or police officers [<a href="http://www.epuk.org/News/818/police-officer-forced-photographer-to-delete-images" target="_blank">1</a>][<a href="http://londonphotographers.org/2010/08/photographer-threatened-arrest-forced-delete-images/" target="_blank">2</a>][<a href="http://www.flickr.com/photos/lucky_dog/4296438536/" target="_blank">3</a>].  I&#8217;ve read several discussions about the desirability of some sort of immediate camera photo upload; products like the <a href="http://www.eye.fi/" target="_blank">Eye-Fi</a> already offer limited functionality in this direction.</p>
<p>I can think of no good reason (aside from bulk and battery life, which I cannot imagine being problems for a long time) why DSLR cameras in the near future would not incorporate some sort of <em>n</em>G wireless connectivity, fast enough for bulk Internet uploads of even larger images.  IPv6 will do away with the address space restrictions that are also a brake on the direct connection of small end-user electronic devices like cameras to the Internet.</p>
<p>Wait for cameras to incorporate &#8220;automatically post to FaceBook&#8221; features, and there&#8217;s your communication path.</p>
<p>&#8230;like I said, just having some fun, enjoy the future.</p>
<p style="text-align: center;">
<p style="text-align: center;"><em>IF THIS WERE A VIRUS</em></p>
<p style="text-align: center;"><em>YOU WOULD BE DEAD NOW</em></p>
<p style="text-align: center;"><em>FORTUNATELY IT&#8217;S NOT</em></p>
<p style="text-align: center;"><em>THE METAVERSE IS A DANGEROUS PLACE;</em></p>
<p style="text-align: center;"><em>HOW&#8217;S YOUR SECURITY?</em></p>
<p style="text-align: center;"><em>CALL HIRO PROTAGONIST SECURITY ASSOCIATES</em></p>
<p style="text-align: center;"><em>FOR A FREE INITIAL CONSULTATION.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/exploits/the-hypothetical-visual-camera-virus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firesheep and Credentials Sniffing &#8212; First Impressions</title>
		<link>http://www.chakraborty.ch/exploits/firesheep-and-credentials-sniffing</link>
		<comments>http://www.chakraborty.ch/exploits/firesheep-and-credentials-sniffing#comments</comments>
		<pubDate>Tue, 26 Oct 2010 18:00:35 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Crypto]]></category>
		<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Identity Theft]]></category>
		<category><![CDATA[Network Security]]></category>
		<category><![CDATA[Privacy]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/?p=298</guid>
		<description><![CDATA[Firesheep makes it tragically easy to steal your logins to many web pages, in certain types of network environments.  Follow some basic security precautions and you will be much better protected than most people.]]></description>
			<content:encoded><![CDATA[<p>Short summary for the impatient:  Firesheep makes it tragically easy to steal your logins to many web pages, in certain types of network environments.  Follow some basic security precautions and you will be much better protected than most people.</p>
<p>The recently released <a href="http://codebutler.com/firesheep" target="_blank">Firesheep</a> <a href="http://www.mozilla.com/en-US/firefox/firefox.html?from=getfirefox" target="_blank">Firefox</a> plugin demonstrates how simple it is to sniff logins and sessions on open, shared networks.  I spent a little bit of time playing with it; it is dirt-easy to install (OSX requires a <a href="http://github.com/codebutler/firesheep/issues/issue/9/" target="_blank">workaround</a> when running it in combination with FileVault &#8212; the fix is to move the extension directory somewhere outside of FileVault, such as the Firefox application directory in /Applications and to create a soft link back to the extensions directory.)  Although French ISPs are generally very good about providing their customers with home routers/firewalls with wireless encryption enabled by default, and it is thus pretty difficult in Paris to find open networks in comparison with other countries (except for the open access Free/O-Zone/SFR/etc. commercial ones), there are always a few.  Jumping on one of these, I had someone else&#8217;s Facebook account within 3 seconds (no, I didn&#8217;t use it, not that interested in other people&#8217;s private lives.)</p>
<p>In short, the plugin allows even a non-technical user to open a sidebar in a browser, click on &#8220;start sniffing&#8221;, and within fractions of a second, obtain both session cookies and username/password combinations for a wide range of popular web sites (Facebook, Twitter, and Gmail, among others, are configured by default, while the plugin allows easy adding of more pages.)  Sniffed accounts show up as icons on the sidebar &#8212; by clicking on one, you&#8217;re immediately logged into that user&#8217;s web account.</p>
<p>Taking this a step further, the (not as user-friendly, for now) <a href="http://jonty.co.uk/idiocy" target="_blank">Idiocy</a> Python script (thanks to <a href="https://www.88.net/" target="_blank">Thomas</a> for pointing it out) automatically posts a link to <a href="http://jonty.co.uk/idiocy-what" target="_blank">this page</a> &#8220;explaining what has happened&#8221; to a compromised Twitter account.</p>
<p>This is not entirely a problem of unencrypted wireless networks.  Any sufficiently determined user can attack a wireless network secured with WEP or certain types of WPA.  Even WPA2 may be vulnerable to brute force password cracking (<a href="http://technet.microsoft.com/en-us/library/cc756109(WS.10).aspx" target="_blank">standard password/passphrase best practice applies</a>), although due to its key management methods, a compromised WEP environment allows a sniffer to access traffic from all users since the same key is shared.</p>
<p>Furthermore, malicious administrators with access to any sort of network choke point have access to this traffic anyway.  Most users are protected from such abuse by circumstance or pure statistics;</p>
<ul>
<li>many (especially European) countries have extremely strict limitations on what an employer can legally do in terms of intercepting traffic</li>
<li>a network administrator likely has much better things to do than sniff traffic</li>
<li>any choke point handling a large enough amount of data to be significant as a threat faces the above problem, but even more so</li>
</ul>
<p>Security through obscurity is not a problem, but as has been pointed out elsewhere, if you&#8217;re in a group of people running from the bear, you don&#8217;t have to be fastest, just don&#8217;t be slowest.  Generally, any sort of network encryption (yes, even WEP) is a good start, and users of mobile data services and fixed-line networks are generally not at realistic risk.  WEP keys can be <a href="http://www.cyberciti.biz/tips/howto-crack-wirless-wep-104.html" target="_blank">compromised in a few minutes</a> under optimal conditions; using reinjection and deauthentication, enough packets can be captured reasonably quickly for this to work.  I maintain, though, that an attacker faced with an unencrypted network and even a weakly encrypted one will first go for the former &#8212; but a WEP network is only as secure as the most malicious person using it (whether they got on legitimately or not.)  Mr. Lakofski has a very valid point about shared WEP networks (e.g. hotels) insofar as their user base is a lot wider than a private one (which you should set to WPA2 anyway.)</p>
<p>Lastly, there are other, more amusing ways of collecting user data, beyond trojans, keyloggers, and <a href="http://xkcd.com/792/" target="_blank">this sort of thing</a>.  A really amusing bit of evil villainery would have been for Eric Butler to have actually included a password stealing trojan in Firesheep itself &#8212; thus obtaining massive numbers of unsuspecting would-be crackers&#8217; credentials as they connect to Facebook to boast about their &#8220;exploits&#8221;.  Yes, that would be illegal and bad, but still pretty funny.</p>
<p>Most popular websites allow SSL; Facebook, Google search, Gmail and Twitter all allow https:// connections (although in Facebook&#8217;s case, clicking on a Facebook link within the site redirects to a non-SSL page.)  Other services (LinkedIn, Amazon, Plaxo, and most social news sites e.g.) redirect https:// URLs to plain-text, at least for pages that do not involve entry of payment details or password changes.   Still others mix SSL- and non-SSL elements in their pages, which is about as good as having no SSL at all.  Most modern browsers, and some older ones, <a href="http://i.imgur.com/wMN57.png" target="_blank">display a warning</a> when this is the case.</p>
<p>Widespread SSL use is a good thing.  While it is computationally more expensive than cleartext, even SSL using self-signed certificates is an improvement &#8212; this is why I <a href="http://www.chakraborty.ch/best-practices/firefox-3s-horrible-unsigned-certificate-handling/" target="_blank">object strenuously</a> to the way some browsers handle self-signed certificates; obnoxious warning messages discourage casual users from using crypto for the sake of crypto (rather than authenticating a web site.)  SSL is not necessarily a fix, due to the fact that a cookie not marked as &#8216;secure&#8217; is still transmitted in clear text.  Once a user is authenticated, the certificate may be intercepted using passive man in the middle.  There is not much you can do about this, except to bug website owners / web app coders to fix the problem.</p>
<p><a href="http://www.thoughtcrime.org/software/sslstrip/" target="_blank">SSLStrip</a> can also force a transmission to drop into cleartext.   One fix for this is <a href="http://en.wikipedia.org/wiki/Strict_Transport_Security" target="_blank">Strict Transport Security</a>, currently supported in several browsers.  <a href="http://userscripts.org/scripts/show/8861" target="_blank">FFixer</a> also lets you force SSL (Facebook chat may not work.)  Another workaround is <a href="https://www.eff.org/https-everywhere" target="_blank">HTTPS-Everywhere</a> (currently Firefox 3 only).</p>
<p>Gunnar Atli Sigurdsson of the <a href="http://www.hi.is/" target="_blank">University of Iceland</a> has recently released <a href="http://notendur.hi.is/~gas15/FireShepherd/" target="_blank">FireShepherd</a>, which floods nearby open wireless networks with packets designed to disable nearby Firesheep instances at ca. 0.5 second intervals.</p>
<p>Computerworld has an <a href="http://www.computerworld.com/s/article/9193201/How_to_protect_against_Firesheep_attacks?taxonomyId=17&amp;pageNumber=2" target="_blank">article</a> about protecting against Firesheep that&#8217;s worth a look.</p>
<p><em>Update:</em> the <a href="http://www.zscaler.com/blacksheep.html" target="_blank">Blacksheep Firefox plugin</a> seeds bogus session information to see if Firesheep is being used, then warns if it detects an attempt to hijack that session.  It&#8217;s not a defense, but could be a fun toy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/exploits/firesheep-and-credentials-sniffing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Your Gmail Account Has Been Hacked&#8230;</title>
		<link>http://www.chakraborty.ch/exploits/your-gmail-account-has-been-hacked/</link>
		<comments>http://www.chakraborty.ch/exploits/your-gmail-account-has-been-hacked/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 22:50:21 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Identity Theft]]></category>
		<category><![CDATA[Incident Response]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/?p=225</guid>
		<description><![CDATA[What to do when your webmail account has been hacked.]]></description>
			<content:encoded><![CDATA[<p>&#8230;cracked, compromised, stolen, whatever.</p>
<div id="attachment_226" class="wp-caption aligncenter" style="width: 854px"><a href="http://www.chakraborty.ch/wp-content/uploads/2010/10/hacked.png"><img class="size-full wp-image-226 " title="hacked" src="http://www.chakraborty.ch/wp-content/uploads/2010/10/hacked.png" alt="Message from a friend" width="844" height="183" /></a><p class="wp-caption-text">Die in a fire, you Nigerian shit.</p></div>
<p>The first symptom, as far as you can tell, is probably a bunch of your friends asking you casually, what the kind of crap is that you&#8217;ve been sending them.  It&#8217;s only when you ask them to show you the messages they&#8217;re referring to that you realize that some Nigerian, Russian, Chinese, (or, for that matter, American, French, Japanese, what-have-you) son of a bitch controls your account and is blasting out garbage to all your friends.</p>
<p>Even more nefariously, a lot of these are plausible-sounding messages, like one I received recently from an email contact purporting to be stranded in Madrid after his wallet, passport, keys, phone, and plane ticket were stolen, begging his friends to call him on a local number for instructions on how to wire some emergency cash.  Frequently, the only thing that gives such messages away at a cursory glance is the piss-poor spelling and grammar used by the scam artists responsible.</p>
<p>This post is sort-of directed at the non-technical people, who maybe don&#8217;t check their personal mails all that often.  Yes, it&#8217;s confusing, and yes, it&#8217;s not fair, and yes it&#8217;s hard work.  So are taxes.  If you&#8217;re not lucky, not only do all your friends now think you&#8217;re an idiot, but all your email has been deleted.</p>
<p>First, see if the mail is still around.  Check the trash and &#8216;all mail&#8217; links.  Maybe you&#8217;re lucky.  Google does not restore deleted mail from backups.</p>
<p>To make sure nobody is able to hack your account again (i.e. with backdoors) go to</p>
<p>https://www.google.com/accounts/ManageAccount?service=mail&#038;hl=en</p>
<p>Under &#8220;personal addresses&#8221; go to &#8220;email addresses&#8221; (top right).  Make  absolutely sure that any addresses for which password recovery is  enabled are only ones you trust.  Otherwise an attacker could just say  &#8220;hey, I want a password reset sent to my address&#8221;.  Smart attackers  leave their own addresses there.</p>
<p>To understand how this could have happened, here are some more common ways in which someone can &#8220;hack&#8221; your gmail account:</p>
<ul>
<li>trojan on your PC</li>
<li>sniffed password (you do use SSL by default, right?  It&#8217;s a gmail option to always force SSL)</li>
<li>sniffer on a shared system (Internet cafe)</li>
<li>untrusted app</li>
<li>xss / cookie stealing</li>
</ul>
<p><strong>Trojans</strong></p>
<p>That is short for &#8220;trojan horses&#8221;.  These are often <a href="http://en.wikipedia.org/wiki/Trojan_horse_%28computing%29" target="_blank">self-replicating viruses</a> either downloaded from malicious web sites that were hacked (in some cases you won&#8217;t even know, you may be using an older browser like Internet Explorer 6) or via an unpatched Adobe Acrobat, or Flash.  May also come from someone attacking your PC by network, say in an Internet cafe.  You may not see these;  you open up a website like you usually do, but it&#8217;s been compromised, and boom, that&#8217;s it.  Invisible, annoying.  Or, your laptop/workstation may be attacked remotely, using a security hole in the operating system.</p>
<p>How to deal with them?  Regularly update your browser to the latest version and install operating system security patches.  Make sure you have an up to date virus scanner.  Do regular scans.  Turn on your PC&#8217;s firewall (google for Windows firewall or Mac firewall.  Both systems have a semi-decent one built in that will at least give you rudimentary protection.)  Avoid using open wireless networks and visiting sites you don&#8217;t know whenever possible.</p>
<p><strong>Sniffed password</strong></p>
<p>You do have a strong password, right?  Strong passwords have</p>
<ul>
<li>8 characters or more</li>
<li>a mix of upper/lowercase letters</li>
<li>numbers thrown in</li>
<li>non-alphanumeric characters (e.g. !, ?)</li>
</ul>
<p>Use mnemonics to more easily remember passwords (Ih8h@ck3rs!) or pass phrases (actual sentences) if a website / application supports them.</p>
<p>Your password can still be stolen by being &#8220;sniffed&#8221; &#8212; this means that you are logging into Gmail without the connection being encrypted.  Have you bought stuff online and seen the little lock at the bottom of the page?  That means your browser is using encryption to make sure anyone listening in cannot &#8220;sniff&#8221; your password.  SSL, or &#8220;secure socket layer&#8221; is that little lock on the web browser.  To enable it by default in gmail, go to<a href="https://mail.google.com/mail/?shva=1#settings" target="_blank"> settings-&gt;general-&gt;browser connection</a>.  Set it to &#8216;always use ssl&#8217;</p>
<p>Next, <a href="https://appengine.google.com/start" target="_blank">check your applications</a> and make sure there&#8217;s only stuff there that you yourself enabled.  Delete anything you didn&#8217;t.</p>
<p>Lastly, on your gmail main page, go to <a href="https://mail.google.com/mail/?shva=1#settings/labs" target="_blank">google labs</a> (the green erlenmeyer flask icon at the top right next to the &#8220;settings&#8221; link) and make sure that only labs apps you yourself enabled are active.  Deactivate all others.</p>
<p><strong>Sniffing on a shared system / Internet cafe</strong></p>
<p>Password sniffing is quite difficult when, say, you&#8217;re connecting from home.  It is _very_ easy when you are at an Internet cafe.  Wireless connections can be encrypted, via WEP or, better, WPA or WPA2, both supported by almost all wireless cards in laptops.  If a wireless connection requires a password, it&#8217;s usually at least somewhat safe.  WEP is not so much safe, but it&#8217;s better than nothing.  If you are at an Internet cafe using a common PC, you risk that someone will have installed a piece of software that can &#8220;read&#8221; whatever password info you type (known as a &#8220;<a href="http://en.wikipedia.org/wiki/Keylogger" target="_blank">keylogger</a>&#8220;).  There are ways to ensure that this doesn&#8217;t happen (e.g. the system is reinstalled from scratch after each reboot &#8212; not so complex) but that is tough.  Your best defense is to buy a small netbook or something and take it with you.</p>
<p>When using an Internet cafe, <em>never</em> click anything that offers to remember password.  When you log out, <em>always</em> clear any stored information, e.g. cache, passwords and cookies.   <a href="http://www.aboutcookies.org/Default.aspx?page=2" target="_blank">Here is a link that explains how</a> on various browsers.</p>
<p>Furthermore, most modern browsers have a feature called &#8220;private browsing&#8221; or some variation thereof.   This means that nothing is stored while you&#8217;re online.  Use it.</p>
<p><strong>Untrusted applications</strong></p>
<p>See above with google apps.  Also, when you download software or docs, obviously never run/open anything you do not explicitly trust.  Have a good virus scanner, run it regularly.</p>
<p><strong>Cross-site scripting (XSS) / cookie stealing</strong></p>
<p>Cookies are bits of information that websites use to remember things about you &#8212; for example, when you log into amazon and return later, a cookie is what is placed on your PC to let you auto login again.</p>
<p>These can be &#8220;stolen&#8221; and used to impersonate you, i.e. when you use an Internet cafe system.  To help protect against this, whenever you are done browsing, manually log out of everything, and go to your browser&#8217;s &#8220;clear history&#8221; link (e.g. on Firefox, under tools-&gt; clear recent history).</p>
<p>They can also be stolen while you are online, although that is a bit more complex.  XSS is &#8220;cross site scripting&#8221;, which basically means that if you have a browser open and visit a trusted site in one window and a malicious site in another window (again, the &#8220;malicious&#8221; site may just have been hacked and not be aware of it) the guy who has taken over the &#8220;bad&#8221; site can intercept and steal your session with the &#8220;good&#8221; site.  This is probably where most google account hacks come from.</p>
<p>To guard against that, when you log into gmail or another service, make sure it&#8217;s the only browser window you have open; don&#8217;t multitask with several tabs unless it is to visit sites you know are legitimate.</p>
<p>This can all happen even if you take all due precautions, but it is rare.</p>
<p>Also, regarding passwords, make sure you have a STRONG one.  I.e. at least 8 characters, alphanumeric, mixed case, some special symbols thrown in (!?*whatever) and nothing that could be tied to you (name, birthday, etc.)  Use a mnemonic (i.e ilikechinese -&gt; 1l1k3ch!n353!)</p>
<p>A precaution:  back up your email account.  Here are <a href="http://www.google.com/search?q=gmail+backup&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a" target="_blank">3 million search results</a> for &#8220;gmail backup&#8221;.</p>
<p>From my latest victim friend:</p>
<p style="text-align: center;"><em>Thanks for helping me John &#8211; it&#8217;s been a fucking nightmare as a freelance writer &#8211; I&#8217;ve lost so much material!</em></p>
<p>The same thing can happen with Hotmail, Yahoo!, LinkedIn, Facebook, Plaxo, anywhere you store large amounts of contact info.  Standard precautions apply.  And as always, nothing is foolproof.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/exploits/your-gmail-account-has-been-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shenanigans For Good</title>
		<link>http://www.chakraborty.ch/exploits/shenanigans-for-good/</link>
		<comments>http://www.chakraborty.ch/exploits/shenanigans-for-good/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 22:33:53 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Privacy & Security Law]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/?p=166</guid>
		<description><![CDATA[A colleague of mine recently posted a link to an information warfare-related article on an Iranian activism site.  Like-minded Iranian friends, affiliated with the Green movement, seemed to have as a goal to disseminate information about how to counter censorship in Iran by distributing tools, news, and other means of helping dissidents avoid having their communication muzzled and detected by the mullahs.]]></description>
			<content:encoded><![CDATA[<p>A colleague of mine recently posted a link to an information warfare-related article on an <a href="http://en.irangreenvoice.com/article/2010/feb/19/1236" target="_blank">Iranian activism site</a>.  Like-minded Iranian friends, affiliated with the <a href="http://en.wikipedia.org/wiki/Green_Movement" target="_blank">Green movement</a>, seemed to have as a goal to disseminate information about how to counter censorship in Iran by distributing tools, news, and other means of helping dissidents avoid having their communication muzzled and detected by the mullahs.</p>
<p>This particular article lists examples of electronic warfare by regime-friendly groups such as the &#8220;Iranian Cyber Army&#8221;, recently suspected of numerous attacks against organizations seen as hostile to the Iranian government.  Ironically, <a href="http://news.bbc.co.uk/2/hi/8453718.stm" target="_blank">these included Chinese search engine baidu.com</a> in retaliation for some perceived slight by the Chinese government &#8212; this shortly after several Chinese organizations have become increasingly implicated in online hits against U.S. and other Western government and corporate targets; a recent report in The Associated Press / The Guardian <a href="http://www.guardian.co.uk/world/feedarticle/8954390" target="_blank">mention</a> the Chinese universities Shanghai Jiaotong and Lanxiang Vocational Institute as sources of the &#8220;<a href="http://siblog.mcafee.com/cto/operation-%E2%80%9Caurora%E2%80%9D-hit-google-others/" target="_blank">Aurora</a>&#8221; attacks against Google and others.  On a humorous side note, if 1337 xenophobic script kiddies friendly with one totalitarian regime are now going after 1337 xenophobic script kiddies friendly with another totalitarian regime, it might become difficult to figure out who&#8217;s on whose side&#8230;</p>
<p>That said, there&#8217;s not much an outsider with technological know-how can do to help victims of censorship and repression in any country beyond providing them with the education and means to get around official repression of communication with each other and with the outside world, and to avoid being detected by government thugs while doing so.  A friend of mine, when asked to to provide help and information about censorship avoidance to an Iranian group, took a very cautious line, making it very very clear that he was reluctant to offer anything that carried even the slightest possibility of someone being arrested, tortured, or even killed if they were found using it.  I take a bit of a different view &#8212; solutions like PGP, TOR, Haystack, anonymous remailers, or SSL enabled CGI proxies, combined with private browsing available on most newer browsers, are powerful stuff, and with a modicum of care on the part of their users, can conspire to throw a hefty wrench into the surveillance machinations of dictatorial spooks.  The best anyone can do is to make users at risk of brutal crackdowns aware of what could possibly go wrong, give them a good head-start on how to use their new toys, and let them be adults about making an educated choice.  After all, in the case of the Iranian protesters, these are people who&#8217;re willing to go out on the street and be shot at for what they believe in.</p>
<p>So much for &#8220;passive&#8221; assistance &#8212; giving people better anonymous / encrypted communications tools and the knowledge on how to effectively use them.  What about active help, though?  Beyond the usual low-level stupidity found in IRC channels (e.g. background noise of the &#8220;www.bobsautodetailing.com pwn3d by H4X0RZ 4 ALLAH AGAINST 4m3r1kkkAH&#8221; variety), attacks on the infrastructure of Western countries and organizations from Russian, Iranian, North Korean, Chinese, and other groups, presumably with at least some tacit blessing from their governments, are pretty common.  Botnets designed to carry out probes and hits on infrastructure, launch DDoS attacks, create economic sabotage, steal sensitive data, and other bad things, are pretty common in the wild.</p>
<p>Cybercrime legislation in most developed countries is designed to pursue and allow prosecution of even casual probes by unauthorized persons.  Whether one agrees with laws or enforcement tactics or not, the goal is to keep anyone, no matter what motivates them, from generally screwing things up by spying, stealing, or vandalizing.  Unless it specifically takes into account <em>intent</em>, the law doesn&#8217;t differentiate between amateurs or professionals &#8212; it&#8217;s all a crime.  Why?   Partially because attacking a person/host/company/government via a network is the technologically easiest, least physically risky way of getting to the goodies, and because it&#8217;s often impossible to differentiate between the casual hacker and the much-vaunted bugaboo of organized cybercriminals and government-sponsored electronic espionage.  The idea, I suppose, is that tolerating any intrusion means that the world economic system as we know it will grind to a standstill (or at least your job and mine will be made that much more difficult.)  Maybe, maybe not, but without such laws as a deterrent, I&#8217;m sure the barriers to causing grief to legitimate business would be a lot lower.</p>
<p>But what of aiding and abetting attacks against distasteful regimes or their allies / henchmen?  A few years ago, the idea of <a href="http://www.google.com/search?name=f&amp;hl=en&amp;q=counter-hacking" target="_blank">counter-hacking</a>, or ethical hacking aimed at taking out threats either by sabotaging those responsible or by &#8220;cleaning&#8221; affected infrastructures when unsuspecting owners could not or would not, was in high discussion.  Most security professionals in my circle of acquaintances seemed to be roundly against this concept, due to the potential for a slippery slope, and for unacceptable collateral damage &#8212; plus, what good is it to have and enforce laws against illicit intrusion when the &#8220;good guys&#8221; themselves are guilty of violating them, even if they are perfectly well-meaning?</p>
<p>Given how hungry my non-technical Iranian friends were for any information about &#8220;passive&#8221; tools as those described above, I&#8217;d imagine groups in opposition to the government (supposedly there&#8217;s now a &#8220;<a href="http://www.jpost.com/International/Article.aspx?id=167963" target="_blank">Green Cyber Army</a>&#8220;) would imaginably be equally happy for any assistance from sympathetic types in the West.  As someone strictly in favor of the rule of law, I can&#8217;t condone any illegal actions of the sort these guys are indubitably carrying out, but anything that helps cause grief for kiddies hacking in the service of thugs is ok in my book.  A few dozen clicks to waste here and there to waste the bad guys&#8217; bandwidth, a Metasploit download mirror, or an open proxy or TOR gateway probably wouldn&#8217;t violate the spirit of the law.  Wink wink.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/exploits/shenanigans-for-good/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual Space Viruses</title>
		<link>http://www.chakraborty.ch/exploits/virtual-space-viruses/</link>
		<comments>http://www.chakraborty.ch/exploits/virtual-space-viruses/#comments</comments>
		<pubDate>Thu, 23 Nov 2006 01:28:06 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Architecture & Design]]></category>
		<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Privacy]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/blog/?p=24</guid>
		<description><![CDATA[Security Focus had an article yesterday about the virus attack that hit Second Life last Sunday. Apparently, this was a self-replicating exploit of the ability to create objects in SL, which bogged down servers. A few years ago in a fit of mental masturbation, some colleagues and I postulated an online environment incorporating elements of <a href='http://www.chakraborty.ch/exploits/virtual-space-viruses/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.securityfocus.com">Security Focus</a> had an <a target="_blank" href="http://www.securityfocus.com/news/11425">article</a> yesterday about the virus attack that hit <a target="_blank" href="http://secondlife.com/">Second Life</a> last Sunday.  Apparently, this was a self-replicating exploit of the ability to create objects in SL, which bogged down servers.</p>
<p>A few years ago in a fit of mental masturbation, some colleagues and I postulated an online environment incorporating elements of Neal Stevenson&#8217;s <a target="_blank" href="http://en.wikipedia.org/wiki/Metaverse">Metaverse</a>, <a target="_blank" href="http://freenetproject.org/">Freenet</a>, grid computing, various virtual currency incarnations such as <a target="_blank" href="http://www.e-gold.com/">e-gold</a>, and various obfuscation, security and communications technologies.  Underlying the concept was the nature of a computer; a processor, a bus and storage.  And if you combine distributed computing, distributed storage and the Internet, voilà, a big computer.</p>
<p>With this in mind, the idea was basically to create a totally non-judgmental, uncontrolled secure and anoymous failure-resistant platform for online transactions &#8212; for legitimate business, tax evaders, kiddie pornographers, whoever.  However, the parallel with the Metaverse doesn&#8217;t just stop at its distributed nature.  Given the seemingly rising trend in <a target="_blank" href="http://news.bbc.co.uk/2/hi/technology/4272418.stm">attacks hitting MMORPGs</a> and online communities, the villain Raven&#8217;s actual &#8220;Snow Crash&#8221; virus in Neal Stevenson&#8217;s book is something I can see being prototypical for a pretty big problem.</p>
<p>Picture this:  just like with telephones and the Internet, commerce will adopt any new medium as a functional part of its business technology.  So let&#8217;s say you have a totally decentralized, purely reputation-based, entirely secure transactions network of the sort that we&#8217;re postulating.  For argument&#8217;s sake, let&#8217;s assume someone figures out how to exploit weaknesses in some of the protocols and/or client software used by participants in this kind of environment.</p>
<p>Given that the idea is to create a generally lawless state (i.e. not run by a company or controlled by a government agency, but designed to allow a green field for pure commerce), someone _will_ figure out a way to <a target="_blank" href="http://en.wikipedia.org/wiki/Griefer">grief</a> &#8212; be it for reasons of gain, sabotage,  or pure vandalism.  How do you respond to this?  You have no recourse to Linden Labs, WIPO or the FBI.  A community at large may not be sympathetic to, say, a <a target="_blank" href="http://www.citibank.com">Citibank</a> under concentrated attack, and even then the response may be slow and ineffective.</p>
<p>A solution that comes to mind are variations on William Gibson&#8217;s &#8220;Black ICE&#8221; (i.e. the sort of strikeback capability that&#8217;s often poo-pooed and illegal in the real world.)  However, in most virtual communities, there&#8217;s not enough of a &#8220;pay to play&#8221; mechanism to make vandals fear retribution, that they might lose their investment, and even if such a thing existed, there&#8217;s too much room for abuse (remember, who controls this?  Even if there is a governing body, do you trust them?)</p>
<p>Just some thoughts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/exploits/virtual-space-viruses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swiss Police VoIP Trojan?</title>
		<link>http://www.chakraborty.ch/spyware/swiss-police-voip-trojan/</link>
		<comments>http://www.chakraborty.ch/spyware/swiss-police-voip-trojan/#comments</comments>
		<pubDate>Thu, 16 Nov 2006 21:16:16 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Privacy]]></category>
		<category><![CDATA[Spyware]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/blog/?p=23</guid>
		<description><![CDATA[This is a bit past its sell-by date, but Crypto-gram recently carried information of a story in the Neue Zürcher Zeitung (German article) about a supposed plan by the &#8220;Special Tasks Service&#8221; (DBA) of the Swiss communications ministry (Uvek) to requre Swiss ISPs to assist in infecting Voice-over-IP endpoint PCs with trojans that would enable <a href='http://www.chakraborty.ch/spyware/swiss-police-voip-trojan/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>This is a bit past its sell-by date, but <a target="_blank" href="http://www.schneier.com/crypto-gram.html">Crypto-gram</a> recently carried information of a story in the <a target="_blank" href="http://www.sonntagszeitung.ch/dyn/news/multimedia/674264.html">Neue Zürcher Zeitung</a> (German article) about a supposed plan by the &#8220;Special Tasks Service&#8221; (<a target="_blank" href="http://www.uvek.admin.ch/themen/kommunikation/00690/00691/index.html?lang=de">DBA</a>) of the Swiss communications ministry (<a target="_blank" href="http://www.uvek.admin.ch/">Uvek</a>) to requre Swiss ISPs to assist in infecting Voice-over-IP endpoint PCs with trojans that would enable interception of VoIP communications, such as Skype, Vonage or other protocols.</p>
<p>According to the NZZ, the Swiss company <a target="_blank" href="http://www.era-it.ch/">ERA IT Solutions</a> is behind the trojan&#8217;s development, although no technical information is given.  I especially love the claim that &#8220;it&#8217;s designed to be undetectable by firewalls or virus scanners.&#8221;  Or Macs, or tripwire on Solaris, but maybe they can have a chat with <a href="http://www.chakraborty.ch/blog/?p=21">Joanna Rudkowska</a> about how to do it.  Regardless, F-Secure <a target="_blank" href="http://www.f-secure.com/virus-info/bdtp.shtml">probably won&#8217;t cooperate</a>, and seemed to take a <a target="_blank" href="http://www.f-secure.com/weblog/archives/archive-102006.html#00000991">dim view of this toy&#8217;s chances of success</a>.</p>
<p>The DBA, created as the Uvek&#8217;s &#8220;dirty tricks and espionage&#8221; department, lists wiretapping among its core tasks.  According to Swiss telco law, when to deploy such toys is still within the purview of the local authorities, although data protection and warrant mechanisms are not mentioned.  The trojan may apparently be either surreptiously installed by the police, or through ISPs.  Under the threat of coercion, I assume.</p>
<p>More information is at <a target="_blank" href="http://www.pcpro.co.uk/news/95394/swiss-look-to-trojan-code-for-voip-tapping.html">PC Pro</a>.  I honestly can&#8217;t imagine what the hell ERA&#8217;s marketing directory was thinking; if I were him, I&#8217;d be doing PR damage control like mad now.  Needless to say, Keystone Kop trojans don&#8217;t seem to be listed on their <a target="_blank" href="http://www.era-it.ch/index.php?option=com_content&#038;task=view&#038;id=13&#038;Itemid=26">products page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/spyware/swiss-police-voip-trojan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Blue Pill Redux</title>
		<link>http://www.chakraborty.ch/spyware/quick-blue-pill-redux/</link>
		<comments>http://www.chakraborty.ch/spyware/quick-blue-pill-redux/#comments</comments>
		<pubDate>Mon, 13 Nov 2006 02:01:25 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Spyware]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/blog/?p=21</guid>
		<description><![CDATA[This is about 3 months out of date (announced in June &#8212; hey, I&#8217;m just catching up on my reading) but a colleague just pointed me to an interesting technique designed to subvert Windows Vista security when runing under AMD 64 CPus. Named &#8220;Blue Pill&#8220;, it was developed by Joanna Rutkowska of Singapore security firm <a href='http://www.chakraborty.ch/spyware/quick-blue-pill-redux/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>This is about 3 months out of date (announced in June &#8212; hey, I&#8217;m just catching up on my reading) but a colleague just pointed me to an interesting technique designed to subvert Windows Vista security when runing under AMD 64 CPus. Named &#8220;<a target="_blank" href="http://theinvisiblethings.blogspot.com/2006/06/introducing-blue-pill.html">Blue Pill</a>&#8220;, it was developed by <a target="_blank" href="http://invisiblethings.org/">Joanna Rutkowska</a> of Singapore security firm <a target="_blank" href="http://www.coseinc.com/">COSEINC</a> and circumvents the Vista requirement for runtime code to be signed by running inside a <a target="_blank" href="http://en.wikipedia.org/wiki/Hypervisor">hypervisor</a> through AMD Pacifica SVM hardware virtualization and either disabling OS signature checking entirely, or, in the case of what she refers to as &#8220;level 2&#8243;, completely hiding the memory portion where Blue Pill sits.</p>
<p>According to Rutkowska, this is OS-independent; the malware can be injected at runtime through a privilege weakness in how Vista handles paged memory, and is persistent across reboots. Theoretically, this could be ported to Intel VT as well.</p>
<p>George Ou has an <a target="_blank" href="http://blogs.zdnet.com/Ou/?p=297">ZDNet blog entry</a> that raises the interesting question of being able to detect this by running timing analysis &#8212; apparently, there is a possibility of hybernating the malware if a timing analysis is detected. He doesn&#8217;t address the possibility of something like just hitting the host in question with constant, random semi-DoS attacks to generate load and thus obfuscating results of a system timing check. On second thought, I assume any such well-written process would take this into consideration (as the network stack would just be handling additional load within its design parameters.) But as he points out, any malware could just diddle with the system clock anyway.</p>
<p>Virtualization.info has an <a target="_blank" href="http://www.virtualization.info/2006/08/debunking-blue-pill-myth.html">interview</a> with Anthony Liguori titled &#8220;Debunking Blue Pill Myth&#8221; that doesn&#8217;t really go very far towards debunking anything &#8212; part of his point is that virtualization under Vista will rely on TPM-based attestation, which is interesting, seeeing how a lot of enterprises I&#8217;m familiar with actually turn off TPM functionality, especially in laptops due to management issues.</p>
<p>We&#8217;ll see, I guess.  Very cool though.</p>
<p>More links at</p>
<p><a target="_blank" href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&#038;articleId=9002212&#038;source=rss_topic85">Computerworld</a></p>
<p><a target="_blank" href="http://www.enterpriseitplanet.com/security/news/article.php/3625101">Enterprise IT Planet </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/spyware/quick-blue-pill-redux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic

Served from: www.chakraborty.ch @ 2012-02-06 03:28:29 -->
