<?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>Scott Yang's Playground &#187; Security</title>
	<atom:link href="http://scott.yang.id.au/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://scott.yang.id.au</link>
	<description>Faith, Technology and Randomness in Life, According to Scott</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:01:12 +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>Google Chrome Hacked</title>
		<link>http://scott.yang.id.au/2011/05/google-chrome-hacked/</link>
		<comments>http://scott.yang.id.au/2011/05/google-chrome-hacked/#comments</comments>
		<pubDate>Mon, 09 May 2011 23:56:41 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/?p=2046</guid>
		<description><![CDATA[Via Hacker News. Google Chrome Pwned by VUPEN aka Sandbox/ASLR/DEP Bypass. While Chrome has one of the most secure sandboxes and has always survived the Pwn2Own contest during the last three years, we have now uncovered a reliable way to execute arbitrary code on any installation of Chrome despite its sandbox, ASLR and DEP. I [...]]]></description>
			<content:encoded><![CDATA[<p>Via <a href="http://news.ycombinator.com/item?id=2529663">Hacker News</a>. <a href="http://www.vupen.com/demos/VUPEN_Pwning_Chrome.php">Google Chrome Pwned by VUPEN aka Sandbox/ASLR/DEP Bypass</a>.</p>
<blockquote><p>While Chrome has one of the most secure sandboxes and has always survived the Pwn2Own contest during the last three years, we have now uncovered a reliable way to execute arbitrary code on any installation of Chrome despite its sandbox, ASLR and DEP.</p></blockquote>
<p>I would hope an update to fix the exploit would be released soon, although sandboxing has already proved to be insecure which makes future exploits easier. Meanwhile, I&#8217;m going back to browsing by <code>telnet hostname 80</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2011/05/google-chrome-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Securing PHP-FastCGI on Nginx</title>
		<link>http://scott.yang.id.au/2011/04/securing-php-fastcgi-on-nginx/</link>
		<comments>http://scott.yang.id.au/2011/04/securing-php-fastcgi-on-nginx/#comments</comments>
		<pubDate>Fri, 08 Apr 2011 08:00:41 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/?p=2042</guid>
		<description><![CDATA[Via Hacker News. Setting up PHP-FastCGI and nginx? Don’t trust the tutorials: check your configuration! I have in fact written quite a few tutorials and published automated scripts that are vulnerable. Seems the easiest way to prevent this issue is by adding a try_files statement (or a if (-f $request_filename) if Nginx -V &#60; 0.7.27) [...]]]></description>
			<content:encoded><![CDATA[<p>Via <a href="http://news.ycombinator.com/item?id=2421894">Hacker News</a>. <a href="https://nealpoole.com/blog/2011/04/setting-up-php-fastcgi-and-nginx-dont-trust-the-tutorials-check-your-configuration/">Setting up PHP-FastCGI and nginx? Don’t trust the tutorials: check your configuration!</a> I have in fact written quite a few tutorials and published automated scripts that are vulnerable. Seems the easiest way to prevent this issue is by adding a <code>try_files</code> statement (or a <code>if (-f $request_filename)</code> if Nginx -V &lt; 0.7.27) into <code>location ~ \.php</code> block. For example</p>
<pre class="code">
location ~ \.php$ { # For nginx -V &gt;= 0.7.27
  try_files $uri =404;
  fastcgi_pass localhost:8080;
  ...
}
location ~ \.php$ { # For nginx -V &lt; 0.7.27, i.e. Debian 5
  if (-f $request_filename) {
    fastcgi_pass localhost:8080;
  }
  ...
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2011/04/securing-php-fastcgi-on-nginx/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SIP Attack! Home VoIP ATA Got DoS&#8217;ed</title>
		<link>http://scott.yang.id.au/2011/03/sip-attack-home-voip-ata-got-dosed/</link>
		<comments>http://scott.yang.id.au/2011/03/sip-attack-home-voip-ata-got-dosed/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 13:48:53 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/?p=2031</guid>
		<description><![CDATA[Bought an ATA from Cormain back in January. It&#8217;s ugly, but it works. Connected to our new Billion 7800N ADSL2+ router and makes calls via PennyTel. No problem what so ever until a week ago. Suddenly VoIP stopped working. I am also unable to connect to ATA&#8217;s web admin interface to figure out what might [...]]]></description>
			<content:encoded><![CDATA[<p>Bought an <a href="http://en.wikipedia.org/wiki/Analog_telephone_adapter">ATA</a> from <a href="http://cormain.com.au/">Cormain</a> back in January. It&#8217;s ugly, but it works. Connected to our new Billion 7800N ADSL2+ router and makes calls via PennyTel. No problem what so ever until a week ago. Suddenly VoIP stopped working. I am also unable to connect to ATA&#8217;s web admin interface to figure out what might be wrong. I thought the ATA is dead. Nasty cheap product! I thought maybe I bought a lemon and now need to file a warranty claim.</p>
<p>Interestingly though, that when I disconnect the ATA from WAN interface, I <em>could</em> connect to its admin interface via the LAN port. However right after I connect LAN port to my ADSL hub, any request to admin interface would timeout. That&#8217;s weird, so I turned on syslog to log the system message to my external syslogd, and then connect the LAN port. Wow &#8212; heaps of log messages. Here is a snippet:</p>
<pre class="code">
Mar  3 22:26:24 CDUaUdpStack::OnReceiveFrom(803fa460, 334)
Mar  3 22:26:24 from:50.22.171.5, port:5112, len=334, REGISTER sip:xx.xx.xx.xx SIP/2.0^M Via: SIP/2.0/UDP 50.22.171.5:5112;branch=z9hG4bK-1614305573;rport^M Content-Length: 0^M From: "152" <sip:152@115.70.45.197>^M Accept: application/sdp^M User-Agent: friendly-scanner^M To: "152" <sip:152@115.70.45.197>^M Contact: sip:123@1.1.1.1^M CSeq: 1 REGISTER^M Call-ID: 2269038874^M Max-Forwards: 70^M ^M
...
Mar  3 22:26:24 CUserAgent::SendTo(806f9750, 234, 5112, 50.22.171.5, 0, encryptType=0, udp, 0)
Mar  3 22:26:24 to:50.22.171.5, port:5112, len=234, SIP/2.0 403 Forbidden^M Via: SIP/2.0/UDP 50.22.171.5:5112;branch=z9hG4bK-1079254239;rport^M From: "152" <sip:152@115.70.45.197>^M To: "152" <sip:152@xx.xx.xx.xx>;tag=2cfa115b^M Call-ID: 807709011^M CSeq: 1 REGISTER^M Content-Length: 0^M ^M
</pre>
<p>Repeat the above for around 15 times per second! What appears to be happening is &#8212; this host <b>50.22.171.5</b> has been sending me SIP registration message at the rate of 15 times per second, and my VoIP ATA is merely replying back with 403 forbidden message at the same rate. My ATA is pretty much DoS&#8217;ed &#8212; I am denied of my VoIP service, because it has been too busy servicing bogus requests!</p>
<p>So once I firewall&#8217;ed the requests (dropping all packets from that IP), my VoIP ATA got back its sanity again. Hooray!</p>
<p>However, the &#8220;attack&#8221; did not stop. Large number of requests are still hitting my ADSL router every second. It is also chewing up quite a bit of bandwidth that counts towards my ADSL monthly quota. Here is an MRTG graph.</p>
<p><img src="http://scott.yang.id.au/file/images/voip-dosed.png" class="bordered" alt="VoIP DOS'ed"/></p>
<p>Not a lot of things I can do.</p>
<ul>
<li>I have sent an email to Softlayer&#8217;s abuse department (that IP address belongs to Softlayer). Did that a few days ago and still waiting for the reply.</li>
<li>I could request a new IP address from Exetel to switch to. A lot of hassle especially with some IP-based authentication.</li>
</ul>
<p>will update once there&#8217;s a solution. This kind of SIP-based DoS attack seems to get very frequent now &#8212; what are they trying to achieve?!</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2011/03/sip-attack-home-voip-ata-got-dosed/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PasswordFox &#8211; Standalone App to Reveal Firefox Passwords</title>
		<link>http://scott.yang.id.au/2008/12/passwordfox-firefox/</link>
		<comments>http://scott.yang.id.au/2008/12/passwordfox-firefox/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 11:04:20 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/?p=1842</guid>
		<description><![CDATA[PasswordFox &#8212; Reveal the user names/passwords stored in Firefox. Very useful utility to actually show all your passwords stored on Firefox. It&#8217;s not a recovery tool as you still need to type in the master password. However even without master password it shows all the websites you have kept password for, which means I might [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nirsoft.net/utils/passwordfox.html">PasswordFox &#8212; Reveal the user names/passwords stored in Firefox</a>. Very useful utility to actually show all your passwords stored on Firefox. It&#8217;s not a recovery tool as you still need to type in the master password. However even without master password it shows all the websites you have kept password for, which means I might need to find an alternate and more secure way to manage passwords.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2008/12/passwordfox-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X Root Escalation with AppleScript</title>
		<link>http://scott.yang.id.au/2008/06/mac-os-x-root-escalation-with-applescript/</link>
		<comments>http://scott.yang.id.au/2008/06/mac-os-x-root-escalation-with-applescript/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 05:06:32 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Slashdot]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2008/06/mac-os-x-root-escalation-with-applescript/</guid>
		<description><![CDATA[Read this story on Slashdot. &#8220;Half the Mac OS X boxes in the world (confirmed on Mac OS X 10.4 Tiger and 10.5 Leopard) can be rooted through AppleScript: osascript -e 'tell app "ARDAgent" to do shell script "whoami"'; Works for normal users and admins, provided the normal user wasn&#8217;t switched to via fast user [...]]]></description>
			<content:encoded><![CDATA[<p>Read this story on <a href="http://it.slashdot.org/article.pl?sid=08/06/18/1919224">Slashdot</a>.</p>
<blockquote>
<p>&#8220;Half the Mac OS X boxes in the world (confirmed on Mac OS X 10.4 Tiger and 10.5 Leopard) can be rooted through AppleScript:</p>
<pre class="code">osascript -e 'tell app "ARDAgent" to do shell script "whoami"';</pre>
<p>Works for normal users and admins, provided the normal user wasn&#8217;t switched to via fast user switching. Secure? I think not.&#8221; On the other hand, since this exploit seems to require physical access to the machine to be rooted, you might have some other security concerns to deal with at that point, like keeping the intruder from raiding your fridge on his way out.</p>
</blockquote>
<p>In the comment section it has been confirmed that</p>
<ol>
<li>It only works if the user is logged into the Mac, but not via fast user switching.</li>
<li>Disable Apple Remote Desktop does not work.</li>
<li>It works over ssh if the same user also happens to be logged in.</li>
</ol>
<p>Saying &#8220;physical access is required&#8221; is simply irresponsible. People might click on strange attachments or weird files downloaded from the net, which might run commands to get root privilege. Or maybe there are other exploits in Mac OS X that can get remote hackers local user privilege, and then use this to gain root.</p>
<p>Actually it is not hard to get physical access either. <a href="http://www.macworld.com/article/134049/2008/06/sydney_apple_store.html?t=201">Sydney Apple Store</a> opens tonight. Watch out for those pimple-faced teens typing vigorously in from the Terminal.app tonight!</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2008/06/mac-os-x-root-escalation-with-applescript/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Upgraded to WordPress 2.3.3 &#8216;Coz of Security Issues, Again!</title>
		<link>http://scott.yang.id.au/2008/02/upgraded-to-wordpress-233-coz-of-security-issues-again/</link>
		<comments>http://scott.yang.id.au/2008/02/upgraded-to-wordpress-233-coz-of-security-issues-again/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 00:23:54 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2008/02/upgraded-to-wordpress-233-coz-of-security-issues-again/</guid>
		<description><![CDATA[Went to the Aussie Bloggers forums this morning and spotted this post on an urgent WordPress upgrade (yes, I usually troll in the forums early in the morning instead of reading RSS feeds). WordPress 2.3.3 has been released fixing a few minor bugs and a security issue. Yes, again &#8212; less than two months after [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://scott.yang.id.au/file/images/wordpress-logo.png" width="238" height="50" alt="WordPress Logo" class="floaty"/> Went to the <a href="http://www.aussiebloggers.com.au/">Aussie Bloggers</a> forums this morning and spotted <a href="http://www.aussiebloggers.com.au/forum/index.php/topic,1141.msg7279.html">this post</a> on an urgent WordPress upgrade (yes, I usually troll in the forums early in the morning instead of reading RSS feeds). <a href="http://wordpress.org/development/2008/02/wordpress-233/">WordPress 2.3.3</a> has been released fixing a few minor bugs and a <strong>security issue</strong>. Yes, again &#8212; less than two months after WordPress 2.3.2 was released that fixed an issue exposing your draft posts. WordPress of 2008 almost felt like <a href="http://scott.yang.id.au/2005/08/sydney-and-phpbb/">phpBB2 of 2005</a> to me.</p>
<p>Yes. Please call all your friends who have a self-hosted WordPress blogs and get them to upgrade to the very latest version.</p>
<p>To see what has been changed from WordPress 2.3.2 to 2.3.3, you can use the following Subversion commands:</p>
<pre class="code">
$ svn diff --old=http://svn.automattic.com/wordpress/tags/2.3.2 \
           --new=http://svn.automattic.com/wordpress/tags/2.3.3
</pre>
<p>Which includes the diff of the five files that have been changed. The biggest change came from <code>xmlrpc.php</code>, in <a href="http://trac.wordpress.org/changeset/6715">change set 6715</a>, where <a href="http://boren.nu/">Ryan</a> tries to fix <a href="http://trac.wordpress.org/ticket/5313">this security issue</a> (yes the ticket was opened in November last year and only managed to get fixed yesterday, 3 months later). Basically, capability checking is done before determining whether the operation is editing a post &#8212; if post type is &#8220;post&#8221;. So any account can edit posts and pages via XML-RPC by faking post type as &#8220;page&#8221;. For more detail on this exploit, see <a href="http://www.theseekerblog.com/?p=284">The Seeker Blog</a>, and it appears to be &#8220;going wild&#8221; at the moment.</p>
<p>The fix also only comes in 2.3 flavour, whereas the concept of &#8220;page&#8221; has been there in WordPress since 2.0. That also means, all you 2.0/2.1/2.2 users are still vulnerable. You <b>have</b> to upgrade to the latest stable branch, although not all existing plugins and themes work with 2.3&#8230;</p>
<p>I think I am starting to agree with <a href="http://www.45n5.com/permalink/wordpress-sucks.html">Mark</a>&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2008/02/upgraded-to-wordpress-233-coz-of-security-issues-again/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PDF 0-Day Vulnerability</title>
		<link>http://scott.yang.id.au/2007/09/pdf-0-day-vulnerability/</link>
		<comments>http://scott.yang.id.au/2007/09/pdf-0-day-vulnerability/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 07:18:35 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2007/09/pdf-0-day-vulnerability/</guid>
		<description><![CDATA[eWeek: Opening a PDF file on your Windows PC can get you pwn3d, recently discovered by researcher Petko D. Petkov (his blog is no longer online at this point in time). It&#8217;s the same guy who discovered Apple&#8217;s Quicktime flaw and how you can infect someone&#8217;s PC via Firefox and Quicktime. Interestingly the open source [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.eweek.com/article2/0,1759,2186101,00.asp">eWeek: Opening a PDF file on your Windows PC can get you pwn3d</a>, recently <a href="http://www.gnucitizen.org/blog/0day-pdf-pwns-windows">discovered</a> by researcher Petko D. Petkov (his blog is no longer online at this point in time). It&#8217;s the same guy who discovered Apple&#8217;s Quicktime flaw and how you can infect someone&#8217;s PC via Firefox and Quicktime. Interestingly the open source party, i.e. Mozilla/Firefox, got the patched version, 2.0.0.7, out pretty quickly, and we are still waiting for Apple to respond to the threat. We&#8217;ll see how Adobe, another proprietary software company, respond to this 0-day vulnerability. Meanwhile, please send me everything in <code>text/plain</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2007/09/pdf-0-day-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MyBlogLog&#8217;s Co-Author Exploit</title>
		<link>http://scott.yang.id.au/2007/02/mybloglogs-co-author-exploit/</link>
		<comments>http://scott.yang.id.au/2007/02/mybloglogs-co-author-exploit/#comments</comments>
		<pubDate>Tue, 20 Feb 2007 04:53:58 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[MyBlogLog]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2007/02/mybloglogs-co-author-exploit/</guid>
		<description><![CDATA[Got an email from MyBlogLog about 2 days ago. Hi ScottYang, I would like to add you as a co-author of my MyBlogLog community below: Blog/Site: Blogmemes Belgium (http://www.blogmemes.be)MyBlogLog community: http://www.mybloglog.com/buzz/community/Blogmemes_Belgium/ Your MUST click on the link below to accept this request: &#60;Link Deleted&#62; Thanks,Blogmemes_Belgium Instead of clicking on the link, I went straight to [...]]]></description>
			<content:encoded><![CDATA[<p>Got an email from <a href="http://www.mybloglog.com/">MyBlogLog</a> about 2 days ago.</p>
<blockquote>
<p>Hi ScottYang,</p>
<p>I would like to add you as a co-author of my MyBlogLog community below:</p>
<p>Blog/Site: Blogmemes Belgium (http://www.blogmemes.be)<br/>MyBlogLog community: http://www.mybloglog.com/buzz/community/Blogmemes_Belgium/</p>
<p>Your MUST click on the link below to accept this request:</p>
<p><i>&lt;Link Deleted&gt;</i></p>
<p>Thanks,<br/>Blogmemes_Belgium</p>
</blockquote>
<p>Instead of clicking on the link, I went straight to its community site on MyBlogLog. And there we have it &#8212; a blogsite with <strong>hundreds</strong> of co-authors. I then went to the actual website, which turns out to be a Digg-like social bookmarking site in Belgian. It just sounds too fishy and too spammy. So I gave it a miss. After all it wasn&#8217;t the first time MyBlogLog got spammed.</p>
<p>I then discovered the exact same thing <a href="http://blogpond.wordpress.com/2007/02/19/how-to-remove-a-site-you-author-on-mybloglog/">reported on Blogpond</a>. Apparently both <a href="http://www.shoemoney.com/2007/02/18/another-mybloglog-exploit-this-one-a-little-more-harmful/">Jeremy Shoemaker</a> and <a href="http://www.johnchow.com/mybloglog-open-to-attacks/">John Chow</a> were affected and added to be the co-authors of that spammy community. If you &#8220;accidentally&#8221; become the co-author of a particular community, you will also receive emails whenever someone commented on that community. End result? <strong>Lots of unwanted emails</strong>!</p>
<p>The exploit is commonly known as <a href="http://en.wikipedia.org/wiki/Cross-site_scripting">Cross Site Scripting</a> (XSS). Malicious hacker can craft a fishy URL and tempt you to click on, and as an already authenticated user of a certain web-service, that link will execute something on your behalf without your confirmation nor intervention.</p>
<p>These are my immediate reactions (which I posted on Blogpond).</p>
<ol>
<li>Even Chow and Shoemaker fall for the fishing links &#8212; it is <em>that easy</em>!</li>
<li>Cross site scripting is a major problem on MyBlogLog.</li>
</ol>
<p>I actually don&#8217;t find Chow and Shoemaker clicking on the links that surprising. If you are an Internet user, you shouldn&#8217;t be too scared clicking on links, because of our implicit trust on established websites whom we have authenticated with. Because of <strong>trust</strong> we are not paranoid and running a browser without cookie and without Javascript. Because of <strong>trust</strong> the &#8220;Web 2.0&#8243; can be what it is today. We are <strong>trusting</strong> MyBlogLog here (though implicitly), believing that it will be free from XSS and no malicious hacker can steal my identity to perform operations on our accounts. Well, there goes my trust.</p>
<p>While <a href="http://mybloglogb.typepad.com/my_weblog/2007/02/new_spam_variet.html">MyBlogLog claimed the hole has been fixed</a>, it does make you wonder, how many other holes are there? Especially with MyBlogLog&#8217;s track history, sometimes you just cannot be sure whether all vulnerabilities have been patched. Combating XSS is never easy, and many applications have to sacrifice convenience for the sake of security. WordPress switched to <a href="http://en.wikipedia.org/wiki/Cryptographic_nonce">nonce</a> back in 2.03, and MBL might want to think about something similar as well. Or force all state-changing operations on POST requests only. Or require re-authentication on all stat-changing operations.</p>
<p>Meanwhile, I will just make sure I always log out and clean up my MyBlogLog&#8217;s domain and path cookies. But then that pretty renders MBL useless, isn&#8217;t it, as it can no longer track which member visited what community.</p>
<p>I was on a positive tune when I <a href="http://scott.yang.id.au/2007/02/another-look-on-mybloglog/">took MyBlogLog for another spin</a> earlier this month. I am back to being critical again here, and finding myself returning to square one, arguing whether MBL is actually a good fit for my blogs.</p>
<p><b>Update</b>: It appears that logging out MyBlogLog only logs you out the admin interface, but a cookie is still there to track you on other blogs (which you need to explicitly clear). I think it is actually <em>a good idea</em>, and everyone should log off when they are not maintaining their profile on MBL &#8212; it will only to track you even when you have logged out, and it reduces the possibility of XSS exploits.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2007/02/mybloglogs-co-author-exploit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Filling up PhishTank with Phishers</title>
		<link>http://scott.yang.id.au/2006/10/filling-up-phishtank-with-phishers/</link>
		<comments>http://scott.yang.id.au/2006/10/filling-up-phishtank-with-phishers/#comments</comments>
		<pubDate>Tue, 03 Oct 2006 00:37:27 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2006/10/filling-up-phishtank-with-phishers/</guid>
		<description><![CDATA[Via OpenDNS Blog, PhishTank is a website that collects URLs of phishing websites that conduct fraudulent activity by tricking people believing they are on a legitimate website. I&#8217;m getting phishing emails almost everyday telling me either my PayPal is not working, asking me to confirm an eBay purchase, or my bank needs my password. Great [...]]]></description>
			<content:encoded><![CDATA[<p>Via <a href="http://blog.opendns.com/2006/10/02/friends-of-opendns-meet-phishtank/">OpenDNS Blog</a>, <a href="http://www.phishtank.com/">PhishTank</a> is a website that collects URLs of <a href="http://en.wikipedia.org/wiki/Phishing">phishing websites</a> that conduct fraudulent activity by tricking people believing they are on a legitimate website. I&#8217;m getting phishing emails almost everyday telling me either my PayPal is not working, asking me to confirm an eBay purchase, or my bank needs my password. Great that PhishTank and OpenDNS are fighting against the phishers, so sign up, report all the phishers, and help these guys to help Internet be a safer place.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2006/10/filling-up-phishtank-with-phishers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Harrison Ford and Firewall</title>
		<link>http://scott.yang.id.au/2006/09/harrison-ford-and-firewall/</link>
		<comments>http://scott.yang.id.au/2006/09/harrison-ford-and-firewall/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 08:00:43 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Movie]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2006/09/harrison-ford-and-firewall/</guid>
		<description><![CDATA[I watched Harrison Ford&#8217;s Firewall on DVD on Tuesday. It is an interesting and engaging thriller. Jack Stanfield is an IT security expert in a Seattle bank, and his family has been kidnapped. The kidnappers wanted 100 million dollars transferred to his off-shore account, and need Jack to get &#8220;behind the firewall&#8221; to activate the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://scott.yang.id.au/file/movies/firewall.jpg" alt="Firewall" width="200" height="296" class="floaty"/> I watched Harrison Ford&#8217;s <a href="http://www.imdb.com/title/tt0408345/">Firewall</a> on DVD on Tuesday. It is an interesting and engaging thriller. Jack Stanfield is an IT security expert in a Seattle bank, and his family has been kidnapped. The kidnappers wanted 100 million dollars transferred to his off-shore account, and need Jack to get &#8220;behind the firewall&#8221; to activate the transfer. Now he has to find a way to pay for the ransom, and protect the asset of the bank he worked for.</p>
<p>I got pretty excited after 10 minutes into the film, where Jack Stanfield walked into his security department and tried to help out one of his staffs to slow down the hacking activities. He sat down in front of this un*x box with Ethereal running in the background, <strong>logged into the Csico router</strong> via a text terminal and started <strong>adding access list rules</strong> denying the entire class-C address!! That really got me excited about what else would be happening in the rest of this movie! Too bad that was the only highlight, and later on he even crashed the network of the entire building by executing a virus/worm from his Outlook-running Windows PC. IT security expert didn&#8217;t even firewall his own computer?</p>
<p><img src="http://scott.yang.id.au/file/movies/firewall-ford.jpg" alt="Harrison Ford in server room" height="170" width="256" class="floatyl"/> There were actually some top notch acting in &#8220;Firewall&#8221; &#8212; but they do have A-class actors. Harrison Ford is way too old for any fast moving action, but I wasn&#8217;t expecting Han Solo or Indiana Jones anyway. Paul Bettany is just so good at being a ruthless villain, and Virginia Madsen made a great role as the calm mother. Story is pretty packed but a bit ordinary. Ending is weak like many other thriller movies &#8212; police arrived on time just after hero of the day saved everyone he loved.</p>
<p>Many holes in the plot though makes the overall story unconvincing. One reason Paul Bettany failed his mission to rob the bank was because he killed 2 out of 4 of his sidekicks. IT security expert uses 4-letter name of his boat as password? Fax machine scan head + iPod Mini + OCR to read out screen dump of account numbers is ingenious but still far-fetched. At the end it was a GPS-equipped barking dog and super long battry life, dodgy-looking notebook with hyper-extended range wireless access that saved the day.</p>
<p>And have I mentioned that virus executed on security expert&#8217;s Windows PC crashed the entire network of a bank? Huh?!</p>
<p>Enjoyable movie if you like Harrison Ford and/or into IT security, or just like to look at racks and racks of servers in the data centre. Otherwise you won&#8217;t miss out much if you skip it.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2006/09/harrison-ford-and-firewall/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Bruce Schneier Facts Database</title>
		<link>http://scott.yang.id.au/2006/08/bruce-schneier-facts-database/</link>
		<comments>http://scott.yang.id.au/2006/08/bruce-schneier-facts-database/#comments</comments>
		<pubDate>Wed, 16 Aug 2006 01:30:28 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Humour]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2006/08/bruce-schneier-facts-database/</guid>
		<description><![CDATA[Bruce Schneier Facts Database, along the line of Chuch Norris Facts. For example, &#8220;Bruce Schneier eats 0s and 1s for breakfast. And snacks on pi.&#8221; Being a Schneier fan myself, it is very funny indeed. Via ELER.]]></description>
			<content:encoded><![CDATA[<p><a href="http://geekz.co.uk/schneierfacts/">Bruce Schneier Facts Database</a>, along the line of <a href="http://www.chucknorrisfacts.com/">Chuch Norris Facts</a>. For example, <em>&#8220;Bruce Schneier eats 0s and 1s for breakfast. And snacks on pi.&#8221;</em> Being a Schneier fan myself, it is very funny indeed. Via <a href="http://geekz.co.uk/lovesraymond/archive/bruce-schneier-facts">ELER</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2006/08/bruce-schneier-facts-database/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Client Side Port Scanning with Javascript</title>
		<link>http://scott.yang.id.au/2006/08/client-side-port-scanning-with-javascript/</link>
		<comments>http://scott.yang.id.au/2006/08/client-side-port-scanning-with-javascript/#comments</comments>
		<pubDate>Mon, 14 Aug 2006 00:11:50 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2006/08/client-side-port-scanning-with-javascript/</guid>
		<description><![CDATA[Prrof of concept of port scanning arbitary IP addresses from nothing but client side Javascript. From the code it looks like creating IFRAMEs and setting the SRC attribute to try to connect to ports, and has a list of web server signatures to check against. Pretty scary in what client side JS can do. I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.spidynamics.com/spilabs/js-port-scan/">Prrof of concept of port scanning arbitary IP addresses from nothing but client side Javascript</a>. From the code it looks like creating IFRAMEs and setting the SRC attribute to try to connect to ports, and has a list of web server signatures to check against. Pretty scary in what client side JS can do. I think I&#8217;ll keep on surfing in <a href="http://w3m.sourceforge.net/">w3m</a> and skip all Ajax goodies. Via <a href="http://www.twit.tv/sn52">Security Now</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2006/08/client-side-port-scanning-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Defeating China&#8217;s Great Firewall with Another Firewall</title>
		<link>http://scott.yang.id.au/2006/06/defeat-china-firewall/</link>
		<comments>http://scott.yang.id.au/2006/06/defeat-china-firewall/#comments</comments>
		<pubDate>Wed, 28 Jun 2006 07:39:46 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2006/06/defeat-china-firewall/</guid>
		<description><![CDATA[Via B. Schneier, Security Research at Cambridge has worked out a way to penetrate through China&#8217;s Great Firewall, by ignoring the reset TCP packet sent back by the Chinese routers to keep the connection going. Very interesting analysis, although the article also stated that censorship in China is more than just &#8220;Great Firewall&#8221;. Might be [...]]]></description>
			<content:encoded><![CDATA[<p>Via <a href="http://www.schneier.com/blog/archives/2006/06/ignoring_the_gr.html">B. Schneier</a>, Security Research at Cambridge <a href="http://www.lightbluetouchpaper.org/2006/06/27/ignoring-the-great-firewall-of-china/?cache=off">has worked out a way to penetrate through China&#8217;s Great Firewall</a>, by ignoring the reset TCP packet sent back by the Chinese routers to keep the connection going. Very interesting analysis, although the article also stated that censorship in China is more than just &#8220;Great Firewall&#8221;. Might be useful for those heading back to China.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2006/06/defeat-china-firewall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taiwan &#8212; home of many spammers</title>
		<link>http://scott.yang.id.au/2006/06/taiwan-spammer/</link>
		<comments>http://scott.yang.id.au/2006/06/taiwan-spammer/#comments</comments>
		<pubDate>Tue, 13 Jun 2006 06:44:19 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2006/06/taiwan-spammer/</guid>
		<description><![CDATA[Via /., The Register reports 64% of all spams are spreaded by zombies and compromised PCs controlled by Taiwanese, and only 3 percent from mainland China. It is sampled by a honey pot network to intercept commanding messages to those zombie PCs. It probably means (1) more Taiwanese are hacking for profit (2) Taiwanese hackers [...]]]></description>
			<content:encoded><![CDATA[<p>Via <a href="http://slashdot.org/">/.</a>, <a href="http://www.theregister.co.uk/2006/06/12/spam_distribution_study_ciphertrust/">The Register reports 64% of all spams are spreaded by zombies and compromised PCs controlled by Taiwanese</a>, and only 3 percent from mainland China. It is sampled by a honey pot network to intercept commanding messages to those zombie PCs. It probably means (1) more Taiwanese are hacking for profit (2) Taiwanese hackers are too dumb to realise they are trapped by honey pots. Anyway. The patriot in me tells me that Taiwan must be number one in <em>something</em>, but I did not expect them to excel this way.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2006/06/taiwan-spammer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is 1234 Your Password?</title>
		<link>http://scott.yang.id.au/2006/06/is-1234-your-password/</link>
		<comments>http://scott.yang.id.au/2006/06/is-1234-your-password/#comments</comments>
		<pubDate>Fri, 02 Jun 2006 13:22:40 +0000</pubDate>
		<dc:creator>scotty</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://scott.yang.id.au/2006/06/is-1234-your-password/</guid>
		<description><![CDATA[Bruce Schneier blogged about 2.5% of all passwords start with 1234 from a big sample of database. I know how common bad passwords are &#8212; plenty of them in the web apps we have deployed (though they are all hashed when stored in DB). I also remembered running Johnny the Ripper over all CS1021 accounts [...]]]></description>
			<content:encoded><![CDATA[<p>Bruce Schneier <a href="http://www.schneier.com/blog/archives/2006/05/common_password.html">blogged about 2.5% of all passwords start with 1234</a> from a big sample of database. I know how common bad passwords are &#8212; plenty of them in the web apps we have deployed (though they are all hashed when stored in DB). I also remembered running Johnny the Ripper over all CS1021 accounts almost 10 years ago, when they were not using shadow nor md5 hash back then. It was &#8220;easy&#8221; to get a new shell account back then :) Now I always use randomly generated password when signing up sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://scott.yang.id.au/2006/06/is-1234-your-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

