<?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: Time for an IDS?</title>
    <link>http://blog.clearnetsec.com/articles/2006/10/27/the-value-of-a-little-logging</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <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>"Time for an IDS?" by Marc Andersen</title>
      <description>&lt;p&gt;Guess I don&amp;#8217;t know how to break lines :)&lt;/p&gt;</description>
      <pubDate>Tue, 07 Nov 2006 07:20:12 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:8c70181d-c597-4dec-92e7-54b2d0eb7117</guid>
      <link>http://blog.clearnetsec.com/articles/2006/10/27/the-value-of-a-little-logging#comment-29</link>
    </item>
    <item>
      <title>"Time for an IDS?" by Marc Andersen</title>
      <description>&lt;p&gt;I mostly agree with Cory. An IDS does not solve your problems. You cannot just turn on all the rules full blast and claim to be secure or in compliance. You have to know what you are doing.&lt;/p&gt;

&lt;p&gt;That being said. Instead of using the time consuming task of determining all the macro things before implementing an IDS, why not use the IDS in tandem with the macro things?
Look at your firewall ruleset, count the hits the rules are taking, and at the same time confirm it with your IDS. Do they say the same? Is it actually what I am supposed to see? What did actually trigger the rule?&lt;/p&gt;

&lt;p&gt;It sounds risky to look at you firewall ruleset thinking &amp;#8220;Oh, well this never gets triggered, I&amp;#8217;m not gonna let my IDS look for it then&amp;#8221; (just to exaggerate a bit).&lt;/p&gt;

&lt;p&gt;Same goes for logging. Look at a days worth of PIX or ASA logs. Sure they can tell you who has been talking to whom on wich ports, but it doesn&amp;#8217;t tell you what has been said (or rather if what has been said was benign). An IDS can help you specify that (to a certain degree). A good way to verify which apps are talking through the firewall.&lt;/p&gt;

&lt;p&gt;So I think what I am trying to say is that you could use the IDS to speed things up a bit. Implement it for &amp;#8220;macro purposes&amp;#8221; at first and then later on use it as a true IDS. Maybe even use it to tune your macro things.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Marc&lt;/li&gt;
&lt;/ul&gt;</description>
      <pubDate>Tue, 07 Nov 2006 07:16:57 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:2bf75ca9-4833-463e-8feb-12e71ef7e912</guid>
      <link>http://blog.clearnetsec.com/articles/2006/10/27/the-value-of-a-little-logging#comment-28</link>
    </item>
    <item>
      <title>"Time for an IDS?" by S&#248;ren Maigaard</title>
      <description>&lt;p&gt;IDS always seems to pop up once the &amp;#8220;But we have a firewall&amp;#8221; statement has been shot down. It is a typical management friendly option - buy the hardware and all is good. 
&lt;br&gt;&lt;br&gt;
I agree with Cory that very few corporations are actually ready for an IDS. If they really need the IDS, it is probably because they lack some of the fundamentals described. My theory is that if you need it, you need to look elsewhere. Once you are in a situation where you don&amp;#8217;t need it, it&amp;#8217;s time to get it. You&amp;#8217;ll have the information you need about your network, assets and traffic and you probably have the time to fine tune the equipment. 
&lt;br&gt;&lt;br&gt;
Anyway, it seems it is IDS week. Check out this discussion on Matasano&amp;#8217;s blog:
&lt;a href="http://www.matasano.com/log/570/richard-bejtlich-stick-up-for-ids-i-retaliate/" rel="nofollow"&gt;http://www.matasano.com/log/570/richard-bejtlich-stick-up-for-ids-i-retaliate/&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;S&#248;ren&lt;/li&gt;
&lt;/ul&gt;</description>
      <pubDate>Mon, 30 Oct 2006 02:18:26 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:4eac8172-491c-454a-86c4-bcd67da8fc4b</guid>
      <link>http://blog.clearnetsec.com/articles/2006/10/27/the-value-of-a-little-logging#comment-27</link>
    </item>
    <item>
      <title>"Time for an IDS?" by LonerVamp</title>
      <description>&lt;p&gt;Nice post. My current job had me inherit an IDS/IPS device they bought, but were barely using. It was in place and had IDS enabled and that was it. No one really knew what the alerts meant, how to properly tune it, what the environment was really like, or even what the point of it was.&lt;br&gt;&lt;br&gt;&lt;/p&gt;

&lt;p&gt;I think if a company&amp;#8217;s IT staff does not have a good hold on inventory (hardware, software, and apps on the network, especially network talkers), network diagrams, or a solid foundation in being able to understand TCP/IP (and so on) and how to research attack patterns found in the traffic and logs, they are not even close to being ready for an IDS/IPS in any official sense. Sure, some enterprising young pup can throw in a Snort box for a while just for the heck of it, but to comply with a regulation and/or shell out $20K+ for a device requires the foundations to be there.&lt;br&gt;&lt;br&gt;&lt;/p&gt;

&lt;p&gt;If an org has an IDS/IPS installed and all rules turned on, I&amp;#8217;d venture questions about whether they alert on ARP storms and other NETBIOS goodies that, if truly enabled and watched, can make heads spin due to the chatty nature of Windows and the protocols. If they can answer those questions intelligently, then maybe they can proceed&amp;#8230;&lt;/p&gt;</description>
      <pubDate>Sun, 29 Oct 2006 15:05:14 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:30f4b8ab-28ed-4dc7-8f36-842a6d077d9a</guid>
      <link>http://blog.clearnetsec.com/articles/2006/10/27/the-value-of-a-little-logging#comment-4</link>
    </item>
  </channel>
</rss>
