<?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>trivia &#187; security</title>
	<atom:link href="http://baldric.net/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://baldric.net</link>
	<description>another voice in the babble on the net</description>
	<lastBuildDate>Sat, 19 May 2012 20:18:49 +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>cheap?</title>
		<link>http://baldric.net/2012/04/24/cheap/</link>
		<comments>http://baldric.net/2012/04/24/cheap/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 12:24:24 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[network (in)security]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[network security]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1569</guid>
		<description><![CDATA[Michal Zalewski (aka lcamtuf) has just announced that google is changing the terms of its vulnerability purchase program. The google announcement says: Today, to celebrate the success of [the program] and to underscore our commitment to security, we are rolling out updated rules for our program — including new reward amounts for critical bugs: $20,000 &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2012/04/24/cheap/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Michal Zalewski (aka lcamtuf) has just announced that google is changing the terms of <a href="http://googleonlinesecurity.blogspot.co.uk/2012/04/spurring-more-vulnerability-research.html">its vulnerability purchase program.</a> The google announcement says:</p>
<blockquote><p>Today, to celebrate the success of [the program] and to underscore our commitment to security, we are rolling out updated rules for our program — including new reward amounts for critical bugs:</p>
<ul>
<li>$20,000 for qualifying vulnerabilities that the reward panel determines will allow code execution on our production systems.</li>
<li>$10,000 for SQL injection and equivalent vulnerabilities; and for certain types of information disclosure, authentication, and authorization bypass bugs.</li>
<li>Up to $3,133.7 for many types of XSS, XSRF, and other high-impact flaws in highly sensitive applications.</li>
</ul>
</blockquote>
<p>Interestingly, the earlier part of the announcement says that the existing program resulted in:</p>
<blockquote><p>
&#8220;over 780 qualifying vulnerability reports that span across the hundreds of Google-developed services, as well as the software written by fifty or so companies that we have acquired. In just over a year, the program paid out around $460,000 to roughly 200 individuals.&#8221;
</p></blockquote>
<p>So, depending upon how you do the arithmetic, over the last year google paid out around $590 per vulnerability, or around $2300 per researcher. Whatever your views on the merits or otherwise of paying for vulnerabilities, that strikes me as pretty cheap, in all senses of the word.</p>
<p>As an aside, I found it amusing that the first commenter on the google posting was one Andrew Wallace, who styles himself an &#8220;Independent Consultant&#8221;. Wallace has been making a nuisance of himself around various security related mail lists and web fora for a while now. He used to post as &#8220;n3td3v&#8221; or latterly, as &#8220;Andrew from n3td3v&#8221;. Back in July 2010, <a href="http://www.wirelessforums.org/comp-security-misc/how-did-cyber-terrorist-tavis-ormandy-get-job-google-96726.html">Wallace labelled the google researcher Tavis Ormandy</a> a &#8220;cyber terrorist&#8221; following Ormandy&#8217;s rather public disclosure of a nasty vulnerability he believed Microsoft were trying to hide. Interested (or bored) readers are invited to search the &#8216;net for Andrew Wallace, n3td3v. </p>
<p>It is also worth recording that as a result of Ormandy&#8217;s (some may say &#8220;premature&#8221;) disclosure in June 2010, after an initial furious response from Mike Reavey, Head of MSRC, Microsoft went on to devise and publish a new <a href="go.microsoft.com/?linkid=9770197"> &#8220;Coordinated Vulnerability Disclosure&#8221;</a> policy (warning, MS docx format document) covering the disclosure of &#8220;zero day&#8221; vulnerabilities in other vendor&#8217;s products.</p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/04/24/cheap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>now switch it back on</title>
		<link>http://baldric.net/2012/04/18/now-switch-it-back-on/</link>
		<comments>http://baldric.net/2012/04/18/now-switch-it-back-on/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 16:15:24 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[network (in)security]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[network security]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1562</guid>
		<description><![CDATA[Bugtraq can be an interesting list. Back in June 2008 I noted that one Craig Wright had posted an advisory about a vulnerability in an Oral B toothbrush. Well, just over a week ago a chap called Gabriel Menezes Nunes posted a proof of concept remote denial of service attack on a Sony Bravia television &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2012/04/18/now-switch-it-back-on/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Bugtraq can be an interesting list. Back in June 2008 I noted that one Craig Wright had posted an advisory about a <a href="http://baldric.net/2008/06/19/dental-dos/">vulnerability in an Oral B toothbrush</a>. Well, just over a week ago a chap called Gabriel Menezes Nunes posted a proof of concept remote denial of service attack on a Sony Bravia television set. He had discovered that a packet flood attack to any port on his TV using the tool <a href="http://www.hping.org/">&#8220;hping&#8221;</a> would cause a denial of service. In his post he says:</p>
<blockquote><p>
&#8220;After 35 seconds the TV stop working and back. This happens 3 times. At fourth time, the TV shuts down. In less than 3 minutes, the TV is off remotely. It is necessary to turn on the TV physically.&#8221;
</p></blockquote>
<p>I can&#8217;t help thinking that using the normal remote control would have been easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/04/18/now-switch-it-back-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>battle for the internet</title>
		<link>http://baldric.net/2012/04/17/battle-for-the-internet/</link>
		<comments>http://baldric.net/2012/04/17/battle-for-the-internet/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 16:09:45 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1550</guid>
		<description><![CDATA[This week the guardian, my newspaper of choice, is running a week long series of articles under the theme &#8220;battle for the internet&#8220;. The reporting looks set to be interesting and is due to cover the following themes: &#8220;the militarisation of cyberspace&#8221;, &#8220;the new walled gardens&#8221;, &#8220;IP wars&#8221;, &#8220;civilising the web&#8221;, &#8220;open resistance&#8221;, and (doomladen &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2012/04/17/battle-for-the-internet/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>This week the guardian, my newspaper of choice, is running a week long series of articles under the theme &#8220;<a href="http://www.guardian.co.uk/technology/series/battle-for-the-internet">battle for the internet</a>&#8220;. The reporting looks set to be interesting and is due to cover the following themes: &#8220;the militarisation of cyberspace&#8221;, &#8220;the new walled gardens&#8221;, &#8220;IP wars&#8221;, &#8220;civilising the web&#8221;, &#8220;open resistance&#8221;, and (doomladen prophecy) &#8220;the end of privacy&#8221;. Personally I find the terms &#8220;cyberspace/cyberwar/cyberjihad/cyberwhatever&#8221; a horrible americanisation, but unfortunately the labels seem to have gained some traction even here in the UK. Whatever, it is at least refreshing that a mainstream newspaper (the guardian <em>is</em> mainstream, right?) should be taking a look at the issues rather than leaving it to the specialist press.</p>
<p>Yesterday&#8217;s reporting though was a hoot. The paper led with a <a href="http://www.guardian.co.uk/technology/2012/apr/15/web-freedom-threat-google-brin">front page article</a> reporting an interview with Sergey Brin. Brin is reported to have said:</p>
<blockquote><p>&#8220;there are very powerful forces that have lined up against the open internet on all sides and around the world&#8221;. and &#8220;I am more worried than I have been in the past, it&#8217;s scary.&#8221;</p></blockquote>
<p>OK &#8211; I can see how there could be a number of possible threats to the continued existence of the sort of open and collaborative &#8216;net that I so admire. But the guardian article went on to say: </p>
<blockquote><p>&#8220;The threat to the freedom of the internet comes, he claims, from a combination of governments increasingly trying to control access and communication by their citizens, the entertainment industry&#8217;s attempts to crack down on piracy, and the rise of &#8220;restrictive&#8221; walled gardens such as Facebook and Apple, which tightly control what software can be released on their platforms.&#8221;</p>
<p>&#8220;He said he was most concerned by the efforts of countries such as China, Saudi Arabia and Iran to censor and restrict use of the internet, but warned that the rise of Facebook and Apple, which have their own proprietary platforms and control access to their users, risked stifling innovation and balkanising the web.&#8221;</p></blockquote>
<p>and moreover</p>
<blockquote><p>&#8220;There&#8217;s a lot to be lost,&#8221; he said. &#8220;For example, all the information in apps – that data is not crawlable by web crawlers. You can&#8217;t search it.&#8221;"</p></blockquote>
<p>So: along with restrictive regimes and an entertainment industry fighting to retain a lost business model, according to the world&#8217;s largest infringer of personal privacy, one of the biggest threats to the internet is the fact that apple and facebook won&#8217;t let google search the data they have gathered.</p>
<p>Is it just me? Or is this bonkers?</p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/04/17/battle-for-the-internet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>unlinked</title>
		<link>http://baldric.net/2012/03/19/unlinked/</link>
		<comments>http://baldric.net/2012/03/19/unlinked/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 14:39:33 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[mail and mail lists]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1488</guid>
		<description><![CDATA[Today I received two (make that four now &#8211; must sort out my spam filters) phishing emails from a source new to me. Each email purported to come from &#8220;linkedin&#8221; and each invited me to login to respond to &#8220;invitations from your work colleague&#8221;. Since a) I have never been a member of linkedin, and &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2012/03/19/unlinked/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Today I received two (make that four now &#8211; must sort out my spam filters) phishing emails from a source new to me. Each email purported to come from &#8220;<a href="http://www.linkedin.com/">linkedin</a>&#8221; and each invited me to login to respond to &#8220;invitations from your work colleague&#8221;. Since a) I have never been a member of linkedin, and b) am retired, the invitations immediately looked suspect, but the return address looked real at first sight. That is, until I looked more closely. The actual address used was linkedln.com (with a second letter &#8220;l&#8221;) rather than the correct linkedin.com. </p>
<p>Nice try.</p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/03/19/unlinked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>banking stupidity</title>
		<link>http://baldric.net/2012/03/06/banking-stupidity/</link>
		<comments>http://baldric.net/2012/03/06/banking-stupidity/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 13:57:49 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[network (in)security]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[internet banking]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1450</guid>
		<description><![CDATA[When I logged on to my new bank site this morning, I tried the &#8220;help&#8221; offered on the opening screen just to see what they had to say about the range of options available. I was not best pleased to be greeted by the message &#8220;Flash is not installed, is not enabled or is not &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2012/03/06/banking-stupidity/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>When I logged on to my new bank site this morning, I tried the &#8220;help&#8221; offered on the opening screen just to see what they had to say about the range of options available. I was not best pleased to be greeted by the message &#8220;Flash is not installed, is not enabled or is not up to date&#8221; together with a nice big button marked &#8220;Get Adobe Flash Player&#8221;. No &#8211; I don&#8217;t think so.</p>
<p>Adobe products have an unfortunate history of critical vulnerabilities. Indeed, only a couple of weeks ago they <a href="https://www.adobe.com/support/security/bulletins/apsb12-03.html">released a patch</a> for a critical vulnerability in Adobe Flash Player 11.1 and earlier for Windows, Macintosh, Linux and Solaris. It wasn&#8217;t the first, and it certainly won&#8217;t be the last. There are probably a whole bunch of zero days out there primed and ready for use.</p>
<p>I do not want to see flash on one of the most critical sites I use. And I have told my new bank exactly that. Watch this space.</p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/03/06/banking-stupidity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>am I kidding myself</title>
		<link>http://baldric.net/2012/03/04/am-i-kidding-myself/</link>
		<comments>http://baldric.net/2012/03/04/am-i-kidding-myself/#comments</comments>
		<pubDate>Sun, 04 Mar 2012 17:00:09 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[linux and unix]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[internet banking]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1436</guid>
		<description><![CDATA[I have recently moved my bank current and short term savings accounts. Partly this is a political statement in support of the move your money campaign, and partly because I feel that my money might actually be a bit safer (if only slightly) in a small UK Mutual than with the UK arm of a &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2012/03/04/am-i-kidding-myself/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>I have recently moved my bank current and short term savings accounts. Partly this is a political statement in support of the <a href="http://www.moveyourmoney.org.uk/">move your money</a> campaign, and partly because I feel that my money might actually be a bit safer (if only slightly) in a small UK Mutual than with the UK arm of a large Spanish Bank. However, my reason for mentioning this here is that the move gave me the opportunity to compare the on-line mechanisms of both my old and new providers and it also got me thinking again about the way I actually do my on-line banking.</p>
<p>As you would expect, I do all my on-line financial transactions from my linux desktop. Given the prevalence of sophisticated <a href="https://www4.symantec.com/mktginfo/whitepaper/user_authentication/21195180_WP_GA_BankingTrojansImpactandDefendAgainstTrojanFraud_062611.pdf">banking trojans (PDF file)</a> such as ZeuS, I really don&#8217;t see how anyone could comfortably use a windows based machine, even one fully patched, with up to date virus protection and firewall in place. But I go further than just using my desktop, I actually only log on from a second desktop within a <a href="https://www.virtualbox.org/">virtualbox</a> VM. Further, the browser I use in that VM is as stripped of functionality as is possible (no addons, no plugins, defaults to block cookies etc.) and only ever connects to my bank(s) and no other sites. Unfortunately, the banks insist on cookies and javascript so I have to enable those selectively. </p>
<p>The thinking here is that my browser is the least secure (and probably most targeted) application on my desktop. So if I use a browser which I know has not connected to anything other than the two or three financial sites I trust, I should be relatively safe. Shouldn&#8217;t I? (OK, DNS poisoning could have redirected the browser to fake sites, but you get the drift I&#8217;m sure). And the best way to be sure that the browser I use is nailed down, and uncorrupted, is to run that browser from a separate machine. However, separate physical machines are expensive and it is tedious to have to fire up another box just to handle my banking when I could do it all from a VM. </p>
<p>But if my main desktop is already compromised (with say a key logger) how safe am I? One of the nice features of virtualbox is its ability to capture both the keyboard and the mouse automatically whenever the guest OS is in focus. For example, on starting a new guest OS, virtualbox says &#8220;You have the auto capture keyboard option turned on. This will cause the VM to automatically capture the keyboard every time the VM window is activated and make it unavailable to other applications running on your host machine.&#8221; So theoretically, all keypresses will be intercepted by virtualbox and will be invisible to the underlying host OS and its applications. But does this apply to a keylogger trojan already in the host OS? I guess that depends on the trojan and where within the complex stack of kernel, kernel modules, virtualbox and applications it actually hooks itself. But after revisiting and pondering upon my previous assumptions during the move of my accounts, I can&#8217;t help feeling that my (rather elaborate) security mechanisms are actually no more than a nice warm security blanket. </p>
<p>But they do make me <strong><em>feel</em></strong> safer&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/03/04/am-i-kidding-myself/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>t-mobile resets its policy?</title>
		<link>http://baldric.net/2012/01/12/t-mobile-resets-its-policy/</link>
		<comments>http://baldric.net/2012/01/12/t-mobile-resets-its-policy/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 22:07:10 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[network (in)security]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[ISP]]></category>
		<category><![CDATA[network security]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[securit]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1256</guid>
		<description><![CDATA[As I have mentioned in other posts here, I run my own mail server on one of my VMs. I do this for a variety of reasons, but the main one is that I like to control my own network destiny. Back in October last year I noticed an interesting change in my mail experience &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2012/01/12/t-mobile-resets-its-policy/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>As I have mentioned in other posts here, I run my own mail server on one of my VMs. I do this for a variety of reasons, but the main one is that I like to control my own network destiny. Back in October last year I noticed an interesting change in my mail experience with my HTC mobile (actually my wife first noticed it and blamed me, assuming that I had &#8220;twiddled with something&#8221; as she put it). Heaven forfend.</p>
<p>My mail setup is postfix/dovecot with SASL authentication and TLS protecting the mail authentication exchange. My X509 certs are self generated (and so not signed by any CA). I pick up mail over IMAPS (when mobile) and POP3S (at home &#8211; for perverse reasons of history I like to actually download mail to my main desktop over POP3 and archive it to two separate NAS backups). I send via the standard SMTP port 25 but require authentication and protect the exchange with TLS.  </p>
<p>My mail had been working fine ever since I set it up some years ago, but as I said, back in October my wife complained that she could no longer send email from her HTC mobile (we both use t-mobile as the network provider). She was at work at the time so away from my home network. Both our phones are setup to use use wifi for connectivity where it is available (as it is at home of course). When my wife complained I checked my phone and it could send and receive without problem. But when I switched wifi off, thus forcing the data connection though the mobile network, I got the same problem as my wife reported. On checking my mail server logs I read this:</p>
<blockquote><p>postfix/smtpd[28089]: connect from unknown[149.254.186.120]<br />
postfix/smtpd[28089]: warning: network_biopair_interop: error reading 11 bytes from the network: Connection reset by peer<br />
postfix/smtpd[28089]: SSL_accept error from unknown[149.254.186.120]:-1<br />
postfix/smtpd[28089]: lost connection after STARTTLS from unknown[149.254.186.120]<br />
postfix/smtpd[28089]: disconnect from unknown[149.254.186.120]</p></blockquote>
<p>(the ip address is one of t-mobile&#8217;s servers on their &#8220;TMUK-WBR-N2&#8243; network)</p>
<p>Everything I could find about that sort of message suggested that the client was tearing down the connection because there was something wrong with the TLS handshake and it was not trusted. Checking earlier logs, I found that t-mobile&#8217;s address had apparently changed (to the address above) recently. So I assumed that some recent network change following the Orange/T-mobile merger had been badly managed and all would be well again as soon as the problem was spotted. Wrong. It persisted. So I had to investigate further. As part of my investigation of the error, I tried moving mail from port 25 to 587 (submission) because that sometimes gets around the problem of ISPs blocking, or otherwise interfering, with outbound connections from their networks to port 25, No deal. In fact it looked as if t-mobile were blocking all connections to port 587 (I assumed a whitelisting policy block, or again, a cockup).</p>
<p>So, the scenario was: mail works when connecting over wifi and using my domestic ISP&#8217;s network, but doesn&#8217;t when using t-mobile&#8217;s 3G network. Symptoms point to a lack of trust in the TLS handshake. Tentative conclusion? There is an SSL/TLS proxy somewhere in the mobile operator&#8217;s chain. That proxy sucessfully negotiates with our phones, but when it gets my self certified X509 cert from the server. it can&#8217;t authenticate it and decides that the connection is untrusted so tears it down. My server sees this as the client (my phone) tearing down the connection. [As it turns out, this conclusion was completely wrong, but hey].</p>
<p>I said in an email at the time to a friend whose advice I was seeking, &#8220;I suspect cockup rather than outright conspiracy, but if my telco is dumb enough to stick a MITM ssl proxy in my mail chain, they really ought to have thought about handling self signed certs a little better. Otherwise it sort of gives the game away.&#8221;</p>
<p>In response, he very sensibly suggested that I should run a sniffer on the server and check what was going on. At that time, I was busy doing something else so I didn&#8217;t. And because the problem was intermittent (and my wife stopped complaining) I never got around to properly investigating further. (I should explain that I rarely send mail from my mobile nowadays. I just read mail there and wait until I get home to a decent keyboard and can reply to whatever needs handling from there. My wife just gave up bothering to try).     </p>
<p>I should have persisted because of course I wasn&#8217;t the only one to experience this problem.  </p>
<p>Back in November, a member of the t-mobile discussion forum called &#8220;dpg&#8221; <a href="http://support.t-mobile.co.uk/discussions/index?page=forums&#038;topic=80101915a8144e01337e648aca002435&#038;messageit.offset=0">posted</a> a message complaining that he could not connect to port 587 over t-mobile&#8217;s 3G network. In response, a member of the t-mobile forum team suggested that dpg might reconfigure his email so that it was relayed via t-mobile&#8217;s own SMTP server. Not unreasonably, dpg didn&#8217;t think this was an acceptable response &#8211; not least because he would then have to send his email in clear. He then posted again saying that &#8220;the TLS handshake fails when the mail client receives a TCP packet with the reset (RST) flag set.&#8221; (This is a <strong>bad thing (TM).</strong> Further, he posted again saying that he had set up his own mail server and repeated earlier tests so that he could see both ends of the connection. At the client side he posted mail from his laptop tethered to his phone which was connected to the t-mobile 3G network. By running sniffers at both ends of the connection he was able to prove to his own satisfaction that something in the t-mobile network was sending a RST and tearing down any connection when a STARTTLS was seen. Again, in a later post in response to one from another poster who apparently manages several mail servers and had been looking at the same issue for a client, dpg says:</p>
<blockquote><p>&#8220;I must say I&#8217;m not too pleased to discover that T-Mobile may be snooping all traffic to check for SMTP messages. I have demonstrated that they may be doing this by running a SMTP server on a non-standard port and finding that they still sent TCP reset packets during TLS negotiation &#8211; so they must be examining all packets and not just those destined for TCP ports 25 and 587.</p>
<p>I&#8217;m also not that keen on T-Mobile spoofing/forging TCP resets. This is the sort of tactic resorted to by the Great Firewall of China (http://www.lightbluetouchpaper.org/2006/06/27/ignoring-the-great-firewall-of-china/) and also by Comcast back in 2007 (https://www.eff.org/wp/packet-forgery-isps-report-comcast-affair) until the US FCC told them to stop (http://hraunfoss.fcc.gov/edocs_public/attachmatch/FCC-08-183A1.pdf).&#8221;
</p></blockquote>
<p>Then 9 days ago, dpg posted this message:</p>
<blockquote><p>&#8220;I finally got to the bottom of this. I was contacted by T-Mobile technical support today and was told that they are now actively looking for and blocking any TLS-secured SMTP sessions. So, it is a deliberate policy after all, despite what the support staff have been saying on here, twitter and on 150. They told me it is something they have been rolling out over the last three months &#8211; which explains why it was intermittent and dependent on IP address and APN to begin with.</p>
<p>So, the only options for sending email over T-Mobile&#8217;s network are:<br />
- unencrypted but authenticated SMTP (usually on port 25)<br />
- SSL-encrypted SMTP (usually on port 465)<br />
- unauthenticated and unencrypted email to smtp.t-email.co.uk</p>
<p>TLS-encrypted SMTP sessions are always blocked whether or not they are on the default port of 587.&#8221;
</p></blockquote>
<p>(As an aside, there is, of course, another alternative. You can ditch t-mobile as your provider and pick one which doesn&#8217;t use DPI to screw your connections. You pays your money&#8230;.)</p>
<p>Following this, a new poster called &#8220;mickeyc&#8221; said this:</p>
<blockquote><p>&#8220;I&#8217;ve been experiencing this exact same problem. I run my own mail server which has SSL on port 465 and also uses TLS on port 587. I used wireshark to confirm that the RST packets are being spoofed. This is the exact same technology used by &#8220;The Great Firewall of China&#8221;. I have two t-mobile sims. One is about a year old and doesn&#8217;t experience this problem (yet), one is a few weeks old and does.&#8221;
</p></blockquote>
<p>He went to say that he had also experienced problems with his OpenVPN connections and would be blogging about the problem (damned bloggers get everywhere) and sure enough, Mike Cardwell did so at <a href="https://grepular.com/Punching_through_The_Great_Firewall_of_TMobile">grepular.com</a>. That blog post is worth reading because it has an interesting set of comments and responses from Mike appended.</p>
<p>Mike&#8217;s post seems to have been picked up by a few others (El Reg <a href="http://www.theregister.co.uk/2012/01/11/t_mobile_security/">has one</a>, and as Mike himself has pointed out, boingboing.net has a particularly <a href="http://boingboing.net/2012/01/10/t-mobile-uk-is-secretly-disrup.html">OTT post</a> which seems to say that he is accusing t-mobile of something he clearly isn&#8217;t. </p>
<p>Finally, two days ago, dpg posted this:</p>
<blockquote><p>
&#8220;I&#8217;m pleased to report that T-Mobile is no longer blocking TLS-secured email on port 587. As a follow-up to an email exchange over the Christmas period I was contacted today to say that, contrary to what I had been told previously, it was never a deliberate policy to block TLS-secured outgoing email. There was a problem with some equipment after all, which was resolved yesterday.&#8221;
</p></blockquote>
<p>I tried again myself today. Initially, I got the same old symptoms (&#8220;lost connection after STARTTLS&#8221;) then I rebooted my &#8216;phone and lo and behold I could send email.</p>
<p>Like Mike, I tend to the cockup over conspiracy theory, it&#8217;s more likely for one thing. IANAL, but it seems to me that it would be in breach of RIPA part I, Unlawful Interception, for the telco to intercept my SMTP traffic in the way it seems to have been doing. That is not likely to be a deliberate act by a major UK mobile network provider.</p>
<p>But I&#8217;ll still keep an eye on things. </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2012/01/12/t-mobile-resets-its-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tunnelling X over ssh</title>
		<link>http://baldric.net/2011/12/19/tunnelling-x-over-ssh/</link>
		<comments>http://baldric.net/2011/12/19/tunnelling-x-over-ssh/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 20:18:14 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[coding and admin]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[linux and unix]]></category>
		<category><![CDATA[network (in)security]]></category>
		<category><![CDATA[networks and networking]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tips, tricks and howtos]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[network security]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks and howtos]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=1233</guid>
		<description><![CDATA[OK, yes, I know there are probably already a gazillion web pages on the &#8216;net explaining exactly how to do this, but I got caught out by a silly gotcha when I tried to do this a couple of days ago, so I thought I&#8217;d post a note. Firstly, X is not exactly a secure &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2011/12/19/tunnelling-x-over-ssh/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>OK, yes, I know there are probably already a gazillion web pages on the &#8216;net explaining exactly how to do this, but I got caught out by a silly gotcha when I tried to do this a couple of days ago, so I thought I&#8217;d post a note.</p>
<p>Firstly, X is not exactly a secure protocol, nor is it easy to filter at NAT firewalls, so the ability to tunnel it over ssh is hugely welcome. In fact, ssh can be used to tunnel practically any other protocol you care to name, so it should be your first port of call should you wish to connect to a remote system using an insecure protocol. (I use it to wrap rsync for example). </p>
<p>I don&#8217;t run X on my VMs (there is no need, they don&#8217;t run desktop software) and I had not previously seen the need to run X based graphical programs on those servers. However, a couple of days ago I thought it would be really useful to run etherape on one particular remote server so that I could watch the traffic patterns. Normally I use iptraf (which is ncurses based) when I want to monitor network traffic in real time, but etherape is pretty cool and gives a nice graphical view of your network connections. But it runs on an X based gui.</p>
<p>So. I changed the remote server&#8217;s sshd_config to enable X forwarding (<strong>&#8220;X11Forwarding no&#8221;</strong> becomes <strong>&#8220;X11Forwarding yes&#8221;</strong>) and restarted sshd. On my desktop I similarly changed my local ssh_config file to allow X forwarding (<strong>&#8220;ForwardX11 no&#8221;</strong> becomes <strong>&#8220;ForwardX11 yes&#8221;</strong>) to obviate the need to use the -X switch on the command line. I then installed etherape on the remote server and fired it up only to get the message <strong>&#8220;Error: no display specified&#8221;</strong>. Sure enough <strong>&#8220;echo $DISPLAY&#8221;</strong> showed nothing. But I had thought (and everything I had read confirmed) that ssh should take care of setting the appropriate display when X11 forwarding was set. </p>
<p>So I then tried setting a display manually (<strong>export DISPLAY=localhost:10.0</strong> on the remote server) and then got the response <strong>&#8220;Error: cannot open display: localhost:10.0&#8243;</strong>. So, still no deal.  I spent some time scratching my head (and reading man pages) and sent off a query to my local Linux User group in parallel asking for advice. They were gentle with me.</p>
<p>The first, and rapid, response, said: </p>
<blockquote><p>On the server:</p>
<p>    sudo apt-get install xauth</p>
<p>Then disconnect and reconnect the client.</p>
<p>Jobs a good un.</p></blockquote>
<p>Thank you Brett.</p>
<p>So the moral is, make sure that you have X authorisation working properly on the remote system (check for the existence of $HOME/.Xauthority) if you experience the same symptoms I did. </p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2011/12/19/tunnelling-x-over-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>click here</title>
		<link>http://baldric.net/2011/01/23/click-here/</link>
		<comments>http://baldric.net/2011/01/23/click-here/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 18:04:59 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[trivial musing]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=713</guid>
		<description><![CDATA[The Cory Doctorow article referenced at the end of the post below mentions URL shorteners as potentially dangerous because they completely obscure the actual URL you will be taken to if you click them. By way of experiment I thought I&#8217;d post one here just to see how often it is used.]]></description>
			<content:encoded><![CDATA[<p>The Cory Doctorow article referenced at the end of the post below mentions URL shorteners as potentially dangerous because they completely obscure the actual URL you will be taken to if you click them. By way of experiment I thought I&#8217;d post one <a href="http://bit.ly/giGLo2">here</a> just to see how often it is used.</p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2011/01/23/click-here/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>damn, I think I got hit by a 419er</title>
		<link>http://baldric.net/2011/01/23/damn-i-think-i-got-hit-by-a-419er/</link>
		<comments>http://baldric.net/2011/01/23/damn-i-think-i-got-hit-by-a-419er/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 17:50:08 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[trivial musing]]></category>
		<category><![CDATA[anonymity]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[network security]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://baldric.net/?p=709</guid>
		<description><![CDATA[I am normally pretty careful about my on-line security and privacy. I take a lot of care to ensure that my home network is nailed down tightly and all the clients and servers on it are also nailed down as well as I know how. I don&#8217;t use software which is susceptible to the majority &#8230; </p><p><a class="more-link block-button" href="http://baldric.net/2011/01/23/damn-i-think-i-got-hit-by-a-419er/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>I am normally pretty careful about my on-line security and privacy. I take a lot of care to ensure that my home network is nailed down tightly and all the clients and servers on it are also nailed down as well as I know how. I don&#8217;t use software which is susceptible to the majority of the malware out there; my browser is nailed down as tightly as I can get it whilst still allowing it to be useful (roll on HTML5, I hate flash, but it is so damned useful); I do some, very specific, browsing (such as on-line banking) from within a VM and do not use that browser or machine for anything except that specific activity;  I routinely bin cookies and flash LSOs (in fact I find it better to disallow all LSOs in the first place); this blog does not include any email addresses harvestable by &#8216;bots; my email client is a niche (i.e. minority) product and is configured only to allow text (no HTML or embedded images or webbugs); I use tor when I want to be as anonymous as possible; my<a href="http://baldric.net/2008/09/12/webanalytics-just-say-no/"> local DNS server blocks</a> access to a whole range of addresses I don&#8217;t like; and I never respond to unsolicited email.</p>
<p>But I got phished. Damn. </p>
<p>Here&#8217;s what happened.</p>
<p>I advertised an unwanted mobile phone on <a href="http://www.gumtree.com/">gumtree</a>. I chose gumtree in preference to ebay because a) adverts are free, and b) gumtree allows you to target the advertising to a specific location. I like this idea because it means you can say &#8220;I&#8217;ve got a doohickey for sale in South London. Come and see it and pay cash if you want it&#8221;.  My ad gave details of the item for sale and, as is recommended, I chose to have responses emailed to me. Here I made mistake number one &#8211; I used my normal email address rather than a disposable one. To be fair, gumtree don&#8217;t expose any of your private details, they just forward any responses to the address you give. Here&#8217;s where I made mistake number two, I responded to queries about the ad from the address given to gumtree. Damn. Idiot. So stupid.</p>
<p>So why do I think the responses weren&#8217;t kosher? Well there were a number of giveaways. Firstly the requests were for information already in the ad (&#8220;how much do you want?&#8221;); secondly, there were a suspiciously high number of &#8220;spilling misteaks&#8221; in the emails; thirdly, the correspondent wanted me to mail the &#8216;phone to a location outside the UK (&#8220;Thanks for your quick respond actually i will love to buy the Ad for my Daughter who is currently studying at British international college (BIC) in West Africa so am willing to pay you additional £48.76 for the shipping via Express Air Mail.&#8221; (sic)); fourthly, the respondents all seemed desperately keen for me to accept paypal as the preferred payment option. I&#8217;m normally quicker on the uptake than this, but sadly it took me four or five emails to realise that there was a pattern here and that the people after the phone seemed to be following a script and were completely ignoring my responses. Here&#8217;s a sample: </p>
<blockquote><p>Someone calling him or her self  &#8220;Janet Mason&#8221;:</p>
<p>&#8220;Hello Seller,<br />
Can I know the condition of the item? I think you will accept PayPal. And I will pay the postage and packing cost for the item. If you can send me paypal payment request now and I will make the payment straight away without any delay. Hope to hear from you very soon.&#8221;</p>
<p>My response:</p>
<p>&#8220;Janet</p>
<p>As the ad say, the phone is in &#8220;as new condition&#8221;. This means what it says. The phone is completely clean and has no visible markings or scratches.&#8221;</p>
<p>&#8220;Janet&#8217;s&#8221; reply:</p>
<p>&#8220;Ok send me your paypal Payment request now so that I can make the payment now.&#8221;</p>
<p>My response:</p>
<p>&#8220;I&#8217;d like a bit more detail first please.</p>
<p>Where are you? (Full address and telephone mumber so that I can confirm that I am sending to &#8220;Janet Mason&#8221;.</p>
<p>Details of your confirmed paypal account (so that I know that Paypal have verifed you).</p>
<p>If you want to know why I am concerned please read the paypal guidance for sellers &#8211; particularly the bit about sending only to UK or US based addresses and getting signatures on receipt of goods.</p>
<p>I have received several requests to send the phone to &#8220;my daughter/son/nephew&#8221; or whatever in various Countries outside the EU. I am naturally suspicious.&#8221;</p>
<p>&#8220;Janet&#8221; then says:</p>
<p>&#8220;Hello, <br />
Am in London right now but due to the nature of my work here in London I will not be able to post the item to my Business Partner Daughter in Nigeria as a New Year Gift. But I will pay for the postage and packing cost via FedEX. Get back to me with your paypal payment request now so that I can make the payment now and get the item posted out tomorrow Morning.&#8221;
</p></blockquote>
<p>Correspondence ends&#8230;..</p>
<p>Now whilst I have not lost the &#8216;phone, I have verified a usable email address to a bunch of scammers. I expect my spam volume to that address to increase dramatically.  Never mind though, I&#8217;m not alone in losing out to the bad guys, and at least I haven&#8217;t <a href="http://www.locusmag.com/Perspectives/2010/05/cory-doctorow-persistence-pays-parasites/">lost any passwords</a> in the process.</p>
<p>Still, I&#8217;m pretty pissed off.</p>
]]></content:encoded>
			<wfw:commentRss>http://baldric.net/2011/01/23/damn-i-think-i-got-hit-by-a-419er/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

