<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.3" -->
<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/"
	>

<channel>
	<title>hackademix.net &#187; Mozilla</title>
	<link>http://hackademix.net</link>
	<description>Giorgio Maone's answers to the Web, the Universe, and Everything</description>
	<pubDate>Tue, 18 Nov 2008 14:37:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>
	<language>en</language>
			<item>
		<title>Suntanned</title>
		<link>http://hackademix.net/2008/11/06/tanned/</link>
		<comments>http://hackademix.net/2008/11/06/tanned/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 17:04:49 +0000</pubDate>
		<dc:creator>Giorgio</dc:creator>
		
		<category><![CDATA[Politics]]></category>

		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://hackademix.net/2008/11/06/tanned/</guid>
		<description><![CDATA[

&#8220;Obama is young, handsome, and suntanned too.&#8221;
Silvio Berlusconi during today&#8217;s official Russia-Italy press conference in Moscow

In other news, I&#8217;m about to release first official NoScript version with Fennec support, so please wait a few hours before bombing Italy.
]]></description>
			<content:encoded><![CDATA[<p><img src="http://hackademix.net/wp-content/uploads/2008/11/berlusconi_corna_small.jpg" style="float: right" /></p>
<blockquote style="font-size: 120%"><p>
&#8220;Obama is young, handsome, and suntanned too.&#8221;</p>
<p style="text-align: right"><a href="http://www.repubblica.it/2008/11/sezioni/esteri/italia-obama/italia-obama/italia-obama.html" target="_blank" rel="nofollow external">Silvio Berlusconi during today&#8217;s official Russia-Italy press conference in Moscow</a>
</p></blockquote>
<p>In other news, I&#8217;m about to release first official NoScript version with Fennec support, so please wait a few hours before bombing Italy.</p>
]]></content:encoded>
			<wfw:commentRss>http://hackademix.net/2008/11/06/tanned/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Thanks America!</title>
		<link>http://hackademix.net/2008/11/05/thanks-america/</link>
		<comments>http://hackademix.net/2008/11/05/thanks-america/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 13:29:23 +0000</pubDate>
		<dc:creator>Giorgio</dc:creator>
		
		<category><![CDATA[Politics]]></category>

		<category><![CDATA[Mozilla]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[NoScript]]></category>

		<guid isPermaLink="false">http://hackademix.net/2008/11/05/thanks-america/</guid>
		<description><![CDATA[
Forbid fear.com
Allow hope.org

You&#8217;ve done the right thing :)
]]></description>
			<content:encoded><![CDATA[<ul style="background: Menu; font-family: arial, sans-serif; border: 1px solid InactiveBorder; color: MenuText; padding: 1px; width: 12em; cursor: pointer" onclick="window.open('http://www.barackobama.com/index.php')">
<li style="padding: 1px 1px 1px 24px; margin: 0px; list-style: none; background: url(http://software.informaction.com/data/noscript/no16.png) no-repeat center left">Forbid fear.com</li>
<li style="padding: 1px 1px 1px 24px; margin: 0px; list-style: none; background: Highlight  url(http://software.informaction.com/data/noscript/yes16.png) no-repeat center left; color: HighlightText; font-weight: bold">Allow hope.org</li>
</ul>
<p>You&#8217;ve done the <s>right</s> thing :)</p>
]]></content:encoded>
			<wfw:commentRss>http://hackademix.net/2008/11/05/thanks-america/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More Clickjacking</title>
		<link>http://hackademix.net/2008/10/26/more-clickjacking/</link>
		<comments>http://hackademix.net/2008/10/26/more-clickjacking/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 08:26:41 +0000</pubDate>
		<dc:creator>Giorgio</dc:creator>
		
		<category><![CDATA[Clickjacking]]></category>

		<category><![CDATA[Mozilla]]></category>

		<category><![CDATA[NoScript]]></category>

		<guid isPermaLink="false">http://hackademix.net/2008/10/26/more-clickjacking/</guid>
		<description><![CDATA[Sirdarckcat just pinged me with some more Clickjacking stuff, including his own related work:

OWASP Presentation (video)
White Paper
Effective CSS-based Clickjacking techniques by Sirdarckcat

Regarding protection, if you&#8217;re a Firefox/NoScript user you should already know about ClearClick. If you&#8217;re not, I feel a bit sorry for you.
]]></description>
			<content:encoded><![CDATA[<p>Sirdarckcat just pinged me with some more <a href="http://hackademix.net/category/clickjacking">Clickjacking</a> stuff, including his own related work:</p>
<ul>
<li><a href="http://video.google.com/videoplay?docid=-5747622209791380934&#038;hl=en" target="_blank" rel="nofollow external">OWASP Presentation (video)</a></li>
<li><a href="http://www.sectheory.com/clickjacking.htm" target="_blank" rel="nofollow external">White Paper</a></li>
<li><a href="http://sirdarckcat.blogspot.com/2008/10/about-css-attacks.html" target="_blank" rel="nofollow external">Effective CSS-based Clickjacking techniques</a> by Sirdarckcat</li>
</ul>
<p>Regarding protection, if you&#8217;re a Firefox/NoScript user you should already know about <a href="http://hackademix.net/2008/10/08/hello-clearclick-goodbye-clickjacking/">ClearClick</a>. If you&#8217;re not, <a href="http://hackademix.net/2008/09/29/clickjacking-and-other-browsers-ie-safari-chrome-opera/">I feel a bit sorry for you</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://hackademix.net/2008/10/26/more-clickjacking/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sense of Ridiculous?</title>
		<link>http://hackademix.net/2008/10/13/sense-of-ridiculous/</link>
		<comments>http://hackademix.net/2008/10/13/sense-of-ridiculous/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 18:17:13 +0000</pubDate>
		<dc:creator>Giorgio</dc:creator>
		
		<category><![CDATA[Politics]]></category>

		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://hackademix.net/2008/10/13/sense-of-ridiculous/</guid>
		<description><![CDATA[
History will tell that George W. Bush has been a great, very great President of the United States
Silvio Berlusconi, Italian Prime Minister, Columbus Day 2008
George, please, in November take Silvio with you.
Many thanks.
]]></description>
			<content:encoded><![CDATA[<p><img src="http://hackademix.net/wp-content/uploads/2008/10/dynamic_duo.jpg" title="The dynamic duo" alt="B &amp; B" /></p>
<blockquote><p>History will tell that George W. Bush has been a great, very great President of the United States</p></blockquote>
<p style="text-align: right; font-style: italic"><a href="http://en.wikipedia.org/wiki/Silvio_Berlusconi" target="_blank" rel="nofollow external">Silvio Berlusconi</a>, Italian Prime Minister, Columbus Day 2008</p>
<p>George, please, in November take Silvio with you.<br />
Many thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://hackademix.net/2008/10/13/sense-of-ridiculous/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hello ClearClick, Goodbye Clickjacking!</title>
		<link>http://hackademix.net/2008/10/08/hello-clearclick-goodbye-clickjacking/</link>
		<comments>http://hackademix.net/2008/10/08/hello-clearclick-goodbye-clickjacking/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 22:27:50 +0000</pubDate>
		<dc:creator>Giorgio</dc:creator>
		
		<category><![CDATA[Clickjacking]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Mozilla]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[NoScript]]></category>

		<guid isPermaLink="false">http://hackademix.net/2008/10/08/hello-clearclick-goodbye-clickjacking/</guid>
		<description><![CDATA[Finally NoScript 1.8.2.1 is out, featuring the announced new anti-clickjacking countermeasures enabled by default, independent from IFRAME and plugin content blocking settings.
The most specific and ambitious is called ClearClick: whenever you click or otherwise interact, through your mouse or your keyboard, with an embedded element which is partially obstructed, transparent or otherwise disguised, NoScript prevents [...]]]></description>
			<content:encoded><![CDATA[<p>Finally <a href="http://noscript.net/getit#direct">NoScript 1.8.2.1</a> is out, featuring the <a href="http://hackademix.net/2008/10/02/clickjacking-protection-by-default/">announced</a> new anti-clickjacking countermeasures enabled by default, <em>independent from IFRAME and plugin content blocking settings</em>.</p>
<p>The most specific and ambitious is called <strong>ClearClick</strong>: whenever you click or otherwise interact, through your mouse or your keyboard, with an embedded element which is partially obstructed, transparent or otherwise disguised, NoScript prevents the interaction from completing <em>and reveals you the real thing</em> in &#8220;clear&#8221;. At that point you can evaluate if the click target was actually the intended one, and decide if keeping it locked or unlock it for free interaction. This comes quite handy now that more dangerous usages of clickjacking are being disclosed, such as <a href="http://blog.guya.net/2008/10/07/malicious-camera-spying-using-clickjacking/" target="_blank" rel="nofollow external">enabling your microphone or your webcam behind your back to spy you through the interwebs</a>.</p>
<p>As you already know if you read my <a href="http://hackademix.net/2008/09/27/clickjacking-and-noscript/">first clickjacking article</a>, an old and benign clickjacking example is NoScript&#8217;s &#8220;Install Now&#8221; orange button, which overlays the green one on <em>addons.mozilla.org</em> to work-around the installation security warning. If you click it with ClearClick enabled, now you get warned about something sneaky going on.</p>
<div style="clear: both; text-align: center">
<img src="http://hackademix.net/wp-content/uploads/2008/10/clearclick.png" alt="ClearClick Warning on NoScript's install button" title="ClearClick in action" style="float: none;border: 2px solid #ccc" />
</div>
<p><s>I do not need to change my button yet, because NoScript 1.8.2.1 ships with ClearClick enabled on untrusted (non whitelisted) parent pages only, while the whitelist status of the embedding is irrelevant. This gives a good balance between effectiveness and usability, since the attacker in a clickjacking attack is always the parent. If you want to get the warning on <em>noscript.net</em> and on the other sites you trust, you need to flag the second checkbox on <em>NoScript Options|Plugins|ClearClick protection on pages&#8230; [x] untrusted <strong>[x] trusted</strong></em>. I recommend to flag it anyway and report any usability issue, because this feature so far seems quiet and unobtrusive enough to justify my temptation of enabling everywhere (trusted + untrusted) by default on next stable release, but it must get a lot of testing <strong>from you</strong> first.</s></p>
<div style="border: 1px dotted white; padding: 8px">
<h4>Update</h4>
<p>NoScript 1.8.4 and above ship with ClearClick enabled on both untrusted and trusted sites. It works everywhere, even if you&#8217;ve got scripts globally allowed. And yes, at that point I had to change noscript.net install button, therefore if you want a PoC you need to look <a href="http://hackademix.net/2008/10/26/more-clickjacking/">elsewhere</a>.
</div>
<p>Other clickjacking-related features <a href="http://noscript.net/changelog#1.8.2">included in this release</a> are:</p>
<ol>
<li><strong>Opaque embedded objects</strong>: plugin content and frames are forcibly made opaque and get styled with &#8220;overflow: auto&#8221; (i.e. get scrollbars if their inner size exceed their viewport) on untrusted pages.</li>
<li><strong>Frame Break Emulation</strong>: if a framed page which is not allowed to run JavaScript contains a &#8220;frame busting&#8221; script similar to <code>&lt;script&gt;if (top != self) top.location = location&lt;/script&gt;</code>, the <em>intention</em> of the page author is honored by NoScript, i.e. the page replaces the topmost document. You can control this feature toggling the <em>noscript.emulateFrameBreak</em> about:config preference.</li>
<li>Some usability and effectiveness improvements in frame management, making the <em>Forbid IFRAMEs</em> option more suitable for general usage.</li>
</ol>
<p>I hope to find some time during this week to write another post, diving through the technical details behind my ClearClick implementation: a fairy tale about a very simple and hopeful idea (unconventional &lt;canvas&gt; usage) fighting against an army of quirks and mundane details. In the meanwhile, many thanks to Sirdarckcat, RSnake, Michal Zalewski and Matt Mastracci for discussion, testing and inspiration.</p>
]]></content:encoded>
			<wfw:commentRss>http://hackademix.net/2008/10/08/hello-clearclick-goodbye-clickjacking/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Clickjacking Protection by Default</title>
		<link>http://hackademix.net/2008/10/02/clickjacking-protection-by-default/</link>
		<comments>http://hackademix.net/2008/10/02/clickjacking-protection-by-default/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 10:49:30 +0000</pubDate>
		<dc:creator>Giorgio</dc:creator>
		
		<category><![CDATA[Clickjacking]]></category>

		<category><![CDATA[Mozilla]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[NoScript]]></category>

		<guid isPermaLink="false">http://hackademix.net/2008/10/02/clickjacking-protection-by-default/</guid>
		<description><![CDATA[As I hinted in my original clickjacking article and confirmed in my follow-up about protecting other browsers from clickjacking, specific anti-clickjacking countermeasures are included in latest NoScript development builds, enabled by default, and completely independent from frame blocking.
Specifically, since 1.8.1.7 (released past Friday), embedded objects of any kind are forcibly made opaque if placed on [...]]]></description>
			<content:encoded><![CDATA[<p>As I hinted in my original <a href="/2008/09/29/clickjacking-and-noscript/">clickjacking article</a> and confirmed in my follow-up about <a href="/2008/09/29/clickjacking-and-other-browsers-ie-safari-chrome-opera/">protecting other browsers from clickjacking</a>, specific anti-clickjacking countermeasures are included in <a href="http://noscript.net/getit#devel">latest NoScript development builds</a>, <em>enabled by default</em>, and completely <em>independent from frame blocking</em>.</p>
<p>Specifically, since 1.8.1.7 (released past Friday), embedded objects of any kind are forcibly made opaque if placed on a non-whitelisted page, giving user a clear view on what he&#8217;s about to click.<br />
A further protection layer, automatically disabling any user interaction with partially obstructed documents (similar in concept to <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-September/016284.html" target="_blank" rel="nofollow external">Zalewski&#8217;s preferred proposal</a>), <s>will go in a stable release by the end of this week, but current development builds are already safe and good enough for general consumption, so <a href="http://noscript.net/getit#devel">I recommend upgrading now</a></s> <em>(update) is available in <a href="http://noscript.net/getit">NoScript 1.8.2 and above</a></em>.</p>
<p>Starting this fresh development line, rather than sitting on the serendipity of old NoScript features being able to prevent known forms of clickjacking, proved to be a very wise thing to do.<br />
In facts, both RSnake and Ronald during the last two days found frame blocking work-arounds. RSnake in particular, being a NoScript user himself, has been so kind to do responsible disclosure, giving me also a lot of constructive feedback about the alternate mitigation ideas I was developing. </p>
<p>I must be grateful to Ronald as well, because he &#8212; even if in a less cooperative way &#8212;  underlined a conceptual weakness in IFRAME blocking (since OBJECTs can behave just like IFRAMEs, they should be blocked according to the very same criteria), but I have to rectify this statement from <a href="http://www.0x000000.com/index.php?i=316" target="_blank" rel="nofollow external">his public disclosure post</a>:</p>
<blockquote><p>
The latest version of NoScript allows it&#8217;s users to block iframes in order to protect themselves from &#8220;Clickjacking&#8221;.
</p></blockquote>
<p>NoScript has been capable of blocking IFRAMEs <a href="http://noscript.net/changelog#1.1.7.1">for a long time</a>: this feature had been introduced mainly to <a href="http://www.thespanner.co.uk/2007/09/12/noscript-has-iframe-protection/" target="_blank" rel="nofollow external">make Gareth Heyes happy</a>, more than one year ago. As <a href="http://hackademix.net/2008/01/23/old-noscript-tricks-blocking-new-vulnerabilities/">often observed with NoScript</a>, an old feature happens to be effective against new threats.<br />
Unfortunately, bugs happen too and IFRAME blocking not being applied to all the frame-like elements is what I do consider a bug. This one <s>will be fixed in the automatic stable update you&#8217;re going to receive in a few days, but in the meanwhile</s> is <a href="#upd1">already fixed</a>;  you can enjoy the new specific clickjacking protection, no matter if you block frames or not, by simply upgrading to <a href="http://noscript.net/getit#devel">NoScript 1.8.1.8</a> or above.</p>
<h4 id="upd1">Update Oct 2<sup>nd</sup>, afternoon</h4>
<p>The frame/object bug has already been <a href="http://noscript.net/getit#devel">fixed in 1.8.1.9, one more reason to upgrade</a>.</p>
<h4 id="upd1">Update Oct 7<sup>th</sup></h4>
<p>NoScript 1.8.2 is finally out, featuring the brand new exclusive <a href="http://hackademix.net/2008/10/08/hello-clearclick-goodbye-clickjacking/"><strong>ClickClear</strong> technology against Clickjacking</a>. <a href="http://noscript.net/getit">Upgrade now!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hackademix.net/2008/10/02/clickjacking-protection-by-default/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Clickjacking and Other Browsers (IE, Safari, Chrome, Opera)</title>
		<link>http://hackademix.net/2008/09/29/clickjacking-and-other-browsers-ie-safari-chrome-opera/</link>
		<comments>http://hackademix.net/2008/09/29/clickjacking-and-other-browsers-ie-safari-chrome-opera/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 21:59:29 +0000</pubDate>
		<dc:creator>Giorgio</dc:creator>
		
		<category><![CDATA[IE]]></category>

		<category><![CDATA[Clickjacking]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[Mozilla]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[NoScript]]></category>

		<guid isPermaLink="false">http://hackademix.net/2008/09/29/clickjacking-and-other-browsers-ie-safari-chrome-opera/</guid>
		<description><![CDATA[During the past few days I&#8217;ve been repeatedly asked the same question:

Is there anything that users of IE, Chrome and other browsers (who cannot use NoScript) can do to protect themselves from clickjacking?

If you read my previous post about it, you already know that currently the only way to protect yourself is disabling JavaScript, plugins/ActiveX [...]]]></description>
			<content:encoded><![CDATA[<p>During the past few days I&#8217;ve been repeatedly asked the same question:</p>
<blockquote><p>
Is there anything that users of IE, Chrome and other browsers (who cannot use NoScript) can do to <a href="http://hackademix.net/2008/09/27/clickjacking-and-noscript/">protect themselves from clickjacking</a>?
</p></blockquote>
<p>If you read <a href="http://hackademix.net/2008/09/27/clickjacking-and-noscript/">my previous post about it</a>, you already know that currently the only way to protect yourself is disabling JavaScript, plugins/ActiveX <em>and</em> <a href="http://noscript.net/faq#iframes" target="_blank">IFRAMEs</a>.<br />
<a href="http://noscript.net" target="_blank">NoScript</a> is the most elegant and usable solution to do it for browsers based on Mozilla technology (like <a href="http://www.mozilla.com" target="_blank">Firefox</a>), because it gives you a quick one-click way to enable the missing technologies on sites you trust and remembers your choices in a whitelist, becoming almost unnoticeable after some &#8220;training&#8221; about your surfing habits.</p>
<p>Unfortunately, this is not as easy, bearable or even feasible if you use a browser not supported by NoScript (other than <a href="http://en.wikipedia.org/wiki/Linx" target="_blank" rel="nofollow external">Linx</a> or <a href="http://en.wikipedia.org/wiki/ELinks" target="_blank" rel="nofollow external">Elinks</a>).<br />
Let&#8217;s see what you can do with <a href="#ie">IE</a>, <a href="#safari">Safari</a>, <a href="#chrome">Chrome</a> and <a href="#opera">Opera</a>:</p>
<ul>
<li>
<h4 id="ie">Internet Explorer</h4>
<p><img src="http://hackademix.net/wp-content/uploads/2008/09/ie.png" alt="IE's security settings" title="Hardening IE" style="float: right;"/>Open <em>Internet Options|Security</em>, select the &#8220;Internet&#8221; zone and set the &#8220;Security level for this zone&#8221; control to &#8220;High&#8221;.<br />
<strong>Bad news</strong>: there&#8217;s <em>no apparent way to disable IFRAMEs</em> in IE: you can just disable &#8220;Launching programs and files in IFRAME&#8221;, which is definitely <strong>not enough to prevent clickjacking</strong>.<br />
Furthermore, while Microsoft&#8217;s &#8220;Internet Zones&#8221; can allow individual sites for scripting or active content, their usability is extremely poor if compared to NoScript, requiring several clicks and typing to build a whitelist. So, to recap: <strong>MSIE can&#8217;t be secured 100% against clickjacking</strong>, and the protection you can get comes with a big usability cost.</li>
<li style="clear: both">
<h4 id="safari">Safari</h4>
<p><img src="http://hackademix.net/wp-content/uploads/2008/09/safari.png" alt="Safari's security settings" title="Hardening IE" style="float: right" />Apple&#8217;s browser has a central place to disable active content in its <em>Preferences|Security</em> tab.<br />
<strong>Bad news</strong> here are two: there&#8217;s no mean to enable features selectively (per site), and <strong>IFRAMEs cannot be disabled</strong> in any apparent way (Mac users, please let me know if I&#8217;m missing something<a href="#comment-9472"><sup>1</sup></a>). Therefore <strong>Safari can&#8217;t be secured 100% against clickjacking</strong>, and the protection you can get comes with an enormous usability cost.</li>
<li style="clear: both">
<h4 id="chrome">Chrome</h4>
<p>If you&#8217;re a Chrome user, you&#8217;re really <strong>out of luck</strong>: the only apparent way to disable active content is starting the browser with the following command line:</p>
<pre>
chrome.exe -disable-javascript -disable-java -disable-plugins
</pre>
<p>Of course, you cannot enable back any of these features until you restart your browser with different command line arguments. Even worse, there&#8217;s no &#8220;-disable-iframe&#8221; option. So <strong>Chrome can&#8217;t be secured 100% against clickjacking</strong>, and the protection you can get comes with the worst usability cost.</li>
<li>
<h4 id="opera">Opera</h4>
<p>Opera has the best built-in security user interface among browsers, very similar to NoScript&#8217;s concepts: you can set restrictive defaults if you want, and relax some restrictions on selected sites you trust, using <a href="http://www.opera.com/support/tutorials/opera/custom/prefs/" target="_blank" rel="nofollow external">Site Preferences and Quick Preferences</a>. It&#8217;s just slightly less usable than NoScript, and it can be configured to prevent clickjacking: you need to disable everything you can see in <em>Preferences|Advanced|Content</em>, then enter <em>opera:config</em> in your address bar, click the &#8220;Extensions&#8221; handle and uncheck the &#8220;IFrames&#8221; line.</li>
</ul>
<p>Final note: current <a href="http://noscript.net/getit#devel">NoScript development versions</a>  (1.8.1.7 and above) provide protection against IFRAME-based clickjacking <em>even without disabling IFRAMEs</em>. This is a further usability/security advantage over any other solution, and it&#8217;s being tested by Sirdarckcat (a pioneer of malicious CSS overlays) with a final stable released planned for the end of this week. Therefore, if you can choose, your best usability+security choice is still <a href="http://noscript.net">Firefox+NoScript</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://hackademix.net/2008/09/29/clickjacking-and-other-browsers-ie-safari-chrome-opera/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FlashGot Media, Now!!!</title>
		<link>http://hackademix.net/2008/09/27/flashgot-media-now/</link>
		<comments>http://hackademix.net/2008/09/27/flashgot-media-now/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 10:05:54 +0000</pubDate>
		<dc:creator>Giorgio</dc:creator>
		
		<category><![CDATA[FlashGot]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://hackademix.net/2008/09/27/flashgot-media-now/</guid>
		<description><![CDATA[Hurry, it&#8217;s the best time to use FlashGot Media!
Adobe and movie providers might withdraw their generosity at any moment :)
]]></description>
			<content:encoded><![CDATA[<p>Hurry, it&#8217;s the best time to use <a href="http://flashgot.net/features#fgmedia">FlashGot Media</a>!<br />
Adobe and movie providers <a href="http://tech.slashdot.org/article.pl?sid=08/09/27/0038259" target="_blank" rel="nofollow external">might withdraw their generosity at any moment</a> :)</p>
]]></content:encoded>
			<wfw:commentRss>http://hackademix.net/2008/09/27/flashgot-media-now/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Clickjacking and NoScript</title>
		<link>http://hackademix.net/2008/09/27/clickjacking-and-noscript/</link>
		<comments>http://hackademix.net/2008/09/27/clickjacking-and-noscript/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 01:35:20 +0000</pubDate>
		<dc:creator>Giorgio</dc:creator>
		
		<category><![CDATA[Clickjacking]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Mozilla]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[NoScript]]></category>

		<guid isPermaLink="false">http://hackademix.net/2008/09/27/clickjacking-and-noscript/</guid>
		<description><![CDATA[
Update
If you did not yet, you should upgrade to NoScript 1.8.2.1 or above, for the reasons explained here.

Looks like Clickjacking is the web-security buzzword of the week (month?), since Robert &#8220;RSnake&#8221; Hansen and Jeremiah Grossman decided to cancel their OWASP talk, drawing an aura of mystery around the whole issue and its magnitudo.
Nevertheless some info [...]]]></description>
			<content:encoded><![CDATA[<div style="border: 1px solid #311; padding: 8px;">
<h4>Update</h4>
<p><em>If you did not yet, you should upgrade to <a href="http://noscript.net/getit" target="_blank">NoScript 1.8.2.1 or above</a>, for the reasons explained <a href="http://hackademix.net/2008/10/08/hello-clearclick-goodbye-clickjacking/">here</a>.</em>
</div>
<p>Looks like <em>Clickjacking</em> is the web-security buzzword of the week (month?), since <a href="http://ha.ckers.org/blog/20080915/clickjacking/" target="_blank" rel="nofollow external">Robert &#8220;RSnake&#8221; Hansen</a> and <a href="http://jeremiahgrossman.blogspot.com/2008/09/cancelled-clickjacking-owasp-appsec.html" target="_blank" rel="nofollow external">Jeremiah Grossman</a> decided to cancel their OWASP talk, drawing an aura of mystery around the whole issue and its magnitudo.</p>
<p>Nevertheless <a href="http://www.macworld.com/article/135763/2008/09/clickjacking.html" target="_blank" rel="nofollow external">some info</a> and <a href="http://www.breakingpointsystems.com/community/blog/clickjacking" target="_blank" rel="nofollow external">speculations</a> have been percolating, and even if the precise details of the attacks proposed by those two researchers are still embargoed, especially because of the serious and not necessarily obvious <a href="http://blogs.adobe.com/psirt/2008/09/thanks_to_jeremiah_grossman_an.html" target="_blank" rel="nofollow external">implications worrying Adobe</a>, a certain awareness about the general technique and the possible countermeasures does circulate now. In Jeremiah&#8217;s and RSnake&#8217;s words:</p>
<blockquote><p>
Think of any button on any Web site, internal or external, that you can get to appear between the browser walls, wire transfers on banks, Digg buttons, CPC advertising banners, Netflix queue, etc. The list is virtually endless and these are relatively harmless examples. Next, consider that an attack can invisibly hover these buttons below the users’ mouse, so that when they click on something they visually see, they actually are clicking on something the attacker wants them to. [&#8230;]<br />
Say you have a home wireless router that you had authenticated prior to going to a [malicious] web site. [The web site] could place a tag under your mouse that frames in a single button an order to the router to, for example, delete all firewall rules.
</p></blockquote>
<p>In other words, the attack is thrown by a malicious web page embedding objects, possibly from a different site, such as framed documents or plugin content (Flash, Silverlight, Java&#8230;) which may lead to unwanted results if clicked by the current user (e.g. a &#8220;Delete all messages&#8221; button in your webmail or an advertisement banner in a click fraud scheme). Using DHTML, and especially CSS, the attacker can disguise or hide the click target in several ways which go completely undetected by the user, who&#8217;s easily tricked into clicking it in a more or less blind way.</p>
<p>JavaScript increases the effectiveness of these attacks hugely, because it can make our invisible target constantly follow the mouse pointer, intercepting user&#8217;s first click with no failure. We can however imagine a few less effective but still feasible scriptless scenarios, e.g. covering the whole window with hidden duplicates of the target or overlaying an attractive element of the page, likely to be clicked (e.g. a game or a porn image link), with a transparent target instance.<br />
Nevertheless, as RSnake puts it,</p>
<blockquote><p>
[&#8230;] the best defense against clickjacking attacks is to use Firefox with the NoScript add-on installed. Users running that combination will be safe, said Hansen, against “a very good chunk of the issues, 99.99 percent at this point.”
</p></blockquote>
<p>That&#8217;s true because attacking from an untrusted page not allowed to run JavaScript is highly impractical, but also because NoScript <em>by default</em> prevents Java, Silverlight and especially Flash content, which seem so far the most dangerous clickjacking targets, from being embedded on non-whitelisted pages.</p>
<p>But what about that damned 0.01%? That&#8217;s given by framed documents, most notably <a href="http://en.wikipedia.org/wiki/IFrame" target="_blank" rel="nofollow external">IFRAMEs</a>. For a live and benign example of what you can do with IFRAME-based clickjacking, look at <a href="http://noscript.net/getit">NoScript&#8217;s &#8220;install now!&#8221; widget</a>, which gets dynamically overlayed by the <a href="https://addons.mozilla.org/en-US/firefox/addon/722/" target="_blank" rel="nofollow external">addons.mozilla.org install page</a>: they&#8217;re positioned so that if you click on the orange button you automatically install from AMO, skipping the security notification bar you would get on any other site. This &#8220;clickjacking&#8221; of mine has been there for a long time (since AMO V3, IIRC), and it heavily relies on JavaScript.</p>
<p>But even if an IFRAME-based attack was carefully crafted to work without JavaScript, NoScript would still provide effective protection, scoring a perfect 100% by RSnake&#8217;s standards. You just need to enable the <a href="http://noscript.net/faq#iframes" target="_blank"><em>Plugins|Forbid &lt;IFRAME&gt;</em></a> option, and cross-site IFRAMEs will be blocked by default on untrusted pages: they will need a confirmation to be activated, therefore &#8220;blind clicks&#8221; become impossible. <a href="http://www.zone365.com/321/use-noscript-to-protect-yourself-from-clickjacking" target="_blank" rel="nofollow external">Zone 365</a> and Hardware Forums created a <a href="http://www.hardwareforums.com/repo/tutorials/clickjack_noscript.swf" target="_blank" rel="nofollow external">short video tutorial</a> about this setting. If you want to be protected even against unlikely attacks thrown from a trusted site included in your whitelist, check <a href="http://noscript.net/features#contentblocking" target="_blank"><em>Plugins|Apply these restriction to trusted sites as well</em></a>: embedded objects (plugin content and frames) get blocked on every site, but you can enable any of them on the fly by clicking on its placeholder. </p>
<p>A final recommendation is reading this <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-September/016284.html" target="_blank" rel="nofollow external">Michal Zalewski&#8217;s contribution</a>, which covers the IFRAME case only but is very generous with mitigation proposals, both for web developers and browser vendors: by the way, his browser fix proposal #4 is almost identical to current NoScript&#8217;s <em>Forbid &lt;IFRAME&gt;</em> option, and simpler variants of proposal #3 are being explored as default features in <a href="http://noscript.net/getit#devel" target="_blank">NoScript development builds</a> since version 1.8.1.7.</p>
]]></content:encoded>
			<wfw:commentRss>http://hackademix.net/2008/09/27/clickjacking-and-noscript/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Maone 2.0rc1</title>
		<link>http://hackademix.net/2008/09/20/maone-20rc1/</link>
		<comments>http://hackademix.net/2008/09/20/maone-20rc1/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 13:02:30 +0000</pubDate>
		<dc:creator>Giorgio</dc:creator>
		
		<category><![CDATA[FlashGot]]></category>

		<category><![CDATA[Personal]]></category>

		<category><![CDATA[Mozilla]]></category>

		<category><![CDATA[NoScript]]></category>

		<guid isPermaLink="false">http://hackademix.net/2008/09/20/maone-20rc1/</guid>
		<description><![CDATA[
Planned final release date: Jan 28th 2009.
Also released this week:


NoScript 1.8.1.5, featuring several HTTPS effectiveness enhancements
FlashGot 1.1.1.6, improving FlashGot Media compatibility with non-Flash streaming movies.

]]></description>
			<content:encoded><![CDATA[<p><img src="http://hackademix.net/wp-content/uploads/2008/09/cicciuzzo21w_small.jpg" title="Cicciuzzo 21st week" style="margin-right: 24px"/><br />
Planned final release date: Jan 28th 2009.</p>
<p>Also released this week:</p>
<ul>
<li>
<a href="http://noscript.net/getit#devel" target="_blank">NoScript 1.8.1.5</a>, featuring several <a href="http://noscript.net/faq#https" target="_blank">HTTPS effectiveness enhancements</a></li>
<li><a href="http://flashgot.net/getit" target="_blank">FlashGot 1.1.1.6</a>, improving <a href="http://flashgot.net/features#fgmedia" target="_blank">FlashGot Media</a> compatibility with non-Flash streaming movies.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hackademix.net/2008/09/20/maone-20rc1/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
