<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[[SecurityRatty] tag: detect]]></title>
    <link>http://securityratty.com/tag/detect</link>
    <description></description>
    <pubDate>Fri, 08 Aug 2008 09:10:15 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Modelling Shoplifting]]></title>
      <link>http://securityratty.com/article/3943f3c70f24e801812a87cf0b0b61f8</link>
      <guid>http://securityratty.com/article/3943f3c70f24e801812a87cf0b0b61f8</guid>
      <description><![CDATA[The other day I was thinking that I should write about specific situation models and by coincident Marc Adler pens CEP and Shoplifting . In Marcs post, Marc begins to model shoplifting as if...]]></description>
      <content:encoded><![CDATA[<p>The other day I was thinking that I should write about specific situation models and by coincident Marc Adler pens <a href="http://magmasystems.blogspot.com/2008/09/cep-and-shoplifting.html" target="_blank">CEP and Shoplifting</a>.  In Marc&#8217;s post, Marc begins to model shoplifting as if shoplifting is &#8220;market data,&#8221; with Level 1 to Level 4 shoplifting &#8220;quotes&#8221; - the natural approach for a brilliant guy from Citi.   In reality, this model does not work very well, and I&#8217;ll touch on a few reasons why today.</p>
<p>Marc&#8217;s initial shoplifting model in his post is based on John <span id="SPELLING_ERROR_3" class="blsp-spelling-error">Colapinto&#8217;s concepts of matching a pattern of customer movements in the store with their estimated patterns of shoplifting behavioral patterns.    Marc&#8217;s asks how Coral8 might address this.   We are not ready to seek a vendor solution.  We do not yet have a workable detection model.</span></p>
<p><span class="blsp-spelling-error">As indicated above, I don&#8217;t think the example situation cited by John and Marc is a viable model for automated processing.    Tracking the behavior of customer&#8217;s movements, by machine, would require some very sophisticated image processing technology that would be too expensive compared to any possible loss at most retails stores.    This type of behavioral pattern recognition. in retail stores, is performed by people (security personnel), not machines, observing people.  </span></p>
<p><span class="blsp-spelling-error">To develop a machine pattern recognition application to detect retail shoplifting we need to build detection models that are economically feasible.  If we are going to use a model of shoplifting pattern recognition versus anomaly detection, we need to define the objects we must track.   </span></p>
<p><span class="blsp-spelling-error">In the most simple model, we have merchandise-objects.   Stores normally (physically) track merchandise-objects only at the exit/entry points of the store using some electromagnetic proximity detection technology.   In this model, the detection configuration is a combination of simple alerting with humans watching the store (&#8221;minding the store&#8221;).    This is not complex event processing.</span></p>
<p><span class="blsp-spelling-error">However, if we added another object to our model, the customer-object, then we start to get more &#8220;complex,&#8221; but we have not defined &#8220;complexity&#8221; yet because we have not defined the object properties, the possible states of the objects, and the relationships between the objects that are the basis for estimated situations.</span></p>
<p><span class="blsp-spelling-error">Hence, model building is constrained by available resources, simple economics and risk (cost-benefit).  If we are detecting shoplifting in Walmart the cost-benefit model for implementing an automated shoplifting detection system would be different than at a top diamond store on 5th Avenue in NYC.   Protecting loss at a weapons-grade uranium respository follows a different model than protecting loss at a handicraft shop, naturally.</span></p>
<p><span class="blsp-spelling-error">Like Marc, I find models to automatically detect shoplifting interesting, so permit me to close with a general discussion of shoplifting in the context of our <a href="http://www.thecepblog.com/what-is-complex-event-processing/" target="_blank">CEP/EP reference model</a>.</span></p>
<p><span class="blsp-spelling-error"><span class="blsp-spelling-error">One approach would be do determine what objects will be represented in our model.   For example, if we are going to track merchandise, we need to model the &#8221;merchandise-object&#8221;.  If we are going to track people, we need to define the properties of this &#8220;person object.&#8221;  If we are going to represent the store layout, we need to define all these objects (store-object, table-object, shelf-object, entry-object and so forth).  The model can get &#8220;complex&#8221; quite quickly.  </span></span></p>
<blockquote><p><span class="blsp-spelling-error"><span class="blsp-spelling-error">Editorial Note:  <em>An object-oriented approach greatly assists complex model building because we can benefit from OO properties such as encapsulation and polymorphism.  For example, we can define a basic &#8220;person object class&#8221; and then create superclasses of this object for &#8220;customer-object&#8221;, &#8220;manager-object&#8221;, &#8220;or criminal-object.&#8221;</em></span></span></p></blockquote>
<p><span class="blsp-spelling-error"><span class="blsp-spelling-error">Generally speaking, each object we define will require a state-model, for example, in Marc&#8217;s example of a customer moving around the store, we would need to model the possible states (customer at the entrance, at table 1, at table 2, at shelf 1, in the bathroom, at the cashier, etc.)  Indeed Marc, this is complex event processing if we have modelled multiple objects and defined object-object relationships that indicate situations of interest.   For example, customer-object at table2 where merchandise-object has the property of  &#8221;very expensive, high risk&#8221; and then customer-object changes state to &#8220;in bathroom&#8221;.  Of course, we need more key indicators, but you get the idea.</span></span></p>
<p><span class="blsp-spelling-error"><span class="blsp-spelling-error">Right now, I am typing from the <a href="http://www.taste4heaven.com">Taste from Heaven Vegetarian Restaurant</a> in Chiang Mai and my battery is running low.  The owner of this excellent restaurant also runs the <a href="http://www.elephantnaturefoundation.org/" target="_blank">Elephant Nature Park</a>, a non-profit organization advocating and acting on behalf of the rights of the mighty elephants in Thailand.  Would be great if we could also automatically detect the situation of &#8220;elephant abuse&#8221; by poachers and other crimes against nature.   Time to get back to my delicious mushroom salad, Northeastern Thai style.</span></span></p>
<p><span class="blsp-spelling-error"><span class="blsp-spelling-error">As always, thanks for reading, time for me to get back to eating!</span></span></p>
<p> </p>
]]></content:encoded>
      <pubDate>Sun, 07 Sep 2008 03:30:15 +0000</pubDate>
      <category domain="http://securityratty.com/tag/store">store</category>
      <category domain="http://securityratty.com/tag/store-object">store-object</category>
      <category domain="http://securityratty.com/tag/complex">complex</category>
      <category domain="http://securityratty.com/tag/model canget complex">model canget complex</category>
      <category domain="http://securityratty.com/tag/model">model</category>
      <category domain="http://securityratty.com/tag/simple">simple</category>
      <category domain="http://securityratty.com/tag/simple economics">simple economics</category>
      <category domain="http://securityratty.com/tag/simple model">simple model</category>
      <category domain="http://securityratty.com/tag/object">object</category>
      <source url="http://www.thecepblog.com/2008/09/07/modelling-shoplifting/">Modelling Shoplifting</source>
    </item>
    <item>
      <title><![CDATA[Streaming SQL Approaches Insist in Ignoring Causality by PatternStorm]]></title>
      <link>http://securityratty.com/article/46fcc325a183e0e5f0b350bcc9aeb6b5</link>
      <guid>http://securityratty.com/article/46fcc325a183e0e5f0b350bcc9aeb6b5</guid>
      <description><![CDATA[The following excellent discussion is reposted from Streaming SQL approaches insist in ignoring causality by PatternStorm
The recent paper Towards a Streaming SQL Standard by Oracle and Streambase...]]></description>
      <content:encoded><![CDATA[<blockquote><p>The following excellent discussion is reposted from <a href="http://www.thecepblog.com/wp-admin/#p452">Streaming SQL approaches insist in ignoring causality</a> by PatternStorm.</p></blockquote>
<p>The recent paper &#8220;<a href="http://www.cs.brown.edu/%7Eugur/streamsql.pdf" target="_blank">Towards a Streaming SQL Standard</a>&#8221; by Oracle and Streambase unifies and generalizes two different execution models of Streaming SQL: Oracle&#8217;s and StreamBase&#8217;s.</p>
<p>While it&#8217;s true that the generalization succeeds in overcoming the unability of both execution models of producing correct results for astonishing simple queries (showing evidence of the actual limitations of these two Streaming SQL languages) it is also true that the generalization is closer to being overly complex than natural and intuitive.</p>
<p>The root cause behind the actual limitations of these two Streaming SQL languages is that their execution models &#8220;hardcode&#8221; the way events can be related to each other: in the Oracle case events are partially ordered by timestamp, in the StreamBase case events are totally ordered by time of arrival. These design decisions (natural in a stream oriented lamguage) have strong implications on what queries can be answered correctly, particularly when these queries involve joins of derived streams.</p>
<p>The generalization, of course, mainly consists in providing a new operator that allows the user to establish custom ordering relationships among the events (the SPREAD operator), which is good news but takes us to the fundamental issue: event processing cannot be reduced to stream processing, that is, to the processing of events that are totally or partially ordered by a pre-defined relationship (as Oracle and StreamBase actual implementations do), on the contrary, no particular ordering can be assumed because the user needs to be able to order the events in different ways in order to solve different problems. This is what event processing is about and the paper provides evidence that Streaming SQL approaches have found the need to move towards that direction and are having trouble in their way.</p>
<p>For instance, one of the queries used in the paper as an example of a query that StreamBase cannot solve (but Oracle can) is the following: correlate the stream that contains the total number of cars on the road for each time interval with the stream that contains the total average speed of the cars on the road for each time interval in order to detect the situation where the avergae speed is below 45 and the total number of cars is two or more. This query can be very easily and more robustly solved if you order the events by causality rather than by time, that is, if you have each position report update the average speed stream and the total number of cars stream and then you causally relate each position report to the new average speed event and the new total number of cars event that it generates; then the query is just a matter of detecting all report speeds that are causally related both to an average speed event below 45 and a total number of cars event of two or more (notice that this approach is more robust than Oracle&#8217;s time-based one because it works without requiring derived streams to be synchronized with the report speed stream)</p>
<p>Conclusions:</p>
<ul>
<li>Event Processing is a generalization of Stream Processing (as the paper shows)</li>
<li>Event Processing requires providing the ability to the user of creating custom relationships among events and then define patterns/queries using those custom relationships.</li>
<li>Causality is more often than not a more robust and easier criteria to order events than time or order of arrival.</li>
<li>Event Processing Languages should support causality.</li>
</ul>
<p>Regards,<br />
PatternStorm</p>
]]></content:encoded>
      <pubDate>Fri, 05 Sep 2008 10:25:35 +0000</pubDate>
      <category domain="http://securityratty.com/tag/sql">sql</category>
      <category domain="http://securityratty.com/tag/sql approaches insist">sql approaches insist</category>
      <category domain="http://securityratty.com/tag/cars stream">cars stream</category>
      <category domain="http://securityratty.com/tag/stream">stream</category>
      <category domain="http://securityratty.com/tag/average speed event">average speed event</category>
      <category domain="http://securityratty.com/tag/event">event</category>
      <category domain="http://securityratty.com/tag/sql languages">sql languages</category>
      <category domain="http://securityratty.com/tag/languages">languages</category>
      <category domain="http://securityratty.com/tag/cars event">cars event</category>
      <source url="http://www.thecepblog.com/2008/09/05/streaming-sql-approaches-insist-in-ignoring-causality-by-patternstorm/">Streaming SQL Approaches Insist in Ignoring Causality by PatternStorm</source>
    </item>
    <item>
      <title><![CDATA[SDL and the XSS Filter]]></title>
      <link>http://securityratty.com/article/ce479edf032699e552a4cb52750d1f63</link>
      <guid>http://securityratty.com/article/ce479edf032699e552a4cb52750d1f63</guid>
      <description><![CDATA[Steve Lipner here. When the Internet Explorer team posted the announcement about the XSS Filter feature in IE8 I asked some other members of the SDL blog team why arent we talking about the new XSS...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>Steve Lipner here.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>When the Internet Explorer team posted the announcement about the </FONT><A href="http://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-iv-the-xss-filter.aspx"><FONT face=Calibri color=#0000ff size=3>XSS Filter feature in IE8</FONT></A><FONT size=3><FONT face=Calibri> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>I asked some other members of the SDL blog team “why aren’t we talking about the new XSS Filter feature on the SDL blog?” &nbsp;Bryan and Jeremy said something like “that’s a mitigation that only applies to specific clients and a subset of attacks”.&nbsp; So we didn’t cross-reference IE’s XSS Filter post on the SDL blog at the time.&nbsp; Instead, I agreed to write a subsequent post about the relationship of XSS Filter to the SDL and to the ways that our SDL and security science teams think about improving product security.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>For those of you who aren’t familiar with XSS Filter, a brief summary is that it is a client-side defense against reflected cross-site scripting (XSS) attacks.&nbsp; It works by recognizing that reflected XSS attacks inject script into the string that the browser sends to the targeted web server.&nbsp; If the server doesn’t neuter or strip out the injected script, it gets sent back to the browser and executed in the context of the target web page.&nbsp; Bad things then happen.&nbsp; At a high level, XSS Filter remembers the string that the browser sent to the server, and looks at the server’s response to see if any of the script was actually in that string.&nbsp; If it was, then XSS Filter decides that it got there because it was injected by an XSS attack and blocks the script from executing.&nbsp; The rest of the web page renders as usual.&nbsp; This is a vastly oversimplified sketch of XSS Filter – for details, see the post by David Ross, inventor of XSS Filter on the </FONT><A href="http://blogs.technet.com/swi/archive/2008/08/19/ie-8-xss-filter-architecture-implementation.aspx"><FONT face=Calibri color=#0000ff size=3>Security Vulnerability Research and Defense blog</FONT></A><FONT size=3><FONT face=Calibri>.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>So what does XSS Filter have to do with the SDL?&nbsp; Well, for almost nine years, since XSS was first discovered at Microsoft, we’ve been trying to figure out effective ways to reduce vulnerability to XSS attacks.&nbsp; Our focus has been on improving the ways that web page developers code their pages, and we’ve developed a lot of tools and techniques for making web content safer from XSS attacks and for detecting XSS vulnerabilities in live pages.&nbsp; The SDL requires the use of many of these tools and techniques, and we’re sure we’ve prevented a lot of XSS vulnerabilities from being introduced into Microsoft web pages as a result.&nbsp; <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>But while we identify (and the SDL requires) measures that allow developers to avoid classes of vulnerabilities, we also look to identify more sweeping solutions that can either 1) eliminate classes of vulnerabilities, 2) reduce their severity, or 3) reduce the likelihood of attacks being successful.&nbsp; The process usually starts from deep understanding of a class of vulnerabilities and attacks, and then we broaden defenses from there.&nbsp; In the case of XSS Filter, David’s years of work researching XSS led him to come up with an approach that blocks many of the most common vulnerabilities to reflected attacks found on the web today.&nbsp; The solution is compatible with existing web pages (doesn’t “break the web”) and thus we were able to enable it by default for users of Internet Explorer 8.&nbsp; Because it’s a client-side mitigation, it will help protect users from attacks even though the sites they visit may be vulnerable to XSS.&nbsp; <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>Our work on buffer overrun defenses follows a somewhat similar pattern – we started by prescribing coding techniques, banning the use of some APIs, and building tools that detect coding constructs that look like buffer overruns.&nbsp; As we gained a deeper understanding of how buffer overruns can be exploited, we enhanced the </FONT><A href="http://msdn.microsoft.com/en-us/library/8dbf701c(VS.80).aspx"><FONT face=Calibri size=3>/GS compiler flag</FONT></A><FONT face=Calibri size=3> and added </FONT><A href="http://blogs.msdn.com/michael_howard/archive/2006/05/26/address-space-layout-randomization-in-windows-vista.aspx"><FONT face=Calibri color=#0000ff size=3>ASLR</FONT></A><FONT size=3><FONT face=Calibri> in a quest to cause classes of exploits to fail even if a buffer overrun remains.&nbsp; We’re not yet close to eliminating the SDL requirements for use of tools and coding techniques, but the SDL also requires the use of the mitigations to reduce the severity of vulnerabilities that slip past.&nbsp; Will we ever get to the point where the mitigating technologies are so strong that we can relax the coding requirements?&nbsp; Maybe not, but we will continue to introduce technologies that reduce the chances of a successful attack.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>Similarly, in the case of XSS, even after IE8 ships, the SDL will continue to require the use of safe web site coding practices and tools such as the </FONT><A href="http://msdn.microsoft.com/en-us/library/aa973813.aspx"><FONT face=Calibri color=#0000ff size=3>Anti-XSS library</FONT></A><FONT size=3><FONT face=Calibri> both to protect users of browsers other than IE8 and to provide protection in recognition of the fact that XSS Filter is a mitigation or defense in depth rather than a complete solution.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>But we’ll also be keeping our eyes open (and doing active research) in the quest for an even more effective defense – whether client or server side – that eliminates XSS for good.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>This post is a little far afield from the normal content of the SDL blog, but I thought it was important to provide a picture of the role of security science and security research in defining SDL requirements and in making major improvements in software security.&nbsp; You can read more about our work in security science in the </FONT><A href="http://blogs.technet.com/swi/default.aspx"><FONT face=Calibri color=#0000ff size=3>Security Vulnerability Research and Defense blog</FONT></A><FONT size=3><FONT face=Calibri>.</FONT></FONT></P><img src="http://blogs.msdn.com/aggbug.aspx?PostID=8900490" width="1" height="1">]]></content:encoded>
      <pubDate>Wed, 27 Aug 2008 11:35:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/xss">xss</category>
      <category domain="http://securityratty.com/tag/xss filter">xss filter</category>
      <category domain="http://securityratty.com/tag/xss vulnerabilities">xss vulnerabilities</category>
      <category domain="http://securityratty.com/tag/xss led">xss led</category>
      <category domain="http://securityratty.com/tag/anti-xss library">anti-xss library</category>
      <category domain="http://securityratty.com/tag/xss attack">xss attack</category>
      <category domain="http://securityratty.com/tag/xss attacks">xss attacks</category>
      <category domain="http://securityratty.com/tag/attacks">attacks</category>
      <category domain="http://securityratty.com/tag/xss filter remembers">xss filter remembers</category>
      <source url="http://blogs.msdn.com/sdl/archive/2008/08/27/sdl-and-the-xss-filter.aspx">SDL and the XSS Filter</source>
    </item>
    <item>
      <title><![CDATA[Myspace Cracker Steals Firefox Passwords]]></title>
      <link>http://securityratty.com/article/1a4072a96ea8dd94eda6fa2169ef914f</link>
      <guid>http://securityratty.com/article/1a4072a96ea8dd94eda6fa2169ef914f</guid>
      <description><![CDATA[A &quot;Myspace Cracking tool&quot; has recently come to light, though if you're considering attempting to crack some Myspace accounts with this





then you might want to think again, on account of it not...]]></description>
      <content:encoded><![CDATA[
        A "Myspace Cracking tool" has recently come to light, though if you're considering attempting to crack some Myspace accounts with this:<br /><br /><div align="center"><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="mscrkff1.jpg" src="http://blog.spywareguide.com/images/mscrkff1.jpg" class="mt-image-none" style="" height="87" width="67" /></span></div><br /> <div><br />....then you might want to think again, on account of it not being quite what it seems. This "cracking tool" is only after one persons details: yours. Run it, and you'll see the following (somewhat bizarre) message, which should be your first clue that all is not quite right here:<br /><br /><div align="center"><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="mscrkff2.jpg" src="http://blog.spywareguide.com/images/mscrkff2.jpg" class="mt-image-none" style="" height="125" width="229" /><br />
  <br />
  <br />
</span></div>
At this point, your CD tray may well pop open - perhaps in tribute to the Trojans of old that did pretty much the same thing. At any rate, you're certainly not cracking any Myspace accounts, and after a faint grinding from your PC you're left to sit and stare at your desktop, wondering what went wrong. Here's a clue - have a poke around inside the EXE, and some lines of code will likely start to give the game away:<br /><br /><div align="center"><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="mscrkff3.jpg" src="http://blog.spywareguide.com/images/mscrkff3.jpg" class="mt-image-none" style="" height="44" width="308" /></span></div><br /><br />..."Firefox password grabber"? Oh dear.<br /><br />The observant end-user will notice a .txt file appears on their C Drive, and itcontains all the stored passwords saved via Firefox on their computer:<br /><br /><div align="center"><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://blog.spywareguide.com/images/mscrkff51.html" onclick="window.open('http://blog.spywareguide.com/images/mscrkff51.html','popup','width=563,height=282,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://blog.spywareguide.com/images/mscrkff5-thumb-363x181.jpg" alt="mscrkff5.jpg" class="mt-image-none" style="" height="181" width="363" /></a></span><br /><br />Click to Enlarge<br /></div><br />As you can see, the bad guys here seem to be exploiting a well known password recovery tool for nefarious purposes - in this case, <a href="http://www.security-hacks.com/2007/05/01/firepassword-decrypt-firefox-password-manager">Firepassword</a>. You're probably wondering what happens with the stored login details at this point - well, do some more digging in the code and you'll see this:<br /><br /><div align="center"><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://blog.spywareguide.com/images/stolen.html" onclick="window.open('http://blog.spywareguide.com/images/stolen.html','popup','width=574,height=377,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://blog.spywareguide.com/images/stolen-thumb-374x245.jpg" alt="stolen.jpg" class="mt-image-none" style="" height="245" width="374" /></a></span><br /><br />Click to Enlarge<br /></div><br />The stolen Firefox passwords are sent to an FTP drop set up by the hacker, and every login you had stored in Firefox at that point is immediately at risk. Of course, if you're foolish enough to play around with hacking tools then there's a good chance you're going to get burned sooner or later...<br /><br />We detect this as <a href="http://www.spywareguide.com/spydet_32576_foxpass.html">FoxPass</a>.<br /></div><div><br /></div>
        
    ]]></content:encoded>
      <pubDate>Tue, 26 Aug 2008 14:49:03 +0000</pubDate>
      <category domain="http://securityratty.com/tag/firefox">firefox</category>
      <category domain="http://securityratty.com/tag/firefox passwords">firefox passwords</category>
      <category domain="http://securityratty.com/tag/myspace">myspace</category>
      <category domain="http://securityratty.com/tag/tool">tool</category>
      <category domain="http://securityratty.com/tag/myspace accounts">myspace accounts</category>
      <category domain="http://securityratty.com/tag/firefox password grabber">firefox password grabber</category>
      <category domain="http://securityratty.com/tag/password recovery tool">password recovery tool</category>
      <category domain="http://securityratty.com/tag/ftp drop set">ftp drop set</category>
      <category domain="http://securityratty.com/tag/login details">login details</category>
      <source url="http://blog.spywareguide.com/2008/08/myspace-cracker-steals-firefox.html">Myspace Cracker Steals Firefox Passwords</source>
    </item>
    <item>
      <title><![CDATA[Music, movie lobbyists push to spy on your Net traffic]]></title>
      <link>http://securityratty.com/article/6252740240fa5ae4fb469691f603ce36</link>
      <guid>http://securityratty.com/article/6252740240fa5ae4fb469691f603ce36</guid>
      <description><![CDATA[Recording industry and motion picture lobbyists are renewing their push to convince broadband providers to monitor customers and detect copyright infringements, claiming the concept is working abroad...]]></description>
      <content:encoded><![CDATA[Recording industry and motion picture lobbyists are renewing their push to convince broadband providers to monitor customers and detect copyright infringements, claiming the concept is working abroad and should be adopted in the United States. ]]></content:encoded>
      <pubDate>Tue, 19 Aug 2008 11:30:02 +0000</pubDate>
      <category domain="http://securityratty.com/tag/detect copyright infringements">detect copyright infringements</category>
      <category domain="http://securityratty.com/tag/convince broadband providers">convince broadband providers</category>
      <category domain="http://securityratty.com/tag/motion picture lobbyists">motion picture lobbyists</category>
      <category domain="http://securityratty.com/tag/push">push</category>
      <category domain="http://securityratty.com/tag/monitor customers">monitor customers</category>
      <category domain="http://securityratty.com/tag/abroad">abroad</category>
      <category domain="http://securityratty.com/tag/industry">industry</category>
      <category domain="http://securityratty.com/tag/concept">concept</category>
      <source url="http://digg.com/security/Music_movie_lobbyists_push_to_spy_on_your_Net_traffic">Music, movie lobbyists push to spy on your Net traffic</source>
    </item>
    <item>
      <title><![CDATA[The Bot Hunter: An Event Processing Challenge]]></title>
      <link>http://securityratty.com/article/ad344d30f5d4c2ad499d08baf386a23b</link>
      <guid>http://securityratty.com/article/ad344d30f5d4c2ad499d08baf386a23b</guid>
      <description><![CDATA[Recently we penned The Attack of the Spiders from the Clouds where we mentioned how cloud computing infrastructures can be used to stage malicous or accidential network attacks
Today I challenge our...]]></description>
      <content:encoded><![CDATA[<p>Recently we penned <a href="http://www.thecepblog.com/2008/07/31/the-attack-of-the-spiders-from-the-clouds/" target="_blank">The Attack of the Spiders from the Clouds</a> where we mentioned how cloud computing infrastructures can be used to stage malicous or accidential network attacks.</p>
<p>Today I challenge our CEP/ESP/EP vendors (or SIs) to create the following solution to detect and block rogue bots on Apache web sites.   I will install and test each submitted solution on <a href="http://www.unix.com" target="_blank">The UNIX Forums</a> and post the results here.</p>
<p>Here are some basic requirements:</p>
<ol>
<li>Your solution must run on Linux and be installable and configurable remotely with SSH or HTTP.  There will be no physical access to the server. No exceptions.</li>
<li>Preferrably, the configuration can be done with a Web-Based Interface (WBI) - a browser.</li>
<li>Your solution will listen to continuous updates to the Apache2 access log, exact location configurable in your solution, and identify robots ( bots), also known as spiders, from the log.</li>
<li>Your solution will provide a confidence metric, key indicator (KI), for each bot detected, from 0 to 10, where 10 indicates &#8220;absolutely a bot,&#8221; 0 is &#8220;absolutely not a bot.&#8221;</li>
<li>Your solution will update the IP address of each bot and KI you identify in a file/table called, for example, ./bot_scorecard.txt where each line is an IP address of a bot, followed by a semicolon (or other delimiter of your choice) and the confidence factor, for example,  10.0.0.1;10 means that 10.0.0.1 is a bot, 100% sure.</li>
<li>Your solution must compare bots detected to a file/table called, for example, ./bots_allowed.txt and ./bots_denied.txt that are in the format IP address/mask, for example 10.0.0.1/24, or 10.0.0.1/32.</li>
<li>If the KI &#8220;confidence factor&#8221; of the IP address of your detected bot is higher than the tunable &#8220;is a bot&#8221; KI, then your solution should update the tables/files and then call iptables and block the bot.</li>
<li>It should send an email to one or more email addresses with a message, for example:  &#8220;New Bot Detected - Confidence 8&#8243; with IP address, etc. in the message.  Another example would be an email, &#8220;Bot Blocked&#8221; - with details, etc.</li>
<li>You cannot automatically block any traffic that is not a bot.  Blocking one &#8220;non-bot&#8221; results in failure, no exceptions.</li>
<li>The Prize:  The winner will get their logo (w/link) on this site in a block called &#8220;Bot Hunter Winner&#8221; (or something like that.)</li>
</ol>
<p>These are some basic requirements; I don&#8217;t want to restrict your thinking or solution, so be creative!  Feel free to ask any questions in the comment section of this thread.</p>
<p>Remember, sometimes you may have to manage the state of IP addresses for days, or hours, before you can accurately deterimine if it is a bot based on behavior alone.   So, you will need to work with both long and short time windows.  Latency is not important. Detection accurate is importance.</p>
<p>Anyone care to submit a solution for testing?</p>
]]></content:encoded>
      <pubDate>Fri, 15 Aug 2008 05:35:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/bot">bot</category>
      <category domain="http://securityratty.com/tag/winner">winner</category>
      <category domain="http://securityratty.com/tag/bot hunter winner">bot hunter winner</category>
      <category domain="http://securityratty.com/tag/bot based">bot based</category>
      <category domain="http://securityratty.com/tag/non-bot results">non-bot results</category>
      <category domain="http://securityratty.com/tag/results">results</category>
      <category domain="http://securityratty.com/tag/bot scorecard">bot scorecard</category>
      <category domain="http://securityratty.com/tag/solution">solution</category>
      <category domain="http://securityratty.com/tag/block rogue bots">block rogue bots</category>
      <source url="http://www.thecepblog.com/2008/08/15/the-bot-hunter-an-event-processing-challenge/">The Bot Hunter: An Event Processing Challenge</source>
    </item>
    <item>
      <title><![CDATA[Data Mining to Detect Pump-and-Dump Scams]]></title>
      <link>http://securityratty.com/article/a5878a5dbedbdb06b13ea9db23d0e411</link>
      <guid>http://securityratty.com/article/a5878a5dbedbdb06b13ea9db23d0e411</guid>
      <description><![CDATA[I don't know any of the details, but this seems like a good use of data mining: Mr Tancredi said Verisign's fraud detection kit would help &quot;decrease the time between the attack being launched and the...]]></description>
      <content:encoded><![CDATA[<p>I don't know any of the details, but <a href="http://news.bbc.co.uk/1/hi/technology/7552009.stm">this</a> seems like a good use of data mining:</p>

<blockquote>Mr Tancredi said Verisign's fraud detection kit would help "decrease the time between the attack being launched and the brokerage being able to respond".

<p>Before now, he said, brokerages relied on counter measures such as restrictive stock trading or analysis packages that only spotted a problem when money had gone.</p>

<p>Verisign's software is a module that brokers can add to their in-house trading system that alerts anti-fraud teams to look more closely at trades that exhibit certain behaviour patterns.</p>

<p>"What this self-learning behavioural engine does is look at the different attributes of the event, not necessarily about the computer or where you are logging on from but about the actual transaction, the trade, the amount of the trade," said Mr Tancredi.</p>

<p>"For example have you liquidated all of your assets in stock that you own in order to buy one penny stock?" he said. "Another example is when a customer who normally trades tech stock on Nasdaq all of a sudden trades a penny stock that has to do with health care and is placing a trade four times more than normal."</blockquote></p>

<p>This is a good use of data mining because, as I <a href="http://www.schneier.com/blog/archives/2006/03/data_mining_for.html">said</a> previously:</p>

<blockquote>Data mining works best when there's a well-defined profile you're searching for, a reasonable number of attacks per year, and a low cost of false alarms.</blockquote>

<p>Another news article <a href="http://news.yahoo.com/s/zd/20080811/tc_zd/230711">here</a>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=MmnOWK"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=MmnOWK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=pZdBMK"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=pZdBMK" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Thu, 14 Aug 2008 02:10:34 +0000</pubDate>
      <category domain="http://securityratty.com/tag/stock">stock</category>
      <category domain="http://securityratty.com/tag/penny stock">penny stock</category>
      <category domain="http://securityratty.com/tag/restrictive stock">restrictive stock</category>
      <category domain="http://securityratty.com/tag/data">data</category>
      <category domain="http://securityratty.com/tag/trades tech stock">trades tech stock</category>
      <category domain="http://securityratty.com/tag/trades">trades</category>
      <category domain="http://securityratty.com/tag/fraud detection kit">fraud detection kit</category>
      <category domain="http://securityratty.com/tag/alerts anti-fraud teams">alerts anti-fraud teams</category>
      <category domain="http://securityratty.com/tag/trade">trade</category>
      <source url="http://www.schneier.com/blog/archives/2008/08/data_mining_to.html">Data Mining to Detect Pump-and-Dump Scams</source>
    </item>
    <item>
      <title><![CDATA[The Secret Sauce is the Situation Models]]></title>
      <link>http://securityratty.com/article/e137f84c371e05c9a9841a0cc1ff27ec</link>
      <guid>http://securityratty.com/article/e137f84c371e05c9a9841a0cc1ff27ec</guid>
      <description><![CDATA[AlanLundberg wrote, Intelligent Business Process Platform? in response to Bringing Order to Chaos where someone from PWC linked event processing to business intelligence and business process...]]></description>
      <content:encoded><![CDATA[<p>Alan Lundberg wrote, <a href="http://tibcoblogs.com/cep/2008/08/04/intelligent-business-process-platform/">Intelligent Business Process Platform?</a> in response to <a href="http://www.pwc.com/extweb/home.nsf/docid/FB2EF3AC6E351ECC8525746B00676021" target="_blank">Bringing Order to Chaos</a> where someone from PWC linked event processing to business intelligence and business process management.  In turn, James Taylor penned <a href="http://smartenoughsystems.com/wp/2008/08/05/using-decision-management-to-deliver-intelligent-business-performance/">Using decision management to deliver intelligent business performance</a> where James rightly said that it does not require &#8220;heroic efforts&#8221; to integrate event processing, BI, BPM and other decision support tools.  </p>
<p>As a reference, you may have seen this briefing, one of many where I show these functional relationships, <a href="http://debs.msrg.utoronto.ca/bass.pdf">Mythbusters: Event Stream Processing Versus Complex Event Processing</a>, from DEBS2007.  For example slide 23 shows the functional relationship between events, pre-processing, event tracking, situational detection, historical patterns (the output of BI tools, for example), visualization and business process management.</p>
<p>In <a href="http://rvsoapbox.blogspot.com/2008/08/faithful-representation.html" target="_blank">Faithful Representation</a>, Richard Veryard reminds his readers that the most challenging part is in the situation models (not the system integration).  Unfortunately, by accident, Richard incorrectly attributes Opher Etzion&#8217;s &#8220;first order situation model approximation&#8221; to both Opher and I in this quote from Richard&#8217;s post, <em>&#8220;a simple situation model of complex events, in which events (including derived, composite and complex events) represent the &#8220;situation&#8221;.    </em></p>
<p>Actually, that simple situation model above is Opher&#8217;s, not mine.  I have offered a more general and comprehensive (first draft) situation model, in <a title="A Simple Situation Model for Complex Events" rel="bookmark" href="http://www.thecepblog.com/2008/07/15/a-simple-situation-model-for-complex-events/">A Simple Situation Model for Complex Events</a> based on a cognitive situation model used by <a href="http://www.nd.edu/~memory/theory.html" target="_blank">researchers at the University of Notre Dame</a>.  I do not believe that complex events and situations can be modelled accurately using Opher&#8217;s simple model of <em>derived, composite and complex events.   </em>This model is overly simple, in my opinion. to represent the vast majority of CEP classes of problems, perhaps explaining why Opher and I do not agree on the state-of-the-art of CEP.  Opher tends to view CEP as mostly an extension of active database technology where I see CEP as a technology that is much more closely aligned with the cognitive models represented in the <a href="http://www.thecepblog.com/what-is-complex-event-processing/" target="_blank">art-and-science of multi-sensor data fusion (MSDF).</a>  </p>
<p>Complex events represent situations, and situations must be accurately modelled if we are going to accurately detect them in real-time.  If your business cannot model a complex event (situation) then it does not matter what software you buy, how much money you spend, or what event processing and integration platform you use.   The models are hard.  The system integration is relatively easy.</p>
<p>The secret sauce is the situation and complex event models.</p>
<p>As mentioned here a few times, it does not matter how fast you process events in real-time, if your model is wrong, you just detect the wrong thing very fast.  This is very bad and quite dangerous.  You will make bad decisions fast.  You will waste time, money and resources.</p>
<p>This is why CEP benchmarks should be based on accuracy in situation detection, not in latency and other low-level performance metrics.   First, get the models right; then refine to detect faster, if speed is required.   What has happened in CEP to date, is that the models are so simple, they do not really detect complex events, they just process and act on simple events that are easy to model. </p>
]]></content:encoded>
      <pubDate>Sat, 09 Aug 2008 06:23:08 +0000</pubDate>
      <category domain="http://securityratty.com/tag/situation">situation</category>
      <category domain="http://securityratty.com/tag/situation detection">situation detection</category>
      <category domain="http://securityratty.com/tag/cognitive situation model">cognitive situation model</category>
      <category domain="http://securityratty.com/tag/simple situation model">simple situation model</category>
      <category domain="http://securityratty.com/tag/model">model</category>
      <category domain="http://securityratty.com/tag/situation models">situation models</category>
      <category domain="http://securityratty.com/tag/situation model approximation">situation model approximation</category>
      <category domain="http://securityratty.com/tag/events">events</category>
      <category domain="http://securityratty.com/tag/complex events based">complex events based</category>
      <source url="http://www.thecepblog.com/2008/08/09/the-secret-sauce-is-the-situation-models/">The Secret Sauce is the Situation Models</source>
    </item>
    <item>
      <title><![CDATA[Journalist on Journalist Hacking at Black Hat]]></title>
      <link>http://securityratty.com/article/12204a92e0b20cb1cedf983e35a27928</link>
      <guid>http://securityratty.com/article/12204a92e0b20cb1cedf983e35a27928</guid>
      <description><![CDATA[Three French journalists have been booted for life from Black Hat and Defcon for compromising the Black Hat press room wired network and grabbing the credentials for at least one reporter. Their goal...]]></description>
      <content:encoded><![CDATA[<p>Three French journalists have been booted for life from Black Hat and Defcon for <a href="http://news.cnet.com/8301-1009_3-10010989-83.html">compromising the Black Hat press room wired network</a> and grabbing the credentials for at least one reporter.  Their goal was to publicize the risks to reporters especially current given the massive reporter presence in Bejing for the Olympics.  This risk is certainly real and it is a shame that these journalists had to compromise and embarass one of their own and potentially run afoul of US Federal wiretap laws.</p>
<p><a href="http://packetstormsecurity.org/sniffers/antisniff/"><img class="alignnone size-medium wp-image-181" title="antisniff-splash-smgif" src="http://www.veracode.com/blog/wp-content/uploads/2008/08/antisniff-splash-smgif-300x147.jpg" alt="" width="300" height="147" /></a></p>
<p>Sniffing, or monitoring all traffic on a network, is so 1999.  That is when <a href="http://www.lopht.com">L0pht</a> came out with <a href="http://windowsitpro.com/article/articleid/7258/antisniff-beta-2.html">AntiSniff</a>, which could detect many scenarios where someone was sniffing a wired network.  How can we be using plain text authentication protocols in 2008?  It is a well known and easily solved problem. But people authenticate in clear text everyday when they log into social networking or blogs or other &#8220;unimportant&#8221; applications.  The problem is when they <a href="http://news.cnet.com/8301-1009_3-9989071-83.html">use those same credentials for work or online banking</a>.</p>
<p>We need to think of any application that alows users to authenticate in the clear as broken.  If 3 journalists can monitor paaswords, anyone can.</p>
]]></content:encoded>
      <pubDate>Fri, 08 Aug 2008 09:10:15 +0000</pubDate>
      <category domain="http://securityratty.com/tag/black hat">black hat</category>
      <category domain="http://securityratty.com/tag/network">network</category>
      <category domain="http://securityratty.com/tag/black hat press">black hat press</category>
      <category domain="http://securityratty.com/tag/wired network">wired network</category>
      <category domain="http://securityratty.com/tag/journalists">journalists</category>
      <category domain="http://securityratty.com/tag/massive reporter presence">massive reporter presence</category>
      <category domain="http://securityratty.com/tag/reporter">reporter</category>
      <category domain="http://securityratty.com/tag/french journalists">french journalists</category>
      <category domain="http://securityratty.com/tag/federal wiretap laws">federal wiretap laws</category>
      <source url="http://www.veracode.com/blog/?p=179">Journalist on Journalist Hacking at Black Hat</source>
    </item>
    <item>
      <title><![CDATA[Journalist On Journalist Hacking at BlackHat]]></title>
      <link>http://securityratty.com/article/5a2aac68b4054e39e7b635a0a33d45b1</link>
      <guid>http://securityratty.com/article/5a2aac68b4054e39e7b635a0a33d45b1</guid>
      <description><![CDATA[Three French journalists have been booted for life from Black Hat and Defcon for compromising the Black Hat press room wired network and grabbing the credentials for at least one reporter. Their goal...]]></description>
      <content:encoded><![CDATA[<p>Three French journalists have been booted for life from Black Hat and Defcon for <a href="http://news.cnet.com/8301-1009_3-10010989-83.html">compromising the Black Hat press room wired network</a> and grabbing the credentials for at least one reporter.  Their goal was to publicize the risks to reporters especially current given the massive reporter presence in Bejing for the Olympics.  This risk is certainly real and it is a shame that these journalists had to compromise and embarass one of their own and potentially run afoul of US Federal wiretap laws.</p>
<p><a href="http://packetstormsecurity.org/sniffers/antisniff/"><center><img class="alignnone size-medium wp-image-181 photoborder" title="antisniff-splash-smgif" src="http://www.veracode.com/blog/wp-content/uploads/2008/08/antisniff-splash-smgif-300x147.jpg" alt="" width="300" height="147" /></center></a></p>
<p>Sniffing, or monitoring all traffic on a network, is so 1999.  That is when <a href="http://www.lopht.com">L0pht</a> came out with <a href="http://windowsitpro.com/article/articleid/7258/antisniff-beta-2.html">AntiSniff</a>, which could detect many scenarios where someone was sniffing a wired network.  How can we be using plain text authentication protocols in 2008?  It is a well known and easily solved problem. But people authenticate in clear text everyday when they log into social networking or blogs or other &#8220;unimportant&#8221; applications.  The problem is when they <a href="http://news.cnet.com/8301-1009_3-9989071-83.html">use those same credentials for work or online banking</a>.</p>
<p>We need to think of any application that alows users to authenticate in the clear as broken.  If 3 journalists can monitor passwords, anyone can.</p>
<p><strong>Update 08/08/2008 12:30pm EST:</strong></p>
<p>It turns out the attack was likely a MITM attack where the attackers ran their own DHCP server and handed out a gateway IP that was controlled by them. At least one reporter was connecting to his organization&#8217;s content management system over unencrypted HTTP and got his password compromised. More details in &#8220;<a href="http://www.eweek.com/c/a/Security/How-I-Got-Hacked-at-Black-Hat/">How eWeek Got Hacked at Black Hat</a>.&#8221;</p>
]]></content:encoded>
      <pubDate>Fri, 08 Aug 2008 09:10:15 +0000</pubDate>
      <category domain="http://securityratty.com/tag/black hat press">black hat press</category>
      <category domain="http://securityratty.com/tag/black hat">black hat</category>
      <category domain="http://securityratty.com/tag/network">network</category>
      <category domain="http://securityratty.com/tag/massive reporter presence">massive reporter presence</category>
      <category domain="http://securityratty.com/tag/reporter">reporter</category>
      <category domain="http://securityratty.com/tag/wired network">wired network</category>
      <category domain="http://securityratty.com/tag/journalists">journalists</category>
      <category domain="http://securityratty.com/tag/french journalists">french journalists</category>
      <category domain="http://securityratty.com/tag/federal wiretap laws">federal wiretap laws</category>
      <source url="http://www.veracode.com/blog/2008/08/journalist-on-journalist-hacking-at-black-hat/">Journalist On Journalist Hacking at BlackHat</source>
    </item>
  </channel>
</rss>
