<?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>blog.forret.com &#187; security</title>
	<atom:link href="http://blog.forret.com/categories/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.forret.com</link>
	<description>and I mean it</description>
	<lastBuildDate>Tue, 17 Nov 2009 19:00:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress editor scripting blocked by IE7</title>
		<link>http://blog.forret.com/2007/02/wordpress-editor-scripting-blocked-by-ie7/</link>
		<comments>http://blog.forret.com/2007/02/wordpress-editor-scripting-blocked-by-ie7/#comments</comments>
		<pubDate>Sat, 17 Feb 2007 17:47:08 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.forret.com/2007/02/wordpress-editor-scripting-blocked-by-ie7/</guid>
		<description><![CDATA[For those of you with Wordpress blogs, does this look familiar?

The new Internet Explorer 7 blocks a lot of (Javascript) scripting for security reasons, which means that clicking on &#8220;link&#8221; in the Wordpress editor gives the warning message above. You have to select &#8220;Temporarily Allow Scripted Windows&#8221; to be able to use the WP editor [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>For those of you with Wordpress blogs, does this look familiar?<br />
<a href="http://www.flickr.com/photos/pforret/393088693/" title="Photo Sharing"><img src="http://farm1.static.flickr.com/139/393088693_cf1a249f76.jpg" width="500" height="109" alt="WP Editor scripts on IE7: the problem" /></a></p>
<p>The new Internet Explorer 7 blocks a lot of (Javascript) scripting for security reasons, which means that clicking on &#8220;link&#8221; in the Wordpress editor gives the warning message above. You have to select &#8220;Temporarily Allow Scripted Windows&#8221; to be able to use the WP editor buttons. But if you save the post and the editor window is refreshed, you have to do that whole procedure again. Security is nice, and we know why IE makes a point out of it, but it shouldn&#8217;t interfere with convenience too much.</p>
<p>Luckily there is a way to let IE switch the security warning off for URLs that are under your own control (like your blog, for instance):<br />
<a href="http://www.flickr.com/photos/pforret/393088696/" title="Photo Sharing"><img src="http://farm1.static.flickr.com/158/393088696_45cf041c92.jpg" width="500" height="438" alt="WP Editor scripts on IE7: the solution" /></a><br />
Add your own URL to the Trusted Sites (Options/Security/Trusted Sites) and you do not get the scripting warning anymore. Happy posting!</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.forret.com/2007/02/wordpress-editor-scripting-blocked-by-ie7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>You give out your passwords every day</title>
		<link>http://blog.forret.com/2007/02/you-give-out-your-passwords-every-day/</link>
		<comments>http://blog.forret.com/2007/02/you-give-out-your-passwords-every-day/#comments</comments>
		<pubDate>Wed, 14 Feb 2007 16:12:54 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.forret.com/2007/02/you-give-out-your-passwords-every-day/</guid>
		<description><![CDATA[If you&#8217;re allergic to acronyms, don&#8217;t read on. I&#8217;ve reached an all-time TLA/FLA density high in the following article!
THE PROBLEM
Who knows the passwords you use for your email accounts? Who knows the password you use for your FTP account? Who knows the password to your blog admin page? There might be more than you thought! [...]


Related posts:<ol><li><a href='http://blog.forret.com/2005/03/removal-of-serflogsumom-worm/' rel='bookmark' title='Permanent Link: Removal of Serflog/Sumom worm'>Removal of Serflog/Sumom worm</a> <small> My little niece had been trying for a while...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p><em>If you&#8217;re allergic to acronyms, don&#8217;t read on. I&#8217;ve reached an all-time <acronym title="Three Letter Acronym">TLA</acronym>/<acronym title="Four Letter Acronym">FLA</acronym> density high in the following article!</em></p>
<p><a href="http://www.flickr.com/photos/mfshadow/14497366/"><img style="float: right" src="http://farm1.static.flickr.com/10/14497366_fc714e4397_m.jpg" alt="Lock - photo by mfshadow" /></a><strong>THE PROBLEM</strong><br />
Who knows the passwords you use for your email accounts? Who knows the password you use for your FTP account? Who knows the password to your blog admin page? There might be more than you thought! </p>
<p>Imagine user John Doe, with username <em>jdoe</em> who has the &#8217;strong&#8217; password &#8220;<code>p@ssw0rd</code>&#8220;. Let&#8217;s take a look at what conversation happens when his Outlook/Thunderbird email client connects to check for new messages, or when he uploads a new version of his website with Filezilla/Dreamweaver:</p>
<p>This is a typical <a href="http://www.w3.org/Protocols/rfc959/">FTP conversation</a>:</p>
<pre>
Response:	220 (ID of the FTP server)
Command:	USER jdoe
Response:	331 Password required for jdoe.
Command:	PASS <strong>p@ssw0rd</strong>
Response:	230 User jdoe logged in.
Command:	...
</pre>
<p>This is a typical <a href="http://www.ietf.org/rfc/rfc1939.txt">POP3 (email) scenario</a></p>
<pre>
Command:	USER jdoe
Response:	+OK Password required for jdoe
Command:	PASS <strong>p@ssw0rd</strong>
Response:	+OK jdoe's maildrop has 2 messages (320 octets)
</pre>
<p><em>(remark: POP3 does have an APOP command that does not transfer the password in clear-text. It is however typically used for 2nd and following POP3 connections, using a piece of information that was given in the first transaction)</em></p>
<p><a href="http://www.flickr.com/photos/pforret/390226502/" title="Photo Sharing"><img style="float: right" src="http://farm1.static.flickr.com/134/390226502_34c2cc32a9_m.jpg" width="222" height="240" alt="Wordpress login" /></a>Even more scary: when you log in to your blog/CMS software (that does not use a Google, Yahoo, MSN or Passport account), how does your password reach the server, you think? Encrypted? Not!</p>
<p><span id="more-671"></span><br />
In all those cases, the password was sent to the server in <a href="http://en.wikipedia.org/wiki/Cleartext">clear text</a>, i.e. readable and copy-able. Why is that bad? Anyone that is in the possibility to intercept the conversation, will have access to your password. You think that&#8217;s improbable? Well, let me introduce you to an elementary tool of any system administrator: the <a href="http://en.wikipedia.org/wiki/Sniffer">packer sniffer</a> (e.g. <a href="http://www.ethereal.com/">Ethereal</a>). This program will tell a network card to switch to &#8216;<a href="http://en.wikipedia.org/wiki/Promiscuous_mode">promiscuous mode</a>&#8216; (listening to all network traffic instead of just those he participates in). It then allows the program to record any network conversation that passes on the local subnet (your office LAN, the Wifi network).</p>
<ul>
<li>a LAN administrator (that guy with the <a href="http://www.thinkgeek.com/tshirts/frustrations/31fb/">&#8220;I read your email&#8221; t-shirt</a>) can sniff anyone&#8217;s email (POP3) password and even the actual emails as they are downloaded by mail clients. I&#8217;m not saying he does, but he can.</li>
<li>that municipal Wifi network you connect to in that bar might also include a PC that records all FTP/POP3/HTTP conversations when they happen. You wouldn&#8217;t know.</li>
<li>same thing on conferences, meetings, when you just plug in or connect via Wifi to a network you don&#8217;t know.</li>
</ul>
<p>Are FTP (RFC959 from 1985) and POP3 (RFC1939 from 1988) bad protocols? Not necessarily, it&#8217;s just that they were developed in an era where knowledgeable hackers were few, sniffing tools weren&#8217;t that prevalent and security wasn&#8217;t that big an issue. <a href="http://www.ietf.org/rfc/rfc0821.txt">SMTP (RFC821 from 1982)</a> (for sending email instead of receiving) also started out with clear-text authentication, but since it was mostly used with only IP verification and without user/password, that was less of an issue. </p>
<p><strong>SOME SOLUTIONS</strong></p>
<ol>
<li>PROTOCOL LEVEL: most modern protocols have been created/adapted to provide a more secure way of authentication, typically using salts, hashes and/or challenge-response systems, resulting in exotic names like e.g. <a href="http://en.wikipedia.org/wiki/CRAM-MD5"><acronym title="challenge-response authentication mechanism (with hashing algorithm) Message-Digest 5">CRAM-MD5</acronym></a>.<br />
Protocol changes are tricky, because there is (certainly for SMTP, POP3, HTTP and the likes) a huge installed base of &#8216;old&#8217; servers and clients that all have to be updated/patched to accept the new commands. Thanks to SMTP&#8217;s historical lack of security/authentication features, we now have an enormous spam problem (because anyone can send email on behalf of anyone to anyone else). Numerous proposals have been made to solve this, but if they include changes to the protocol, typically they don&#8217;t happen.</li>
<li>TRANSPORT LEVEL: there is a generic mechanism based on PKI to start an authenticated and encrypted communication channel between two parties. It is called <a href="http://en.wikipedia.org/wiki/Transport_Layer_Security"><acronym title="Transport Layer Security">TLS</acronym></a> (successor of <acronym title="Secure Socket Layer">SSL</acronym>). Its best known application is HTTPS (URLs that start with <code>https://</code> and where the little lock is shown in the browser). But there is also FTPS, POP3S, SMTPS, IMAPS, &#8230; Since the protocol itself does not change, the server and client can be unaware of the fact that they run over a secure channel.<br />
A concrete example: using <a href="http://www.stunnel.org/">stunnel</a> to serve as <a href="http://www.stunnel.org/examples/encrypt_services.html">secure proxy of an insecure server</a>; all connections are encrypted between the outside world and the secure proxy, and the proxy just sends everything as-is to the actual server (but this insecure traffic is only visible on the server itself).
</li>
<li>CONNECTION LEVEL: going still a level deeper, we can encrypt <strong>all</strong> traffic between two points (as opposed to the previous transport level, where it is always about the encryption of 1 channel, between 1 client and 1 server). <a href="http://en.wikipedia.org/wiki/VPN"><acronym title="Virtual Private Network">VPN</acronym>s</a> work like that: you connect the client to the VPN server once, and all further traffic between them is encrypted. This is great for remote office connections and the like, but not an option for communicating with random servers.<br />
This model was also used by <a href="http://google.blognewschannel.com/index.php/archives/2005/09/19/google-pulls-the-other-leg-with-secure-access/">Google VPN for Wifi</a>: you connect to any (insecure) Wifi network and the first thing you do is create a connection to the Google VPN gateway. From that moment, all traffic goes encrypted to the gateway and only then to the Internet, so that any rogue clients on the local Wifi network cannot see/understand the traffic that is passing by. Google has however limited access the software to the users of Google Wifi, the network operated by Google in San Francisco.</li>
</ol>
<p>Next time: introduction into PKI encryption!</p>


<p>Related posts:<ol><li><a href='http://blog.forret.com/2005/03/removal-of-serflogsumom-worm/' rel='bookmark' title='Permanent Link: Removal of Serflog/Sumom worm'>Removal of Serflog/Sumom worm</a> <small> My little niece had been trying for a while...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.forret.com/2007/02/you-give-out-your-passwords-every-day/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Removal of Serflog/Sumom worm</title>
		<link>http://blog.forret.com/2005/03/removal-of-serflogsumom-worm/</link>
		<comments>http://blog.forret.com/2005/03/removal-of-serflogsumom-worm/#comments</comments>
		<pubDate>Sun, 20 Mar 2005 19:08:00 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://peter.smoothouse.com/2005/03/20/removal-of-serflogsumom-worm/</guid>
		<description><![CDATA[
My little niece had been trying for a while now to send me through MSN Messenger a picture called &#8220;How a Blonde Eats a Banana&#8221;. My reaction was, as any one&#8217;s should be: don&#8217;t know what she&#8217;s sending, nor why, there&#8217;s no prior conversation, no context, no nothing: I did not accept it. But I [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><img alt="Serflog/SumoM" src="http://www.pixagogo.com/S5vpfnjbBPdPk9Er9N5ggPszte3VuMbMS91wjDqub6sYLC57ulx0mKpeOYLb6CYl1ZmcZ8TIKJLRxHLqRRiDCabvntKyRfvS1Xs26tvVPekoBEgLVrJ6rqb7893wLRWWy7slRT6eatudQ_/sumom.jpg"/><br />
My little niece had been trying for a while now to send me through MSN Messenger a picture called &#8220;How a Blonde Eats a Banana&#8221;. My reaction was, as any one&#8217;s should be: don&#8217;t know what she&#8217;s sending, nor why, there&#8217;s no prior conversation, no context, no nothing: I did not accept it. But I did not think further about it. A couple of days later I found that a) the girl&#8217;s computer had a virus, b) the virus eagerly tried to infect other PCs via Messenger, and c) had succesfully accomplished that task in several cases. One of the victims handed over his PC to me (being the family geek and all). Since it was a nasty worm, and it took me some time to disable it, here is the procedure to follow:</p>
<ul>
<li>The virus is a worm called W32.Serflog.A, Win32.Bropia.U, Worm.Win32.Sumom.a, W32/Crog.worm or WORM_FATSO.A, depending on what anti-virus company site you visit. I used the information on the <a href="http://securityresponse.symantec.com/avcenter/venc/data/w32.serflog.a.html">Symantec (Norton Antivirus) site</a> to see how it locked itself to the PC.
</li>
<li>The worm does several things:
<ul>
<li>it tries to infect other PCs through Messenger (and eMule, but not too aggressively).
</li>
<li>It does not prevent users from &#8216;working&#8217; (surfing, email, &#8230;) so I can see some people doing nothing about it while the program keeps trying to multiply.
</li>
<li>And, most importantly, the worm makes it very hard for even an experienced user to desactivate or remove it.</li>
</ul>
</li>
<li>The worm starts itself up when Windows starts. Alas, you cannot use Task Manager to see and terminate this process. The invader immediately kills any window starting up that has &#8220;Task&#8221; in its title. You cannot visit the site of a vendor of antivirus software, because they have all been made inaccessible. You cannot delete its entries from the Registry because it kills the Regedit or Regedt32 applications from the moment they start. You cannot start a DOS Prompt, because &#8230; you get the picture.
</li>
<li>So what you do is the following: create command prompt with a different name. Go to the <code>C:\WINNT\system32</code> (Win2K) or <code>C:\Windows\System32</code> (WinXP) folder and copy the <code>cmd.exe</code> file to e.g. <code>whatever.exe</code>. Now doubleclick the last file, and you should get a command prompt (DOS box). The worm will not detect this.
</li>
<li>The worm works through 3 hidden .exe files: <code>%System%\formatsys.exe - %System%\serbw.exe - %Windir%\msmbw.exe</code>. We will deactivate them by making them accessible (non-hidden) and renaming them:<br />
<code>attrib -h serbw.exe<br />
ren serbw.exe die_sucker.dead</code> (and the same for the other 2)<br />
I first tried to delete the files, but that did not work. Renaming did work, though.
</li>
<li>Restart your computer. The worm will try to start up by one of the three .exe files, since they are now gone, it will not run. Now start up <code>regedit</code> and delete the hooks the worm had placed in the Registry (see Symantec page for details).
</li>
<li>Go to the <code>hosts</code> file (most likely in %SYSTEM%\drivers\etc\hosts) and delete the lines that made the antivirus vendors unavailable. (See Symantec page for details)
</li>
<li>Switch off the computer, hit yourself on the head and go and buy an antivirus program. What were you thinking? The virus would have been detected and cleaned by: <a href="http://www.f-secure.com/v-descs/sumom_a.shtml">F-Secure</a> &#8211; <a href="http://securityresponse.symantec.com/avcenter/venc/data/w32.serflog.a.html">Norton</a> &#8211; <a href="http://www.sophos.com/virusinfo/analyses/w32sumoma.html">Sophos</a> &#8211; <a href="http://vil.nai.com/vil/content/v_132209.htm">McAfee</a> &#8211; <a href="http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=WORM_FATSO.A">TrendMicro</a> &#8211; &#8230;<br />
If you have been infected by it, you know you are too gullible to surf the Internet without protection.
</li>
</ul>
<p>These instructions should work on any Windows installation. You might use <a href="http://securityresponse.symantec.com/avcenter/venc/data/w32.serflog.a.html#removalinstructions">Symantec&#8217;s removal tool</a>, but I had no Internet connection when I was struggling with the intruder. Took me about thirty minutes to figure out a way to circumvent the vicious sucker.</p>
<p>Is this a really nasty piece of software? Yes. Do I admire the person who wrote it? Not at all. It&#8217;s not clever engineering, just malevolent. </p>
<p>Technorati: <a href="http://technorati.com/tag/virus" rel="tag">virus</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.forret.com/2005/03/removal-of-serflogsumom-worm/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.779 seconds -->
