Slashdot Mirror


Network Intrusion Detection and Prevention?

c0dyd asks: "Lately, computer attacks have gained much popularity in the news; however, it is not often that we hear of new software, hardware or 'appliances' that combat malicious code attacks and data intrusions. Obviously, the need is present. I've searched thoroughly for network intrusion detection and prevention systems, but the choices and technologies seem somewhat limited or proprietary-- Snort appears an obvious open source solution for intrusion detection but many users many find it lacking in intrusion prevention capabilities. What do you, the experienced network admin, use for detecting intrusions on the network and how does your network react to those intrusions?"

264 comments

  1. ASL by skarphace · · Score: 2, Informative

    I've searched thoroughly for network intrusion detection and prevention systems, but the choices and technologies seem somewhat limited or proprietary-- Snort appears an obvious open source solution for intrusion detection but many users many find it lacking in intrusion prevention capabilities.

    You can balance FLOSS and proprietary techs with something like Astaro Security Linux. They do appliances or standalone software.

    --
    Bullish Machine Tzar
    1. Re:ASL by consolidatedbord · · Score: 0, Offtopic

      14/f/cali

      --
      while true ; do echo this is my sig; done
    2. Re:ASL by alfrin · · Score: 2, Funny

      14/f/cali
      You mean: 43/m/moms basement

  2. Don't underestimate just paying attention. by jafo · · Score: 4, Informative
    You're already doing bandwidth monitoring right? Graphing with rrdtool or the like? If you aren't you probably should be. It's a great tool for not only current troubleshooting, but also capacity analysis and more. However, I've also found that it's a fantastic tool for detecting successful intrusions. Detecting attempted intrusions tends to produce many false positives, but if you are watching the bandwidth utilization of your systems and networks, it's pretty easy to tell within a few hours that you have some unusual use going on, usually tracked down to a particular machine or network at least.

    So, don't underestimate the usefulness of watching your network traffic graphs. With rrdtool it's pretty easy to pull out information and average it. For example, we watch not only our overall 95th %ile utilization, but also rank each user based on their utilization. If use suddenly goes up, increasing their rank, it's probably something we should look at. It's been extremely effective for detecting open HTTP proxies, SMTP relays, and people compromised with various vulneribilities.

    Sean

    1. Re:Don't underestimate just paying attention. by Anonymous Coward · · Score: 5, Insightful

      A bandwidth graph may help you catch a noisy worm or a script kiddy. It's almost useless against a determined intruder.

      Any good intruder knows to be quiet and spread their attack out over hours or days. Hence they are practically invisible to any sort of bandwidth analysis, until they start downloading larger amounts of your data (at which point it is often too late).

    2. Re:Don't underestimate just paying attention. by Anonymous Coward · · Score: 1, Informative

      There is a great tutorial on using rrdtool to find anomalous traffic, written by one Jake Brutlag and presented at LISA back in 2000:
      Aberrant Behavior Detection in Time Series for Network Monitoring

      Basically comes down to prediction based on exponential smoothing, shouldn't be too far over the head of your average IT geek :)

    3. Re:Don't underestimate just paying attention. by XchristX · · Score: 1

      Hey, how's about this way for desktops?

      --
      l'Homme n'est Rien l'Oeuvre Tout: Gustave Flaubert to George Sand
    4. Re:Don't underestimate just paying attention. by Feyr · · Score: 1

      do you have a script that does this? that's basicly what im looking to implement, but i don't fancy coding it :P

    5. Re:Don't underestimate just paying attention. by RollingThunder · · Score: 1

      The other day I realized somebody had installed a relay bot because my HotSaNIC sockets counter showed an increase by one, at a time when I know I wasn't doing anything.

      Sure enough, I found psybnc had been installed through a security vulnerability in a PHP script I'd put on my server.

      My own fault for not vetting the scripts properly, or keeping up with updates, but at least the configs only let them stick it in /tmp and start it - they couldn't even install the crontab that was supposed to restart it every minute if it died.

    6. Re:Don't underestimate just paying attention. by bobcote · · Score: 0, Redundant

      I have to agree. One of the reasons the Intrusion Detection Systems have taken a backseat to Intrusion Prevention Systems is the marketing people felt that IPS was more "proactive" than IDS. (I hate that buzzword "proactive")

      Some of the services that bill themselves as IPS simply give you a report that list your vulnerabilities. At least one lets you actively kill TCP connections. ISS RealSecure is an example of this. They want from an IDS to an IPS.

      Back to basics; A good firewall is the best start. If your boss doesn't like the Open Source route, try SonicWall or Checkpoint. Not cheap, but worth it.

      You can use HP OpenView to watch for unauthorized equipment that connects to your network. There are Open Source solutions too.

      The issue is you have to be able to get immediate alerts. Either someone has to be watching a console or getting a page.

      Constant maintenance is what's required of all your equipment. Every host needs to be kept up to date with the latest fixes and patches.

      I also keep an eye on Slashdot for the latest ideas and products.

  3. Snort-Inline+IPTables+Scripts = Decent IPS by kensai · · Score: 1

    If you use Snort-Inline along with IPTables and some scripts in Linux, you can come up with a pretty decent IPS.

    1. Re:Snort-Inline+IPTables+Scripts = Decent IPS by TCM · · Score: 1

      Quick question: could Snort handle IP traffic in PPPoE? I have a DSL modem and a router in a separate VLAN with the modem's port mirrored to another port. The modem only sees PPPoE, hence the question.

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
    2. Re:Snort-Inline+IPTables+Scripts = Decent IPS by Anonymous Coward · · Score: 0

      Snort + Perl + PF = Decent IPS. Snort is highly flexible,dont sell it short guys:)

    3. Re:Snort-Inline+IPTables+Scripts = Decent IPS by TCM · · Score: 1

      As a followup, how does the port mirroring feature of smart switches compare to the passive Ethernet taps shown on snort.org?

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
    4. Re:Snort-Inline+IPTables+Scripts = Decent IPS by Tet · · Score: 2, Informative
      If you use Snort-Inline along with IPTables and some scripts in Linux, you can come up with a pretty decent IPS.

      s/IPS/DoS/

      Any IDS that automatically affects firewall rules is an incredibly dumb idea. Just don't do it. You're putting control of your firewall rules in the hands of an attacker, which makes a DoS attack trivial. I spent a long time convincing management that we didn't want such a system, despite all the vendors' marketing claims that it was an essential part of modern network security. It eventually took a demo where I spoofed an attack from our upstream provider and the system automatically dropped us off the net before they listened[1]. It may seem like a good idea, and indeed with a bit of intelligence in your rules, it can help in some situations. But it's a dangerous game to be playing, and I wouldn't recommend it for any business.

      [1] No, not on the production network (although I was tempted).

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    5. Re:Snort-Inline+IPTables+Scripts = Decent IPS by npistentis · · Score: 1

      NetSQUID from Texas A&M... based on Snort, pretty cool: netSQUID

      --
      Gentlemen, you can't fight in here! This is the War Room!
    6. Re:Snort-Inline+IPTables+Scripts = Decent IPS by Anonymous Coward · · Score: 0

      An upstream provider should have been configured as host to never be blocked. *sighs* Everything I have seen in negative response to snort as an IDS/IPS here is soley due to misconfiguration.

    7. Re:Snort-Inline+IPTables+Scripts = Decent IPS by turbidostato · · Score: 2, Interesting

      "An upstream provider should have been configured as host to never be blocked"

      So any attack shown as coming from your upstream provider is going to be passed through, isnt' it?

      Of course, that very same rule (don't stop your upstream provider) is valid for whatever other "valuable" connections you may have opened (you don't want your IDS to be fooled into droping connections to your e-commerce database server, do you?).

      But then, if any "higher privilege" connection is to be opened, probability is that it will be against some of those "high profile" servers (it has no sense allow say, wide access from a random IP to your Ms SQL Server , ha!-, but it does have it from your management console, and then you won't want your IDS to block connections from you management console just because the bad guys threw some IP-spoofed packets, will you?), and if ever spoofed a connection, chances are they will look as if coming from one of those IPs.

      Dinamyc firewall ruling as an attack response is a terribly dumb choice on most circumnstances, still, it has everything needed to be accepted by PHBs when shown on glossy paper on ultrabuzzy products like UltraFireBlade MegaDynSec Pro and such.

      Quite a pity.

    8. Re:Snort-Inline+IPTables+Scripts = Decent IPS by hal9000(jr) · · Score: 1

      As a followup, how does the port mirroring feature of smart switches compare to the passive Ethernet taps shown on snort.org? There are two main differences. The first is that generally speaking, a swtich won't mirror frames that have errors. That's not really a big deal from an IDS/IPS deployment. The more important one is that port mirroring is always half duplex--the mirror port can only send the rated capacity. This is important because a 100 Mb/s port full duplex (normal on a switch) is actually capable of sending and receiving 100 Mb/s both ways for a combined 200 Mb/s. If you try to mirror a port that has a combined capacity beyond 100 Mbps, some frames will be dropped. The benefit or port mirroring is that you only need one monitor port on your sensor. With in-line taps, you need to and bond them together.

    9. Re:Snort-Inline+IPTables+Scripts = Decent IPS by Helevius · · Score: 1
      That's why most people mirror ports to a faster port, e.g., a few 100 Mbps ports onto a single 1 Gbps port. Companies like Net Optics also sell so-called aggregation taps that send multiple tapped links (full-duplex) to a single output, so your sensor only needs one interface. In production I tend to use traditional two-output (two TX) taps anyway, since they are about half the cost of the comparable aggregators.

      Helevius

    10. Re:Snort-Inline+IPTables+Scripts = Decent IPS by nard · · Score: 1

      I think before you rubbish snort-inline you should understand what both it and similar products actually do.

      Snort inline is not designed to update an IP tables FW with a rule to block all traffic from the attacking IP. Yes you are correct in stating that this could lead to unexpected DoS attacks from a savvy attacker.

      Snortinline can take one of the following options when a "bad" packet enters the network.

      - sDrop : Silently drop that single packet
      - Drop : Drop the packet and alert of the attack
      - Reject : Drop the packet and send a RST to both parties shutting down the TCP flow.

      I am not saying that snortinline is without its problems (looking after multiple instances scattered across a network by hand roiling a load of bash/perl can suck), it however does a great job of doing exactly what it claims to do.

    11. Re:Snort-Inline+IPTables+Scripts = Decent IPS by scottv67 · · Score: 1

      I agree with your viewpoint (not having IDS systems generate blocking commands that firewalls then enforce). This can easily lead to Dos.

      But, I have done a similar thing with the Honeypot feature on the Juniper IDS. If you enable the Honeypot and a remote system "touches" the Honeypot, that system gets blocked for an amount of time that you set.

      This is quite handy for infected machines that scan subnets looking for other systems to infect. I would put the Honeypot address at the lowest address of the "outside" subnet. If a remote system is going to scan my entire outside subnet, starting from the bottom and working it's way up, it's going to touch the honeypot first. When the remote system touches the honeypot during the first part of its scan of my external subnet, the IDP adds that remote address to a list of IPs that are blocked.

      By the time the remote system gets around to scanning the IP addresses where my externally-exposed servers really live, those incoming packets from the remote server are dropped, my servers never see them and the remote system thinks I don't have any systems exposed to the Internet.

      Of course, if someone found out I was using this feature, they could spoof the source address and pretend to be a system I need to talk to and that could cause problems for my network.

      It's definitely a double-edged sword.

  4. How do I do my job? by smileyy · · Score: 5, Funny

    Ask Slashdot: I've been wondering how to do my job. I figure other people out there have jobs too, and know how to do them. Maybe they can share their experiences, or even do my job for me!

    --
    pooptruck
    1. Re:How do I do my job? by Rosco+P.+Coltrane · · Score: 5, Insightful

      I know you're trying to be funny (or troll, I don't know), but your comment is actually unfair: the entire software engineering world (not just OSS) is built on people sharing competences. Formal education and self-teaching only account for a small part of a computer engineer's know-how.

      Asking Slashdot is as good a way as any to reach a wide audience and get a handful of good advices amongst the hundreds of trolls. All it takes is asking, and you never know what precious tidbit of information you might get.

      --
      "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    2. Re:How do I do my job? by op12 · · Score: 2, Funny

      you never know what precious tidbit of information you might get

      Or how long you'll have to sort through the trolls/awful jokes to find it :)

    3. Re:How do I do my job? by pete6677 · · Score: 1

      Why should each person have to reinvent the wheel?

    4. Re:How do I do my job? by tds67 · · Score: 0
      I know you're trying to be funny (or troll, I don't know), but your comment is actually unfair: the entire software engineering world...

      ...now speaks Hindi.

    5. Re:How do I do my job? by lilbudda · · Score: 1

      It takes a big man to admit his ignorance... It takes an even bigger man to laugh at that man.

    6. Re:How do I do my job? by TLouden · · Score: 1

      That, and a single post on slashdot is often read by hundreds of others who would like to know the same thing. We could just look it up on our own but it's actually a bit more efficient to ask once for so many people.

      --
      -Tim Louden
    7. Re:How do I do my job? by bjelkeman · · Score: 1

      You are behaving as if you belong to a network security guild. If I don't know everything about network security then I shouldn't be allowed to learn anything more about network security. Especially at Slashdot, the hotbed of network security guild members.

      Clearly this is a very effective way to improve the security on the networks around the world... ah, pardon the pun, I mean the Job Security for our dear paid up members of the Network Security Guild.

      --
      Akvo.org - the open source for water and sanitation
    8. Re:How do I do my job? by cecille · · Score: 1

      Well said. And although the poster was likely looking for infomation for something professional, there are also a lot of ask slashdots that come from people working on hobbies or side projects who won't necessarily have the knowledge required to start, or even necessarily know where to look to find it. I came to this post specifically BECAUSE I know practically nothing about this topic, and so far it has been quite informative.

      --
      ...no two people are not on fire.
  5. Re:second post by Nom+du+Keyboard · · Score: 0, Offtopic
    second post

    This was funny the first time.

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
  6. Re:intrusion detection by Anonymous Coward · · Score: 0

    Not all OS's have distributions you know... Or free UNIX-like OS's for that matter.

  7. NV ActiveArmor by AKAImBatman · · Score: 3, Interesting

    I have no idea if this help or not, but NVidia has a technology called ActiveArmor that may be of interest. In a nutshell, it's a Gigabit hardware firewall solution that is built into many inexpesive boards. Supposedly it can be used in both incoming and outgoing directions, allowing you to know immediately if a penetrator attempts to access improper network resources. Here's the schpiel:

    ActiveArmor Firewall supports stateless and stateful inspection, Web-based management, pre-defined security profiles, port block filtering, remote administration, and provides an easy-to-use set-up wizard. In addition, ActiveArmor Firewall has anti-hacking features such as anti-IP-spoofing, anti-sniffing, anti-ARP-cache-poisoning, and anti-DHCP server-important security controls for corporate network environments. In a corporate setting, an end-point firewall (such as a desktop firewall) with anti-hacking capabilities can reduce the internally originated security breaches, and can inhibit desktops from generating unauthorized traffic. The result is improved overall security, with reduced requirements from the IT staff.

    Again, I'm not sure if it's what you're looking for, but it's at least a very interesting product.

  8. What about good old fashion? by Anonymous Coward · · Score: 0

    What about good old fashion time-outs, .htaccess, and traditional methods? Nothing seems to work for keeping a secure system secure than no connection to the outside world.

  9. turn it off by Anonymous Coward · · Score: 0

    turn your system off, then it will be secure.

    1. Re:turn it off by erhnamdjim · · Score: 1

      Unless, of course, you've enabled "Power on LAN" ...

      --
      Specialisation is for insects
  10. Ethereal by fsterman · · Score: 5, Funny

    As soon as any Ethereal activity occurs I have shell script flash the screen red where a trained monkey pulls out the cat-5 cable.

    --
    Is there anything better than clicking through Microsoft ads on Slashdot?
    1. Re:Ethereal by darkith · · Score: 1

      Would that be Ether-Ape? oh....wait....

    2. Re:Ethereal by Anonymous Coward · · Score: 0

      Suprised you managed to get online long enough to post this.
      Better punch that monkey!

      P.S.
      Hey fukwits, I've not posted a comment in this thread yet so why should I have to wait to post one? You sorry numbnuts are starting to act like the Huffington Post where only the rich, elite dickheads have an opinion worth hearing.

    3. Re:Ethereal by youknowmewell · · Score: 2, Funny

      Damn, your monkey is smart. All my monkey does is chew on the cable!

    4. Re:Ethereal by RedPhoenix · · Score: 2, Interesting

      Actually, during a period of 'heightened awareness' at an organisation I used to work at (ie: A national television program that discussed the organisation at length), we did something like this for real.

      "Ethereal activity" was "a change in any MD5 signature or file-size for any file on the web server"..
      "trained monkey" was a bunch of 24x7 operators (no offence guys.. I'm not making the comparison - just emphasising the distinction)..
      "shell script" and "flash the screen red" were still a shell script, and a red flashing screen.. .. but yes, the instructions were to pull the cat-5 cable out of the back of the router as soon as things started flashing.

      Red.

    5. Re:Ethereal by fsterman · · Score: 1

      Actually its only on my bosses computer, really for his protection. I am working on training him to pull the plug. Problem is he doesn't take to bannanas, and a new boat is kinda expensive. I am trying to convince the secretary to help me out.

      --
      Is there anything better than clicking through Microsoft ads on Slashdot?
    6. Re:Ethereal by airjrdn · · Score: 2, Funny

      You should spank your monkey.

    7. Re:Ethereal by Anonymous Coward · · Score: 0

      I've seen those trained monkeys before, they are called the helpdesk.

    8. Re:Ethereal by MadMidnightBomber · · Score: 1

      I am a trained monkey, you insensitive clod!

      --
      "It doesn't cost enough, and it makes too much sense."
    9. Re:Ethereal by Anonymous Coward · · Score: 0

      "trained monkey" was a bunch of 24x7 operators (no offence guys.. I'm not making the comparison - just emphasising the distinction)..

      I do not think any trained monkeys were offended..

    10. Re:Ethereal by TheLink · · Score: 1

      "Ethereal activity" was "a change in any MD5 signature or file-size for any file on the web server"

      If a change in MD5 is sufficient cause to "disconnect" you can automate that.

      --
    11. Re:Ethereal by jackbird · · Score: 1

      Man, it must have taken you forever to type that.

  11. My complaint about intrusion detection devices. by Anonymous Coward · · Score: 5, Informative
    An intrusion detection device without anyone responding to it is as silly as a silent burglar alarm that noone responds to. All too often I look back at month old logs and see "hey, that's cool, somone was trying to hack us" (typically some windows hack against our bsd box). Had they succeeded it wouldn't have mattered at all that we had the intrusion detection device.

    The one feature I'd look for in an intrusion detection device is that it can quickly escalate a detected intrusion attempt to real people (through email, phone, calls, etc).

    For real enterprise needs, companies like counterpane not only install the intrusion detection devices; but offer services that monitor them just like the physical alarm companies do.

    1. Re:My complaint about intrusion detection devices. by paenguin · · Score: 2, Insightful

      I get about 1000 probes and somewhere near 50 IDS events a day. Something tells me I won't like what I have to deal with if my firewall/IDS starts telling me about it in emails.

      All of these logs are history. Fortunately I'm running Linux and 99% of these probes and attacks are of little interest and are no threat.

      Now, when you get a tool that will tell me when at attack is about to happen, that's when I want to know about that tool. Especially if it can not only give me advance warning, but warnings appropriate for what it is guarding.

      --
      We should start referring to processes which run in the background by their correct technical name... paenguins.
    2. Re:My complaint about intrusion detection devices. by Anonymous Coward · · Score: 0

      Then properly configure your IDS so that it only triggers an alert when that alert pertains to your system. Running a linux/bsd box and triggering alarms at every nimda scan is kinda counter productive...

      Having alerts sent through email,page,etc is trivial....well it is if your using snort.

    3. Re:My complaint about intrusion detection devices. by jayhawk88 · · Score: 2, Insightful

      Using the same analogy, though, you don't necessarily want your burglar alarm calling the cops every time someone tries to open a door on your house that you know is locked, or looks in a window.

      All too often I look back at month old logs and see "hey, that's cool, somone was trying to hack us"

      This is why you need to review your logs on a daily basis, or at the very least keep a monitoring program of some kind open that you check once in a while throughout the day. Ideally you've got someone who's entire job this is, but unless you're business is of sufficient size this isn't really feasible or necessary. Automatic monitoring/notification is nice, but shouldn't be relied on totally.

    4. Re:My complaint about intrusion detection devices. by yiantsbro · · Score: 1

      Hmmm...can't agree with your analogy. You are right, don't need that kind of constant response for my server--but can't compare it to my house. If some SOB is trying my doors and peaking in my windows I would like him shot at the very least (calling the cops only after I have dragged the body inside and armed it).

    5. Re:My complaint about intrusion detection devices. by Anonymous Coward · · Score: 1, Informative

      Have a peek at Snare (http://www.intersectalliance.com/snareserver/inde x.html) - looks like it does something along the lines of what you're after.

      It's primarilly focused on auditing / eventlog analysis, but there's a snort interface too I think (http://www.intersectalliance.com/snareserver/samp les/index.html)

    6. Re:My complaint about intrusion detection devices. by Sir_Real · · Score: 2, Insightful

      For real enterprise needs, companies like counterpane not only install the intrusion detection devices; but offer services that monitor them just like the physical alarm companies do.

      "real enterprise" doesn't need another log parser tied to an email notification service. It needs insurance. It needs another company to pass the buck to when they get hacked. I'm sure counterpane does a bang up job, but what you're talking about should only take a developer a few months to put together. Then you'd have the local expertise of the developer and the source.

      An intrusion detection device without anyone responding to it is as silly as a silent burglar alarm that noone responds to. ......

      The one feature I'd look for in an intrusion detection device is that it can quickly escalate a detected intrusion attempt to real people (through email, phone, calls, etc).

      So multiple blaring alarms that noone responds to? I mean, if you've got an IDS without proper email integration, you've done it wrong. Snort does it already, based on attack type even.

      Furthermore an admin running an ids that doesn't check it every day is USELESS. Uhm. No offense. :)

  12. Snort can act as an IPS by dangermen · · Score: 1

    Snort can act as an IPS. It has been able to do this for a while. It integrates with IPTables and can inline drop/reset connections based on rules.

  13. My solution by DanThe1Man · · Score: 4, Funny

    When I find an attacker getting into my company's network I start pulling my hair out and run around screaming "Aww! Aww! The crackers are taking over my network! Aww! Aww!"

    By the way, I just got laid off, does anyone need a Sys Admin?

    1. Re:My solution by Karma_fucker_sucker · · Score: 1
      By the way, I just got laid off, does anyone need a Sys Admin?

      Sorry man!

      I thought you guys were immune from that type shit.

      I've been looking for a while (I'm not an Admin, BTW) but when it comes to job postings, going directly to a company's website is much better than going to the job sites - ComputerJobs, Monster, Dice, etc... I don't know why, but companies post less or none at all on those sites these days. Of course, personal contacts are the best, but sometimes they can't come through for you so you have to hit the net.

      --
      Evil people don't think they're evil. - George Lucas, Making of Ep III
    2. Re:My solution by Rosco+P.+Coltrane · · Score: 1

      *Whooosh*

      --
      "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    3. Re:My solution by Vitamin+P · · Score: 0

      When I find an attacker getting into my company's network I start pulling my hair out and run around screaming "Aww! Aww! The crackers are taking over my network! Aww! Aww!"

      I know you meant this as a joke but if crackers are getting into your network; as a Sys Admin you're responsible for not safeguarding your network.
      It is no wonder you got laid off.

    4. Re:My solution by hobbesx · · Score: 1
      By the way, I just go laid off, does anyone need a Sys Admin?


      No Sys Admin positions at the moment, but there's always room in Marketing!
      *ducks*

      --
      This rating is Unfair ( ) ( ) Fair (*) Funny
      Sigh... If only. Modding would be so much more fun.
    5. Re:My solution by Anonymous Coward · · Score: 0

      "Aww! Aww! The crackers are taking over my network! Aww! Aww!"

      The crackers took over the country as well.

  14. Bro by pythonguyy · · Score: 4, Informative

    bro-ids.org
    I'd rave more, but bro is watching me and wants me to get back to real work.

    1. Re:Bro by BancBoy · · Score: 1

      Beat me to it. Mod this one up. Bro watched over the network at the Nat'l Lab that I used to work at. Impressive stuff.

      --
      [UID-HeinzIntel]
    2. Re:Bro by drpimp · · Score: 1

      Yes. Bro is very good, and scriptable if you want to learn another configuration language. It's really not that complicated.

      As long as you can weed out the false positives, your life will be much easier and beats sitting scanning logs getting a gut.

      --
      -- Brought to you by Carl's JR
  15. Re:intrusion detection by TobyWong · · Score: 4, Funny

    Which who command would that be? The one that was on your system originally or the "new and improved" version I just put on there?

    BTW nice pr0n collection, your space lego photo series in particular is very kinky.

    --
    - Toby
  16. Realistically.... by AsbestosRush · · Score: 1

    There shouldn't be *anything* incoming that you don't already know about. Dedicated firewalls are a great boon to security. There are several linux and BSD based distros that are specifically for this purpose. Corperate environments, or those well heeled, have even more options.

    A true DMZ is also a good thing to have, seperated by another firewall, if you have enough infrastructure to justify an (n)tiered network.

    Firewalls aren't the end-all-be-all, but They do make compromises much less likely.

    As to other other combative techniques, I'm shure there's a way to have a daemon monitor the Snort (or other IDS) log and if you get x connections on y port in x time frame, you can add the IP to your firewall. A daemon to clean up said firewall would be good as well...

    --
    EveryDNS. Use it. It works.
    AC's need not reply
    1. Re:Realistically.... by dat · · Score: 1

      This is just stupid (sorry). There are so many attacks that come over well-defined ports and services. IPS isn't just about stopping the random hacker port-scanning, it's also about deep packet inspection, eg when one of your users is file-sharing with a P2P app that tunnels over HTTP and they bring in something they didn't expect, or look at all the 0-day IIS attacks. What about SMTP attacks or SSH attacks? You might legitimately let SMTP between your DMZ and your internal network thinking "I've got a firewall and a virus scanner", but sometimes it's not enough.

      If you really want assurance, go for Defence In Depth - adaptive firewalls, intrusion detection at the network level with prevention, host-based intrusion detection agents and most importantly the right management tools to ensure you see the hacks from the scans.

    2. Re:Realistically.... by monkeydo · · Score: 1

      That's great for the 15% of the attacks that come from the outside. But what about the rest of them?

      --
      Si vis pacem, para bellum
      The only thing more annoying than a Libertarian is an (un|mis)informed Libertarian
    3. Re:Realistically.... by fsterman · · Score: 1

      Yeah, it ain't hard to walk into any building with most any excuse and get behind the firewall and throw a wireless router with a boosted signal on.

      --
      Is there anything better than clicking through Microsoft ads on Slashdot?
  17. Re:I use... by Rei · · Score: 0, Troll

    Are you in the coalition as well? :)

    --
    Point of interest. Offering to shoot us might not work so well as an incentive as you might imagine.
  18. Trained Monkeys by Anonymous Coward · · Score: 0, Funny

    I find the most effective solution to be an army of trained monkeys (similar to the trunk monkey (www.trunkmonkey.com)) who monitor my snort alerts and subsequently fling fecal matter at the would be attackers. This may not stop the initial attack, but it generally prevents an attacker from coming back.

  19. snort patch by bitkid · · Score: 1

    I recall that there was a patch for snort that was specifically designed to prevent people from breaking into other systems from a compromised honeypot machine. It did some good stuff like replacing NOP-slides with breakpoints etc. I don't have the URL handy, but this might help you with your intrusion prevention...

  20. Cisco IOS IPS by Cramer · · Score: 1

    I've found IPS (formerly ip audit) in Cisco's IOS, while programmed by monkeys who don't pay much attention to what they're typing, does a pretty good job of cutting off a host of attacks at the router. Of course, it'll only look at what it's configured to watch and only knows about a select number of things -- the more it's told to watch for, the more memory and time it takes.

    I have it watching web traffic and it's knocking down just about every script kiddie's IIS probe. (I don't run ISS, btw.)

    1. Re:Cisco IOS IPS by Anonymous Coward · · Score: 0

      So why have it dropping IIS. You just said that you have no IIS. Your purposly using up vaild resources for a problem that is not yours?

    2. Re:Cisco IOS IPS by Cramer · · Score: 1

      A) So apache doesn't have to process them. And B) so apache doesn't waste drive space logging the requests and resultant errors.

      (And C) I'm too lazy to go through the 10,000 signatures and disable/delete the ones that don't apply to me.)

  21. Personalized Login System by Compholio · · Score: 3, Interesting

    I think the best way to prevent intrusions is to design a personalized login system (and have the system install updates regularly). Just about everyone uses the same system (username then password), so changing the login program to do something funky is enough to screw up any script. Ex:

    Please enter todays date (MM/DD/YY):
    Please enter your username:
    Please enter a valid email address:
    Please enter your password:

    Just randomize the questions (or have a bunch of questions and randomly ask a few of them) and unless someone is really dedicated to get into your system they're just going to choose another target rather than go after your weird setup.

    1. Re:Personalized Login System by Rosco+P.+Coltrane · · Score: 4, Funny

      changing the login program to do something funky is enough to screw up any script.

      Even simpler: drop the user straight to a working shell. That way, scripts will wait for the "ogin:" and "assword:" strings indefinitely until the connection times out, and legit users won't even have to enter their logins. As for hackers, they'll see the "~$" prompt, won't believe their eyes, will think it's a clever trap or something, and they'll promply disconnect out of paranoid fear :-)

      --
      "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    2. Re:Personalized Login System by temojen · · Score: 1

      You have only telnet services running on your network? Or do you crack all your CIFS, HTTP, SMTP, POP, IMAP, LDAP etc clients and servers to do this?

      Most networks have a variety of protocols running on them, any of which could be an attack vector or used by an attacker once they've compromized your site.

    3. Re:Personalized Login System by poopdeville · · Score: 1

      That's not even security through obscurity, since your modification will be immediately apparent to anyone trying to log in. Awful advice.

      --
      After all, I am strangely colored.
    4. Re:Personalized Login System by Compholio · · Score: 1

      HTTP, SMTP, POP, IMAP, LDAP: Regular updates
      SSH: Weird login protocol
      All Other: Only available internally

    5. Re:Personalized Login System by Anonymous Coward · · Score: 0

      Please see subject.... Re:Personalized Login System (Score:3, Funny)

    6. Re:Personalized Login System by Mostly+a+lurker · · Score: 1, Troll
      Even simpler: drop the user straight to a working shell.
      Blinding revelation: now I understand how the default configuration of Windows/XP fits into Microsoft's trusted computing initiative.
    7. Re:Personalized Login System by Stauf · · Score: 1

      Even simpler: drop the user straight to a working shell. That way, scripts will wait for the "ogin:" and "assword:" strings indefinitely until the connection times out, and legit users won't even have to enter their logins. As for hackers, they'll see the "~$" prompt, won't believe their eyes, will think it's a clever trap or something, and they'll promply disconnect out of paranoid fear :-)

      I had something like this set up at one stage on a local machine (no internet access). Turning it on gave you a '#' prompt. Of course, if you didn't type 'uname ' within 20 seconds, the machine would power down and using any other command would result in an error message.

      I can't remember exactly what the point of it was though.

  22. The program of choice for all Network Admins is by jim_v2000 · · Score: 4, Funny

    Obviously Norton Internet Security!

    Norton Internet Security provides a COMPLETE security solution for your machine by promptly blocking all programs on your machine from having any internet access, AT ALL! Buy it today!

    --
    Don't take life so seriously. No one makes it out alive.
    1. Re:The program of choice for all Network Admins is by Anonymous Coward · · Score: 0

      lmao.

      ahh, the 90's where good.

  23. IBM Has You Covered by The+Last+Gunslinger · · Score: 3, Informative

    IBM Tivoli Risk Manager provides intrusion detection and automated remediation based on correlated input gathered from numerous sensors in your network. These include network intrusion detection systems (NIDS), host IDS, webserver logs, Windows Event Logs, *nix syslogs, firewall events, SNMP traps, and just about any other device, appliance, or application that writes a log event or generates an SNMP message. The correlation engine at the center is smart enough to take hundreds of thousands of individual input events and display or respond to a handful of meaningful alarms. Read on... http://www-306.ibm.com/software/tivoli/products/ri sk-mgr/

    1. Re:IBM Has You Covered by freeweed · · Score: 1

      Yeah, and it it's like anything else in the Tivoli suite, it'll cost you $500 for each and every node you want it to protect :)

      --
      Endless arguments over trivial contradictions in books written by ignorant savages to explain thunder in the dark.
    2. Re:IBM Has You Covered by La+Fortezza · · Score: 1

      That's $500 a CPU thank you very much. It's painful deploying some of these Tivoli products on my 72-way 15k frames.

    3. Re:IBM Has You Covered by morethanapapercert · · Score: 1

      this advertisment has been brought to you by the folks from Big Blue.........

      --
      I need a wheelchair van for my son. Help me get the word out. https://www.gofundme.com/wheelchair-van-for-jj
    4. Re:IBM Has You Covered by vmcto · · Score: 2, Funny

      I've seen that correlation engine...

      I believe it's in Bangalore...

  24. Ask a good question get a stupid answer by Anonymous Coward · · Score: 0
    What do you, the experienced network admin...
    Huh? I thought this was ask Slashdot.
  25. Astaro by ehaggis · · Score: 1

    Astaro http://www.astaro.ca/ offers a good all -in-one appliance.

    --
    One ring to bind them - should probably have more fiber and less rings in their diet.
  26. VMS by msbsod · · Score: 1

    Why not start with a real operating system that already comes with both features? VMS (also known as OpenVMS) version 8.2 was released a few months ago and runs on VAX, Alpha and Itanium. You should be able to find a fairly cheap VMS machine at sites like eBay. For hobbyists and educational purposes the VMS license is available at no charge. Have a look at http://www.hp.com/go/openvms/ http://www.openvmshobbyist.com/ http://www.openvmsedu.com/ news:comp.os.vms

    1. Re:VMS by LurkerXXX · · Score: 1
      VMS is great, but you either have to run it on huge/old/slow equipment (Vax) or older somewhat slower (older alpha), or modern $$$ equipment. Itaniums aren't cheap (neither are more modern Alpah machines I've seen on ebay).

      It's a great OS, but hard to run on equipment most of us have or can afford. If Itaniums were down around the cost of P4's, it would likely draw much more interest.

    2. Re:VMS by Anonymous Coward · · Score: 0

      jesus fucking christ, why don't you arcane-os-trolls die with dignity just as the dead platforms you are proposing?

    3. Re:VMS by Anonymous Coward · · Score: 0

      Does anyone know how to build a VAX/VMS disk image on an IA-32 Linux machine with a scsi card? I don't have a tape drive for my VAX.

    4. Re:VMS by Anonymous Coward · · Score: 0

      Why not start real trolling? There are more OSes with come with an IDS. Ie. Linux is a kernel, not an OS. Now, if you'd have argued why OpenVMS its IDS is better than e.g. Snort... alas.

    5. Re:VMS by Anonymous Coward · · Score: 0

      You're a reseller, right?

  27. How About. by capitalj · · Score: 1

    Linux, AIDE, IPTables, Snort, tough passwords, and disabling all unused services.

    1. Re:How About. by Anonymous Coward · · Score: 0

      That's good for Linux, & you "Jedi" (or, are you the Sith? Depends on your point-of-view, now, doesn't it?) can use that.

      Here is what I use for my own system @ home, with some variation, it can be applied to Microsoft-Style networks as well (minding the NetBIOS/LanManager stuff in its content if you have a home LAN or larger one @ work):

      Like your ideas for Linux? This one just cuts off the doorways into the system basically, & a BIT more:

      All you need to do, is these steps, with a 1/2 hour time using regedit &/or notepad @ most, check it, & never get infected AGAIN (on Windows no less), ever, & most certainly NOT in 4 minutes time as was said here recently!

      I posted this for those that have been victims because it works... @ least until nothing NEW that's malicious comes along that beats this list that is, & it's worked for myself & others online for 8 years running now almost in its techniques, which ALL work harmoniously in conjunction simultaneously with one another/concurrently... what "spooks" me some? Rootkit technology - that's GOING to appear in the virii of tomorrow, guaranteed: More on that towards the end & my opinions on it!

      APK Online Security 20-points basic checklist. A combination of things really, layered security is the idea!

      DETAILS:

      http://www.avatar.demon.nl/APK.html [demon.nl] [demon.nl]

      SUMMARY:

      1.) IP Security Policy in place for adbanner servers blocking OR other "undesirable" IP addresses.

      2.) A custom adbanner blocking HOSTS file with 35,000++ entries in it with known banner ad servers in it (which have been shown in some cases even as bearing malicious javascript etc. in them as well as just plain slowing you down as you surf the web by calling out to DNS' servers for URL to IP resolution & loading their remote data).

      3.) Tcp/IP filtering @ the IP Stack levels (UDP & TCP) allowing ONLY port 80. Need others? Open then up, this is all I need personally here.

      4.) Using up to date AntiVirus & AntiSpyware.

      5.) Using .PAC file proxy filters in all web-browsers vs. adbanners & such.

      6.) IE Restricted Zones (added to via .reg files which the first body of code in the HOSTS file I use is prepped for the .reg filedata for via a program I built in ObjectPascal delphi console mode ripping away the URL from the 127.0.0.1 loopbacks I equate adbanner servers to, etc. & then insert these here and into IPSecPols also).

      7.) Custom adbanner filtering Cascading Style Sheets in webbrowsers when possible (via Opera).

      8.) ZoneAlarm Pro or Native Windows Firewall. ZA is the better overall, the Windows one works though.

      9.) Disable Java-javascript &/or ActiveX-activescripting in your webbrowsers.

      Sorry webmasters, but too many holes popup here and ONLY IE gets that enabled here for Windows Update really only or sites that "demand" I use either. You will also find, as a bonus, that your webbrowser speeds go up IMMENSELY, with java &/or javascript (active X too) turned off. By FAR, it's way faster.

      10.) Making sure the Operating System is up-to-date/fully hotfix or service pack patched.

      11.) Disabling uneeded services (especially remote oriented ones, e.g.-> Remote Registry, Messenger service (this WILL hit you in minutes & I have seen this on initial setups getting folks online, generally JUST a message though not payload carrying), UPnP, RDP & yes, Terminal Services vulnerabilities) gaining not only memory & CPU cycles back, but also security:

      The terminal services & RDP one are recent, MS is aware of them, & has "workarounds": That which I suggest in this point, see here:

      http://www.infoworld.com/article/05/07/18/H

    2. Re:How About. by saintp · · Score: 1

      AIDE rocks! It's easy to configure and has great payoff.

    3. Re:How About. by Anonymous Coward · · Score: 0

      20) Turn off your computer

      It's now unusable for anything other than Solitare, so why keep it on?

    4. Re:How About. by Anonymous Coward · · Score: 0

      How's it unusable after applying that list...

      If I am here posting to you? Looks REALLY "unusable", eh??

      (This answer, I just HAVE to see, lol...)

      * :)

      APK

  28. Size by chrome · · Score: 5, Insightful

    The biggest problem facing anyone looking at implementing an IDS into an existing system is the size of the network.

    If you're doing 500mbit/sec+ of traffic, it requires a somewhat beefy snort box just to process that data let alone do something about anything that looks like an attack.

    Snort CAN do it, it just takes a lot of effort to pair down the ruleset to the point where it can handle your traffic. But, pairing down the ruleset has some drawback ... :)

    Or, if you can segregate your network, that can help a lot too. But unfortunately, a lot of networks suffer from a lack of design and you end up with huge VLANs that span thousands of hosts, and other nightmares.

    IMHO If you're worried about intrusion, start with host security. If you have a huge farm of linux boxes, then great. Use iptables and keep everything up to date. If you MUST have sun boxes, try not to put them on the edge of your network - NAT specific ports via linux NAT firewalls. Same goes for windows machines. Don't bare them to the internet for any reason.

    Have some aggressive ACLs on your border routers. Don't allow SSH into all your machines directly. Use jumphosts. Consider using token based authentication, like SecurID. Consider Kerberos to replace the use of public key auth in your ssh infrastructure.

    once you have that down, putting in an IDS can wait :)

    1. Re:Size by chrome · · Score: 1

      Oh, and as an addendum to this, 99% of ALL the intrusions I see hitting the network right now are SSH dictionary attacks. At the very least, you should get rid of password auth, and go with RSA key auth. Carrying the key around on a USB keychain isn't such a bad idea, though not perfect. It should be considered a temporary solution until you've had time to implement a full blown security policy.

    2. Re:Size by m50d · · Score: 1
      Pairing down the ruleset? Is that, like, grouping the rules into pairs?

      /I know, I know

      --
      I am trolling
    3. Re:Size by Anonymous Coward · · Score: 0
      If you're doing 500mbit/sec+ of traffic, it requires a somewhat beefy snort box just to process that data let alone do something about anything that looks like an attack.

      There's a cheap workaround for it. The trick is to use 2 (or more) Snort boxes for data collection for different IP groups (using BPF filters), and agregate alerts from these boxes on other machine using open source Prelude IDS framework. Alternatively, you can try a hierarchic approach.

      Prelude by itself AFAIK does not have any reactive capabilities, but it's so modular that you could add some without too much effort (provided you know C).

    4. Re:Size by bunco · · Score: 1

      I second this observation. China, Korea, Brazil being top sources. Might I suggest a.) limiting SSH to management bastion(s) and b.) using random passwords? After typing them in for the 50'th time, you shouldn't have to refer to your password vault :) .

    5. Re:Size by inflex · · Score: 1

      We just dumped access via password, forced everyone to work using RSA keys, at the very least, it certainly actually makes people's jobs easier since now they can login without a password if they want :-)

    6. Re:Size by Sir_Real · · Score: 1

      Okay. I think I grok most of that, but....

      What's jumphosts?
      Why use Kerberos to replace public key auth?

    7. Re:Size by chrome · · Score: 2, Informative

      A jumphost is what someone else called 'SSH Bastion hosts'. Basically, the only box(es) that you allow direct SSH access to from the outside. You have to go through it to get to your other machines.

      I recommend Kerberos simply because when you want to disable an account, its as simple as nuking it on the kerberos DC. If you have 200 machines, all with local authentication and RSA keys, you'll have to go through all 200 machines.

      Its not ideal, of course. You still need some way of managing user accounts. But its a good fit for the auth side of things.

      It IS a fucking nightmare to get working properly cross platform though.

  29. How much do you wanna spend? by pLnCrZy · · Score: 1

    There are a lot of factors when deciding on a solution. How big is the network? What are the throughput requirements? How much money do you have?

    We just picked up a couple Juniper Netscreen ISG2000 boxes with IDP blades in them. 2Gb/sec throughput with full IDP implemented in hardware. Granted, those bad boys will set ya back almost as much as a house.

    1. Re:How much do you wanna spend? by Hobbes828 · · Score: 1

      www.sonicwall.com

      Juniper Netscreen competitor offering most of the features and performance for a fraction of the price, perfect for small to medium size businesses.

  30. Re:What do you use? by Anonymous Coward · · Score: 0

    Trained monkeys are overrated. They will have an uprising and retaliate. You must use wild monkeys.

  31. I know it's illegal, but by Rosco+P.+Coltrane · · Score: 2, Funny

    what I'd really like is a network intrusion product that not only detects "bad guys" but also automatically retaliates, i.e. deluges said bad guy with ping floods, winnukes (yes I know, it's old), tries to root the bad guy's box and wipe the hard disk, or install backorifice, etc...

    I reckon if the majority of network admins did that, perhaps intruders would think twice about playing that game. Not to mention the feeling of satisfaction when (if) the intruder's box is trashes in real-time before his eyes :-)

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    1. Re:I know it's illegal, but by Anonymous Coward · · Score: 2, Insightful

      Two words: Address spoofing.

      Bad guys would not need zombies anymore for a DDOS: They would simply "attack" a couple of people like you with a forged source address, and let you do the dirty work. Bad Idea[tm] indeed.

    2. Re:I know it's illegal, but by Anonymous Coward · · Score: 0

      Yes, because the people who are attacking our systems are using their own machines to launch such attacks. Any retailation would just hurt some poor sob's machine and he would have no clue what was going on.

    3. Re:I know it's illegal, but by Rosco+P.+Coltrane · · Score: 1

      Bad guys would not need zombies anymore for a DDOS:

      Sorry, I thought we were talking about network intrusion here: surely someone trying to subvert a service (like getting a working shell account, snooping on a Windows box or perusing an intranet) would need a valid IP to do that. Of course, my nasty piece of imaginary software wouldn't fight back DDOSes or spam, since those are essentially impossible to trace back to the original perpetrator.

      --
      "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    4. Re:I know it's illegal, but by PaxTech · · Score: 1

      The intruder is probably hitting you from another box that he hacked somewhere, so all you'd be doing is attacking that poor slob's machine.

      The reason no network admins do what you propose isn't because it's illegal, it's because it's incredibly stupid. :)

      --
      All movements for social change begin as missions, evolve into businesses, and end up as rackets.
    5. Re:I know it's illegal, but by Anonymous Coward · · Score: 0

      So you think that when somone is trying to intrude on your network that they are not using many gateway machines?

    6. Re:I know it's illegal, but by Flower · · Score: 1

      Why would the intruder care? You make it sound like they are using their own personal box to launch the attack.

      --
      I don't want knowledge. I want certainty. - Law, David Bowie
    7. Re:I know it's illegal, but by Rosco+P.+Coltrane · · Score: 1

      In my little scenario where most network admins use that sort of method, the network hosting the first gateway machine would have trashed the guy's box before he had time to jump to the next one.

      --
      "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    8. Re:I know it's illegal, but by binarytoaster · · Score: 1

      The Sidewinder firewall software has this capability. It's pretty worthless, to be honest.

    9. Re:I know it's illegal, but by Anonymous Coward · · Score: 1, Funny

      Wow. You're even more of a stupid fuck than I thought you were, and that's an impressive feat to pull off.

    10. Re:I know it's illegal, but by idontgno · · Score: 2, Insightful
      Sorry, I thought we were talking about network intrusion here: surely someone trying to subvert a service (like getting a working shell account, snooping on a Windows box or perusing an intranet) would need a valid IP to do that.

      Sometimes it's not about you.

      We're not talking about preventing DDOSs against you; we're talking about provoking your system into initiating a DOS on some other unfortunate victim by poking at your watchdog (junkyard dog?) software with packet probes that have forged source addresses--the addresses the blackhats want DOSed.

      In other words, bad guys poke at you, you fire back and hit the wrong guy. Lather, rinse, repeat.

      Doesn't seem like a good idea to me.

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
    11. Re:I know it's illegal, but by Rosco+P.+Coltrane · · Score: 1

      Okay I get it now. Oh well, it would have felt good to be able to hit them back...

      --
      "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    12. Re:I know it's illegal, but by Anonymous Coward · · Score: 0

      while I don't agree with the OP completely, why would this be a bad thing? Although he might be an unwitting accomplice he is still an acomplice. maybe having to spend a couple of hundred bucks to get their new dell back in to working order might motivate them to learn a little bit about how to protect their machine if its connected to the internet. I'm not talking Tripwire or Satan, more like updated AV and a firewall.

    13. Re:I know it's illegal, but by HermanAB · · Score: 1

      Portsentry has a hook for running any script when it triggers. This can be as simple as a ping flood, if you have a wide pipe...

      and BTW, it isn't illegal. You are allowed to protect your property, but the problem is collateral damage, which may be illegal.

      --
      Oh well, what the hell...
    14. Re:I know it's illegal, but by 3waygeek · · Score: 1

      In other words, bad guys poke at you, you fire back and hit the wrong guy. Lather, rinse, repeat. Doesn't seem like a good idea to me.

      It was good enough for George W. Bush.

  32. Abstinence by Jailbrekr · · Score: 1

    Just like the best way to prevent pregnancy is abstinence, the best way to prevent intrusion is to eliminate the avenue that they get in. While it is not feasible to simply deny your users access to the internet and email, you can prevent them from installing material which otherwise might cause a hacker to gain remote access. A conbination of whitelisting sites and denying certain address blocks from sending you email goes a long way.

    In short, comprehensive intrusion detection and prevention is only needed on an open network.

    --
    Feed the need: Digitaladdiction.net
    1. Re:Abstinence by pete6677 · · Score: 1

      Sure, you can always lock your network down so tight as to be unusable, but that would kind of eliminate the purpose. Most organizations in this day and age need email/internet and would be handicapped if it was restricted too much. This is why security is challenging: you must provide access to your users but make sure the network is protected. Security would be easy if all you had to do is shut the network off to the outside.

    2. Re:Abstinence by markana · · Score: 1

      But that's just old-fashioned, repressive thinking. Crackers are going to want to break in, and it shouldn't be our job to try and supress those urges.

      Instead, we need to create a safe, crack-positive environment for them. This way, they can feel empowered and affirmed as they explore your systems. They'll be free to celebrate your credit limit, without fear of legal or societal repercussions.

      It is especially important that we reach out to teen and younger crackers, who might not yet be sure of their white/black hat inclinations. We need massive federal funding for vunerability education, as well as legislative reform. After all, simply crashing a power plant or two shouldn't cause someone to have a black mark on their record for the rest of their life.

      "They're going to do it anyway - so we might as well help them do it safely..."

    3. Re:Abstinence by Anonymous Coward · · Score: 0

      Um, excuse me. "Abstinent" kids are putting buns in the oven all the time. The best way to prevent pregnancy is sodomy.

  33. All you can really do is monitor... by Fallen+Kell · · Score: 1

    What I mean to say is this. Once you have your standard security suite in place (firewalls, ip-chains, standard configs locked down, etc.), all that is left is to simply monitor the activity logs. That is all that CAN be done, since there will always be new security holes found and exploits created. Having a well planned and documented monitoring process involving going through the log files on a daily/constant basis is the best that you can do. Yes, this is time consuming and arduous redundant process. There are products out there to help minimize the task, but they can only help to a point. You simple just have to look at the logs being generated from your firewall, routers, and all your local systems. With seting up services that scan the default system configurations and monitor critical file changes, as well as watching your firewall logs, you can catch and stop most attacks as they are occuring, before major damage can be done. But again, most places will not do this because it is time consuming to actually look at all the log files. This is why months pass sometimes before someone finally sees the log which shows a change to the password file which added a new user...

    --
    We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
  34. Re:intrusion detection by Anonymous Coward · · Score: 0

    All you need is the who command.

    Ex-fucking-cuse me?

    Choosing an operating system, distribution, and version that releases security patches quickly is a key part of preventing an intrusion.

    Hoping to be ahead of any security hole at any given time is plain stupid. Why did you reply at all if you have nothing to say?

  35. Re:What do you use? by fsterman · · Score: 1

    lol, without reading either of those, my post included monkeys too. Maybe this is a computing trend. Fuck, I am too lazy to find some free polling thingy as my DNS is down.

    --
    Is there anything better than clicking through Microsoft ads on Slashdot?
  36. We use... by mengel · · Score: 2, Informative
    ...a little package called AutoBlocker which analyzes netflow data in real time, and blocks sites at the border router for a while when they appear to be trying to do bad things.

    Of course, it's needed some tuning so it wouldn' think that things that should be talking to multiple systems in a short time window don't get blocked...

    --
    - "History shows again and again how nature points out the folly of men" -- Blue Oyster Cult, 'Godzilla'
  37. Re:intrusion detection by pHZero · · Score: 3, Interesting

    Why isn't there a 'bad advice' mod category?

  38. Insufficient background info by Anonymous Coward · · Score: 0

    How about giving us some details about your application, your network and budget? Are you sysadmin at the corner store or a Fortune 500 multinational? Is your budget $0 or $250k? Are you on a 100 meg ethernet with a DSL or a gigabit core network across the country with 40 egress points to the Internet? Are you likely to be the target of worms, viruses, script kiddies - or highly paid professional hackers trying to break into your network?

    There are a multitude of products but your question gives us almost zero context - hence the glut of meaningless answers, like telling you to run a certain distribution or OSS product.

    1. Re:Insufficient background info by Anonymous Coward · · Score: 0

      I think you should do an ASK SLASHDOT with those exact questions.

  39. Combating versus not allowing in the first place by noidentity · · Score: 1

    it is not often that we hear of new software, hardware or 'appliances' that combat malicious code attacks and data intrusions.

    Instead of thinking of defense as adding extra code to stop malicious code, think of it as changing the system so that the attack isn't even possible to begin with. Fundamentally a computer system does nothing but allow things; nothing happens without it being made possible via software.

  40. intrusion prevention by uqbar · · Score: 4, Interesting

    Real prevention is a double edged sword. To really prevent an attack, your device needs to sit in line - or it reacts too late. As such you introduce latency, and the more sophisticated you get, the more the time spent on analysis before the traffic is allowed through. NIDS and HIDS analyse after the fact, so they have the luxury of time since they aren't in line with your traffic. If you have good event correlation, you can raise alerts to appropriate support personnel. But all these don't directly prevent attacks - they just let you know to respond to an attack.

    Companies like Tipping Point have devices that claim to do intrusion prevention with low latency - I'd test that claim before purchase, but the demo I saw seemed to indicate it was worth checking out.

    1. Re:intrusion prevention by artoo · · Score: 2, Informative

      We use Tipping Point, and I was very skeptical at first. After having it at work and using it, I would highly recommend it.

      Service is not as good as it used to be, but still decent. They are going through some growing pains and some adjustments after being purchased by 3 Com, but that was to be expected. Their support is still much better than your average vendor.

      The rules they use are very conservative, and it affects no other protocols other than IP. It will pass these quite happily, and even the IP traffic that is inspected has low latency. You can write your own rules if you want using a Windows utility with a combination of pcap and regexp syntax. This however is warned against as in most cases the custom rules can wreak havok if not written correctly.

      The prevention is done via application level fingerprinting which works much like OS fingerprinting. For instance, it will detect that something looks like an LSASS buffer overflow attempt regardless of the source and destination IPs and ports and act accordingly. With testing that we did between this and other IPS/IDS's, many of them would not detect port hopping even though they claimed to. This becomes more important if you want to do things such as block Kazaa, or allow IRC and IM, but deny the file transfer functionality for the chat protocols. (Yes, it has the ability to do this)

      They also released Tomahawk test tool which can be found at http://tomahawk.sourceforge.net/ It's a great tool for stress testing and replaying network traffic.

      And while not advertised or offically supported, their management software does have a linux version, if you have multiple boxes. If it's just one box, you'll probably configure it by connecting to it directly via the web browser, which once again, while not officially supported, it works fine with non-IE browsers (at least last time I used it).

      And definitely, last but not least, you can on the fly put it in layer 2 fallback, so if that causes any problems you're having to go away, then it is a problem with the filters. An excellent feature that can temporarily fix any latency problems that it might induce until you can get time to do more in depth troubleshooting.

    2. Re:intrusion prevention by Dark+Coder · · Score: 1

      Sounds like a plug....

  41. Sentrytools by HermanAB · · Score: 1
    --
    Oh well, what the hell...
  42. The great intrusion prevention debate by anandpur · · Score: 2, Informative

    No security topic generates more spirited debate than intrusion prevention. Deployed on the edge -- and increasingly, deep inside -- the network, IPSes (intrusion prevention systems) purport to identify and stop attacks before they start based on constantly updated threat profiles. In this Point/Counterpoint, we've pitted Marc Willebeek-LeMair, CTO and Chief Strategy Officer of 3Com's (Profile, Products, Articles) security division, TippingPoint, against Martin Roesch, CTO and founder of Sourcefire (and the inventor of Snort). TippingPoint's Willebeek-LeMair is bullish on the supreme effectiveness of his IPS approach; Sourcefire's Roesch positions IPSes, which his company also sells, as just one component of an integrated network defense system. The clash of these two partisans reveals much about the state of network protection and the rivalry between hardware and software security vendors.

    http://www.infoworld.com/article/05/05/09/19FEipsi ds_1.html

    1. Re:The great intrusion prevention debate by Anonymous Coward · · Score: 0

      I swear, this wierd sort of blogging astroturfing, while interesting, is just kind of creepy on Slashdot.

  43. Astaro! by Anonymous Coward · · Score: 0

    www.astaro.com for super easy snort integration via a gui in about 5 minutes. im never going back.

  44. plenty of appliances... by Anonymous Coward · · Score: 1, Informative
    1. Re:plenty of appliances... by Anonymous Coward · · Score: 0

      Don't forget Sourcefire, the company who created and maintains SNORT. They have appliances ranging from home/office up to multi-gigabits.

      -AC

  45. Juniper IDP by Anonymous Coward · · Score: 3, Informative

    I use a Juniper IDP, and love it. Then again, I have to, since I work there. :)

    Seriously, though, it's a good system - our sigs are for the most part, open-source - you can see how we detect things, and make a copy and twiddle it yourself. Those few that are closed are generally to protect Intellectual Property concerns.

    They're a bit spendy for home use, though. I think the cheapest unit is in the $15-17k range.

    Some things also not covered in the question, but imporant issues to raise, are:

    1. Ease-of-Use vs. Functionality/Features
    2. Performance vs. Security
    3. Completeness/Timeliness of Coverage
    4. Accuracy

    Each IPS vendor has their own angle on these issues, and they're all betting that their angle will be the best - in the end, you as the customer have to decide which of these issues is most important to you, and then find the corresponding vendor.

    Juniper has dominant market share, but there are things that other companies do better, but generally at the cost of something we do better at - it's a real mixed bag. See RFC-1925, Section 2, Paragraph 7a for details on this concept.

    Juniper IDP is focused on delivering current, feature-rich, accurate detection, generally at the expense of speed and simplicity. Don't get me wrong, though, we're not slugs - our high-end products are currently pushing 2 gig (which in some environments is fast enough). If you want a cheap, 10-gig box with a single "Secure Me" panic button and a single "You Got Owned" idiot light, we're not for you.

    1. Re:Juniper IDP by TCM · · Score: 1

      I use a Juniper IDP

      Would that be Intrusion Detection Prevention? :)

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
  46. Where to start? by mysfitt · · Score: 3, Interesting

    I'm an IDS engineer by trade and I could go on for days about this topic. Yes, snort is great. No, it's not anywhere near enough by itself. That's why you take a varied approach. Snort is probably one of the best signature based IDSes available. The user community behind it is very strong and produces some great sigs, usually same day as the vulnerability is announced. But the downside is no protection against 0 day attacks. Therefore you have to have some behavioral systems in place as well. Problem with those is tuning out the false positives can be very difficult and time-consuming. Add a Honey pot/IPS with blocking capabilities like activescout to the mix and you're starting to get there. Add a SIM (security information management) product that can correlate data from all of your sensors and issue blocks to your firewalls and you're well on your way.

    1. Re:Where to start? by Autonin · · Score: 1

      One of the biggest strengths of Snort is also its biggest weakness - the "User Community". Literally anyone and their mom can write a sig for Snort and submit it. Are you going to vet every sig they write? If you could, why not just do it yourself then?

      Or do you wait a few days until they've been vetted by the "regulars" and the signature is stable? Well by then you've lost your 'same day sig' advantage.

      People who know enough to make their own IPS' from scratch generally already have a clue about network security enough that this thread isn't going to help them.

      Someone who really needs to read this thread is generally going to need a non-DIY solution - the product they buy is as much signature research and development subscription as the physical box.

      --
      -AutoNiN
  47. Almost Perfect Network Security by spaztech · · Score: 0

    1: Write your own OS
    2: Design a proprietary (revolutionary) TCP/IP stack replacement
    3: Install it on two identical machines that you designed and manufactured yourself
    4: DO NOT CONNECT THEM!!
    5: Watch closely for anyone to come near them.. very, very closely.

    --
    /. spaztech ./
    1. Re:Almost Perfect Network Security by rbanffy · · Score: 1

      You forgot you should have designed the processor and general computer architecture.

      Nothing is safer than running a CPU nobody can compile for ;-)

  48. Nessus by MattW · · Score: 2, Informative

    Snort isn't designed as a vulnerability scanner; Nessus is. And don't forget than nmap is pretty useful in the hands of someone who knows what they're doing.

    As far as "intrusion prevention", there's not a "tool" that does that. You can firewall off unwanted and unneeded traffic; you still need to patch your public services. If you run public services, someone should be responsible for making certain everything you run is up to date and no unpatched vulnerabilities are public (and if the latter is the case, find a workaround or preventative measure until a real patch is out).

    1. Re:Nessus by Anonymous Coward · · Score: 0

      Yeah... that "Preventative Measure" you just mentioned? They're called Intrusion Prevention Systems. And they could be called tools.

      I'm not sure why you even bring up Nessus or Nmap when we're talking about IPS's. Those are auditing tools - they don't prevent anything.

      And Nessus is so false positive-prone as to be near usless. Better to go with a commerical product like Canvas, Core Impact, etc.

    2. Re:Nessus by Sir_Eptishous · · Score: 1

      Yea, semantics is always an easy and fun way to slam someone on /.,
      especially when not logged in...

      Nessus isn't an IPS, but it is one hell of a good 'auditing tool', with loads of real world experience behind it, documentation and a good 'community' of supporters.

      Its also open source.

      --
      We play the game with the bravery of being out of range
    3. Re:Nessus by bunco · · Score: 1

      Is english your second language? He wrapped the word tool in _quotes_ suggesting that there's no userland / host based "tool" that can act in a fashion similar to an IPS device/appliance/wtfe such as Toplayer, etc.

      Matt knows what he's talking about so show some respect.

      HUMILIATION!

  49. Re:big on Linux advocacy, small on windows solutio by mrbooze · · Score: 1

    there are perfectly good softwar firewalls for windows. I use BlackIce, personally, but there are other perfectly good ones, not to mention the one built-in to Windows XP sp2.

    And most decent cheap home routers provide prefectly usable hardware firewall services as well.

    No reason for windows users to claim they don't have solutions available.

  50. Sonicwall has the best IPS features. by Anonymous Coward · · Score: 0

    I have tested Astaro Linux and Sonicwall. The Sonicwall TZ 150 or 170 is the best SOHO security gateway with IPS, gateway antivirus, gatewaye antispam, content filtering, email filter, and ViewPoint comprehensive logging application.

    ASL is slow and IPS is unreliable (5.2xx). Sonicwall is always fast and small. It's rock solid. I got mine from www.firewalls.com with security suite (1-year subscription to Antivirus, antispyware, IPS signature, Basic content filering update and support).

    I have to say Sonicwall has the best support system. Forget ASL, support also sucks and pricy licensing, damn pricy. Can;t believe they use Linux and overcharge us.

  51. Tipping Point is what you want.... by Anonymous Coward · · Score: 0

    Tipping Point is the way to go. I work for a reseller of Tipping Point products and am the lead engineer for TP support in our company. The Tipping Point boxes can go up to 2GB/s throughput, with a 5GB/s box coming soon. Updates are released every few days, with automatic updates available. Tipping Point also provided much of the info used by SANS for compiling their @RISK Vuln report every week. Check those reports out if you never have....

    SNORT is a old technology that is for the most part worthless today. What do I care if I notice after the fact that an intruder r00ted one of my boxen? Too late....already 0wned. With Tipping Point inline, the malicious data is stopped before it even hits my firewall. (Yes, TP can be installed outside the firewall...)

  52. Use p0f for logging... by Yaa+101 · · Score: 1
  53. bad for a server! by EvilStein · · Score: 1

    "anti-DHCP server"

    "Hey, Bob.. maybe it's this new motherboard we put in to the DHCP server that's causing the problems."

    Just wait, it'll take out the DNS server next and maybe a mail server, just to show you who's boss.

  54. snort filtering by mimayin · · Score: 0

    I am fortunate enough to own a US Robotics 9105 adsl router which runs a busybox mini Linux distro. I wrote some simple c code that watches the snort alert file, and when alerts are triggered it logs into the router and adds iptables rules to filter traffic from the host that triggered the alert. These rules are then automatically removed after a given time period. I could extend this much further if i could be bothered but essentially it does a good job of reducing the noise on my adsl line.

    It takes a while to perfect the rules but once done becomes very effective. Naturally I have safeguards against filtering local network hosts and trusted networks.

  55. Re:intrusion detection by deinol · · Score: 2, Informative

    All you need is the who command

    Ok, that's just silly. Only the crudest of hacks would show up under who. There are plenty of ways to spawn processes in an attack that would show up under something like ps or top, and not under who.

    Not to mention the fact that manually running who or ps is not an intrusion detection system. You want something that monitors activity and at the very least e-mails a sys admin when something strange is happening.

    Wait, why am I bothering to respond to this obvious troll?

    --
    Got Apathy?
  56. a house? by EvilStein · · Score: 1

    Depends on where you are. Here, $410,000 is the median price for condo.

    A house in Montana? A house in Egypt? ;)

    C'mon, tell us.. how much do those boxes cost? :)

    1. Re:a house? by TheCabal · · Score: 1

      An ISG2000 with the IDS blades will set you back quite a bit. IIRC, a new setup can cost up to 150k

    2. Re:a house? by EvilStein · · Score: 1

      Oh, so.. "Ranch in North Dakota."

      I get it. ;)

      Those are nice boxes. I know a couple people at Juniper/Netscreen (they're right down the street) - they take an active interest in making sure that you're happy with the product.

  57. IDS Logic by drpimp · · Score: 1

    if (intrusion_attempt) {
    firewall();
    } else {
    allsgood();
    }

    void firewall () {
    if (still_happening) {
    firewall();
    } elseif (not_working) {
    unplugcable();
    findnewjob();
    } else {
    return;
    }
    }

    --
    -- Brought to you by Carl's JR
  58. Modern "Firewalls" by Moosifer · · Score: 4, Informative

    Have you had a look at any commercial firewall products lately (SonicWALL, Juniper/Netscreen, Cisco, Fortinet)? The past year has brought about the evolution of yesterday's packet filtering, stateful packet inspection, limited application layer gateways into full-blown "deep packet inspection unified threat management" devices (as the industry prefers to call them now). It's not really accurate to refer to them as firewalls anymore.

    These devices can scan most TCP protocols for any kind of malicious content, like snort-style IPS sigs, viruses, phishing sigs, spyware (generally ActiveX), etc. And since they are the gateway, they can also block or sanitize the content. Some of the better implementations (I'll stop short of a specific product endorsement) can even scan all generic TCP streams, and do not impose any size or stream concurrency limitations on the the content they can scan.

    The thing to be careful about is throughput - even the higher end models fall short of sustaining gig throughputs, so multiple devices might be required for more demanding networks.

    1. Re:Modern "Firewalls" by Nailer · · Score: 1

      These devices can scan most TCP protocols for any kind of malicious content, like snort-style IPS sigs, viruses, phishing sigs, spyware (generally ActiveX), etc. And since they are the gateway, they can also block or sanitize the content.

      You might also want to check out the Netfilter equivalent.

    2. Re:Modern "Firewalls" by caller9 · · Score: 1

      As a note: SonicWALL products are rough on the admin. I use 2 4060s in High Availability and have had issues with several things. Once a firmware upgrade nearly wiped it out. The online HA system of course upgraded to crap mode as well. Had to dump the primary firewall using a crippled HA Standby for the time being (VPN sites crappy, internet speed inexplicably slow, all "address objects" duplicated...) This entailed redoing all of the configuration options manually on the offline primary.

      The last firmware upgrade, I powered off the HA standby just in case. I was right, had to enter into "safe mode" and pull a binary "backup" file back in, while the standby worked OK, unpoluted.

      By pull backup I mean the binary for the firmware. Bringing the HA standby back into action required several attempts. This all required a serial console connection. The SonicWALL CLI is horrible and designed only for emergencies. Especailly when the bad to worse firmware upgrade jacks it to the point that upon boot the CLI yacks up "BLAH 0xHEXADDRESS EXCEPTION." The features that do work in CLI do so grudgingly.

      The one good feature they've come up with in the past few revs is a "ghost" type feature which lets you take a firmware/settings snapshot and in case the usual happens, dump to factory defaults and transfer your old system back into it. via "safe mode" of course.

      This is outside of the fact that the TELE3 and SOHO VPN gateway products require frequent power resets due to ??? Keepalive is a joke to these devices. I've even told NAGIOS to ignore these things. They will only stay connected if a client side requests resources on tunneled networks(despite keepalive)...and only 90% of the time.

      Also, their licensing scheme is a little $$ intensive and you will pay for every little thing it does. Definately a subscription service. Stop paying, feature C-Z stop working. Each little thing that makes it more valuable than a Linksys costs extra/yr.

      In short, wish the PHB didn't meet this slick guy at the trade show.

    3. Re:Modern "Firewalls" by caller9 · · Score: 1

      Almost forgot, all of our sites along with the rest of the nation/world lost internet access if they relied upon the Content Filter service (premium). Their servers died 3-4 times in 2 months and have otherwise been OK. When they die your HTTP access to the world dies with them. Unless you choose the option to allow all traffic after a 4 second timeout...in which case people wanting to get to playboy.com get the same 4 second delay as those going to google.com.

      And yes, every single access to the web passes through SonicWall servers. No content filter information is cached for a second...of course this introduces latency to everything not cached by your ISA server. This is more noticable some days than others.

      Content filter (almost) keeps our employees from accessing porn and sexually harrassing each other.

      The downside is when sites people actually need and are completely legit are classified as "whatever forbidden category." We have a fairly long "allowed sites" list and don't really use the internet much.

      Their webcrawler or whatever makes the lists could benifit from a bayesian filter.

  59. I've seen a bunch by TheCabal · · Score: 2, Informative

    I'm a big fan of Snort, but it's really not good for the enterprise, especially at the core. It's a decent backup or sensor on the cheap near the edge. Multple sensor management and speed really limits Snort's usefulness.

    I've seen plenty of appliances out there. Some of your options depends on what kind of equipment you're already running. As far as "best choice", you really should factor in what you already have- if you have Cisco modular equipment at your core or distribution layer, maybe going with the Cisco IDS blade will make more sense than getting a Proventia. Do you have Juniper firewalls? They make an IDS blade that fits in their ISG series.

    That being said, I've worked with Cisco IDS and SecureAgent. SA's a real beast- you can expect to spend a long time getting up to speed with it. I've had problems managing the blades themselves- they're basically little RedHat boxes on a blad that plugs into the backplane. CiscoWorks makes it relatively easy to manage but I had a *lot* of problems pushing updates and management info to them, and configuring your modular chassis with the right VLAN stuff can be a bitch unless you're good with Cisco equipment. One issue I hope they fixed was that their email notification sucked and they had to provide a PERL script to generate a useful email alert.

    I like Juniper's IDP stuff. Their appliances come with cobber and fibre cards and are a snap to set up. You can set them in in pass-through mode and place them inline between your routers and switches, or just mirror/tap the trunk port. In inline mode you get the ablity to send hard RSTs to both endpoints of an attack. The management software is pretty intuitive and the dashboard give you a very good "at a glance" view. They top out at about 500Mbps/sec so if you're pushing great gobs of data, they might not be sufficient.

    I've played around a bit with ISS' Proventia stuff- their appliances are OK, and I think their desktop stuff needs one more development cycle to be good. SiteProtector is decent, but it too needs a little more development in the UI area. The desktop agents are a lot easier to manage than Cisco's SecureAgent.

    1. Re:I've seen a bunch by g0bshiTe · · Score: 1

      Offtopic, but seeing your sig I had to look.
      Thanks for the laugh.

      Also thank you for the info.

      --
      I am Bennett Haselton! I am Bennett Haselton!
  60. No quick, easy answer by rumblies · · Score: 3, Informative
    "...however, it is not often that we hear of new software, hardware or 'appliances' that combat malicious code attacks and data intrusions."

    Clearly, you don't pay much attention to the glossy ads in Infoworld and CIO magazine. FUD marketing out the wazoo for exactly these types of devices.

    This is actually a very hard problem to solve. I've written quite a bit on the subject, but I'll attempt to provide a few quick helpful points.

    If you have some form of perimeter security, it becomes easier, but still very resource-intensive (both technology resources and human resources). I'm assuming that you're not at a university, or some other type of organization that has a wide open network, because if you were, you wouldn't care.

    For a good list of fun tools, look here:
    http://www.slac.stanford.edu/xorg/nmtf/nmtf-tools. html

    But beyond the rinky-dink stuff, at the most basic level, you want to make two choices right up front:
    How important is the real-time interdiction to you?
    Do you want signature-based tools, anomaly-based tools, or both?

    If you would be content with a good system that doesn't have the ability to mitigate threats in real-time, then that widens your possible solution space quite a bit. In this area, you definitely get what you pay for. FOSS tools that have this capability are way behind commercial tools in ease of maintenance, configuration, and how many types of attacks they work against. So that requirement limits your options considerably.

    A similar situation exists when we look at the detection method, signature vs. anomaly. Signature-based systems are a dime a dozen, but they don't cover the really dangerous stuff. Anomaly-based systems are somewhat more useful against the scarier threats, but no FOSS solution comes anywhere close to the commercial offerings. If you choose a FOSS alternative for an anomaly-based IDS/IPS, you will spend so much effort tuning and maintaining that you won't have any time left to respond to issues, and you will still not get adequate results.

    I should point out that you have also limited yourself by considering only NIDS/IPS systems. The proper bundle of technologies and tools could give you the real intelligence that you need, whether or not it included NIDS/IPS. Other classes of tools, like SIMS, accounting systems, or deception environments have their uses too.

    There are plenty of other aspects to consider, but that would take pages to discuss. All of this could be moot depending on your traffic loads, user demographics, platform constituency, infrastructure design, org chart, geographic distribution, existing IT policies, etc. etc. etc. There's just no universal solution.

  61. IPS / IDS and the main issues. by Noal · · Score: 1

    When looking for a decent IPS/IDS/NBAD solution, I would suggest sorting it into the following highlights, or main features if I may:

    • 1. Staying up to date on the known vulnerability database.
    • 2. Having a zero-day implementation and detection system (NBAD or similiar).
    • 3. Filtering out false positives, yet not the real attacks.
    • 4. Having a decent reporting utility to keep track of changes that are needed on the local infrastructure to adapt as the threats arise from different portions of the network.
    • 5. A specific down to detail interface where you can define what machines can be blocked as a result of a threat, and which should only be notified.

    Now, after these main issues have been solved, one can start adding additional features to the solution, and may even consider self-defending networks or similiar.

    But all in all - with a link to firewalls and or with IPS functionality with switches, having the ability to define what's network critical and should never be blocked, and what's not is not just a good idea, it could save you a few phone calls asking where the domain controller went.

    My two cents. :-)
  62. This is an active area of CS research by Walker · · Score: 2, Informative

    A lot of people are trying to come up with data mining tools for intrusion detection. Just check out all the forward links to this paper from citeseer. The problem is that they are currently reliable as bad motion detectors ... too many false positives. Which makes them useless.

  63. Nagios, Mon. et al. by lheal · · Score: 1

    You need to develop a strategy that includes network monitoring, penetration testing, and watching the security lists or sites.

    For a network monitor, Nagios (http://www.nagios.org/ is popular, but I like Mon (http://www.kernel.org/pub/software/admin/mon), because of its simplicity.

    Once you start watching, you realize that you get attacked so much that you quickly scale back the sensitivity. In the end, the monitor becomes a forensics tool, or a way of verifying that it's not an attack that's causing whatever problem you're having.

    Acquire skill with Nmap (http://insecure.org./ Learn how to know what the bad guys know about you. Google yourself and your network, to see what dangerous information is out there about you and your network. Try to render that information obsolete.

    Read up at http://sans.org/ or maybe a CERT advisory list.

    You can spend minimal time on any of this or all of your waking hours.

    But it's great getting paged that a server is offline before anyone else (like the client) knows about it.

    --
    Raise your children as if you were teaching them to raise your grandchildren, because you are.
  64. ISS: Industry Leader in IDS and IPS by rbabb · · Score: 1

    You'll probably want to look into the Internet Security Systems products for IDS and IPS.

    RealSecure Network Sensor and the Proventia A appliance are passive IDS.

    The Proventia G is a transparent inline IPS.

    The Proventia M is an inline firewall with IPS built-in, along with lots of other modules.

    Check out http://www.iss.net/

    --
    Rob

    1. Re:ISS: Industry Leader in IDS and IPS by TheCabal · · Score: 1

      I just finished an eval of their SiteProtector with Proventia Desktop, and I've worked with their Proventia G's before. I think they're a couple of months for having a real solid product, at least on the desktop side. I think they've improved with their appliances, but even some of their own people I talked to thought their first generation stuff wasn't very good.

      Their sales guy was pushing the Proventia M at me, but it doesn't fit in our infrastructure well, and tops out at 1Gbps. That's a fraction of the speed I need these things to work at.

      I figure by the end of the year, they may have something. It may be worthwile to buy in now if you like what they currently have.

    2. Re:ISS: Industry Leader in IDS and IPS by AbsolutCooter · · Score: 0

      I too have had great experience with ISS. I've never done much with their desktop products but i find their Inline Proventia G to be great. As with any solution, you do have to take some time to tune the policy that you apply to it to fit your desires. However, once you have done this, it does a great job of picking up on malicious activity and can block the attacks you define in mid transit.

      -Ryan

  65. IDS Load Balancer by dangermen · · Score: 1

    I have developed an open-source IDS load balancer. I'm puting in the final touches into the HOWTO, expect in the next few weeks. It can scale to multi-gbps! We use it in our DCs.

    1. Re:IDS Load Balancer by Anonymous Coward · · Score: 0

      I have a golden box to gift you with. Expect it in the next few weeks.

      Meanwhile, nothing.

      So you don't find this neither informative nor useful, do you?

      Well, I think just the same about your post.

    2. Re:IDS Load Balancer by dangermen · · Score: 1

      Hey dick, it's called Linux policy routing. I have a few tricks that I was able to make the Linux kernel perform in order to carve up flows. Is that good enough for you prick? I'll be posting to net-dev in a bit to have Robert Olsson and others check my work. So other than sarcasm, what crap can you offer?

  66. commercial products by austad · · Score: 1

    I work for a security firm that resells just about everything under the sun, and the two I like the best are McAfee's IntruShield and Juniper's IDP.

    Both have a fairly intuitive interface, but I like Juniper's interface better. The juniper interface works like a firewall, where you create policies linked to attacks, and choose whether or not to allow them to pass. Updates come out weekly or whenever something major comes out. However, their interface is not web based, so you need to run a client on either a windows or linux machine. And, as far as I know, they still have not release their hardware accelerated version yet, so you are limited to monitoring something like a couple hundred megs/sec.

    McAfee's solution requires a console box to control all of the devices. The interface is web based, and it feels bloated and slow because of all of the java they are using. However, once you get the hang of it, it's fairly easy to configure and use. The McAfee solution feels more like a purpose built device, and until Juniper releases the blade for the ISG2000 or the hardware accelerated device, the McAfee device is what I'm going to go with. McAfee has several different models, their smallest costs $15k and will monitor something like 200Mbit/sec of traffic. Their largest does 2 or 4 gig.

    I've used stuff from ISS also, and it sucks to configure and get running. It's complicated, and feels bloated. I've played with just about everything else on the market, and nothing really compares to the McAfee and Juniper solutions.

    However, Top Layer came in and did a presentation recently, and their stuff looks awesome. However, I haven't had a chance to play with it yet, and word on the street is that it's about 2-3 times more moola than anyone elses.

    --
    Need Free Juniper/NetScreen Support? JuniperForum
    1. Re:commercial products by TheCabal · · Score: 1

      I'll second this... I love the interface for Juniper's IDP. It's Java based, but its *extremely* easy to manage buttloads of sensors. The sensors themselves are a snap to set up and get running- I deployed half a dozen in about an hour. We were looking at the ISG blades but the price quoted for us was staggering, even for this place.

      ISS' stuff... eek. Maybe in a few months after they've gone through another development cycle. I just finished an eval of their stuff and their pre-sales team walked away with a laundry list of things to fix. I was disappointed, given ISS' reputation in the security business.

    2. Re:commercial products by bunco · · Score: 1

      "Eek" is right. I avoid ISS like the plague. The only reason they have any reputation is that they were one of the first to market. RealSecure's closed sig set proned to FP. An IDS is only as good as its inspection engine and/or signatures.

      I think snort with a "commercial" sig set would prove to be a far better value. Despite what others might say, managing snort in the enterprise isn't all that much work (majority is a bit of dev up front).

      If you need a commercial product, give Cisco or Checkpoint a ring.

    3. Re:commercial products by Anonymous Coward · · Score: 0

      I resell, among other things, both Cisco and Checkpoint products. Cisco's IDS system sucks, and so does CheckPoints. Checkpoint's is really good at false positives and dropping legit traffic.

  67. Snort is itself vulnerable, use at own risk by Anonymous Coward · · Score: 0

    The problem with using snort for intrusion detection is that it has a long history of nasty vulnerabilities. If you decide to use snort near any system that you care about, ISOLATE IT!

    In other words, I'd separate snort from any production server(s) AND the firewall machine(s). Place it in a separate DMZ from your public machines. Script so that snort's conclusions are sent thru the DMZ firewall, to another system that formulates the iptables /ipfw/pf mods.

    So that, if the snort analysis machine becomes 0wn3d or compromised, it will at least have only one connection to another machine, through a firewall that only allows snort's conclusions to be forwarded, and that's it.

  68. buy a TippingPoint by alx512 · · Score: 1

    I start my new job here on Monday. You can help keep me employed by buying one of these:

    http://www.tippingpoint.com/

    1. Re:buy a TippingPoint by Anonymous Coward · · Score: 0

      Tipping Point is our product of choice, for our 3 campus 18,000 user networks we have around 12 Tipping Point boxes doing their job. I couldn't love them more.

      When we did our eval, and placed one at our Internet connection, it immediately began throwing away 60,000 virus laden packets per day. That meant I didn't have to worry about our firewall getting overloaded, which happens sometimes during a Code Red or Slammer type outbreak. I like the interface, the boxes seem very reliable, the signature updates happen regularly, about every week or more often. While they are pricey, $45,000 and up, they just work and make my job easier.

      Before, I tried my hand at using Snort and was overwhelmed with all the logs and time it took to try to get a handle on what was going on. I didn't trust Snort to actively block inline what ever viruses or bad stuff came at us, but after seeing the Tipping Point identify and then be able to block lots of the stuff, I was sold.

      Now we may get a virus outbreak like Sasser or another, and on the buildings and segments protected by a Tipping Point, I can identify the culprit and let the workstation people go clean it up.

      Tried the McAfee product, and was turned off by the loads of false positives it generated, and the fact that the Tipping Point caught some viruses that the McAfee Intrusheild missed.

      So tell your boss that security will take both time and money, and trying to do it on a shoe string is crazy. And go with Tipping Point if you are large enough and can afford it.

  69. I don't know about you guys by ScrewMaster · · Score: 1

    ... how does your network react to those intrusions?

    but my network immediately electrocutes the intruder.

    --
    The higher the technology, the sharper that two-edged sword.
  70. Several Choices by murreyaw · · Score: 1

    There are several choices out there. The one I typically like to install is the Checkpoint Interspect. It does a lot of the nice IDS logging and analysis, while also being able to stop the attacks as they occur. Instead of sitting on a span port, it is an actual gig capable bridge. Most people deploy them between lan segments and core switchs to prevent worms from spreading accross their lan. ISS also has the RealSecure products, along with the Proventia line of appliances. Check them out.

    --
    God, Root, Whats the difference?
  71. Proprietary is better in IPS by Anonymous Coward · · Score: 0

    When it comes to a complex software product with a thousand and nine knobs, what you should really be looking for is not an open source solution(regardless of how great it is) but a dedicated support team and ease of use. Yet, there are too many vendors who slam snort onto appliances, put a company logo on the front, provide a cool web interface and sell it to you for more than it's worth while they can only be as fast as snort(maybe 6 months behind in the best case) in adapting to new security threats.
    Given this, you should go for one of the thriving proprietary solutions(Juniper/McAfee/Tipping Point/Cisco). Proprietary is not necessarily bad especially when support matters a lot.

  72. Self Defending Firewalls... mmm *fun* by v3xt0r · · Score: 0

    Smack me and I'll smack ya back!

    The only problem is: 'When good Self-Defending Firewalls go bad', ya know.

    --
    the only permanence in existence, is the impermanence of existence.
  73. ActiveScout by not_hylas(+) · · Score: 0, Offtopic

    I think everyone's stumped, the defenders keep bolting down the furniture, chaining up the TV and generally fastening down all these individual objects.
    What's needed is a BOUNCER.

    Lock the damn door [doggie door too].
    I'M WITH THE BAND! shouldn't get them backstage.
    Stamp their hand at the entrance and watch them so they don't try to feel up your sister.

    You get the idea.
    These guys have a handle on this approach, I only wish I had enough money to get it.
    Hell, I'd even by a wintel box to run the damn thing (and that's drastic)

    http://www.forescout.com/activescout.html

    --
    ~hylas
  74. Solution Used by kenp2002 · · Score: 1

    Here is a solution that I've seen around:

    Script monitors ports, ips, etc and baselines their activity. If the threshold for activity is exceeded the port,ip is blocked and an email is sent with an unblock link for the admin. Merging an IDS log into a script like that should be straight forward.

    --
    -=[ Who Is John Galt? ]=-
    1. Re:Solution Used by steppin_razor_LA · · Score: 2, Informative

      I implemented something like this at my home network, but its a dangerous approach to use professionally unless you are sure that it couldn't be used to create a DOS attack. For example, if I spoofed traffic from a bunch of IPs, the system might start denying the spoofed IPs access...

      --
      Evolution: love it or leave it
    2. Re:Solution Used by freaker_TuC · · Score: 1

      It's better to program a perl or shellscript that parses out a whitelist of ip's that cannot be blocked before adding it to the firewall rules; your gateways and main access servers/nameservers should always be clearly accessible and never be able to be blocked.

      --
      --- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
    3. Re:Solution Used by steppin_razor_LA · · Score: 1

      That's actually when I do. I'm running my own version of Smack which was a modified version of Guardian. It basically follows Snort's /var/log/alert and then fires off IPtables deny rules when it finds something interesting.

      The biggest problem that I had with the system was that there was a number of more "informative" snort messages that don't represent actual intrusions. I probably should have just built something that "whitelists" certain snort rules. Instead, I'd just go through and comment out the snort rules I didn't want logged which made updates a bitch.

      --
      Evolution: love it or leave it
    4. Re:Solution Used by kenp2002 · · Score: 1

      Under the circumstances that is considered acceptable. The admin need only click a link in the email to remove the restriction. Recently smoothwall's recative guardian plugin for Sarg blocks them for a user defined time. My home I have that set for 48 hours so if I don't notice the block, 48 hours later it will unblock and re-block if the warning continue.

      --
      -=[ Who Is John Galt? ]=-
  75. IDS/IPS by Anonymous Coward · · Score: 0

    You can have the best software in the world, but it means little if you don't have the manpower to monitor it. A major challenge of small to medium-sized companies is that they don't have the resources to take on a community of hackers that never sleeps. If you're serious about protecting your network but don't have a dedicated IT Security staff that works 24x7, look at complimenting whatever you choose with a security service like SecurePipe. And no, I don't work for them, but I've seen their work. Good luck!

  76. Prevention. by Anonymous Coward · · Score: 0

    First post!

    Im using IPtables and are blocking IPadresses that I see have tryed somthing stupid. But that is after they've tried.. Prevention.. hmm seems like a good idea :)

  77. Think simple by Tired_Blood · · Score: 1

    Instead of screwing around with the authentication protocols, approach the problem by restricting its use.

    Including a significant delay in any authentication system seriously reduces the effectiveness of bruteforce attacks. The delay is only noticed once by regular users and although it might be a headache for those that forget their passwords, an attacker would have to be very patient.

    Another approach is to limit the number of login attempts per connection.

    Your example may require its users to remember multiple 'passwords' (what constitutes a "valid email address" in your writeup?) and may also inadvertantly cause problems (questions like "what time/day is it?" have formatting issues and answers may vary due to geography or local environment).

    These extra questions require known correct responses, and perhaps database management (that "valid email address" type of question again). More overhead than is necessary IMO since the more complicated the result, the more likely errors will be introduced each step of the way.

    That is, unless the point was just to make the users jump through hoops - but I'm guessing that wasn't the intended goal. :)

    --
    This is not my sig.
  78. Festival text to speech by HermanAB · · Score: 2, Funny

    Well, you can always pipe your firewall log into Festival and make it talk to you...

    tail -f /var/log/messages |festival --tts

    --
    Oh well, what the hell...
  79. DDoS Mitigation != IDS/IPS by bunco · · Score: 1

    Watching netflow data is definately the best way to watch for DDoS. IDS' aren't well geared for the task.

    Check out Cisco's DDoS appliances (formerly Riverhead Guard/Detector) if you need a stout DDoS appliance. They go above and beyond basic netflow analysis (ala Arbor). To that point, the Guards + Arbor are a killer combo.

    1. Re:DDoS Mitigation != IDS/IPS by mengel · · Score: 1

      Just a note, the same sort of logic catches a lot of intrusions, since intruders install network scanners as their first or second order of business. (It blocks onsite nodes which start acting dangerous, too...)

      --
      - "History shows again and again how nature points out the folly of men" -- Blue Oyster Cult, 'Godzilla'
  80. hogwash will be back by Anonymous Coward · · Score: 0
  81. AirSnare by siliconjunkie · · Score: 1

    AirSnare is a useful tool for detecting "unfriendly" MAC addresses (any MAC addresses that you have not specified as "friendly").

    It can be set to email the admin in cases of unauthorized access, and it works in conjunction with Ethereal and AirHorn as well.

    Oh, and it's free (as in beer).

  82. 802.1x not just for wireless by Ethek · · Score: 1

    I have become increasingly impressed with the use of 802.1x for authentication of equipment on hardwired systems. Physical port security I think is still one of the big issues with most networks. While most NT networks will not allow a computer to utilize network resources if it does not authenticate to the domain, many networks will still allow a computer brought in off the street and plugged into a port formerly occupied by an authorized machine and the DHCP server will happily hand over an IP address to use for internet connectivity. I know that basic port security can be configured, but most times it is far to an administrative burden to be used. 802.1x however shuts off access at the switch port, no matter where on a network the machine is plugged in, until authentication information is confirmed with a domain controller for instance. Only the 802.1x authentication protocol can be transmitted. An Ideal solution would be to have some time of automated IDS detect a trend and have it automatically suspend switch port access until it can be looked at.

  83. Defense In Depth by incognitox · · Score: 2, Informative

    This probably wraps up what various people have said in other ways, but I'll say it again. (and I'm being general on purpose -- I'm not trying to make specific reccomendations). The real answer here is a Defense In Depth Security policy.

    To truly protect your system(s), you need to do many different things, including keeping the system updated, educating users, using a NAT, installing an IDS, and much more. That said, an IDS is probably one of the last things you should worry about: get your "basics" right first.

    --



    ~i = an imaginary being~
    1. Re:Defense In Depth by mtnbikeguy · · Score: 1

      Agreed. In terms of network defense in depth a combination of HIDS and NIDS in your environment works really well.

  84. Don't underestimate what you already have by m0rningstar · · Score: 3, Insightful

    I have to admit that I'm just not a big IDS/IPS fan. FAR too few people have the time (at least in my experience) to use them well. It doesn't matter what the product is.

    What is generally lacking is a policy (which, sadly, security is mostly about) and a concrete idea of what to do when an 'attack' is detected.

    And people then buy an expensive new IDS, or spend time to implement one, or whatever. Think it's exciting for a while. And then I come back 3 months later and it's turned off in the corner.

    And in the meantime people aren't exploiting the information they already have. Not just the bandwidth graphs but firewall logs, system logs, etc. I personally would recommend finding an event correlation system (anyone know of a good open source one?) along the lines of Netforensics or the former Protego and implementing /that/. And then seeing if an IDS is of any additional use.

    IPS -- I haven't had enough personal experience with an in-line IDS to make even a remotely intelligent comment. I like the idea of such a platform but it (as MJR frequently points out) falls foul of being an 'allow everything not specifically denied' platform and thus limited. This is not an outright condemnation, since otherwise you run into best being the enemy of good, but it's something to be considered...

  85. Re:big on Linux advocacy, small on windows solutio by itwerx · · Score: 1

    there are perfectly good softwar firewalls for windows. I use BlackIce, personally, but there are other perfectly good ones, not to mention the one built-in to Windows XP sp2.

    Hehhehheh!!! Mod parent funny!
    [wiping tears from eyes]

  86. Anyone using HANK? by RonVNX · · Score: 1

    Anyone out there using HANK?

  87. Harden the servers instead by Expected+Term · · Score: 1

    Signature or behavior based IPS systems are pretty useless against new code based attacks. It is better to harden the systems the code is running on. Implement the NIAP configuration guides http://niap.nist.gov/config_guide.html and use a host based solution like Securecore or Solidcore. Sana Entercept is also useful for an added layer of protection.

  88. better than Tipping Point by Anonymous Coward · · Score: 0

    Covelight

    wish they had better marketing, though, it's a well-kept secret ... good for me! We use it ... if they were bigger, maybe I'd have to wait for product?

    Maybe I should have kept my mouth shut.

  89. automatic defence by zuRNall · · Score: 1

    Solutions that require continous monitoring (like mrtg or rrdtool) may be too sl ow to respond to modern DOS attacks a.k.a botnets and worms. Some interesting so lutions are out there that try to anticipate/understand attacks based on traffic patterns ... and try to mitigate them. I can think of a couple like RiverHead Networks (now cisco) and netZentry

  90. we are always having hacked attemps by Syncalot · · Score: 1

    we have been looking for a good solution as well snort might work in our case we have alot of password hacks for our content since we run more of adult type sites.. we have use proxy pass software to deter password sharing, leaks, or proxy attacks. but as far as the script kiddies you never know what they are up to and they prob are watching the boards for the latest hacks and using google to find unsuspecting webmasters and pray on them. I would also like to hear about other options from sw to hardware for any type of intrusion detection.. is there any ones with a nice gui system ?

    --
    Pocket Girls. Mobile Adult Mini Mags for your Phone.
  91. Snort supports in-line operation by martyroesch · · Score: 4, Informative
    Hi there, original author of Snort here.

    Snort supports in-line (intrusion prevention) operation on Linux as of version 2.3.0. There is also the snort-inline project which maintains a different code branch that includes support for divert sockets on FreeBSD as well as some in-line focused mods.

    Sourcefire (my company) builds commercial-grade IPS using Snort as the foundation technology and it works well. We're continuing to improve the technology on an ongoing basis as it's central to our IPS offerings. If you want to run an IPS to try out the technology, Snort is certainly suitable today.

    1. Re:Snort supports in-line operation by c0dyd · · Score: 1

      Hi, Marty. Thanks for the post; your work in the IDS field is truly significant, as obvious in the many branches/ports of Snort in use. Snort-Inline is very appealing; however, the documentation/resources available (outside of the Honeynet Project) seem quite limited. For example, the documentation included with Snort, as far as I can tell, is a mere copy of the instructions used for Honeynets. That said, Snort-Inline is intriguing and I look forward to the continued work of you and others in the field. Particularly, for an open source (or close to it-- I haven't read the fine details of the licensing) project, Snort + Snort-Inline, in my opinion, could have a significant impact in reducing network intrusions. I, obviously, don't work for a security firm, but I presume Snort coupled with data mining technologies could be an invaluable tool the security industry. On a side note, I hope Frank Knobbe with the SnortSam project continues development as well. SnortSam, at my initial glances, appears a bit more robust than Snort-Inline.

  92. Scissors by jd · · Score: 1

    They're cheap, they're easy to obtain, you don't need expensive upgrades every time a new threat comes out. Just cut the cable and watch the hacking attempts falter.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  93. Cisco IDS by dew4au · · Score: 1

    I use a combo of HIDS(host-based) and NIDS(network-based) to detect malicious activity. Our core switches (cisco 6509s)each have an IDSM blade that pops right in. Cisco VMS for the management interface is pretty crappy. Servers get Cisco HIDS just to make sure nothing fishy is going down.

  94. QRadar by QRick · · Score: 2, Informative

    Check out Q1Labs. (Disclaimer: I'm an employee)

  95. no signatures or anamolies by profishient · · Score: 1

    how about an appliance that doesn't use sigs or behavior anamolies (both are fallable). does anyone know of anything that looks at pre-attack behavior? i.e. network recon?

  96. IDS deployment by Anonymous Coward · · Score: 0

    Just remember, your NIDS is only as good as the amount of clue that it has to admin it. No matter what the Snort purists say, Snort doesn't cut it, period. We've done a bake-off on all the NIDS packages here at my company and found that the two worst performers were Snort and NFR. True it does depend on your application and the size of your company, but it's I/O and false positives that really matter. Enterasys Dragon is the only IDS that cuts the mustard in terms of performance, up-to-date signatures, and low false positives. Expensive but worth the money. All of the sys/network admin people here have the clue and knowledge to write filters for Snort, but honestly who wants to waste the time doing it. This was a big debate when we decided to deploy a NIDS, with the admin people against Snort and the suits for it. In the end the admins won out because we were able to show the suits that more money will be spent^H^H^H^Hwasted writting and fine tuning Snort filters than if we bought a commercial product. There's more important fish to fry. On the host end we use Sygate Personal Firewall Pro(better volume discounting is always a good thing :D). If you don't believe me ask the IDS guru himself, SN, which NIDS would he go into battle with. He'll tell you Dragon without any hesitation.

  97. Castle gates by jd · · Score: 2, Interesting
    This goes back to a method I've suggested on Slashdot before. Have two firewall/proxy devices in serial. You have one line linking the two together, and one line from each firewall to a single Active NIDS device. Also in parallel is an authentication server.


    In order for traffic to get through the outside interface of the inner firewall OR the inside interface of the outer firewall, there needs to be some sort of authentication or other interaction. It need only happen at the start of sessions, but all of this assumes there is something there.


    All firewalls, on the interface pointing to the middle section, default to blocking ALL traffic from ALL IP addresses, other than that of the authentication server and NIDS device, although NEITHER server can reach other networks - they may only talk to the firewalls.


    Once a stream authenticates with the authentication server, the authentication server notifies the firewall to allow that IP/port combination and ALSO notifies the NIDS that it is to stop monitoring that IP/port combination.


    In the event of the NIDS detecting ANY actual conversation between two machines that is NOT on its list of authorized connections AND is not an authorization request, it can know that it is an intrusion involving the compromise of one of the firewalls. It then notifies the OTHER firewall to shut down that conversation.


    Because the NIDS isn't in-line, there is no latency once the conversation has been approved. Because there is an enforced delay at the start, the NIDS has time to verify that the connection is not an intrusion attempt.


    What if someone tries to compromise the authentication server? Well, then it is an unauthorized conversation that is not an authentication request, so will get blocked.


    What if someone tries to compromise the NIDS server? Well, because the NIDS server needs to only talk to the two fiewalls and the authentication server, AND because communication is going to be very limited, you can use strong encryption and digital certificates to ensure nobody else can connect to the NIDS system. Everything else can be harvested by passive monitoring.


    Is this fool-proof? Probably not, fools are just so ingenious. On the other hand, it would probably be good enough to block the bulk of scans, firewall exploits and other such stuff. Breaking one firewall would not be enough, and by the time you detected the other, you'd be locked out.


    This kind of portcullis arrangement is not going to be perfect, but is going to be a lot better than having a single firewall and a copy of Snort running.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    1. Re:Castle gates by mikefe · · Score: 1

      I like this.

      How do you think the authentication should work?

      --
      There: Something at a specific location.
      Their: Owned by someone.
      Please make sure your english compiles.
  98. herm by Anonymous Coward · · Score: 0

    As far as securing a *nix system, I usually put it behind a good firewall router. I have used MonoWall at work. I also hear that PF is becoming very hot (check out pfsense). That will cut down on your DOS attacks.

    Other than scripting the hell out of the Snort Logs... just stay updated, make sure you are running your services securely, and don't piss anyone off. If they are good enough... they can get passed almost anything you setup no matter what.

  99. The best system by Anonymous Coward · · Score: 0

    Tipping Point

    Snort/NEVO sensors on inside and outside internet interfaces, and other strategic areas.

    Snort DB server with BASE
    Tenable Lightning and Thunder Console.
    Long Term SYSLOG server for syslog producing equipment.

    These will prety much cover you at this particular angle.

  100. Txt msg on login by thisisauniqueid · · Score: 1

    Most cell phone companies provide an smtp-to-txt gateway. Alter your login scripts so that you get sent a txt whenever anyone logs into your system. If you're the only one logging in, you'll know about any intrusion that involves execution of the login scripts.

    1. Re:Txt msg on login by scottv67 · · Score: 1

      Wow, that is a pretty lame suggestion. I can't tell if you are serious or just trolling.

      If you were being serious in your post, how does your little login script handle attacks where someone gains control of the system without "logging in"?

      -s

    2. Re:Txt msg on login by thisisauniqueid · · Score: 1

      Right, it only works if the login script is executed during the exploit. Given that one of the fastest growing exploit methods lately (see recent /. story) is plain old dictionary attacks trying to gain ssh shell access, it may pay to know when anyone other than yourself logs into your systems.

    3. Re:Txt msg on login by g0bshiTe · · Score: 1

      So why go through this hassle? Let's say that you are in a hospitol ( visiting ) and you can not have cellphone/pager on, what then?

      With all that's out there, why not just setup to based on the port knock method using IPTABLES. Add a rule for an incorrect knock and a correct knock.

      Said kiddie would have to guess the correct sequence before he ever saw an ssh login prompt.

      --
      I am Bennett Haselton! I am Bennett Haselton!
  101. NFR by Anonymous Coward · · Score: 0

    NFR has a new version coming out pretty soon. NFR is interesting in that the signatures can be pretty rich because they are written in a procedural language. That means that in addition to traditional intrusion detection/prevention, you can use the signatures for network monitoring tasks that go beyond simple fixed signatures.

    It's got a Java interface that looks pretty cool.

  102. Sguil is a fantastic tool by whizkid042 · · Score: 1

    I attended USENIX '05 out in Anaheim, CA this year. One of the training sessions was lead by Richard Bejtlich who is one of the co-authors of a tool called sguil. When I got back from the conference I started playing around with sguil and discovered that it is one of the most awesome network security tools ever! It combines all of the information that I need when investigating a network security incident all in one place.

  103. Anomaly-detection is very useful. by Mordant · · Score: 1

    Doesn't use signatures, doesn't produce false positives. Combine anomaly-detection technology with an information source like NetFlow, and you have a scalable and flexible detection system.

  104. Forescout by emperor91108 · · Score: 1

    Forescout works great for me. It has no false positives, is very quiet, flexable and easy to manage IPS.

    1. Re:Forescout by kamgol · · Score: 1

      I have to agree. I've deployed Forescout worlwide in over 40 countries and it is very quiet, simple to maintain and I have yet to see a false positive or negative. I'm also a beta customer for the new 5.0 version and I must say I'm very impressed. James D.

  105. I use Snort + Swatch by camba · · Score: 2, Informative

    I use Snort + Swatch. Of all the attacks detected by Snort, I only care about a few that may compromise my system, like the SSH password scans and POP/IMAP/SMTP attacks. Swatch is tailing /var/log/snort/alert and, if an attack is detected 3 times or more in 30 seconds coming from the same IP, I block the IP with iptables. Once a week I rerun my firewall script to cleanup the swatch generated rules. If I had time I would improve this in two ways: - To have an e-mail sent to me if the same IP attacks the system again after being blocked for a few days. - To clean the swatch generated rules by age, and not once a week via cron as I do now.

    1. Re:I use Snort + Swatch by Anonymous Coward · · Score: 0

      We used to do this, but we upgrade our network to all Cisco, and on our core switches we bought the IPS2 Modules. Version 4 was a piece of crap. But Version 5 rocks. My false positives went down 90% compared to version 4 out of the box. The biggest problem with IDS/Firewall/Security logs is event corralation. There are very few tools out there that support everything, and the commerical ones are very very pricey. Until you can corralate events in near real time IDS/IPS will be lacking. The other problem is IPS. It's very very easy to DoS yourself.

  106. Demarc by slashflood · · Score: 1


    IDS (Intrusion Detection Systems) are all fine. Snort is in my opinion the best system around. The difficult part is the overview over the whole network. You can set up Snort at your border gateways to collect all the attacs, but in my experience you'll not pay attention to the alerts after a while (half a year). There are just to many alerts every day.

    The best solution you can get so far is a product which was called "Demarc PureSecure" not long ago. It is based on Snort, does file integrity checks and monitors all your services, disk space, CPU and a lot more.

    The cool thing about that solution is the web-based centralized management console. You can update the (Snort-)roule-sets at once, and have a look at all the attacks to your network in a browser window. It's the most sophisticated and most underestimated system around. Just have a look:

    Demarc

    Most of the commercial IDSs are based on snort, but the Demarc stuff is what you need for larger networks.

    Disclamer: I don't have anything to do with the company behind Demarc, but I know, that this solution is pretty unknown to most of the admins out there.

  107. Enterasys is best, hands down! by Anonymous Coward · · Score: 0

    Enterasys Netsight policy manager with Dragon Intrustion detection system is by far the best I've worked with so far.

    A state government customer of mine has a mixed hardware network (cisco, nortel, ETS, HP) and runs Netsight and Dragons. They hired a reputable firm to run through an "ethical hacking" session to test network security.

    It was pretty amazing to watch the network get automatically reconfigured as 5000 differing attacks were launched. Not one was sucessful...

    Far better than anything Cisco offers IMHO.

  108. Sentry by Anonymous Coward · · Score: 0

    Their Sentry product will do in-line detection with practically no latency.
    http://www.cymtec.com/pages/propagation/features.h tml

  109. Monitoring is expensive by Steeltoe · · Score: 3, Insightful
    While actively monitoring is always preferred, not everybody has the luxury of time to sit in front of the server monitoring every minor detail. Especially on projects for humanitarian organisations you do on your spare time. To be honest, some automation SHOULD be implemented, because a human is simply not a robot and will tire over time. The purpose of computing is exactly that - to alleviate humans of doing boring tasks.

    I set up my scripts so I am emailed ONLY on new activity not seen before. So I find ways to silence minor attacks/alerts which does not interest me in conjunction with finding automatic ways to react on attempts.

    I can recommend this setup:
    • Snort (Network packet sniffer)
      Enough is said about this. Absolutely needed, but useless without intervention. Oinkmaster is nice to use for automatic downloading of new rules.

    • Narc Firewall
      Perl script for iptables/ipchains. Fast and easy to set up, however any decent firewall will do. Narc allows for user-customization/hacking, which is a plus for those who wants to learn ipchains/iptables and do more advanced stuff than a GUI can offer. I like to fiddle with the rules myself for outgoing packets, which very few firewalls supports. It's nice to know your computer is not sending out traffic you don't know what is. By blocking everything outgoing by default, I will catch stuff in the logs and adjust the rules when I know what it is (not recommended while in production).

    • BlockIt (Perl script for reactive firewalling)
      Blocks hosts temporarily and permanently based on SSH-logs, snort-alerts and firewall-logs. Nice and easy to extend even if you don't know perl, but have patience to test alot. The maintainer is cool about accepting patches. Yes, you need a list of hosts to never block, and yes a dedicated cracker can spoof IP addresses to DOS you. However, I'll deal with that when somebody does just that. It depends how important your service is I guess.

    • Samhain (Rootkit and file change detection)
      I set up Samhain to email me of EVERY change in the root filesystem. However, I run Samhain with the silent option just after every upgrade at night. So upgrades are done automatically and silently without alerting me (Debian Stable - Sarge).

    • chkrootkit (Another rootkit checker)
      It's in the Debian-tree. Can't hurt to use more than one checker. This one is less spammy than Samhain and checks for other kinds of signatures in the system.


    This might seem much, but I consider it a bare minimum for an install I'm not going to watch over continuously. Running Linux doesn't make you secure, and even with all this, I know I'm still vulnerable to:

    A) Crackers hacking over time. Little by little they may do a portscan and find out enough to do a:

    B) Full-scale successful attack. Reactive firewalls just won't stop it, and then you're cracked.

    C) DOS. Automatic blocking based on IP and DSL-connection is just not enough to stop DOS and DDOS.

    However, with a hardware firewall in front, I feel a bit more secure.. ;*) All emails to root is forwarded to my email-account, cron-jobs and all, and believe me, with the pruning-job done, hardly any email is sent. Days can go without any emails, oh wait, maybe..... *shiver*

    One interesting project is a firewall based on snort: Hogwash. The project is in need of maintainers though. However the idea is cool: To block based on snort-alerts in real-time. This can actually be useful to block intrusions before they can do harm other than DDOSing. I for one will accept the increase in latency if it means my network is that much more secure. I really hope this one will take off one day.
  110. what about file hash checking? by PabloHoffman · · Score: 1

    You can try with aide , which is an opensource replacement for Tripwire.

    Aide takes a MD5/SHA1 snapshot of your relevant files and store it for later comparison in order to detect modifications.

    Also, keep in mind that you should take proper measures to avoid tampering with the aide tool itself (otherwise, it will be useless). For example, you could keep your aide binary, configuration and database files in a read-only media (like a CD/DVD-ROM).

  111. Rules to follow by ShardkRider · · Score: 1

    What you need to do, is to make it virtually impossible to compromise your system and the data. Keep in mind that most problems do not arise from outside the netwrk, but from within. So your basic concern should be: Can I prevent things happening? Not entirely, but you can secure your organisation if you make the right choices. First, and MOST important: Use an OS that is immune BY DESIGN to ANY virus, worm or other malware, to be installed on any server in your network that is 'directly' exposed to the Internet. These servers should be configured to block spam by mail, contain software to protect other systems in the network against these threats, and be configured that non-privileged users to have access to files, programs, resources and whatever there is in the system, that they are not authoroized for, AND disallow others to gain access to the system at all if they are not authorized to enter it. The system should also, by design, be able to audit all access when required, block intruders and signal them, and do a lot fo accounting for security reasons. And, of course, the system should be as free as possible from code errors that would allow malware to function at all. All this should be BUILT-IN, not ADD-ON - it should be part of the OS itself. That rules out at least the following OS's as MAIN SERVER: * Windows (any version) for well-known reasons * Unix (any flavour and any version) because security is not built-in, but an add-on) * Linux (any distribution and version) for the same reason Second: do not run software on any server that is not needed for it to function. Disable all access possibilities that are not required on the system. Use only software that has been proven to be safe. Third: Use a router at your boundary that blocks all incoming traffic on ports that are not required, and routes all ports that you explicility need, to the secure servers. Unneccessary to mention that this system should be considered a server as above, itself (access server). Fourth, all other systems should NEVER be accessable from the Internet itself. Mail should be retrieved from an internal server as described above. All machines MUST have an scanner installed, even if the main server contains one, to detect any malicious software on these systems. Unsafe protocols should be avoided within the network whenever possible. Use those that are secure by design. Such systems doesn't come cheap, but security never is. Any whitepapaer will tell you. If you have any doubt on these matters take a look on WWW.CERT.ORG and compare OpenVMS's records agains any other. Look around on the Internet to find more proof of this OS's security and other advantages (where can you find a system where, in a period of over 7 years, all hardware have been moved, upgraded and replaced, the OS has been updated, without interrupting user applications - only when these appliactions needed an overhaul?)