<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>ClearNet Security: Tag ids</title>
    <link>http://blog.clearnetsec.com/articles/tag/ids</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>The booming exploit market and bye bye to swaths of products</title>
      <description>&lt;p&gt;
There are lots of articles mentioning the &lt;a href="http://www.digitalarmaments.com/challenge200801566321.html"&gt;Digital Armaments bounty for exploits&lt;/a&gt;.  I wrote a &lt;a href="http://blog.clearnetsec.com/articles/2007/12/28/%E2%80%9Cbig-money-big-prizes-i-love-it-%E2%80%9D"&gt;snippet&lt;/a&gt; on the commercial exploit market about a month ago, whereby I was simply listing the prices for subscribing to the different exploit houses.
&lt;/p&gt;
&lt;p&gt;
I guess I forgot to consider another complexity of all this and that is from the influence the organizations who compete to purchase exploits are having (e.g.  iDefense, 3COM/TippingPoint, Governments, people and groups w/lots of money).  
&lt;/p&gt;
&lt;p&gt;
I wonder how extensive this really goes &#8211; I mean, it seems this market is in a boom of sorts which implies there are lots of private exploits trading hands.  Exactly how many would be interesting to know.  Hell, any numbers would be nice.    
&lt;/p&gt;
&lt;p&gt;
One thing is apparent though, if this market continues to grow then how can any security products based on &#8220;knowing attacks&#8221; succeed?  They won't.  An IDS vendor is not going to be able to afford to purchase all; no company will have a monopoly.  


</description>
      <pubDate>Thu, 31 Jan 2008 23:50:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:656fdeec-7440-4a99-94be-62030c0fa12e</guid>
      <author>tate@ClearNetSec.com (Tate Hansen)</author>
      <link>http://blog.clearnetsec.com/articles/2008/01/31/the-booming-exploit-market-and-bye-bye-to-swaths-of-products</link>
      <category>security</category>
      <category>ClearNet</category>
      <category>ClearNet Security</category>
      <category>Tate Hansen</category>
      <category>ids</category>
      <category>ips</category>
      <category>exploits</category>
      <category>vulnerabilities</category>
    </item>
    <item>
      <title>building a better security events system</title>
      <description>&lt;p&gt;
It&#8217;s hard to build a decision support system based on partial views of the world.  
&lt;/p&gt;
&lt;p&gt;
My goal is to identify interesting events on a network and to prioritize those events based on sets of attributes.  Yes, there are lots of products that do this.  But most focus on a slice of the world (e.g. an IDS fires an alert based on a regex match on a single packet). And that is boring.  
&lt;/p&gt;
&lt;p&gt;
Doing it for the whole world is where the action is at.  
&lt;/p&gt;
&lt;p&gt;
Capture an alert fired from an IDS, check netflow for a session, note a &#8220;first-time&#8221; event recorded in a syslog message, mix in statistical data mining and learning techniques &#8211; and do it all in near real time.  This is how things get interesting.
&lt;/p&gt;
&lt;p&gt;
Unfortunately it&#8217;s hard to get complete visibility (i.e. get all syslog, all netflow, all application logs, etc.).  There must be a point though where I can get enough information to successfully prioritize interesting events.  I&#8217;m not sure exactly where that&#8217;s at, but it&#8217;s a fun problem to work on. 
&lt;/p&gt;
&lt;p&gt;
&lt;i&gt;The picture is of the inside of IT-Universitetet in Copenhagen where I&#8217;m working for a few weeks.  The meeting rooms all jet out into the open space in the middle &#8211; a pretty cool design.&lt;/i&gt;
&lt;/p&gt;
&lt;img src="http://blog.clearnetsec.com/files/itu.gif"&gt;

</description>
      <pubDate>Sat, 30 Jun 2007 15:56:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:4ea21165-d129-4503-b259-01fdc1539e54</guid>
      <author>tate@ClearNetSec.com (Tate Hansen)</author>
      <link>http://blog.clearnetsec.com/articles/2007/06/30/building-a-better-security-events-system</link>
      <category>security</category>
      <category>ClearNet</category>
      <category>ClearNet Security</category>
      <category>Tate Hansen</category>
      <category>ids</category>
      <category>alerts</category>
      <category>events</category>
      <category>complex events</category>
    </item>
    <item>
      <title>Time for an IDS?</title>
      <description>&lt;p&gt;
Often we run into a scenario where a client wants to improve security by implementing an IDS. Now this is OK but often we find out that they are not exactly "ready". What I mean by this is to effectively deploy an IDS on a network you should first cover your bases with what you already got. Before going IDS wild, are you using your existing infrastructure to get the knowledge you need first?&lt;/p&gt;
&lt;img src="http://blog.clearnetsec.com/files/question_sign.jpg" align="right"&gt;
&lt;p&gt;
Of course just throwing out an IDS is a quick hit; it can cover your ass if the regulatory audit kids drop by, but for lots it becomes a security lame duck.  Do you know how to really make it a valuable component of your security?&lt;/p&gt;

&lt;p&gt;
"Yeah we have [insert IDS vendor here] in place off the 6509."&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;
"Sweet, what does your ruleset look like?"&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;
"Well I think we have all rules enabled right now."&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;
"Ok, what networks are you watching?"&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;
"We want to see both ways so we are not restricting the nets."&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;
"Do you know what kind of traffic and how much are you seeing?"&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;
"Well, not really, but we have all the usual suspects: SMTP, HTTP, HTTPS, FTP and even IM."&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;
"Do you know how much activity you&#8217;re seeing for each of those?"&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;
"Man, we just threw it out there, its working!"&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;
Yeah, that $20k went far.  The point is to get off this copy-cat buy and forget.&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;
First, I am a believer in doing the macro before the micro.  You can&#8217;t pick whether a rule should be enabled or not until you know what&#8217;s going on in your network.  Enabling all will protect you is bullshit.  In fact, enabling all can make things worse (easier to exhaust resources, get blinded, or rev up the false positive counters).  And forget about dealing with IDS evasion techniques.&lt;/p&gt;

&lt;p&gt;
Take logging, a macro thing.  Logging is an enabler.  Deducing traffic patterns is a macro enabler.  You need to do these things first before considering an IDS.  Engineers like to complain how hard it is to watch logs and I can empathize, but it is really not that hard to get some valuable numbers.  Which firewall rules are taking hits, which are not?  What kind of traffic are you seeing and how much?  A couple scripts can get you those numbers.&lt;/p&gt;

&lt;p&gt;
So before you do the IDS thing, do these things at a &lt;em&gt;minimum&lt;/em&gt;:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;
    Grab your firewall rulesets and the counters for each allow/deny rule.  With this you 
    info you can teach your IDS where to look (vitally important both direction so ingress and 
    egress).
  &lt;/li&gt;
  &lt;li&gt;
    Learn traffic patterns.  What protocols are in use, which networks, and in what amounts.  
    High, average, low - all good numbers.  Use this to tune the rulesets.  Now you can identify 
    something like your top 100 talkers.  If some server catapults to #1, check it out.\
  &lt;/li&gt;
  &lt;li&gt;
    What apps are running.  Learn all the things your environment is hosting.  When do your 
    backups run, which servers like to talk to which?  Again, information vital to getting value 
    from an your infrastructure that will enable you to get even more value from your IDS.
  &lt;/li&gt;
&lt;/ul&gt;

</description>
      <pubDate>Fri, 27 Oct 2006 15:37:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:eeaca363-bc12-4b4b-8ed7-04567e718da7</guid>
      <author>Cory Stoker</author>
      <link>http://blog.clearnetsec.com/articles/2006/10/27/the-value-of-a-little-logging</link>
      <category>security</category>
      <category>Cory Stoker</category>
      <category>ClearNet Security</category>
      <category>ids</category>
      <category>networking</category>
      <category>netflow</category>
      <category>logging</category>
    </item>
    <item>
      <title>Scan fast and evade triggers</title>
      <description>&lt;p&gt;I've wanted to build this for a long time, alas the pain and  costs of obtaining disparate public IPv4 blocks is high.&amp;nbsp; I want to perform 65k port scans fast,  accurately, and avoid 95% of the IDSes, IPSes, or whatever other &amp;lsquo;smart&amp;rsquo; devices  are in my way.&amp;nbsp; It can be done.&amp;nbsp; &lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Buy or lease some servers&lt;/li&gt;
  &lt;li&gt;Find a few data centers that connect to  different Tier 1 providers&lt;/li&gt;
  &lt;li&gt;Justify and purchase IP blocks from ARIN (or another  regional registry)&lt;/li&gt;
  &lt;li&gt;Setup scan server(s)&lt;/li&gt;
  &lt;li&gt;Setup NAT server(s)&lt;/li&gt;
  &lt;li&gt;Write some code to distribute port scans &lt;/li&gt;
  &lt;li&gt;Feel cool when you can scan like crazy &lt;/li&gt;
  &lt;li&gt;Feel really cool when no &amp;lsquo;smart&amp;rsquo; devices alert,  block, or rate limit you because you haven&amp;rsquo;t triggered any threshold &amp;lsquo;rules&amp;rsquo;&lt;/li&gt;
  &lt;li&gt;Act surprised when the client mentions his team  didn&amp;rsquo;t see or report any anomalous behavior &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here is a high-level diagram of what I want:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.clearnetsec.com/roller/resources/cns/ScanServer.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Of course, there are some realities which make this hard to  build.&amp;nbsp; Registries prefer to hand out  contiguous net blocks, but it would be far more desirable to have a bunch of smaller  non-contiguous net blocks.&amp;nbsp; Some &amp;lsquo;smart&amp;rsquo;  devices do detect scans based on the source net block, not just via a single  source IP.&amp;nbsp; Bandwidth and latency conditions  are always in play.&amp;nbsp; I still want it.&amp;nbsp; A scan setup like this can increase accuracy,  be fast, is distributed, and raises the difficulty for detection.&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;FYI: Initial costs from ARIN for different net block sizes &lt;/p&gt;
&lt;table cellspacing="0" cellpadding="0"&gt;
  &lt;tr&gt;
    &lt;th&gt;Category&lt;/th&gt;
    &lt;th&gt;Initial Registration Fee (US Dollars)&lt;/th&gt;
    &lt;th&gt;Assignment Size&lt;/th&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;X-small/&lt;br /&gt;
      Micro-allocation &lt;/td&gt;
    &lt;td align="right"&gt;$1,250&lt;/td&gt;
    &lt;td align="right"&gt;/24 - &amp;lt; /20&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Small&lt;/td&gt;
    &lt;td align="right"&gt;$2,250&lt;/td&gt;
    &lt;td align="right"&gt;/20 - /19&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Medium&lt;/td&gt;
    &lt;td align="right"&gt;$4,500&lt;/td&gt;
    &lt;td align="right"&gt;&amp;gt; /19 - /16&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Large&lt;/td&gt;
    &lt;td align="right"&gt;$9,000&lt;/td&gt;
    &lt;td align="right"&gt;&amp;gt; /16 - /14&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;X-large&lt;/td&gt;
    &lt;td align="right"&gt;$18,000&lt;/td&gt;
    &lt;td align="right"&gt;&amp;gt; /14&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;

</description>
      <pubDate>Tue, 14 Mar 2006 03:48:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:bff733f4-e884-4002-b473-ec3e8f6c0bcb</guid>
      <author>tate@ClearNetSec.com (Tate Hansen)</author>
      <link>http://blog.clearnetsec.com/articles/2006/03/14/scan-fast-and-evade-triggers</link>
      <category>nmap</category>
      <category>scanning</category>
      <category>port  scanning</category>
      <category>ClearNet Security</category>
      <category>Tate Hansen</category>
      <category>ids</category>
      <category>ips</category>
      <category>circumvent</category>
    </item>
  </channel>
</rss>
