<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" 
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  xmlns:admin="http://webns.net/mvcb/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

<channel>
<title>Cynical Security</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/</link>
<description>What you will find here are the uncensored views of someone who has been dabbling in security for a long time and sadly finds himself agreeing profoundly with Ben Laurie: &quot;why do I bother?&quot;.

When in a good mood there are plenty of constructive, even positive, answers to Ben&apos;s question.  Sadly most of the time we are firefighting down in the depths of our machine rooms, oblivious to the fact that it might be worth fighting for a lost cause like computer security.  

What follows is that security people need to let off the steam which accumulates and occasionally they come up with something worth saying.  Most of the time they don&apos;t, they are like crying drunkards banging their heads in desperation and solving their problems by getting deeper into security that nobody will ever read or care about.
</description>
<dc:language>en_GB</dc:language>
<dc:creator>arrigo@alchemistowl.org</dc:creator>
<dc:date>2005-05-09T15:29:54+01:00</dc:date>
<admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=2.66" />
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>

<item>
<title>Google-aided virus paper (de-embargoed)</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/006103.html</link>
<description>
<![CDATA[<p>A few people read it almost two years ago when I first wrote it but then I had been asked to keep it hidden.  Given the current climate in <span class="caps">IT</span> security I frankly doubt that my research from 2003 could cause anyone a headache so here is the (now of historical interest) paper entitled <a href="http://www.alchemistowl.org/arrigo/Papers/sobig-g.web.pdf"><i>Sobig-G: addressing the weaknesses in Sobig-F</i></a>.</p>

<p>Ultimately it has very little to do with Sobig-F and a lot about efficient distribution of viral code updates.</p>]]>

</description>
<guid isPermaLink="false">6103@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>Research</dc:subject>
<dc:date>2005-05-09T15:29:54+01:00</dc:date>
</item>
<item>
<title>IPS, or when incompetence can be provided in hardware</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/005033.html</link>
<description>
<![CDATA[<p>It so happens that I&#8217;ve recently had the pleasure to deal with a <a href="http://www.telecity.co.uk/">co-lo provider</a> which also happens to offer a managed firewall service.  Their infrastructure is based on some fashionable <a href="http://www.fortinet.com/"><span class="caps">IPS</span></a> which provides &#8220;security&#8221; to the clients requesting it.</p>

<p>The concept of an <span class="caps">IPS</span> was born when Gartner, in the person of the renowned security expert John Pescatore, declared to the world that <span class="caps">IDS</span> was dead because it was too cumbersome to configure, didn&#8217;t deliver, etc. etc. etc.  The firewall was rapidly provided with &#8220;intelligence&#8221; directly from Pescatore&#8217;s own private stash and promoted to <span class="caps">IPS</span> or &#8220;Intrusion Prevention System&#8221;, an oh-so-more-catchy term.</p>]]>
<![CDATA[<p>As the whole world knows <span class="caps">IPS</span> has solved the world&#8217;s <span class="caps">IT</span> security problems with the obvious unfortunate exception of my poor client.</p>

<p>Let us imagine, for sake of argument, that this poor client happens to have a 100% Linux-based infrastructure and that it is a minor variation on the classic <acronym title="Linux Apache MySQL PHP"><span class="caps">LAMP</span></acronym> site and that it also uses the highly subversive <a href="http://www.sendmail.org">sendmail</a> <acronym title="Mail Transfer Agent"><span class="caps">MTA</span></acronym>.</p>

<p>Let us further imagine that these raving loonies happen to have customers who <i>willingly</i> subscribed to a weekly newsletter and a monthly in-depth variant of the latter and that they would be so bold as to require that weekly newsletters be delivered the same day they are sent and not a month later.</p>

<p>Enter the &#8220;managed firewall service&#8221; which decides unilaterally that the volume of outbound traffic produced by sendmail couldn&#8217;t possibly be legitimate and thereby classes the originating system as an Windows system infected by a trojan or worm<sup><a href="#note1">1</a></sup>.  To protect the Internet it therefore blocks all outbound <acronym title="Simple Mail Transfer Protocol (which is actually not that simple) as defined in RFC822 and friends"><span class="caps">SMTP</span></acronym> traffic until the  connection rate drops.  This happens when sendmail notices the lack of connections and throttles itself by placing differing retry timeouts.</p>

<p>The co-lo &#8220;managed security helpdesk&#8221; when queried immediately replies with the terrible Internet infection scenario and the white knight, in the form of their <span class="caps">IPS,</span> coming to the rescue.</p>

<p>This is not all, it also detects outbound traffic as <a href="http://www.securityfocus.com/bid/124/info/">Teardrop</a><sup><a href="#note2">2</a></sup> attacks prompting claims that the machines have been compromised with the explanation that the servers are <i>&#8220;sending out malformed packets which have the potential to crash certain un-patched servers&#8221;</i><sup><a href="#note3">3</a></sup>.</p>

<p>The list goes on and on.</p>

<p>The final straw is marking <i>every</i> outbound <acronym title="Graphics Interchange Format"><span class="caps">GIF</span></acronym> as an attack against Internet Explorer<sup><a href="#note4">4</a></sup> with no actual attempt at determining whether the image in question was an attack or not.</p>

<p>We asked for the packet dumps in pcap format and I started to go through them and here is the outcome of my research on the first of the files sent containing malicious traffic (with some inevitable censorship).</p>

<p>First of all I filtered out all the <acronym title="Address Resolution Protocol"><span class="caps">ARP</span></acronym> requests and packets that had nothing to do with the client&#8217;s network, that cut the number of packets by 50%, so obviously the <span class="caps">IPS</span> alerts on <span class="caps">ARP</span> and irrelevant traffic too&#8230;<br />
<ol><br />
<li><span class="caps">DNS</span> requests for <span class="caps">MX, A6</span> and <span class="caps">AAAA</span> records over udp/53 (IPv6 name resolution attempts): sendmail on the system has IPv6 support enabled and therefore after <span class="caps">MX</span> lookup it checks for <span class="caps">A6, AAAA</span> and A records for the required mail exchanger,</p>

<pre>
09:25:10.647868 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], length: 76)
		w.x.y.z.53 &gt; j.k.l.m.53: [udp sum ok]  27809 [1au]
		AAAA? pool.domainsite.com. ar: . OPT UDPsize=4096 (48)

09:25:25.639925 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], length: 73)
		w.x.y.z.53 &gt; j.k.l.m.53: [udp sum ok]  29390 [1au]
		A6? ns1.netscape.com. ar: . OPT UDPsize=4096 (45)

09:26:47.907197 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], length: 76)
		w.x.y.z.53 &gt; j.k.l.m.53: [udp sum ok]  46858 [1au]
		MX? pool.domainsite.com. ar: . OPT UDPsize=4096 (48)
</pre><p></li><br />
<li>Quite a few tcp/25 carrying the &#8220;QUIT&#8221; keyword and having the <span class="caps">PSH</span> flag set which is perfectly normal sendmail operation,</p>

<pre>
09:25:31.763296 IP (tos 0x0, ttl  64, id 28349, offset 0, flags [DF], length: 46)
		w.x.y.z.55750 &gt; j.k.l.m.25: P [tcp sum ok] 0:6(6) ack 1 win 5840

		0x0020:  5018 16d0 ab8e 0000 5155 4954 0d0a       P.......QUIT..
</pre><p></li><br />
<li>Some tcp/25 with the <span class="caps">FIN</span> flag set, that&#8217;s basic connection teardown,</p>

<pre>
09:25:31.763384 IP (tos 0x0, ttl  64, id 28350, offset 0, flags [DF], length: 40)
		w.x.y.z.55750 &gt; j.k.l.m.25: F [tcp sum ok] 6:6(0) ack 1 win 5840
</pre><p>Note how the above packet is the <span class="caps">TCP</span> teardown packet for the connection which was terminated at the protocol level by the packet in 2) above.<br />
</li><br />
</ol></p>

<p>Nobody deserves more than this amount of torture: out of 4000+ packets there wasn&#8217;t a <i>single</i> malicious packet of any kind save for two connection attempts <i>inbound</i> to the Linux boxes on port 445 (Windows <acronym title="Remote Procedure Call"><span class="caps">RPC</span></acronym> services) which were obviously sent packing.  The missing analysis was for the dangerous <span class="caps">HTTP</span> packets sending <span class="caps">GI</span>Fs, &#8220;ident&#8221;, and sendmail connection setup.  I am sure you will thank me for not posting the &#8220;analysis&#8221; to those too&#8230;</p>

<p>Needless to say I didn&#8217;t look at the other pcap dumps nor did I ever get a reply to my e-mail, they continue filtering the traffic and the client is going to cancel the contract for the managed firewall service.</p>

<p>There is little to comment about here besides the obvious hype about <span class="caps">IPS</span> removing the configuration and maintenance issues of <span class="caps">IDS </span>(frankly, if you believed that then I&#8217;d be honoured to sell you shares in the Leaning Tower of Pisa and the Fountain of Trevi, Rome).</p>

<p>Sticking a box on a network looking at packets can never be a substitute for training a human on how to respond: if you are incompetent the boxes you manage will be incompetent too.</p>

<p>Not only, these fashionable &#8220;auto-reacting&#8221; IPS are far from infallible (unlike Mr. Pescatore who is apparently never wrong in his <span class="caps">IT</span> security predictions) and, in the specifc case of this co-lo site, will bring them loss of customer revenue (I did recommend asking for damages too).<br />
__<br />
<sup id="note1">1</sup> There is a subtle difference between the two: a <i>trojan</i> normally gains access to systems by masquerading as something legitimate, e.g. an e-mail, and requires a modicum of end-user interaction whereas a <i>worm</i> spreads from machine to machine making use of holes in the operating system and therefore independently of the end-user&#8217;s cooperation. <br />
<sup id="note2">2</sup> You should follow the link, observe the date of the attack and the vulnerable systems.<br />
<sup id="note3">3</sup> Do go and read the link provided, please. Then compile a list of systems still running vulnerable software to Teardrop, your answer should comfortably fit in a page of <span class="caps">A4.  </span>Then highlight any well-known site from the list. Your highlighting pen should remain capped throughout the exercise.<br />
<sup id="note4">4</sup> Yes, it is possible to attack Internet Explorer with <span class="caps">GIF</span> images, see <a href="http://www.securityfocus.com/bid/8530">this discussion</a> on SecurityFocus if you have been living under a rock in the past few months.</p>]]>
</description>
<guid isPermaLink="false">5033@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>Rants</dc:subject>
<dc:date>2005-02-15T14:55:23+01:00</dc:date>
</item>
<item>
<title>The insider exists and occasionally gets caught</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/003727.html</link>
<description>
<![CDATA[<p>Invariably when I start talking about the <a href="http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/003684.html">insider threat</a> I am bombarded with e-mails telling me that I have it all wrong and that the wily hacker on the Internet is the real danger.</p>

<p>On cue the news that in Italy the <a href="http://www.poste.it/en/">Post Office</a> was ready to be defrauded of 20 <i>million</i> euro thanks to an employee in the Naples area.  The article is sadly <a href="http://www.repubblica.it/2004/j/sezioni/cronaca/truffeposte/truffeposte/truffeposte.html">in italian</a> but I've put together a quick translation for the benefit of curious english-speakers.</p>]]>
<![CDATA[<p>The interesting paragraph is the following (my emphasis):</p>

<p><i>Secondo la polizia postale di Pescara che ha svolto le indagini la banda, con il concorso di un impiegato postale del napoletano, era riuscita a entrare nel sistema informatico che gestisce il deposito e i movimenti di denaro delle Poste attraverso <strong>l'intercettazione abusiva di codici e password</strong> riuscendo a simulare operazioni di cassa in favore di conti correnti postali appositamente aperti da diversi complici negoziatori in altrettante zone d'Italia.</i></p>

<p>which translates roughly to (again my emphasis):</p>

<p><i>According to the postal police in Pescara, which was responsible for investigating the crime, the band gained access to the IT system which manages the deposits and transfers of the Post Office with the help of an employee in the Naples area.  Access was gained via <strong>unauthorised sniffing of user ids and passwords</strong> thereby managing to simulate cashier operations in favour of other postal accounts which were opened by accomplices in a number of italian regions</i>.</p>

<p>Besides the relief for the fine work of the postal police we should focus on the fact that user ids and passwords were allegedly sniffed off the wire.  This is not your "Joe Average" shoulder surfing the passwords of colleagues but someone with a certain amount of skill. </p>

<p>The obvious question which should be asked is: why exactly where the user ids and passwords being trasmitted in the clear?  This is 2004, SSL has been around for a few years now (not to mention many other encryption protocols).</p>]]>
</description>
<guid isPermaLink="false">3727@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>News</dc:subject>
<dc:date>2004-10-19T11:49:28+01:00</dc:date>
</item>
<item>
<title>What&apos;s the ROI of this hack?</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/003684.html</link>
<description>
<![CDATA[<p>The more I speak to people the more I realise that there is an absurd and dangerous focus towards the "outside":  security seems to be all about anti-virus and the "wily hacker". At the same time there are more and more signals that the baddies have upped the ante and that proper criminal organisations are moving into this line of business.</p>

<p>My reaction is almost invariably to explain that the moment you bring a criminal organisation into the fold then the issue becomes, like every business with an MBA at their service, one of Return On Investment.</p>]]>
<![CDATA[<p>Let us consider the usual preoccupations of the average company: will our firewalls "hold"? is our anti-virus protection up to scratch? do we have a patching schedule in place? What are these questions focusing on?  They are focusing on data flow from the Internet to the Intranet, on whether the average script kiddie will get in using a published exploit, whether the latest worm will spread using your systems (note: yes, it will if you are big enough and are an injection point because your signatures are never going to be updated in time).</p>

<p>So let us think about how a criminal organisation goes about its business.  For the sake of argument let us decide that we want to get rich very quickly and that selling medication to idiots via spam isn't fast enough.  The best alternative is to hit a site which moves money.  What are they?  Well, a bank is a good start, an even better start is a mediator between banks (for example SWIFT, overnight settlement institutions, VISA processing services, etc.). </p>

<p>Alert readers at this point will jump up and mention that as of 2004 the best ROI must be had with DDoS attacks and I would tend to agree:  the DDoS attacks against online betting shops during Euro 2004 were an excellent idea.  A quick blackmail phone call and an even faster calculation by the accountants working out how much every minute of punters unable to reach the website cost meant that the criminal organisations probably raked in loads of money.  The cost circulating in the underground for a network of DDoS drones is about $3,000 for a lot of 10,000.  Make the call for $1M and the ROI is pretty decent.</p>

<p>But let us take the longer term view.  DDoS works a few times but risks taking the victims out of business, raketeering is a difficult art to master because if you strangle your victims then your ROI rapidly hits zero.  So what is a better alternative?  Surely it must be to enter a suitably large money switching organisation and start syphoning money out.  You cannot really play the blackmail card as that would only work a few times, you need subtlety and elegance here.</p>

<p>So the plan is simple: get yourself an insider.  Why?  Obviously because the focus is so strong on the threats from the Internet that most organisations don't even know what their internal traffic looks like.  Start by looking at job advertisments and have someone win.  No need to be in the IT department as long as they have a PC on their desk.  At which point you start "working the inside", that nice soft shell made up of lack of ACLs, lack of IDS, mainframes controlled via plain telnet sessions, etc. which distinguishes most locations, sufficiently starved for IT resources that they can barely watch the perimeter. </p>

<p>Now that we have our trojan horse we can slowly map the network, no need to rush here, remember that we are in for the long run.  Then these possible targets can be reported to the controller outside the organisation who has all the time to analyse them and decide the next moves.  Notice how the classic steps of a hack are still there:  we are doing reconaissance and scanning but <i>internally</i>.  What should the reconaissance focus on?  The mainframe of course.  Have that and you have everything.</p>

<p>This is where it gets even more irritating.  Why?  Because most mainframe vendors insist that since very few people know their systems they are secure from the occasional hack.  Indeed, perhaps from the occasional hack but remember that now we have criminal organisations coming into play.  They have the resources to send their people off to training courses perhaps purchase a second-hand entry-level mainframe to perform target practice, etc. etc.</p>

<p>Clearly the financial outlay to the criminal organisation is substantial, well above the $3,000 forked out for the DDoS drones, but the ROI is far more interesting.  A few ideas?  Clone credit cards by seeing the transactions fly past, access bank accounts of large corporations and move funds by taking the details from their SWIFT transactions, play the age-old idea of "take a penny from every account".  </p>

<p>Perhaps it is time that so-called "risk analysis" on the external perimeter started to include an ROI calculation for the hacks which would be possible via that route and then followed by an ROI calculation for the cost of an insider job like the one described above.</p>

<p>Suddenly HIDS and NIDS on the internal network would look a lot cheaper.</p>]]>
</description>
<guid isPermaLink="false">3684@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>Ideas</dc:subject>
<dc:date>2004-10-15T15:54:51+01:00</dc:date>
</item>
<item>
<title>Let&apos;s make banks responsible for something</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/003135.html</link>
<description>
<![CDATA[<p>My inbox has been overflowing with some amazing <a href="http://www.antiphishing.org/">phishing</a> scams in the last few weeks, some of them sufficiently impressive for me to start analysing their inner workings in some depth.</p>

<p>The definite trend is towards turning these fake websites into very high quality imitations of the originals.  Gone are the shoddy graphics obviously lifted at random from the real one, the slow link to a site in the middle of China and the lack of SSL certficate (or a self-signed certificate).  The latest sport a fast link, often at a co-lo site in Europe or the USA, perfect graphical imitation and an SSL certificate which raises no warnings (we shall leave the obvious rant against the quality of verification by the issuers for another time).</p>

<p>So why are they successful?  Well, I think that it is high time that the banks took part of the blame.</p>]]>
<![CDATA[<p>The best one by far to land in my inbox was "hsbc-validate.info", now long dead (hence the lack of link), which would have had been perfect except for one little mistake in the SSL-secured login page.  The real <a href="http://www.hsbc.co.uk/ebank/default.htm">HSBC private banking page</a> in the UK asks you to enter your login identifier on one page and then opens an SSL-protected smaller window which repeats the login identifier back to you before asking for date of birth and security digits.  The fake page made the mistake of requesting that the login identifier be re-entered in the SSL-secured page.  Was everything else believable?  Yes, so much that before reporting it to HSBC I made double sure that the domain had not been registered by HSBC.  </p>

<p>You might think: you idiot, no e-bank ever sends you e-mail.  Well, you would be mistaken and gravely so: there is at least one UK e-bank which sends e-mail regularly, <a href="http://www.egg.co.uk/">Egg</a>.  So, there is <i>at least</i> one ideal phishing candidate.</p>

<p>So what, you continue, if you are stupid enough to believe that you should re-enter your details then you deserve to have your account emptied.  Indeed, normally the people who say so claim to have "never" fallen for any scam.  Of course not.  </p>

<p>How many pensioners get robbed of their money every year by fake council workers, phone company engineers, electricity meter readers, etc.? Are they all stupid?  No, they are quite simply targeted because their defences are lower than the average person for a number of perfectly valid reasons:  their eyesight might have deteriorated to the point that they find it difficult to distinguish photos on fake id cards, for example, or they are so lonely that the idea that someone would actually care for them is reason enough to open their door wide.</p>

<p>Similarly, how many people click on virus-infected attachments every day? Thousands if not millions including some of the same people who claim "never" to have fallen for a scam...</p>

<p>So it is time to consider how various states have dealt with the problem of pensioners being robbed of their money:  by <i>educating</i> them.  It isn't such an amazing idea if you think about it.  By giving enough information to a pensioner so that he can distinguish between a fraudster and a real meter reader you have allowed him to protect himself. You need not give a three-hour course on uniform recognition with yearly updates whenever uniforms change, you simply need to advise them on a few simple tricks like not opening the door immediately, ringing the electricity company if there is any doubt whatsoever and so on.</p>

<p>Enter the media by which this education is delivered.  It is pretty clear to everyone that a simple leaflet in the mail will not do the trick so you send out instructors to various aggregation points, be it churches, social and recreational clubs or day clinics.  Why does this work better?  Because you have immediate feedback:  how do you check if someone has read your leaflet?</p>

<p>Now let us return to our original subject.  What do banks do to attempt to prevent phishing?  Have a look at HSBC, they have a banner on the main page, centered above the box where the login identifier is entered which states:</p>

<p>"<i>Customers are reminded that we will never send you an email with a link asking you to enter or confirm your bank details. Such emails should be ignored and deleted.</i>"</p>

<p>A link from the words  <i>"more information"</i> just after the quote above takes you to a useful and well-written page about how to protect yourself on the Internet.</p>

<p>Is this enough?  No, it isn't.  </p>

<p>First of all I'd love to know how many HSBC e-banking customers have actually clicked the link which sits where normally HSBC flogs its mortgages with a banner advert.  Secondly I would really appreciate knowing if any of the recommendations are implemented by the few who do read it.</p>

<p>What should really happen is that on one login you should be taken to a concise online course on how to recognise and avoid phishing scams.  Then, at the end of it, there should be a short questionnaire to judge how well the material has been absorbed.  This should not be phrased as a test but as a teaser: "how well would you fare against the best phishing scams?".  You would then be recorded as having taken the course and allowed to continue using your online banking.</p>

<p>How much effort could this be?  Not much judging by the amount of effort put into the automated mortgage calculators or presentations about the latest financial products.</p>

<p>Why do banks not do it?  Simple, if you read the fine print on your e-banking contracts it invariably says something along the lines of "if you hand your e-banking details to third parties, willingly or unwillingly, you are responsible for it". </p>

<p>End of story: an online course costs the bank money,  you being defrauded doesn't.</p>]]>
</description>
<guid isPermaLink="false">3135@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>Ideas</dc:subject>
<dc:date>2004-08-25T01:37:59+01:00</dc:date>
</item>
<item>
<title>Phone always busy? Must be DDoS on the VoIP network...</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/002498.html</link>
<description>
<![CDATA[<p>Amidst the fascinating news from the <a href="http://www.groklaw.net/">SCO saga</a>, preparing for <a href="http://www.sans.org/london04/description.php?tid=16">SANS London</a> and contributing to the Unix timeline project at <a href="http://www.grokline.net/">Grokline</a> my eyes caught a piece of rather distressing news on the <a href="http://news.bbc.co.uk/2/hi/technology/3791319.stm">BBC</a>.</p>

<p>It appears that <a href="http://www.bt.com/">BT (British Telecom)</a> intends to move its current phone network to an IP-based network by 2009 thereby sending the circuit-switched technology off to the attic. </p>

<p>The real question is: can we guarantee the same level of reliability on VoIP as we had on circuit-switched telephony when the stated aim is to carry both voice and data traffic down the same cables  (or fibres more likely)?</p>]]>
<![CDATA[<p>One great truth about the phone network in Europe is that it is generally extremely reliable, especially if you use the incumbent operators (ex- state monopolies). </p>

<p>At least in my very own personal experience I can recall each and every occurrence of a phone outage which has affected my private phone:  there were two in London, one due to a "high order fault" at the Nine Elms Lane exchange for about three hours, another was due to a backhoe taking up my wire in the road.  A tad further back in time there were two in Milan, one was due to a thunderstorm hitting the building and blowing the telco fuses and the second was due to my exchange being moved from electro-mechanical to digital.  There was one recent one in Geneva due to some unspecified fault at my exchange but which strangely coinceded with the day <a href="http://www.cern.ch/">Cern</a> moved from <a href="http://www.swisscom.ch/">Swisscom</a> to <a href="http://www.sunrise.ch/">Sunrise</a> as their main phone operator and we share the same exchange...</p>

<p>Surely that's a pretty impressive record if, over the space of approximately 15 years I can recall each outage with precision. </p>

<p>Where does one start with IP outages?  From the DSLAM mis-configurations which plague my current "el-cheapo" <a href="http://www.tele2.ch">provider</a> and the upstream monopoly wholesaler, or to the frequent routing hiccups, or the DNS timeouts?</p>

<p>To be perfectly honest I am not really that worried about emergency calls:  from the little I have seen of the setup in the UK they are smart enough that they are going to be routed out of the IP network as soon as possible and, I would be prepared to bet, on a private IP network for emergency services.  I am actually concerned about everyone's daily use of the phone which we've come to rely upon as a dependable household good, a bit like the toaster.  </p>

<p>People expect a phone to work at any time of the day or night and this is simply not the case with IP.  There are too many variables:  routers, IP routing tables, proper working of QoS settings are just a sample.  Can we really trust IP routers as much as we trust switchboards?  I think not.</p>

<p>So far we've only really talked about the infrastructure, we haven't even started discussing about malicious use of it.  Switchboards aren't immune to malicious use, far from it (phreaking has been around for ages) but there seems to be a different rationale at work: getting free phone calls.  If you break the switchboard you get no calls so there's a sort of built-in incentive against DDoS'ing the phone system.  When you have convergence between the phone system and the data network then the line becomes blurred, if I DDoS that website do I take down the phone service too?  Do I know?  Not only, let us assume I do take down the phone service: do I now care?  "What about QoS on VoIP?" shout the proponents of VoIP... well, are your routers safe?  If I can get to the routers I can reprogram the QoS parameters, not only, if you DDoS a network the load on the routers goes through the roof so there might be no CPU available to route your precious VoIP traffic.</p>

<p>I really don't think that these problems, which are inherent in the design of IP, will magically disappear by 2009.</p>]]>
</description>
<guid isPermaLink="false">2498@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>Rants</dc:subject>
<dc:date>2004-06-15T11:23:24+01:00</dc:date>
</item>
<item>
<title>sasser, a.k.a. &quot;your free incompetence spotter&quot;</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/002048.html</link>
<description>
<![CDATA[<p>Unless this week you never read the news, either in print or on the Internet, and you don't watch TV then you must have heard of <i>sasser</i>, the terrible Internet worm which is going to end civilisation as we know it.</p>

<p>It has been a phenomenal start of the week for the various news agencies, all falling over each other to try and find quotable quotes and disaster-struck companies to cite in their "end of the world" articles.</p>

<p>The lack of understanding of what sasser is and why it spreads has meant that nobody actually focused on the fact that this alleged disaster could have been avoided   by pretty much every large company admitting to being hit with a modicum of effort and planning.</p>]]>
<![CDATA[<p>The reader could be forgiven for assuming that this will turn into yet another "timely patching is essential" article but would be mistaken.  It is not patching that solves the sasser problem but appropriate network design.</p>

<p>Let us assume that all the companies cited in the <a href="http://news.bbc.co.uk/2/hi/technology/3683553.stm">BBC's article</a> were real victims of sasser (I have no independent means of verification), if they weren't then they can serve as useful examples nonetheless.</p>

<p>Let us begin with a  Finnish financial institution, <a href="http://www.sampo.fi/english/">Sampo</a>, which allegedly closed 130 branches due to the sasser outbreak.  The very first question you should ask yourselves is "how on Earth did the worm get to the branches?" followed closely by "surely they are not connected to the Internet?" followed by inevitable dispair.  How can a financial instution possibly allow a cash-handling system to be connected to the Internet even via firewalls?  </p>

<p>Alternatively, if the systems are not connected to the Internet, how did the worm spread?  Well, the only possibility is that an infected system was placed on the same LAN because, suprisingly enough to some people, Internet worms can't jump out of one machine and magically appear onto another without them being connected.  At which point the next question is "surely you can't just plug in any old system on the branch network?"  and the answer to that can only be a resounding "yes" to explain the spread on their internal network.</p>

<p>The above example has <i>nothing</i> to do with Microsoft, patching or worms and everything to do with atrocious security policies.  If you are a financial institution then your primary concern should be the preservation of the integrity of the network handling financial transactions <i>not</i> making sure that your employees at branches can read their Yahoo! mail or surf the web.</p>

<p>Are they alone?  No, according to an <a href="http://www.repubblica.it/2003/g/sezioni/scienza_e_tecnologia/windows/sassertre/sassertre.html">article</a> on the italian newspaper "La Repubblica", the italian Home Office (<i>"<a href="www.interno.it">Ministero dell' Interno</a>"</i>) was affected. Of course we don't know the details:  it could have been external hosts only (although their website is running Apache, normally a good sign) but still the fact that they were affected at all is not impressive.  This is the ministry which controls the police force in Italy.  Or what about Dubai International Airport? Australian Railways? Goldman Sachs?  Deutsche Post <i>and</i> Taiwan's national post office reverting to pen and paper?</p>

<p>This is pure madness: how can a worm which spreads <i>from the Internet and via the Internet</i> possibly shut down the whole national post office network with branches reverting to pen and paper?  There is only one answer: incompetence at the highest level.</p>

<p>Allow me to give an extreme example in the opposite direction: a friend of mine used to work for a <a href="http://www.abnamro.com/">bank</a> in the City of London.  This bank had a very simple policy: thou shalt not have physical access to anything connected to the network.  If you wanted your Palm synchronisation program installed they would take your sync cable, <i>bolt it</i> to the machine, install the software and return it to you.  If you wanted access to the corporate network from home they would install a leased line and an office-standard locked-down system.  By locked down I mean: no floppy, no CD-ROM, ports at the back bolted and locked, case under lock and key. So yes, it is very expensive but they knew that there was no trivial way that someone could bring a worm into their network.</p>

<p>So it can be done at some expense but how much did a day of virtual shutdown cost to the affected companies, not to mention the public relations disaster?</p>]]>
</description>
<guid isPermaLink="false">2048@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>Rants</dc:subject>
<dc:date>2004-05-04T23:01:40+01:00</dc:date>
</item>
<item>
<title>Why don&apos;t we ship HIDS-like protection by default?</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/002005.html</link>
<description>
<![CDATA[<p>In the midst of the ever so exciting war between Bagle and Netsky perhaps we should reflect again on the reasons for the success of Windows virii beyond the <a href="http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/001326.html">already discussed</a> pointless existence of anti-virus software.</p>

<p>It is pretty clear that most virii are "successful" by subverting some part of the system they are about to infect and gain their entry mainly via social engineering. We can discuss to our heart's content whether the techniques are getting any better but the bottom line is that "oops, I clicked on the attachment" is still leading the pack.</p>

<p>Instead of a pointless long rant on anti-virus software let us consider how the problem could be at the very least mitigated.</p>]]>
<![CDATA[<p>Let us assume that we can't change certain software, for example Outlook. Why? Because the Microsoft group which writes Outlook, Office and everything else is separate from the underlying Windows OS group to a certain degree.  So we need to work at the OS-level.  Let us also borrow techniques from various places.</p>

<p>To begin with let us consider <a href="http://niels.xtdnet.nl/systrace/"><i>systrace</i></a> (by Niels Provos, originally surfaced in <a href="http://www.openbsd.org/">OpenBSD</a>) which verifies that the <a href="http://en.wikipedia.org/wiki/System_calls">system calls</a> made by an application match those defined in its "profile". Despite sounding difficult this mechanism is in production use on many OpenBSD and NetBSD systems. In practice this means that if your Outlook tries to write to the registry a systrace equivalent will terminate it and print a suitable message.  Where are the profiles?  Well, that's simple, when you certify your application to run on Windows you also submit a profile for inclusion with the OS release or you add it to your installation disk.</p>

<p>That is already a good start, what next? Well, systrace can of course be circumvented so we need multiple layers of defence.  So let us consider a limited form of "real-time Tripwire". This is a system which would very simply protect a small number of files from alteration.  Allegedly this is already available under Apple's <a href="http://www.apple.com/macosx/">Mac OS X</a> and is a brilliant idea.  Writing to these protected files can only take place if the user authorises it, not just with an "OK" button, which is often pressed without reading the warning which accompanies it, but by typing in the user's password.</p>

<p>Now what is really missing is some sort of "process watcher".  This would simply check that any process started belongs in a whitelist of allowed processes, not just  via the process name (too easy to falsify) but also via checksumming techniques, perhaps linked in with a full version of Tripwire and friends.</p>

<p>Of course there is a downside to all of the above: what about the so-called power-users?  Well, they will complain about the "performance hit" to which the obvious answer is "buy a bigger box".  It isn't like CPU power is an expensive factor in today's PCs.  The only real losers from the above are developers: for them each compiler run will produce an executable which is not recognised by the system, which they will have to register and profile.</p>

<p>Are we there yet?  Well, the tools are mostly there, the "miracle security cure" offered by <a href="http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2mempr.mspx">Windows XP SP2</a> (aka: non-executable stack) is a start in the right direction but clearly not enough.  It protects from <a href="http://en.wikipedia.org/wiki/Buffer_overflow">buffer overflows</a> but not much else and the current crop of fashionable virii are not going to be affected by it.  </p>

<p>To tie it all together one could argue that the above functionality is really beyond a HIDS and closer to anti-virus system but there is a rather striking difference: all the above is based on white-listing, allowing only what is trusted, this means that you need not download new signatures on an hourly basis but on the contrary define what is acceptable and sit back.</p>

<p>As a final aside one should really mention the much-hated <a href="http://www.trustedcomputing.org/home">Trusted Computing Platform Alliance</a> which got it all wrong by associating their work with so-called "Digital Rights Management". An overview is available on the <a href="http://en.wikipedia.org/wiki/Trusted_computing">Wikipedia</a>, for discussions of how a much needed idea was turned into a nightmare see <a href="http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html">Ross Anderson's FAQ</a> on the subject and the <a href="http://www.eff.org/Infrastructure/trusted_computing/20031001_tc.php">EFF's   white-paper</a> titled "Trusted Computing: Promise and Risk".</p>

<p>What is needed is a push, on the part of users, towards OS developers to implement some basic security features which would make life much easier for all of us.</p>]]>
</description>
<guid isPermaLink="false">2005@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>Ideas</dc:subject>
<dc:date>2004-05-01T00:30:00+01:00</dc:date>
</item>
<item>
<title>HIDS: the ugly cousin?</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/001773.html</link>
<description>
<![CDATA[<p>At times I wonder what is wrong with Host-based Intrusion Detection Systems:  they seem to be ignored, maligned and generally considered "useless".  </p>

<p>It should be noted that by HIDS I don't mean your ever so pointless anti-virus software (as previously <a href="http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/001326.html">discussed</a> in these pages) or your fashionable "personal firewall" but software designed to detect intrusions at the host-level.  Anti-virus software and "personal firewalls"  fit in a very very loose definition of HIDS: they both protect you from external attack, not attacks perpetrated on your own system. </p>]]>
<![CDATA[<p>What I call a HIDS is a piece of software which detects violations of system-level policies.  One of the best and oldest examples is <a href="http://sourceforge.net/projects/tripwire/">Tripwire</a> (or its GNU-licensed replacement <a href="http://www.cs.tut.fi/~rammer/aide.html">AIDE</a>) which is designed to monitor changes made to a filesystem.</p>

<p>Modern company security practices seem to overlook internal security (see also a separate <a href="http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/001644.html">rant</a>) because it involves lots of unfashionable effort.  Amongst the victims is HIDS often maligned as being impractical, "trigger happy" and heavy on the configuration side. The usual excuse surfaces:  "I have to put work into it so it is not worth my time".  The actual truth is that it isn't exciting to check for modification of key system files except as a forensic exercise later.  The official motto is: "Prevention?  No thank you".</p>

<p>Let us consider Tripwire: like all software it can be installed and configured in many pointless ways.  For example you could monitor your whole hard-disk for file changes, guaranteed to fill your logs with false alarms, or you could have the file checksum database on the same disk as the one being monitored ready to be modified by the wily hacker.  A more sensible configuration such as limited monitoring of key system files (how about /etc, /boot, /vmunix, /lib and /sbin to start with?) with the database on read-only media (a floppy disk with the write-protect tab set is an ideal choice - the database isn't very big) can already help quite a bit. SImply run tripwire via cron at suitable intervals, say hourly, and have the results mailed to you.</p>

<p>The side-effect of an "instrumented" server is that not only can you detect malicious changes to your filesystem but also those clumsy-handed sysadmin days when "I thought I was editing on machine x but actually it was machine y" takes place. </p>

<p>Clearly Tripwire alone isn't enough, you need to instrument your systems a bit better.  Once upon a time full system accounting was relatively common for reasons which had little to do with security, i.e. charging on a per-cpu cycle basis, although it did give rise to a famous <a href="http://www.amazon.co.uk/exec/obidos/ASIN/0743411463/qid=1080726737/sr=1-1/ref=sr_1_27_1/026-8330486-4986015">"catch the hacker"</a> story when an accounting discrepacy was found.  It is difficult to advocate full accounting in 2004 as the volume of data has become prohibitive (it is worthwhile remembering that full accounting means that every single command typed is recorded for posterity) but there is value in limited accounting.  This already takes place in the various log files which litter a modern system which contain a wealth of very useful information.</p>

<p>How do we detect an "insider job" on a modern Unix system?  Well, let us assume that we do have Tripwire installed but little more.  Let us further assume that no files have been modified <i>but</i> our log watcher (there are <a href="http://freshmeat.net/search/?q=log+monitoring&section=projects&Go.x=7&Go.y=14">ample choices</a> here) has detected that the volume of logs is increasing above the usual rate.  An example?  The mail log is twice the size of a usual day or perhaps the database access log has grown excessively. What happens next?  Instead of crying wolf the first requirement is an in-depth analysis of the logs in question.  Perhaps it is end-of-year and the database is burning away for the accountants or there is a new virus on the loose which is killing sendmail.</p>

<p>This is just the beginning but how many locations actually realise what wealth of information about system misuse lies in their logs? Very few sadly.  A remarkable amount of analysis can be done with a "poor man's HIDS", also known as syslog.  It might not be hacker-resistant (it doesn't take much to wipe logs) but it can definitely be used as an early warning mechanism.</p>

<p>And once we've re-learned how to use logs how about giving HIDS another whirl?</p>]]>
</description>
<guid isPermaLink="false">1773@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>Ideas</dc:subject>
<dc:date>2004-03-30T11:08:46+01:00</dc:date>
</item>
<item>
<title>You are an insider?  How unfashionable!</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/001644.html</link>
<description>
<![CDATA[<p>Not a day passes without the IT world being reminded about the terrible threat of virii, trojans and those pesky "Internet hackers".  As a matter of fact there is so much available on the topic that you might as well switch off your preferred virus newsfeed and assume that about 80% of all e-mail you receive is either viral or spam.</p>

<p>Of course the beauty of all this is that companies are looking at their perimeter as if it was the only chance of survival they had in the dark woods of the Internet.  They believe anything their firewall or IDS vendor tells them, stare in awe at highly secure Windows-based firewall solutions (or indeed fancy webserver-based firewall products) and bask in the sunshine knowing that their enterprise is safe.</p>]]>
<![CDATA[<p>Once upon a time pretty much everyone quoted that 80% of fraud was internal, that is to say that it was perpetrated by someone with intimate knowledge of the enterprise he wanted to defraud.  Take banks which go an extra length to make sure that cashiers can't walk out with cash or indeed many other "physical" examples.  It would be pretty logical to assume that in the electronic world of Word documents, e-mails and assorted other digital documents this concern about internal fraud would remain.</p>

<p>Apparently not.</p>

<p>A few basic concepts are a complete mystery to many companies:  separation of duties (or:  "why should the engineering department see the finance servers?"),  document tracing (or: "how the heck did this document get out?") not to mention basic IT security (or: "how did they break into this totally unpatched, wide-open, system?").</p>

<p>The reason for this internal debacle is simple: a combination of laziness and fashion.  What makes you look like a digital hero?  Fighting the wily hacker or securing the internal servers?  The fact that the ever so dangerous wily hacker is more often than not a script kiddie barely out of elementary school is irrelevant, it is still more interesting than actually thinking about the real dangers for a company.</p>

<p>So what happens is that people comfortably log into key servers, prowl databases of confidential information and then walk off with the data.   Managers often deny this takes place as their workforce is always invariably honest, happy and well-managed until they discover the inevitable "companyzsucks.com" website run by disgruntled employees...  This is then followed by ample management chest thumping, sacking of the disgruntled employees and total disregard for the security of the data they might have had access to.</p>

<p>Some people argue that pentesting is the answer to evaluating internal security but think about it for a second: how could it possibly be the answer? What you have is an <i>external</i> team trying to get to valuable data.  </p>

<p>Why don't you try asking your top systems manager to walk out with as much valuable data as possible and see what he does?  Then try doing the same with some closet geek in accounts.  If you follow this up with some sums about the cost of the wily hacker versus this exercise you might discover that installing a HIDS and proper inter-departmental firewalling is more cost-effective than spending millions on the latest fad in perimeter protection.</p>]]>
</description>
<guid isPermaLink="false">1644@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>Rants</dc:subject>
<dc:date>2004-03-15T12:33:32+01:00</dc:date>
</item>
<item>
<title>Wide-open default configurations and &quot;user freedom&quot;</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/001459.html</link>
<description>
<![CDATA[<p>In the midst of a new deluge of virii for Windows (are they really "for Windows" or more appropriately "for compulsive attachment openers"?) it is time to stop and think a little more.  After the inevitable realisation that anti-virus software just does not work should come the illumination that perhaps it is not quite normal for software to joyfully open anything without question.</p>]]>
<![CDATA[<p>My mother recently followed the example set by her younger sister and bought herself a laptop with Windows XP to be able to send and receive e-mail.  I would have preferred a Mac but it cost too much in comparison to this ultra-cheap AMD laptop deal.  It was delivered with the "standard stuff", i.e. Outlook Express, IE6 and Norton anti-virus. </p>

<p>She diligently updates the anti-virus each and every time it askes her to, she even runs the occasional Windows Update which I recommended doing as often as possible despite her slow dial-up line.  The outcome of all this is that I get continuously asked: "why do I have to do it?". </p>

<p>That is actually a very good question, why exactly is the default configuration not good enough?  Why is it so that her Outlook Express as delivered will happily execute any possible rubbish entering her inbox?  Not only, why is it that after numerous runs of the update facility it <i>still</i> executes any possible rubbish?  Did nobody take notice of the somewhat recurring viral techniques regarding attachments?</p>

<p>This could well become a long rant against Microsoft but this behaviour is not limited to Windows, far from it: I will never forget the maintenance nightmare of RedHat 5 "default installs" which people all over Imperial College were installing on their PCs when Linux was becoming fashionable.  These installations had everything possible running, there were more DNS servers within Imperial College than you can imagine, Samba servers listening to anyone willing to talk not to mention Apache servers offering the standard RedHat index page and the full man pages of the system. Do you know of many stand-alone workstations requiring a DNS service running on the host? Or indeed a Samba <i>server</i>?</p>

<p>Just recently I allowed myself to be pulled into a discussion with someone trying to convince me that OpenBSD is "secure by default" only because it runs no services by default otherwise it would be as insecure as Windows (yes, a somewhat inflammatory remark). As I listened to his arguments I was thinking that perhaps he had never noticed that the average user does not actually need to run Apache, DNS and sendmail. There was no way to explain to him that by forcing people to <i>turn on</i> services rather than turning them off was a rather good idea. Even the analogy of allowing people to decide whether or not Outlook should execute attachments was lost on him, it was all a matter of "freedom of choice".  Apparently the "choice" to have your system turned into a lump of useless plastic and metal is an important one. </p>

<p>So, have users forsaken security for a badly "freedom of choice"?  Or have they been led to believe that allowing a computer to do all the "thinking" is the equivalent of "freedom"?</p>]]>
</description>
<guid isPermaLink="false">1459@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>Rants</dc:subject>
<dc:date>2004-02-19T09:10:16+01:00</dc:date>
</item>
<item>
<title>Can the Grid be secured?</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/001399.html</link>
<description>
<![CDATA[<p>One of the latest European high-tech projects is the <a href="http://eu-datagrid.web.cern.ch/eu-datagrid/">EU DataGrid</a> which will eventually link all the key research centres in a huge virtual distributed supercomputer.</p>

<p>The idea in itself isn't exactly novel: <a href="http://www.csm.ornl.gov/pvm/pvm_home.html">PVM</a> and <a href="http://www.cs.wisc.edu/condor/">Condor</a> have been offering some of its capabilities for a long time.</p>

<p>One of the issues in the EU DataGrid which I find particularly interesting is the security aspect which has in some ways been addressed.</p>]]>
<![CDATA[<p>The project set up a serious <a href="http://marianne.in2p3.fr/datagrid/ca/ca-table-ca.html">PKI infrastructure</a> which is used to authorise job submissions and authenticate DataGrid users to the Grid itself.  This would normally indicate a serious concern for security, after all you would want to ensure that the computing power is not used by some kid in school to improvie his ranking on <a href="http://setiathome.ssl.berkeley.edu/">Seti@Home</a> and that rogue systems can't join the Grid.</p>

<p>I'd like to offer a different slant to the security issue:  not so much who is allowed to use the DataGrid but where the data flows are.</p>

<p>It should be pretty clear that the security of the Grid as a whole depends on the security of individual systems and also that it is sadly the case that any system connected to a network cannot be guaranteed to be secure.  In particular what concerns me most is that for computations to take place you have to ship some data off to systems which you do not control so if one of these is compromised then the data is wide open.</p>

<p>The argument which is often put forward is that this is scientific data so it doesn't really matter if someone obtains access to it.  This is akin to the justification for universities having lax security and we shall leave it at that but the difference here is that the Grid is being offered for use in other fields, for example, medical research.</p>

<p>Here we hit a problem: it is no longer physicists working with the consitituents of matter but medical research which could possibly contain either patentable information or clinical trial information.  In theory data could be encrypted and decrypted on the fly during job runs but once you have control of a system it doesn't take much work to access the decrypted data.</p>

<p>I would agree that it requires a certain amount of dedication to enact the above but this dedication has been definitely shown recently by the spamming community...</p>]]>
</description>
<guid isPermaLink="false">1399@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>Ideas</dc:subject>
<dc:date>2004-02-10T11:12:45+01:00</dc:date>
</item>
<item>
<title>The pointless existence of anti-virus software</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/001326.html</link>
<description>
<![CDATA[<p>The situation is clearly getting out of hand: it is barely the end of the first month of 2004 and a new <a href="http://news.bbc.co.uk/2/hi/technology/3432639.stm">mega-virus</a> hits the Internet.</p>

<p>It is becoming one huge joke: a new virus is unleashed, thousands of systems are infected, anti-virus software companies scramble to produce a signature and then tell you in their <i>virus encyclopaedia</i> that you should always have the latest set of signatures.</p>

<p>What about all the systems which were infected before the anti-virus companies produced a signature?</p>]]>
<![CDATA[<p>This is where the whole castle collapses in one fell swoop. The business model is shrewed: get users to pay for an "update" service which most of the time is reactive and late.  A few lucky users, the ones who use their machines once in a while, escape unscathed from the virii while the others end up shaking their heads muttering "if only I had updated the signatures...".</p>

<p>It is pretty obvious really:  the anti-virus companies cannot produce a signature before seeing the virus in action. By the time the virus is "in action" it has often spread far and wide.  Take <i>Sobig.F</i> or indeed <i>Mydoom</i>:  if the anti-virus software was doing its job it wouldn't have spread so far and so deadly.<br />
All that remains is the insult of being told that to stop the virus you need a certain revision of the anti-virus signatures which simply wasn't available when you got hit, even if you were to attempt an update every 10 minutes.</p>

<p>Why don't users demand better?  Why do they still accept software which will happily execute an attachment "no questions asked"? In an era when you can't bring on board of a plane something that remotely resembles a blade we have people continuing to accept dangeous attachments as if nothing had ever happened before, including people who have already been hit by virii!</p>

<p>Wouldn't it be the anti-virus software's job to stop the execution of these attachments outright, perhaps mentioning that it isn't normal for a document to be called "document.doc.exe"?</p>

<p>It would but unfortunately there would then be little incentive to keep updating the signatures and finance the business model of the anti-virus companies...</p>]]>
</description>
<guid isPermaLink="false">1326@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>Rants</dc:subject>
<dc:date>2004-01-27T16:05:24+01:00</dc:date>
</item>
<item>
<title>Virus naming conventions deemed harmful</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/001308.html</link>
<description>
<![CDATA[<p>There must be something terribly wrong with 2004, perhaps it is the fact that it is a <a href="http://www.mitre.org/tech/cots/LEAPCALC.html">leap year</a> .</p>

<p>Today a subject on the <a href="http://lists.jammed.com/ISN/">ISN</a> mailing list caught my attention: <i>"Bagle e-mail virus slows, fuels naming debate"</i>. The first half of the title is pretty self-explanatory but the second half had me wonder what the "naming debate" could possibly be.  So I read on, and what a terrible idea that was.</p>]]>
<![CDATA[<p>The news comes from <a href="http://www.reuters.com/">Reuters</a>, a news agency renowned for its <a href="http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/001260.html">understanding of computing</a>.</p>

<p>Quoting from the <a href="http://www.computerworld.com/securitytopics/security/story/0,10801,89264,00.html">article</a> gives an immediate feel for the depth of the issue being faced by anti-virus firms:</p>

<p>"Personally, I would have called it Beagle rather than Bagle, for the <br />
sole purpose of avoiding all these support calls asking, 'Why did you <br />
call it bagle?' " said Graham Cluley, a senior technology consultant <br />
at Sophos PLC, a U.K.-based software firm specializing in virus and <br />
spam detection.</p>

<p>I would have thought that the majority of support calls should have been: "why didn't your advanced heuristic analyser pick it up?".  But no, this is not of concern, it is acceptable for the anti-virus software you pay for to be only useful if you are lucky enough to download the correct signature before being hit.  The big issue is the name being given to the virus.</p>

<p>It is clearly heresy to suggest that anti-virus firms should organise themselves into the equivalent of <a href="http://cve.mitre.org/">CVE</a> and forget about the naming issue to concentrate on trying to prevent <i>unknown</i> virii from entering computers.  Everyone and his dog is able to detect a signature for something that has been seen before and block it - the real issue is what research is being done to try and stop unknown attacks from being successful (and no, "uninstalling Windows" is sadly not the correct answer).</p>

<p>Apparently not much or not as much as the work into names.</p>]]>
</description>
<guid isPermaLink="false">1308@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>Rants</dc:subject>
<dc:date>2004-01-22T16:06:39+01:00</dc:date>
</item>
<item>
<title>More creative bank security</title>
<link>http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/001301.html</link>
<description>
<![CDATA[<p>At times I really do wonder how my <a href="http://www.hsbc.co.uk/">UK bank</a> manages to be so creative with security.</p>

<p>They alternate between a rather good <a href="http://www.ukpersonal.hsbc.com/public/ukpersonal/internet_banking/en/logon.jhtml">Internet banking service</a>, an excellent card fraud department and a hopeless card issuing mechanism.</p>]]>
<![CDATA[<p>As a repeated victim of card cloning (that's when a copy of the card is made without you physically losing it) I am well acquainted with the fraud department of said bank.  They are remarkably good and proactive: I often get phone calls or letters outlining transactions they would like me to check and confirm.  They had already been authorised but clearly didn't quite match my "user profile" or had been declined and they wanted to discuss it with me.  I always take the time to ring them back when they send me a letter, confirm the transactions and <i>thank them profusely</i> for their efforts.  As a  matter of fact it would be marvellous if everyone did the same:  when people feel gratitude for their work they put more effort into it and in the case of card fraud it is the kind of effort one's pockets appreciate too.</p>

<p>The Internet banking service is not as stellar as ones using <a href="http://www.alchemistowl.org/arrigo/cynicalsecurity/archives/001251.html">one-time pads</a> but it offers passable security and a simple, clear interface.</p>

<p>Where they continue failing me is their physical card issuing service.</p>

<p>The first time my ATM card was cloned I recieved an identical card on which the only change was the so-called "issue number" (incremented by one) and the expiration date which was defined exactly as "re-issue month + 36 months".  That's it.  So if you had my previous card it wouldn't be rocket science to know what the new one would be like, in fact trivial:  just see when the old one stops working (that gives you the "re-issue month") and add 36 months.  Guess what? That is exactly what happened.  What is the solution to this?  New bank account, totally different number, close the old one: the ideal solution to minimise your customer's distress.</p>

<p>I had thought that it was a "feature" of the ATM card until a problemette appeared wth my credit card:  the signature had become unreadable, the regulations mandate that you cannot re-sign your card so I ask for a new one to be issued.  The new card is identical except for the expiry date which is (no prizes for guessing) "re-issue date + 36 months ".</p>

<p>Must be a habit... so instead of cutting the card up I burned it as I'd rather not discover more creative uses for rubbish rummaging, sellotape and card swipe readers.</p>]]>
</description>
<guid isPermaLink="false">1301@http://www.alchemistowl.org/arrigo/cynicalsecurity/</guid>
<dc:subject>Rants</dc:subject>
<dc:date>2004-01-21T00:40:29+01:00</dc:date>
</item>


</channel>
</rss>

