Slashdot Mirror


Changes in the Network Security Model?

Kaliban asks: "As a Sysadmin, understanding network security is clearly an important part of my skillsets so I wanted to get thoughts on a few things that I've seen recently after some discussions with co-workers. Are network services becoming so complicated that application level firewalls (such as ISA Server) are absolutely necessary? Is the simple concept of opening and closing ports insufficient for networking services that require the client and server to open multiple simultaneous connections (both incoming and outgoing)?This leads me to my next question: has the paradigm of 'if you offer external services to the Internet then place those machines onto a perimeter network' been eroded? Are application level firewalls sophisticated enough to allow machines on your internal network to advertise services to the Internet? When is it alright to 'poke a hole in the firewall' to allow this? Personally, I think the answer is 'Never!' but perhaps I'm out of touch with current network security models."

261 comments

  1. Try a three-tiered approach by Eponymous+Cowboy · · Score: 5, Informative

    There are three disparate levels of security you need to consider, and it is advisable to take a three-tiered approach to the problem.

    First, for employees and others who have trusted access to your network, the answer is not to poke holes in your firewall. Rather, the answer is simple, just three letters. VPN. By setting up a secure, encrypted, authenticating channel, you bring your trusted users into your network. From your point of view and theirs, it is as if their machines were physically located on the other side of your firewall--just like having the machines right in your building.

    Second, for business partners and contractors who need limited access to a subset of services, but whom you do not trust fully, the answer is quite likely also a VPN, but not directly into your network. For services provided to these people, you want everything from your end first going through application-level firewalls, and then through the VPN, over the Internet, to them.

    Using a VPN in these cases prevents random hackers from entering your network on these levels.

    Finally, for the general public who simply need access to your web site, the ideal situation is to simply host the web site on a network entirely separate from yours--possibly not even in the same city. Use an application-level firewall to help prevent things like buffer overflows. Then, if your web server needs to retrieve information from other systems on your network, have it communicate over a VPN, just like the second-level users mentioned above--that is, through additional levels of firewalls to machines not directly on your primary network. (Basically, you shouldn't consider your web servers as trusted machines, since they are out there, "in the wild.")

    By following this approach, you expose nothing more than is necessary to the world, and greatly mitigate the risk of intrusion.

    --
    It's hard for thee to kick against the pricks.
    1. Re:Try a three-tiered approach by redhog · · Score: 5, Interesting

      One thing that I need to consider at my current job is that you can NOT trust employees computers at home, even if you can trust employees - if they are running Windows, they are potential virus and worm vectors, and needs to be shielded off, so a simple VPN-solution is no solution.

      We've solved the most immediate problem by allowing only ssh, and giving employees with Windows a copy of WinSCP (an excelent, two-pane Windows-FTP-client-look-a-like front-end to scp), which they have had no problems using (they did not have any oportunity to work from home before, so they don't complain :).

      We also plan to later on introduce AFS and allow remote AFS mounts, and VNC remote-desktops.

      Locally, we have a simple port-based firewall, basically walling off all inbound traffic except ssh and http (and allowing nearly all outbound traffic), and keep our OpenSSH and Apache servers updated (have you patched the two ssh bugs reported on /. on your machines yet?).

      So, my advice is - keep it simple. Do not trust a too complicated system. And keep your software patched for the latest bugs - keep an eye on the security-update-service for your distro/OS and bugtraq.

      --
      --The knowledge that you are an idiot, is what distinguishes you from one.
    2. Re:Try a three-tiered approach by kennyj449 · · Score: 5, Interesting

      In my opinion, between the danger of worms transmitted above the application level and the existence of uneducated users (in many cases, uneducatable) as well as the whole physical security issue, even an internal network is not to be trusted (though few are actually worse than the Internet, except for pervasive wireless networks that don't use a strong, non-WEP encryption solution.) VPNs can definitely be very useful, but placing using them only at the outer edges of your network (e.g. internet-based links) leaves you wide open to any form of attack that originates from inside, which is always a danger no matter how good your external defenses are.

      Personally I don't think that physical seperation is necessary if you're going to be using a strong VPN, because of the fact that you can make it so that the only traffic that passes back and forth is through a VPN and is then no less secure (if anything more secure, except for the purposes of physical security) than if traffic were being passed over the internet. You also get the advantage of increased throughput, a single (or fewer) physical sites to manage, and lower bandwidth costs. Every little bit helps...

      In any case, it is my opinion that any computer which can communicate with others on the internet, no matter how well-restricted such communications are, should itself be considered non-trustworthy. It might be safer for being behind a firewall, but it can still grab a trojan or worm either through accidental or intentional means and become a staging point for internal attacks. It is for this reason that I personally believe that it is imperative to ensure that every computer on a network is secure and has personal firewalling of some form installed (if you're dealing with *nix workstations this is a no-brainer for a competent admin; Windows boxen will benefit greatly from simple solutions such as Tiny Personal Firewall.)

      This all goes double for boxen which are physically located outside of the network and which VPN inside (this is the reason for that last paragraph's worth of rambling.) A certain amount of distrust should be exercised for computers which can find themselves poorly protected from the dangers of the internet at times, and as such it is not only necessary to keep such boxes under close scrutiny and send their traffic through a decent firewall, but also to either educate users (as well as possible) on good security or require as a matter of policy that they utilize certain security measures (a personal firewall combined with a regularly-updated antivirus application is a potent combination that goes a long way towards keeping a computer clean.) Assuming that a VPN is a safe connection is a recipe for disaster; it prevents others from listening in but otherwise it is no better than any other old TCP/IP connection.

      VPNs, of course, can be quite useful on an internal network. Packet sniffers tend to have difficulty picking up on SSH as it is, but put that through a 1028-bit encrypted tunnel and it become exponentially more difficult to crack apart (and such layering protects you from vulnerability as there are now *two* effective locks which must be picked in order to gain entry.) It isn't going to make a difference between two servers connected with a crossover cable and which enjoy strict physical security, but when traffic is being passed over a network with old windows 95 boxen running Outlook, it pays to be prudent. Such encrypted seperation, when used intelligently, can often eliminate the need to physically seperate network segments when connectivity can be useful.

      Oh, one last point: if you're using a WLAN, it's only logical that unless it's strictly for visitors doing web surfing and chatting on AIM, a VPN is useful there as well. WEP is both less useful and far less effective.

      As for a good VPN technology to use for any application, IPSEC is always handy (and enjoys excellent and robust out-of-the-box support in the more recent revisions of... almost everything.)

      Sorry if this seems a bit unclear, but I've had a long day. :)

    3. Re:Try a three-tiered approach by littlerubberfeet · · Score: 2, Insightful

      Well, security through obscurity works. He should get a bunch of VAX boxes and force employees to use Macs at home.

      In all seriousness, he should be looking at a system that minimizes any potential damage, not some fance firewall solution that costs a bundle. Close down the ports and keep users from loading spyware or opening email with executable attachments.

      --
      Sig (appended to the end of comments you post, 120 chars)
    4. Re:Try a three-tiered approach by Anonymous Coward · · Score: 0

      "We've solved the most immediate problem by allowing only ssh, and giving employees with Windows a copy of WinSCP (an excelent, two-pane Windows-FTP-client-look-a-like front-end to scp), which they have had no problems using (they did not have any oportunity to work from home before, so they don't complain :)."
      Couldn't your employees just securely copy a virus infected file from their home machine then?

      "We also plan to later on introduce AFS and allow remote AFS mounts, and VNC remote-desktops."
      VNC is not exactly the most secure solution for remote desktops. Not that I am saying it isn't cool, 'cause it sure as hell is.

    5. Re:Try a three-tiered approach by dhammabum · · Score: 3, Insightful
      Um... a vpn is a hole in the firewall.

      There really is nothing magic about vpns, they are quite dangerous - they can provide clear access to your internal network.

      --
      I am not a robot. I am a unicorn.
    6. Re:Try a three-tiered approach by Anonymous Coward · · Score: 0

      - if they are running Windows, they are potential virus and worm vectors, and needs to be shielded off, so a simple VPN-solution is no solution.

      You left of Linux and Unix. I've seen employees with Linux boxes OWNED before.

      Don't kid yourself, practically any OS that is useful and can be connected to the internet is vulnerable in some way.

      A maintained firewall and current virus protection should be mandatory for anyone connecting to an internal network from the outside. Some vendors are starting to build policy enforcement of that requirement into their wares.

      A winterm connecting to citrix should be pretty secure too.

    7. Re:Try a three-tiered approach by JebusIsLord · · Score: 2, Informative

      You can tunnel VNC through SSH though, making it quite secure (and, as an added bonus, faster through compression). The old VNC site even used to recommend it.

      --
      Jeremy
    8. Re:Try a three-tiered approach by Anonymous Coward · · Score: 0

      I would like to do that. Do you know how to achieve it with Zone Alarm free adition?

    9. Re:Try a three-tiered approach by firewood · · Score: 1
      One thing that I need to consider at my current job is that you can NOT trust employees computers at home, even if you can trust employees - if they are running Windows, they are potential virus and worm vectors, and needs to be shielded off, ... We've solved the most immediate problem by allowing only ssh

      Allowing running ssh from a box that is potentially 0wn3d and running a key logger is a big hole in your security. Requiring a hardware firewall/VPN box on home systems could at least temporarily keep the key loggers from phoning home.

    10. Re:Try a three-tiered approach by dago · · Score: 1

      Normally, all VPN solutions should include the possibility to enforce a firewall policy on the client side.

      Some of them also allow to enforce the use of an up to date antivirus ...

      (IIRC)

      --
      #include "coucou.h"
    11. Re:Try a three-tiered approach by Anonymous Coward · · Score: 0

      > A winterm connecting to citrix should be pretty secure too.

      Not to mention much more bandwidth friendly than VNC-over-SSH.

      Also, he's allowing users fileserver access through SCP or AFS, so he still has to worry about viruses vectoring in. Which makes one wonder if all these bourgeois protocols he's using is really worth the bother. Why not just firewall a VPN?

    12. Re:Try a three-tiered approach by Ckwop · · Score: 2, Interesting

      You can trust your employees?

      Dont ever believe that your employees wont attack you. Some will attack you by accident (bringing infected machines into the office or something), some will even attack you out of spite.

      You should only give trust to entities you have to trust in order to get the job done. You have to trust (some of) your servers or IT staff.. but you shouldn't have to trust most of the internal network.

      Where possible, you should treat your network machines in the same way as you'd treat an internet machine.. Obviously, you're going to have to give your network machines more access than an internet machine.. but treat them with the same suspicion.

      Simon

    13. Re:Try a three-tiered approach by Bzap · · Score: 2, Funny

      Coincidentally, the first internal-users-are-evil-and-must-be-destroyed comment comes from someone named "Simon" :)

    14. Re:Try a three-tiered approach by rainer_d · · Score: 2, Interesting
      One thing that I need to consider at my current job is that you can NOT trust employees computers at home, even if you can trust employees - if they are running Windows, they are potential virus and worm vectors, and needs to be shielded off, so a simple VPN-solution is no solution.

      We've solved the most immediate problem by allowing only ssh, and giving employees with Windows a copy of WinSCP (an excelent, two-pane Windows-FTP-client-look-a-like front-end to scp), which they have had no problems using (they did not have any oportunity to work from home before, so they don't complain :).

      Do they have a shell at the back end ? Do you allow port-forwarding ? Once you allow SSH inbound or outbound, all security is basically gone.
      SSH allows portforwarding, even backward (i.e. you can run SSH-sessions into the company by contacting an outside server and connecting back over that very ssh-connection.

      At my former employer, once they opened up port 443 for the VPN-clients outbound, I just moved sshd to port 443 on my DSL-box at home and could start and watch edonkey-downloads from work via ssh+vnc.
      I knew what I was doing and I didn't over-abuse it, but the potential for a security-nightmare is there.

      --
      Windows 2000 - from the guys who brought us edlin
    15. Re:Try a three-tiered approach by Some+Bitch · · Score: 2, Insightful
      allowing nearly all outbound traffic
      Why? If it's not needed then block it. DENY ALL should be your default rule for both incoming AND outgoing connections.
    16. Re:Try a three-tiered approach by julesh · · Score: 1

      . Close down the ports and keep users from loading spyware or opening email with executable attachments.

      The point is, though, there is no way to do this with their home computers. Sure you can do it with a well locked down internal network with all patches applied. Maybe. But you'd better have a damned hot perimiter system to scan for anything unauthorised being downloaded. You'll have to disallow encrypted content, too, and anything that could be a compression format you don't recognise. Or you could run your OS in kiosk mode or something similar, which'll please everyone.

    17. Re:Try a three-tiered approach by julesh · · Score: 3, Informative

      SSH allows portforwarding, even backward (i.e. you can run SSH-sessions into the company by contacting an outside server and connecting back over that very ssh-connection.

      There's a very simple solution to that.

      Put "AllowTcpForwarding no" in /etc/ssh_config

      Simple.

      (Aside: there is a note in the openssh manual that reads "Note that disabling tcp forwarding does not improve security in any way, as users can always install their own forwarders." I think this only applies if you give them unrestricted shell access. See another post in this thread for information about a restricted shell that allows scp to work but prevents other stuff from executing).

    18. Re:Try a three-tiered approach by julesh · · Score: 1

      Actually, I'm not aware of any in-the-wild viruses for Linux. If you know of any please let me know.

      There are a few worms, I know (eg this one).

      (OK, so I'm getting fed up of people who should know better not distinguishing between viruses and worms).

    19. Re:Try a three-tiered approach by barzok · · Score: 1
      One thing that I need to consider at my current job is that you can NOT trust employees computers at home, even if you can trust employees - if they are running Windows, they are potential virus and worm vectors, and needs to be shielded off, so a simple VPN-solution is no solution.
      You can't trust the corporate network either. The one and only time a virus/worm successfully got into my home was Blaster this summer when I was VPN'd into the office. Systems in the office infected the laptop I had brought home via that connection in part because it tunneled right through my own firewall (by design).

      Yes, everything at the office runs Windows.

    20. Re:Try a three-tiered approach by AlphaSys · · Score: 1

      Some also do real-time content-scanning at the host end of the tunnel.

      --
      Can I bum a sig? I left mine at the office.
    21. Re:Try a three-tiered approach by civik · · Score: 1

      > Um... a vpn is a hole in the firewall.

      A hole with conditions. When I want to open a hole, do i just open it? Or should I use a method that will allow me to utilize a multitude of encryption and identity management options.

      > they can provide clear access to your internal network

      Remember, A good firewall/VPN solution will allow you to apply policies to tunneled traffic just like you would plain traffic. For example, my firewall allows you to filter traffic coming down a tunnel by src, dest, proto, etc. If all I want a user to access over VPN is Webmail and Intranet, I can apply a policy to allow only those destinations and protocols.

      I will agree that a BAD vpn setup can be almost as bad as not having a firewall at all.

      Info Security IMO is about mitigation. What can I best do to contain the external threat? identity management-yup, encryption-yup. VPN is most definitely a important part of any Admins toolkit.

      --
      Make it a malt liquor. I want to be as clever and handsome as possible.
    22. Re:Try a three-tiered approach by Glonoinha · · Score: 1

      This pretty much covers my question - the home users (cablemodem) that have VPN access - will a Linksys (or SMC, or D-Link, or whatever) cablemodem router ( also a hardware firewall ) be enough security to insure that they don't get 'pwn3d' from the outside (assuming they remember to change the default password on the router, and they don't go poking holes in it so they can host a damn Quake 3 Arena server.)

      Oh yea, and assuming they enable WEP on the wireless ones. Which two out of three home owners (in my neighborhood, ahem) did not.

      --
      Glonoinha the MebiByte Slayer
    23. Re:Try a three-tiered approach by Anonymous Coward · · Score: 0

      "the answer is not to poke holes in your firewall. Rather, the answer is simple, just three letters. VPN."

      You are *honestly* telling me a VPN is anything more than another hole in your perimetral facilities?

      Where did you come from, lad?

      Either you are a bit of an ignorant or you are a marketroid troll.

      The general meaning of your message is nothing but "just pile door over door and you will be more secure", when the truth is that if all those doors are opened or can be opened with just the same key you only have a false sense of security, which usually is worse than less security when clearly stated.

      What VPN does, specially when road warriors or home users involved, is plainly distroy the very conception of internal trusted network. From the moment you open a VPN not between two corporative networks well within your control, your internal trusted network simply disappears and you end up having only "external" and "DMZ". Then, if there is a need for an internal trusted network again, you will have to replan your topology and stablish barriers and networks *within* your local LAN to isolate some parts.

      Any VPN should just have to be considered as an internal box with an uncontrolled modem able to recieve calls. No more no less.

      Just a bit of topological equivalence.

    24. Re:Try a three-tiered approach by Anonymous Coward · · Score: 0

      Uhh! 'Bzap' is your login, you said?

      Ticketty-tic-tic-tac

      Now, you have complete access to the *outside* network as you asked.

      Simon.

    25. Re:Try a three-tiered approach by 330Pilot · · Score: 1

      I agree that VPN is probably the best solution, but his reply "a vpn is a hole in the firewall" does remind us that we cant get too comfortable with VPN. A lot of sysadmins get very comfy with VPN and allow their users quite a bit of freedom over VPN which can potentially make the problem even worse. Not saying you do or not, just saying that he does have a point, even though I agree that if VPN is implemented properly its probably one of the best solutions.

    26. Re:Try a three-tiered approach by Telastyn · · Score: 1

      Why are you trusting internal users? Statistically, the hacker won't enter your network; you've already hired him.

    27. Re:Try a three-tiered approach by 330Pilot · · Score: 1

      Not to mention there are web based java ssh clients... who knows, some employees might be inclined to use one. That pretty much gives an unknown source a nice key for your network. not a big fan of ssh.

    28. Re:Try a three-tiered approach by Anonymous Coward · · Score: 0

      Gotta reply to this thread. Recently, I dealt with a company that had all sorts of security in place.

      A worm came in through the VPN. Raised hell on Windows servers (way too many for IT to manage) which are not kept as up to date with patches since patches on windows machines can destabilize the systems, something fierce. Once the Domain Controllers were "owned" all Windows machines in the domain and trusting domains were "owned". Machines typically allow the Domain Admin access to default shares. And so the worm propagated onto patched machines, anyway.

      Many machines had personal FW and AV. They were safe since the FW was set to NOT allow sharing. Many machines did not have restrictive FW and AV because they are used for development and can't run that way. They were infected.

      The solution was multi-fold:

      1) install Host Integrity (Sygate, in this instance). This insures a certain level of integrity on all client machines and denies them access to network resources if they don't meet the requirements. For instance, latest AV running with latest FW config is required to VPN or Wireless in. Wireless and VPN are holes. You need to be able to assess a remote machines security quality before allowing it in.

      2) use firewalls as they are intended: as fire-WALLS not just gateway devices. Compartmentalize the network, based on risk, value, and function. Put a controlled access point between segments. BSD boxes are great for internal firewalls. Cheap, secure, easy to manage.

      3) redundancy and variety. Move critical system to more secure OS's (*nix) and use multiple version of *nix (say, BSD and linux) to setup redundant services (such as Samsung Contact as a nearly perfect Exchange Server replacement (solid as a rock))

      4) remove most of the trusts in the Windows domains. Again, compartmentalize as makes sense.

      5) use systems that are solid and have zero admin. Good enterprise AV like TrendMicro simply never needs an admin to bother with it.

      6) backups, backups, backups. Disaster recovery backups (bare metal). Fail over's on different HW is nice (I use fail over replicated databases running on different OSes) You can even do this with MySQL, doesn't have to be fancy.

      7) I found that uniformity in desktop system HW and SW combined with using ghost while forcing users to keep data (and user profiles) on network drives meant that recovery was as quick as re-imaging a system (5 minutes). Laptop users were setup with a 2 partition arrangement with the second partition containing the data, user profile and a ghost image of the first partition (containing the OS and apps) allowed for quick recovery on laptops. It could even be done when they were on the road.

      You always have a trade-off between ease of use and security. However, most people leave the system way too open because of ignorance or laziness. Ease of use doesn't mean "no work for the sys admins" Sys/network admins need to earn their money. Most security issues are the network/system managers fault. The network CAN be configured to mitigate most of the typical security concerns.

      Being able to do this is what makes a great admin. I trained several. Basic rules, automate, document, configure. When disaster strikes (and it will) recovery is a snap.

      Bottom line, use good, skilled network/system admins (with a wide range of expertise), give them clear goals, solid budget, good management.

      If you don't have that, you will NEVER be secure.

    29. Re:Try a three-tiered approach by k12linux · · Score: 1
      either educate users (as well as possible) on good security or require as a matter of policy that they utilize certain security measures

      A large company I know of requires any employee who wants access via VPN from home to provide proof of purchase of both a hardware firewall (linksys, netgear, etc.) and antivirus software. The user's VPN access is set to expire at 1 week after expiration of their antivirus updates. Proof of renewal for antivirus updates is required to continue using their VPN connection after that point.

    30. Re:Try a three-tiered approach by booch · · Score: 2, Interesting

      You can tunnel (and back-tunnel) any protocol through any other. Which kind of leads to the original question: Yes, you do need to be looking inside the packets. But there will always be ways around/through. People have tunneled through ICMP pings, DNS lookups, and GotoMyPC even reverse tunnels a VNC/PCAnywhere type application through HTTP. Those are all payloads (layer 7). Inspecting at layer 3 or 4 (IP/TCP) doesn't help, and even application-layer proxies (actually closer to layer 6) aren't likely to detect most of these tunnels.

      Saying that allowing SSH in eliminates all security is missing the forest for the trees. What would you suggest for file transfers, FTP? How about command sessions, Telnet? Security is not about making things bullet-proof. It's about mitigating exposure to risks. But I agree, if you're using SSH inbound, you should turn off port-forarding and shell access. It'd be best to put the system in your DMZ as well. And if possible, use an SSH application-layer proxy, although I'm not sure how feasible that is.

      --
      Software sucks. Open Source sucks less.
    31. Re:Try a three-tiered approach by rainer_d · · Score: 1
      Saying that allowing SSH in eliminates all security is missing the forest for the trees. What would you suggest for file transfers, FTP?

      Blargh ;-) Not FTP. A web-interface to SAMBA ? Explorer-like in a Java-Applet ? Does that exist ?
      But what I wanted to say is: just by using the 'Secure' Shell, it doesn't get more "secure" in the big picure.
      Yes, there are other ways for tunnels, but SSH makes it so easy that (with some help) probably even my mother could do it. And that doesn't make the whole scheme "more secure", but actually renders it insecure (or possibly insecure).

      --
      Windows 2000 - from the guys who brought us edlin
    32. Re:Try a three-tiered approach by booch · · Score: 1

      Again, you're missing the point. SSH provides encryption, which is better than having no encryption. You've not suggested any solution that does encryption of data and authentication. These things do provide more security. SSL would of course be the other logical choice, probably around HTTP.

      BTW, perhaps you missed the post suggesting turning off SSH's (inbound) tunneling ability. I would imagine that an SSH proxy would do the same. Of course netcat would get around that, but you could do similar things with HTTP tunnels.

      --
      Software sucks. Open Source sucks less.
  2. Si, Slashdot se ha slashdotto by Anonymous Coward · · Score: 0

    No es solamente usted. Necesito esperar mucho para ver las paginas de Slashdot. El Senor Taco necesita comprar computeradoras mas poderosas para su sitio de web.
    Un otra cosa - bustamante es un sinonimo para disastre.

  3. Keep it simple. by SatanicPuppy · · Score: 3, Insightful

    The beauty of the traditional firewall is it's simplicity. IPTables hasn't been exploited in forever, except through user error. It's reliable and secure, and easy to understand/debug.

    Application firewalls and filters are complex. To me that means more can go wrong, more holes can be found. And they have to be super effective, if they're a line of defense. Sounds nasty, like those stupid .NET commercials "1 Degree of seperation between you and your customer!" 1 degree? In what fairyland? Do they WANT to be hacked?

    For my money, leave the perimiter boxes. Defense in depth is a great strategy. They will get some, but they won't get them all.

    --
    ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
    1. Re:Keep it simple. by AndroidCat · · Score: 1
      1 degree? In what fairyland? Do they WANT to be hacked?

      Umm, this is Microsoft we're talking about right? While I would think no, experience suggests otherwise.

      --
      One line blog. I hear that they're called Twitters now.
    2. Re:Keep it simple. by dzym · · Score: 3, Informative
      Just as a point of comparison:

      As part of a security test, we placed an NT4sp4 box with an unpatched install of the Option Pack--to install IIS (note that this is perhaps the most easily exploitable Windows configuration on the face of the planet)--behind an ISA sp1 firewall running on Windows 2000 sp3. We were unable to compromise or otherwise DoS either of the two NT servers with readily available exploit code for IIS or otherwise on either operating system.

      Now, it may be possible to still exploit the aforementioned NT boxes, but clearly it would have taken a great deal more effort than just running a NIMDA-alike on the NT4 box.

    3. Re:Keep it simple. by Lurgen · · Score: 1

      Traditional firewalls (port filters) are like using a picket fence to stop a flood.

    4. Re:Keep it simple. by Anonymous Coward · · Score: 0

      Sounds more like the "URLScan" thing that MS ships than anything special done by ISA Server.

    5. Re:Keep it simple. by dzym · · Score: 1

      I'm talking about bare installs in default configurations with the only addition being forwarding HTTP from the ISA server.

    6. Re:Keep it simple. by Anonymous Coward · · Score: 0

      ... Which includes URLScan, an otherwise free product. That is all.

    7. Re:Keep it simple. by qmrq · · Score: 1
      "We were unable to compromise or otherwise DoS either of the two NT servers with readily available exploit code for IIS or otherwise on either operating system."

      You do know what 'DoS' means, yes? Denial of service, ie sending a bunch of empty network requests to a machine to eat up its bandwidth.

      ... not sure what that has to do with compromising a machine.. :)

    8. Re:Keep it simple. by Anonymous Coward · · Score: 0

      Aw. Come on. iptables has never been hacked because hackers don't need to. 99% of the iptables setups prohibit traffic to ports that were closed anyway, while leaving access to open ports wide open - because these ports need to be open!

      The only reason for actually using iptables is to properly secure a NAT-based firewall. Otherwise it's just another layer in your defense-in-depth strategy. But don't rely on iptables alone as your whole firewall.

      A firewall is not equal to iptables. A firewall is something that implements and enforces your security policy. As such, it may contain a large number of components, and iptables is only one of them. Also think socks, proxies, NAT, NIDS, VPN, virus scanning, SpamAssassin, split DNS, DMZ and so forth.

    9. Re:Keep it simple. by Anonymous Coward · · Score: 0
      We were unable to compromise or otherwise DoS

      How many thousands of machines did you have doing DoS to your test machine?

    10. Re:Keep it simple. by Anonymous Coward · · Score: 0

      ...and was the link to your test machine as slow as your Internet link is? No DoS at 100Mbps does not mean no DoS on your 1Mbps Internet link.

    11. Re:Keep it simple. by dzym · · Score: 1
      I'm talking about issues like this: http://www.securityfocus.com/bid/2218/discussion/

      Basically situations where nothing has been compromised and nobody got packetted--but a denial of service attack has been performed.

    12. Re:Keep it simple. by dzym · · Score: 1
      Which, since we are talking about it, can indeed be considered part of that application-level firewall. The entire thrust of my post was that an application-level firewall was able to successfully protect a known-vulnerable machine from all known methods of compromise through external vulnerabilities, a diametrically-opposed point of view to the parent's post.

      What was your point?

    13. Re:Keep it simple. by 0x0d0a · · Score: 1

      I hate to say it, but if you posted the address of one of the IIS boxes to Slashdot, it would probably be exploited pretty quickly.

  4. Multiple Firewalls by Renraku · · Score: 2, Interesting

    I can see where the desire for more than one firewall is going to go up. Here's an example. At the boarder, you might have a hardware firewall set up, before data can even get to the machines. Then you might have a per-cluster firewall, so each department or cluster of computers can set their own policies for what gets in and what doesn't. Then there would be the firewall on each machine, which could be set according to the uses of the machine. So there would be three layers of shielding before you even get to the security features of the OS itself. Or you could just go VPN like someone suggested. Another good idea would be to have some kind of username/password setup so that some people could bypass the first firewall, and the issue of 'trust' wouldn't be as big as allowing someone to zip through all the firewalls.

    --
    Job? I don't have time to get a job! Who will sit around and bitch about being broke and unemployed then?
    1. Re:Multiple Firewalls by Anonymous Coward · · Score: 0

      Actually, a better solution would be to use a hardware firewall at each point. Every cable on the network should be hooked to a netscreen. Give me a call and I will hook you up with a deal. My name is Lee R. West, my home number is 405-348-0818, or you can call me in my chambers..er..office at 405-609-5140.

    2. Re:Multiple Firewalls by Anonymous Coward · · Score: 0

      Sorry, this will not fly.
      Are you trying to tell me that each department in a company has the time to spend learning enough about network security to intellegently decide what firewall policy they should have. and what if some knucklehead decides NO firewall?
      No, this should be left to IT/IS/infrastructure services.
      How do you suggest managing a different firewall policy for each server, fine for SMEs but what about large corporations with literally thousands of servers? it would become an admin nightmare.
      I am all for security in depth (it is a good approach) but attempting to set up application based settings is quiet difficult unless you can catagorise the servers and apply firewalls to types. This is a possible approach, but again, how do you administer?

  5. Immature Technology by John+Paul+Jones · · Score: 4, Informative
    Are application level firewalls sophisticated enough to allow machines on your internal network to advertise services to the Internet?

    Nope. That should never happen.

    The problem here is that application-level firewalling is fraught with problems. The lack of intuitive management for this type of firewalling is a problem that quite a few companies are trying to solve -- with limited success, so far. The problem is that as you move up the OSI layers, the variables increase exponentially. If you think that 65,536 is a big number, try writing an application-level script that permits "acceptable" MAPI requests while denying "unacceptable" MAPI requests. How do you determine that this NFS packet is good, and this one is bad? From the same host to the same server? How about X11? SSH? Oh, and don't break anything while you're at it. Lions and tigers and bears, Oh my!

    These are the problems of an immature technology. As time passes, these issues might be somewhat mitigated, but there are plenty of "network administrators" that haven't fully grasped the concept of IP, and struggle with L3/L4 firewalling, to say nothing of moving up the stack.

    Here's a tip, though; look for Bayesian filters in firewalls in a few years. That will be a trip.

    --
    Feh.
    1. Re:Immature Technology by Anonymous Coward · · Score: 1, Funny

      How do you determine that this NFS packet is good, and this one is bad?

      By checking the evil bit, of course!

  6. bad advice, son... by vt0asta · · Score: 3, Insightful

    He already has the standard generally accepted rule of thumb answer... "Never!". What he wanted to know was, if these newer fancy schmancy firewalls are changing these rules, where it might be acceptable. The answer ofcourse is it depends...not go study up and give back the same answer he already knows to some professor or cert authority. Long and short of it, you have the wrong answer.

    --
    No.
  7. Troll! by mveloso · · Score: 1, Insightful

    Times change, and technology always requires you to keep up to date.

    Maybe what you're saying is "why ask on slashdot instead of asking people who know?" That would be a different question :)

  8. vpn is NOT a magic word by smitty45 · · Score: 5, Insightful

    VPNs are great until you realize that they provide only *temporary* access to your office network. What happens to those road warrior's machines when they're not vpn'd but still on the internet ?

    are they firewalled properly ?
    are their virus definitions updated ?

    if no or "don't know" to either of those, then having a VPN will compromise any amount of safety it could bring. in other words, it's possible that the lastest and greatest worm that wasn't able to penetrate your office network until you patch is now vulnerable due to the work-at-home employee who VPNs in, and is now infecting everyone.

    a bottom line is to have a well thought out security policy and PROCESS....and that only comes with training, more training, and training. Some education would help, too. Even people like Mudge and Dan Greer don't stop learning.

    and for those who would call your questions stupid...they are the folks who are afraid to ask the stupid questions.

    1. Re:vpn is NOT a magic word by Anonymous Coward · · Score: 0

      "and for those who would call your questions stupid...they are the folks who are afraid to ask the stupid questions." The only stupid question is the question that hasn't been asked.

    2. Re:vpn is NOT a magic word by cowbutt · · Score: 2, Informative
      That's one of the unique features I do actually like about CheckPoint's FireWall-1 suite; their SecureClient VPN client software allows the firewall administrator to push firewall policies to be enforced locally on hosts intended to be VPN clients.

      It's not perfect of course, as a host could be compromised before SecureClient is installed, but in a controlled environment, that should never really be the case.

      --

    3. Re:vpn is NOT a magic word by julesh · · Score: 1

      their SecureClient VPN client software allows the firewall administrator to [...]

      Never trust a client side security solution. Sure, it helps, but reinforce it with added protection on the server side in case somebody subverts it (eg by using a hacked client or a reverse-engineered reimplementation that lack this feature).

    4. Re:vpn is NOT a magic word by Anonymous Coward · · Score: 1, Interesting

      it's simple. Apply the VPN to protect your data between you and your remote client, then absolutely firewall your remote client to protect your internal network.

      Rather than monitoring firewalls/antivirus software on remote machines, simply firewall all but essential connections.

      We use Citrix. Thus we have one port open to our internal network. I've not seen a network-aware virus that can spread via SSL (only SSL logins are allowed), let alone login to a remote RDP/ICA server (similiar to only allowing ssh for unix--but considerably more complicated due to the GUI in Citrix based applications.)

      On the plus side, you can check your firewall logs to see if a client is indeed attempting to make all sorts of nasty connections.

      This saves us time(money) because the remote client, even if it has a bunch of viruses, is not a threat to our internal network.

    5. Re:vpn is NOT a magic word by smitty45 · · Score: 1

      "Rather than monitoring firewalls/antivirus software on remote machines, simply firewall all but essential connections."

      unfortunately, in the case of blaster, some oranizations (not mine, thankfully) counted RPC as an 'essential' service, in which case blaster infected an otherwise quarantined network off while the admins were patching.

    6. Re:vpn is NOT a magic word by cowbutt · · Score: 1
      Sane FW-1 administrators won't be allowing any and all protocols through the firewall/VPN gateway just because they appear to come from an authorised SecureClient VPN client.

      Having the remote security policy functionality does allow the firewall administrator to have a reasonable degree of trust in the VPN clients though, to the extent that they probably aren't 0wn3d and being actively used as gateways into the corporate network or whatever. Especially so if the clients (laptops, usually) are properly locked down to make it hard for their users (legitimate, or otherwise) to disable the real client software and install their own hacked version. And, to be honest, if your biggest risk is collusion (which installing a hacked VPN client is), you're screwed anyway.

      --

  9. Old Joke by Anonymous Coward · · Score: 0

    hehehe, reminds me of an old joke:

    Why isn't cliff a sysadmin?

    Because the only thing he knows about services and holes is getting his hole serviced by cmdr taco and michael.

  10. there is by SweetAndSourJesus · · Score: 1

    IPFW

    Dunno what Linux guys do, though. I'm sure they have something equally groovy.

    --

    --
    the strongest word is still the word "free"
    1. Re:there is by Anonymous Coward · · Score: 0

      > IPFW [freebsd.org]
      > Dunno what Linux guys do, though. I'm sure they have something equally groovy.

      Linux kernel 2.4 users use the iptables/netfilter functionality. Very nice - stateful rules, logging, etc.

  11. Firewall is mainly a buzzword by Anonymous Coward · · Score: 2, Insightful

    People run a firewall to block services that are running but that they don't use. Riiight. Instead they should just *not* run the services that they don't want. Then they wouldn't need a firewall.

    Gee, even RedHat jumped into the firewall bandwagon. At install-time instead of selecting which services I want to run, it runs God knows what and asks me which *ports* I want to open. Now if I want to run some new network service I have to waste time learning how to fiddle with this "firewall" so that the new service will work, while making sure that those services I don't use are still protected from the outside. Fuuuuun.

    Just say no to firewalls. Ask your vendor which services are running, and how to disable the services that you don't use. That's it.

    1. Re:Firewall is mainly a buzzword by altamira · · Score: 1

      Yes, as if running a Windows system without RPC these days was practical. It is not, therefore you need firewalls to secure Windows systems in a DMZ network.

    2. Re:Firewall is mainly a buzzword by sapporo · · Score: 1
      People run a firewall to block services that are running but that they don't use. Riiight. Instead they should just *not* run the services that they don't want. Then they wouldn't need a firewall.
      Running a firewall does not mean you're not using the service you're blocking. I'm running lots of services on my workstation that I'm using locally only (for development). Therefore it does make sense to run them but block access from the outside.
    3. Re:Firewall is mainly a buzzword by quantum+bit · · Score: 1

      $ sockstat -4

      USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
      www httpd 45226 18 tcp4 127.0.0.1:80 *:*

    4. Re:Firewall is mainly a buzzword by Anonymous Coward · · Score: 0

      "you need firewalls to secure Windows systems in a DMZ network."

      No: what you do need is brains not to put them there.

    5. Re:Firewall is mainly a buzzword by neelm · · Score: 1

      So you're saying my database should be open to the world? The only system that needs to connect to it is a web server, so I'd rather just block all others at the firewall trying to hit my database. I could use the database's restrict by IP, but that means someone got to my database, which again, I'd rather the database server only every see traffic from the web server. That way, when the CERT comes out that the database had a buffer overflow vul that could be exploited even with IP restrictions, I'll feel safe knowing that IPtables stoped anyone from even trying it.

    6. Re:Firewall is mainly a buzzword by g_goblin · · Score: 0

      Yeah Redhat dropped the ball on this. I would say there were as dumb as MS was with W2K (Web Services enabled by default).

      They should disable everything and leave socket connections to localhost only in a default server install. I don't need lpd, sendmail, portmap, etc. enabled for a firewall damn't. Luckily I have a script together which disables all this.

      But everyone knows not to plug the network cable in until the box has been locked down right?

      Personally, I would rather have a software based firewall (Open Source). Atleast you know the code behind the curtain. With the other guys, you don't know what is going on.

    7. Re:Firewall is mainly a buzzword by altamira · · Score: 1

      Troll.

    8. Re:Firewall is mainly a buzzword by Anonymous Coward · · Score: 0

      So I guess you don't mind getting Syn Flooded, or other various DoS attacks. Not to mention some setups should only allow certain source IP addresses. Yeah, opening/closing ports solves that. Good call!

    9. Re:Firewall is mainly a buzzword by paradxum · · Score: 1

      Wow, it awazes me at the anti-firewall sentiment I feel here. I have been using firewalls since nat came to linux. it's amazing how many attacks I see on a daily basis on the walls. I get maybe one a month that's actually interesting.... I've never seen a reason for app level firewalls myself... I've used vpn, it has it's place.....
      And btw, there are many services that you would want to run but only restrict to a certain set of computers... e.g. localhost anyone? ahhh well, Firewalls have served me very well, but then again, I actually know how to use them. And I do admit writing a complex iptables configuration is not for the faint of heart... but then that's what they pay us for I guess.... and I'm glad everything has a firewall on it.... maybe a few less worms will spread like the plague through your systems....

  12. How Do I Compare then? by Strenoth · · Score: 1

    Given what I read above, how secure does my setup sound?

    First, the company: Small landscape contracter with only 4 computers, all running windows XP. Website is hosted of the computers of our small-business DSL provider.

    The computers are networked through a LinkSys Router with built-in firewall, in addition to which each computer has Norton Firewall (and System Works) installed.

    I know that deliberate hacking chances are essentially nil for such a small company, but these measures combined with at-least weekly windows updates should pretty much secure us against any type of incidental or random attack, right?

    And in case you are wondering, I am essentially the entire IT department, which leaves me working only part time, and even then half my time is spend doing general admin (not sys admin) work. It helps me get through college, gives them the tech help they need. My specialty was Electronics Technician in the Coast Guard, so I know I am not fully up to par for Sys Admin skills, but I am learning Fast!

    --

    "It takes a very long time to count to 2 in binary." ~'Fourlegged'

    1. Re:How Do I Compare then? by sid+crimson · · Score: 3, Informative

      Sadly, you are better off than the majority (?) of people. Ironically, it's possible you're more likely to fall prey to a bad MS Patch than anything else.

      If your virus software is kept up to date then your Linksys will serve you well. Keep a good backup of your data for the times that your antivirus update comes after the virus/trojan/worm infection.

      I might suggest your worst enemy is a coworker or familymember of said coworker.

      -sid

    2. Re:How Do I Compare then? by Anonymous Coward · · Score: 2, Insightful

      the obvious hole in your systems is through outlook & explorer. once a machine gets hacked you must consider all systems hacked.

      how do you know whether to trust the XP updates? did MS break anything in the newest update? it's been known to happen ...

      your linksys is probably pretty secure, I don't know of any exploits. doesn't mean there aren't any!

      but you can do some proactive things:

      - keep watch on CERT & other security sites.

      - get some of the professional and hacker intrusion tools and run them on your network. do some research, find out what exploits are "hot" these days.

      get paid for doing this a few hours a week - nothing like learning Fast and getting paid for it!!

      go Coasties!!

    3. Re:How Do I Compare then? by Anonymous Coward · · Score: 0

      If you are relying on application level firewalls and patches for security, then you are protecting yourself against things that are common and known. Patches come out *after* the exploit, more often than not. Never rely on them.
      General rule is only open what you absolutely have to and only use what you must.
      Don't be afraid to try complicated sounding solutions, there's a lot of helpful information that can be found through a simple google search.

    4. Re:How Do I Compare then? by Qrlx · · Score: 1

      Your network setup sounds viable to me. My 2 cents:
      Make sure you have some kind of antivirus program on those workstations. Then you have to worry about the stuff on the computers. Make sure there's a plan so you won't go out of business when that data gets accidentally deleted or stolen or burned or turned to ones and zeros by some virus.

    5. Re:How Do I Compare then? by jenkin+sear · · Score: 1

      looks good to me. The linksys is essentially your protection. 3 points:

      1) keep your firmware updated on the linksys
      2) make sure the default passwords on the linksys have been changed
      3) Make sure nobody plugs a wifi router or card into the system.

      Also, make sure you have a virus scanner on each of those boxes, as there's nthing in your system to protect against malware.

      --
      What a strange bird is the pelican, his beak can hold more than his belly can.
    6. Re:How Do I Compare then? by Anonymous Coward · · Score: 0

      Yeah, I have friends that have gotten hit with viruses *numerous* times, one in particular that has rebuilt her machine several times. And in the past 5 years, other than finding a couple of viruses in files I downloaded (after scanning them before ever extracting/running them), I have never actually gotten *hit* by a virus.

      Now, Ad-Aware finds those damn browser cookies on my machine occasionally... and my last GF was a computer geek too so I never got anything from her using my machine, but my current GF has said "yes" to a few of those damn Gator utilities that have inadvertantly gotten installed on my machine (and promptly deleted when I found them)... I bought her her own laptop to let her play with her *own* machine. My general rule of thumb has usually been that *nobody* touches my machine, although I have a hard time saying no to the GF.

      The only hole I have punched in my Linksys is for my webserver, and thats running Apache on BSD. Its funny that when I first put it up, within the first day I looked at the access logs and found a slew of hits from people trying to hack it as IIS ("C:\windows\system\cmd.exe" attempts, etc). I would not run IIS at home, but I understand people might... all I can say is, keep up with all the patches.

      I made sure my win2k desktop is on SP4, and applied the latest RPC patches even though I know that I have the RPC ports blocked on the Linksys. Just making sure.

      Security really is a *mindset*. Default to allowing *nothing* and open holes after seriously considering the need and the consequences.

    7. Re:How Do I Compare then? by litghost · · Score: 1

      as long as you keep netBIOS ports sealed, and your web services machines isolated, and you machince update, you are probably stopping most of the common problem with network security. is it perfect, no. but for your size company how can you expect that.

    8. Re:How Do I Compare then? by rlafflick · · Score: 1

      You are technicalyy ok but you might already have a problem with XP running Simple Service Discovery Protocol and your linksys will not help with this cos it only does simple NAT by default. Check out http://xforce.iss.net/xforce/alerts/id/advise106 for more info.

    9. Re:How Do I Compare then? by Glonoinha · · Score: 1

      It has probably been said, but at this point he has pretty much insured that when (if?) his network gets pwned it is going to be a direct result of the actions of somebody inside.

      One of the guys gets an email from another guy in his poker circle that has an attachment called I_Love_You.doc.vbs and opens it.

      Someone gets the email from 'Microsoft' that has the latest 'security patch.exe' attached; user runs that. Because everybody knows how much MS loves us and is proactive about security, and has singled him out to send him a patch.

      Downloads the latest P2P client to share music, the new client of course having a fun new(worm/virus/trojan).

      The leet new employee adds wifi (yea I know you mentioned that one) without enabling WEP.

      There is a live Ethernet connection in the waiting room / reception room. This one always cracks me up.

      User takes his laptop home, plugs it directly into the 'net, gets loaded with fun new bugs, brings it back to the office on Monday.

      --
      Glonoinha the MebiByte Slayer
    10. Re:How Do I Compare then? by Anonymous Coward · · Score: 0

      "Given what I read above, how secure does my setup sound?

      First, the company: Small landscape contracter with only 4 computers, all running windows XP."

      Not need to read any further. Your security *can't* be more than "well, seems lovely".

      Get rid of Microsoft crap asap and your chances will be better.

      I *know* this sounds as a troll, still -and sadly, is purely true.

  13. ideal vs practical by vt0asta · · Score: 4, Insightful

    You're going to get a lot of answers on how in the perfect world there will be DMZ this, several layers of routers that, firewalls in between them all, VPNs, NIDs,and a whole bunch of other things that may not be applicable.

    The answer really depends on what you are protecting and whether or not the security required to protect it is worth the cost.

    The only way application aware firewalls CHANGE the paradigm of network security models is for a certain class of protection. Usually that line of protection is or train of thought is "we would like something slightly better than nothing".

    If you need protection more than that, it sounds like you already know what is best practice. That hasn't changed, and you are not wrong to suggest to your co-workers otherwise.

    Think of it along the lines of what the military would do. Just because there is some new whiz bang motion tracking CCTV x10 ninja thing that shoots lazers. You better believe they are still going to have soldiers with rifles in watch towers, soldiers walking the perimeter, and 20ft of dead man zone and razor wire fences surrounding, along with the whiz bang consolidating gadget.

    --
    No.
    1. Re:ideal vs practical by Anonymous Coward · · Score: 0

      The answer really depends on what you are protecting and whether or not the security required to protect it is worth the cost.

      cost includes the cost to recover your ENTIRE NETWORK. once one machine is 0wn3D they all are - potentially - and you can't trust anything.

      even a small network has a HUGE cost to recover from intrusion.

    2. Re:ideal vs practical by vt0asta · · Score: 1
      cost includes the cost to recover your ENTIRE NETWORK. once one machine is 0wn3D they all are - potentially - and you can't trust anything.
      You can extrapolate that further. Assume you have financial data and that is compromised. That may be more costly (think class action lawsuit or such) than the cost to recover your systems. I was giving the lad the benefit of the doubt that he understands the various aspects of cost.

      If you think back to the military analogy...it's not likely they are worried about the cost of rebuilding the walls...they are more likely worried about the lost nuclear weapon. Unless ofcourse you are in Soviet Russia...

      --
      No.
    3. Re:ideal vs practical by Confused · · Score: 1

      > Assume you have financial data and that is compromised.
      > That may be more costly (think class action lawsuit or such)
      > than the cost to recover your systems.

      Security is not really cost efficient, compared to the cost of a clueless manager-oid denying all stories of intrusion. And actual damage to data can always be fobbed off to computer errors, you know Windows and such.

      And in the very unlikely case of a class action suit, the trial will go on for so long, that all concerned managers will be dangling from their golden parachutes in safety.

      So again, what was the purpose of this security thingy?

    4. Re:ideal vs practical by Ohreally_factor · · Score: 0

      >Unless ofcourse you are in Soviet Russia... The nuclear weapon loses you?

      --
      It's not offtopic, dumbass. It's orthogonal.
    5. Re:ideal vs practical by julesh · · Score: 1

      cost includes the cost to recover your ENTIRE NETWORK. once one machine is 0wn3D they all are - potentially - and you can't trust anything.

      even a small network has a HUGE cost to recover from intrusion.


      I wouldn't say that's so. I consider my company's network to be a small network; it has 2 servers and 3 workstations. If it was compromised, our best estimate of downtime is 1 working day. Even if this were to be charged out at the highest rate our company ever works for over all 3 of our employees, the cost would be less than 2,000 GBP (about $3,000 US). This never actually happens in real life. In fact, the actual cost of that downtime to our business is unlikely to exceed 500GBP.

      Lost data could be more of a hassle, but due to offline backups that should be mitigated substantially. A restore process might require me to work some overtime to get us back on track for the next working day. I would probably want compensation in the order of 100GBP for that kind of thing. So a maximum cost of 600GBP + a small volume of lost work that can almost certainly be reproduced quite quickly.

    6. Re:ideal vs practical by yerricde · · Score: 1

      What about the value of trade secrets that were disclosed when the network was compromised?

      --
      Will I retire or break 10K?
    7. Re:ideal vs practical by WNight · · Score: 1

      I hope your network doesn't have any client machines that'll boot from removable media, has a passworded bios, and intrusion detection on the case. Otherwise someone MIGHT have brought a boot disk from home and bypassed everything.

      I mean, it's incredibly unlikely, but you can never be sure so you should run around like a chicken with your head cut off, reinstalling everything despite the fact that you haven't identified a hole, let alone closed it.

      That way lies true security - your network will be down so often that nothing else will happen to it.

    8. Re:ideal vs practical by julesh · · Score: 1

      What about the value of trade secrets that were disclosed when the network was compromised?

      As a small company we have very few, and most of them aren't kept on our computer system. Sure, source code for some of our solutions could be taken, but frankly there's nothing there that a reasonably competent developer couldn't produce in a sane amount of time, and just stealing the source code directly would be a recipe for disaster for most of our competitors. A competitor might also find out what we'd quoted for a few jobs, but on average probably nothing they could use as our expected number of active quotations at any time is probably something like 0.2 or so.

      So, essentially, not a lot of value there.

      It might be different if the incursion was not detected and the cracker was able to monitor what we did for some time, but that would take an expert in such things to achieve, and the haul just wouldn't be worth it. The best they could hope for would be to install some kind of logger system on a web site that's operated from one of our servers (off site, but a keyboard snoop on the right machine might reveal the passwords) that takes credit card details before passing them on to a secure transaction processor. But that'd only net 1 - 2 card numbers per day, so there are much juicier targets that are, in all honesty, probably a lot easier to hit (eg people who take cards and store them in a database unencrypted, which I know still happens quite a lot). The other sites on the server all process transactions through 3rd parties so never see any credit card numbers at all. They might be able to trick us into sending them some coffee!

  14. Re:Offtopic but since were talking firewalls by BigDumbAnimal · · Score: 1

    Where have you been? (or are you a troll?) Ipfwd Ipchains Iptables And yes XP includes a firewall.

  15. Re:Offtopic but since were talking firewalls by HermesHuang · · Score: 1

    There are plenty of firewalls for linux. In fact, when I installed Mandrake 9.1, my biggest problem was opening up the default firewall enough to let my server function as a server.

  16. Some add'l tidbits by Anonymous Coward · · Score: 5, Informative

    First off, remember - you won't be able to think of everything. No security model is complete without behind-the-wall systems, be they basic monitoring systems up through more sophisticated custom snort or proprietary IDS. It all depends on your paranoia level.

    There are a few ways to handle the bane of netadmins - 'I wanna get to my files!' VPN, as suggested, is one solution - but not without problems. Recent issues with X.509, OpenSSH hacks for IP-over-SSH, etc. You can mitigate the danger by using a set of consistent criteria for each of your requirements, like a checklist. For example:

    1) Is the service mission-critical? (BOFH them if no!)
    2) Can the service be offered through a less-vulnerable channel? NFS mounts moved to SFS, perhaps, or encrypted AFS as mentioned above.
    3) Is there a way to move the service into a perimeter network (or outside entirely)? Even if this means synchronizing a set of data to an outside machine via cron, if the data on the machine is less important than the internal network security, this can help.
    4) Once the user is connected, authenticated and accessed, *THEN* what can go wrong? What could they do maliciously? What could they do accidentally?

    Personally (and this is just me talkin', no creds here) I tend to reflexively say "NO!" until convinced otherwise. I know that there are services which *must* be available through the wall, but I want the requestors to have to work to convince me. Closed systems are more secure.

    Also, don't be afraid to investigate low-tech but simple and effective means of circumventing problems. First thing I ask users who want to get an occasional file home - "Can you mail it to yourself?" Second thing: "Would you be able to use a 'public folder' that I have synch to an accessible box, say, every half hour?"

    I second the opinion of iptables. It's a sharp tool, so be careful - but correctly applied, it kicks pants off most application or appliance firewalls. Invest the time to learn the sharp tool, and you'll realize that most of what you pay for on big expensive firewalls is manageability (i.e. Java GUIs, wizards, databases, multiple systems preconfigured - IDS, firewall, proxy, etc). Do the work.

    Good luck. Don't listen to people who berate you for 'not knowing things.' Attempting to learn them in advance - due diligence - is a sign of a good admin. Be thorough. And above all, find a friend who does the same kind of work, and check each other. Probe each others' networks. Try exploits posted on the net.

    Final, and most important - software updates. The boring part, but the most critical.

    Cheers.

    1. Re:Some add'l tidbits by RMH101 · · Score: 1

      you should probably get out more, rather than fantasizing about being Simon Trevaglia.

    2. Re:Some add'l tidbits by gbjbaanb · · Score: 3, Interesting

      First off, remember - you won't be able to think of everything.

      Thank you, you reminded me of the number 1 rule of security planning. In all of /. everyone is going on about VPN, SSH, etc - all technological solutions - and forgetting the real situation.

      Security is all about risk planning. There is no way you can either plug all the holes, restrict all the access properly, and manage all the resources. So, the question becomes not 'how to stop it', but 'what will I do when it goes tits up'?. Also, as someone undoubtedly has said, the only perfect security is in a concrete box, sunk to the bottom of the ocean. Well, yes.. but you always have to trade off security for usability. What's the point of being networked if no-one can access their files? People can access their files: dangerous security hole!

      You see - its OK having all the security products in place, setting them up perfectly, but then an employee logs on to the database and walks away with a backup of all the credit cards...

      and employee #2 gets a new toy, a wireless lan thing, and a passing hacker (theres always one), doesn't even have to raise a sweat listing off those same credit card numbers.

      Think *all* your employees are trustworthy (haha), well, what happens if someone walks into your offices (for a meeting, for instance), and surreptitiously plugs a wireless laptop into a network port, tucks it under the chair and walks off? Doesn't even have to be a spare port, they can plug in a little hub.

      You might as well ignore the technological security measures, sure you'd get hacked more often, but that just means you'd have to do a lot more work recovering the system - it does *not* mean that with the security products in place you'll never have to worry about performing that recovery process, so you dont need one.

      So, given that it may go wrong at any time, and you've figured out what you'd do when it happens. You also have a disaster recovery plan- for when the server room floods and is hit by lightning, or 2 hard discs go pop at the same time.

      Security - all about how much risk you'll accept, little to do with securing systems.

    3. Re:Some add'l tidbits by Gypsy2012 · · Score: 1

      Or, as someone very sussinctly put it for me once long ago "If you have gold you need Fort Knocks, if you have klenex you need a klenex box" Security is a balancing act, all you are ever doing is trying to make the data and systems harder to get to then they are worth. The only way to make your data 100% secure is to destroy it.

    4. Re:Some add'l tidbits by Anonymous Coward · · Score: 0

      Well, actually, the best security would not be a concrete block in the bottom of the ocean. How would you know if it got cracked? Anyone who can travel to the bottom of the ocean can take their sweet time trying. The best security (and I think this metaphor is fitting), is to take that concrete block and shove it up your ass, where no-one can touch it without you knowing. The moral of the story? Tight security hurts.

  17. Bayesian filters by SuperKendall · · Score: 2, Interesting

    A general question - bayesian filters are great for email because a user trains them. But do you think it will ever be practical to "train" a firewall as to what is good and bad traffic? I guess to some extent you could use regression tools to generate the sorts of traffic you like... but it seems like such a thing would have to have a pretty high threshold in order not to drop any real traffic. I'm not sure such a device is pratical.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:Bayesian filters by shut_up_man · · Score: 1

      I don't really know enough about the subject, but might it be possible to train a firewall that certain types of DDOS attacks might be "bad traffic", such as repeated requests on certain ports, opening large numbers of http connections without continuing the transaction, etc?

      I'm pretty sure some firewalls do this sort of thing already, too...

    2. Re:Bayesian filters by gbjbaanb · · Score: 1

      well, I think if you accept 1% of attacks getting through is acceptable, and 0% dropped packets, then yes Bayesian filters are OK for you.
      But, 1% of network attacks are just as much trouble as letting 100% through. So why bother.

      But, having a bayesian-filter enabled firewall sounds like a really, really cool thing, with that latest security buzzword, so expect to see them soon after all!

    3. Re:Bayesian filters by TiggsPanther · · Score: 1

      1% of attacks succeeding is preferable to the full 100%.
      True, it's not good enough, but that doesn't sotp it being a good start.

      Putting all of your reliance on just the one method is rarely a good idea anyway. So whether your primary filter is bayesian or not, you should probably have at least one more layer in place.

      --
      Tiggs
      "120 chars should be enough for everyone..."
    4. Re:Bayesian filters by Jameth · · Score: 2

      Now, I'm not a security guy, but I see some use here. Not that a bayesian filter will be good for you alone, but they might be good in general. With each sys-admin giving completely different training, general system security might get a bit more diverse, and an attack would less often work on all systems. Of course, you'd want to have regular fire-walling as well, but why not have an application level bayesian filter to filter out a little bit more?

  18. Encapsulating protocols is a "bad thing" by Lurgen · · Score: 3, Insightful

    The minute we started encapsulating protocols within other protocols, we made it absolutely necessary to have application-layer firewalls.

    RPC over HTTP is a good example of this, as are the many other protocols people see fit to encapsulate in HTTP (RDP / Terminal Services, instant messaging, etc).

    Originally, the rules were dead simple. One port == one protocol. Some protocols used multiple ports, but even then it was kept nice and simple. But no, not everybody liked this situation. In the interests of making IM available to more people, clients started using HTTP so that even office staff (behind firewalls and proxies) could use it. Sure, this was blatantly circumventing the firewalls that were put up for this very reason, but that didn't stop anybody.

    Application layer firewalls are a must-have. Of course, that will just force people to start using SSL... :(

    1. Re:Encapsulating protocols is a "bad thing" by oniony · · Score: 4, Insightful

      Layering came about because of the inflexibility of systems administrators to react to the need for new services to be accessible. HTTP is one of the few protocols that are allowed through firewalls because of over-zealous blocking. Because of the need for applications to work, people have realised that the only way forward is to get their protocol to run over HTTP, hence SOAP and the rise of XML. I've experienced this need to layer first-hand on many occasions.

      Developers tend to do the least work necessary to achieve the result they desire. The fact that so many protocols run over HTTP now indicates that the developers of the applications that use these protocols have been unable to persuade the systems administrators to open ports so that they could their necessary applications to work. Instead they resorted to the harder task of layering to avoid the blocks.

      The sysadmin that said "I like people to do some work to convince me" says it all. The attitude is that of a power-monger. A pragrmatic sysadmin would work with the applications developers to find a solution. Maybe they frown upon opening ports for applications, but they should at least put the effort in to explore the options otherwise we'll always end up with this layering effect for every networked application. I wonder how long it takes before we end up with protocols running over HTML/HTTP to avoid the application firewalls that start blockting non-HTML HTTP traffic.

      --

      Powered by onion juice.

    2. Re:Encapsulating protocols is a "bad thing" by PhoenixRising · · Score: 1

      If only I had some mod points to give to the parent and oniony's response! The proliferation of web services, served via SOAP over HTTP, is raising serious security issues that are going to have to be addressed with application-level firewalls. Unfortunately, (to my knowledge at least) no current firewall product can do this intelligently.

      Anyway, the point that I wanted to address is the one about "forcing people to start using SSL." That's probably one of the easiest issues to deal with -- users can be forced to use a proxy which will unencrypt their SSL traffic, validate it, and make a new SSL request on their behalf. I believe ISA server already does this; I'm not sure about other firewalls.

    3. Re:Encapsulating protocols is a "bad thing" by Hatta · · Score: 1

      Well, then we'll start using end to end encryption.

      Hey, this is great!

      --
      Give me Classic Slashdot or give me death!
    4. Re:Encapsulating protocols is a "bad thing" by PhoenixRising · · Score: 1

      I should have been clearer: the proxy doesn't let that through. If it can't decrypt the data, it doesn't pass. The only way to circumvent this is to do further encapsulation; e.g., passing encrypted data in the bodies of HTTP requests and including encrypted data in the body of the "web page" that gets returned. For some things, this would be an effective mechanism, but the overhead would make it quite useless for others. Running an ssh session over something that has to create an HTTP request/reply for every keystroke would be pretty bloody painful, for instance.

    5. Re:Encapsulating protocols is a "bad thing" by roman_mir · · Score: 1

      You are wondering how long it will take to do the HTML/HTTP protocol bypass? It has been around for some time now - behold - SOAP based on XML. What, this is not HTML for you? Well, HTML is just XML with an HTML schema.

  19. Lesson number 1: by suso · · Score: 3, Insightful

    Don't implicitly trust what you read on slashdot.org.

  20. Looking for security in all the wrong places by m4dh4tter · · Score: 2, Interesting

    Face it folks. Provisioning security services at network perimeters is just wishful thinking, and this is not a new insight. Traditional packet filtering firewalls are absolutely necessary (do you walk around your neighborhood naked?) but they must become much more widely distributed *inside* large networks in order to be effective. The same applies to application filtering technologies (some of which are very promising) and all the other stuff people think of as perimeter defenses. Any attempt to set up large networks as controlled domains with known security characteristics is a losing battle. The world needs to go to endpoint-driven security. A lot of companies are working on making this manageable and cost-effective. And while we're at it, that's also the place to incorporate highly granular access-control services. As long as you have machines on your network that can hit external web sites or have floppy drives or unauthorized wireless access points, your internal network *is* the internet.

    1. Re:Looking for security in all the wrong places by thogard · · Score: 1

      I have been working on the model that PC's can't turst each other. I'm finding that the model is unworkable without very smart switches and the cisco 29xx that I have don't count as smart enough. While I have been able to lock down some things, every time I do tests, the access lists leak like a sive. Maybe its time to buy a PC full of quad ethernet cards and set it up as a router.

    2. Re:Looking for security in all the wrong places by Anonymous Coward · · Score: 0

      do you walk around your neighborhood naked?

      Yeah, why not?

    3. Re:Looking for security in all the wrong places by Anonymous Coward · · Score: 0

      Cisco routers arent stateful (unless you have a PIX). ACLs will never be good enough, because you can easily pass traffic through the router. Check out packet manipulation tools like fragroute and paketto to see what I am talking about.

    4. Re:Looking for security in all the wrong places by Anonymous Coward · · Score: 0
      In Soviet Russia...

      Oh, let's not go there.

  21. Reality by danielrm26 · · Score: 1

    "When is it alright to 'poke a hole in the firewall' to allow this? Personally, I think the answer is 'Never!' but perhaps I'm out of touch with current network security models."

    Those who don't need to pass traffic inside are afforded that luxury due to the fact that they don't have a job. Anyone can decently secure a network that doesn't interact with anything; the real trick is allowing business to flow as usual and *still* have an acceptable level of Security.

    --
    dmiessler.com -- grep understanding knowledge
    1. Re:Reality by danielrm26 · · Score: 1

      I seem to have misread the original piece. He was talking about passing into the *internal* network, not passing at all.

      (I hate jackoffs that don't read the original post correctly) :)

      --
      dmiessler.com -- grep understanding knowledge
  22. Mod Parent Up by handy_vandal · · Score: 0

    Right on, mate. Thanks for the sensible, inspirational words. Made my day.

    --
    -kgj
  23. Re:Offtopic but since were talking firewalls by Anonymous Coward · · Score: 1, Interesting

    The firewalls are there in linux distro's, the question is what are the default setups on distro of choice. Micro$oft has firewalls already in the more recent release's but again the question of defaults comes up. The ultimate issue comes down to what should be default settings and how much should be cut off. Of course the best setting is complete isolation so it becomes a matter of tradeoff's. Do we want features X,Y & Z plus their inherit weakness or do you default to no X,Y & Z giving more security, but the hassle of enabling X,Y or Z as needed. It's been mentioned many time's here on slashdot that security is all about tradeoff's and that's where the ultimate question comes in especialy when looking at it from a commercial point of view. What is acceptable to customers (in convenience, features & ease of use). As far as exploits they will always be there, question is how desirable are they to be found. To error is to be human, and no matter what we do there will always be way to find that error. If your that worried, the best firewall would be to be disconnected (again the tradeoff's).

  24. I depends on the size of your network by egarland · · Score: 4, Interesting

    There is no one answer. If security is your only concern you should have as many layers of security as possible with firewalls between each layer locked down as tight as possible. That said, security is never your only concern. Cost, ease of maintenance, performance, and flexibility are all important in a network design. After all, the purpose of your company is probably to get something accomplished, not to avoid getting hacked. There are times when every different network configuration is appropriate from super secure to a cable modem router to a windows box right on the internet. There is no one answer.

    Application layer firewalls are another layer above port filtering. They can increase security and could, in theory, make it worthwhile to share a service hosted on a machine that is inside your network. I would only do that if you trusted the security of your internal network. Most network designs assume that once you get in to the "internal network" there is no more security and all your deepest company secrets are available to anyone browsing around. If this is true, you've probably made some bad decisions somewhere along the way and you should address those before you open any holes. If you are willing to maintain strict security on your internal network then the added simplicity of allowing Internet access to machines on it can be worth the risk. This can be a lot easer than setting up a dmz.

    Usually layers do make sense though, even if one of the layers is just a Linux box doing firewalling, routing and serving some services. One thing I like to do is to mix operating systems at different layers. That way if you get a worm of some kind that gets into one layer it won't penetrate to the layer behind. For example, internet facing servers are Linux based, desktops are Windows based.

    Another thing I have done when I absolutely needed a Windows based web server is to setup Apache as a reverse-proxy only forwarding requests to a particular subdirectory to the Windows server. This filtered out all the standard buffer overload attacks since none of them referred to that subdirectory name. It also made sure the requests were relatively well behaved and buffered outgoing data for the Windows box, reducing connection counts when it was under high load. This is an easy way to do an application layer firewall and if you are firewalling with a Linux box you can do it right on the firewall.

    --
    set softtabstop=4 shiftwidth=4 expandtab nocp worlddomination
  25. interesting article... by canning · · Score: 2, Informative

    When firewalls don't do the job Mike Fratto, Sep 29 2003

    Battle lines have been drawn, and volleys are being lobbed between the analyst and vendor camps. In dispute: Whether intrusion prevention is out of commission or the next network security salvation.
    On one side, Gartner has cast intrusion detection into its "Trough of Disillusionment", saying the tech has stalled and calling for these functions to be moved into firewalls. Meanwhile, intrusion-prevention product vendor ForeScout Technologies vows to identify and block attackers "with 100% accuracy".
    Call us Switzerland, but we say neither group has a lock on the truth.
    Network intrusion prevention (NIP) systems probably will not protect your network from the next zero-day exploit or troublesome worm, but they are not a waste of time or money, either.
    Our position puts us in the minority: Though we think NIP systems can enhance an existing security infrastructure, we do not consider integrating intrusion prevention and firewalls into a single unit a desirable goal.

    Firewalls vs NID Firewalls have a largely static configuration: firewall administrators define what is acceptable traffic and use the features of the firewall to instantiate this policy.
    Some firewalls provide better protection features than others. For example, an HTTP application-level proxy is far superior to an HTTP stateful packet-filtering firewall at blocking malicious attacks, but the basic idea is the same: Your firewall administrator can be confident that only allowable traffic will pass through.
    If you have doubts about your firewall, get a new one from a different vendor, send your firewall administrator to Firewall Admin 101, or get a new administrator.
    Not surprisingly, when we asked you why you are not blocking traffic using network-based intrusion detection (NID) systems, 63% of you said you use a firewall to determine legitimate traffic.
    But people make mistakes, so misconfigured firewalls are a common source of network insecurity.
    This simple fact has been used as a selling point for both intrusion detection and prevention systems, with vendors claiming their products will alert you to, or block, attacks that do get through.
    The answer: Instead of layering on more hardware, solve the fundamental problem of misconfiguration.

    Think configuring is easy? Unfortunately, though, it is not that simple. If you are enforcing traffic policy on your network using a stateful packet-filter firewall--such as Cisco Systems' PIX, Check Point Software Technologies' FireWall-1 or NetScreen's eponymous product--without security servers or kernel-mode features enabled, you should know that application-layer exploits, such as server-buffer overflows or directory-traversal attacks, will zoom right through. Stateful packet filters stop at Layer 4.
    Application-proxy firewalls can block some attacks that violate specific protocols, but face the facts: protection is limited to a handful of common protocols.
    The rest are not supported through a proxy, or are supported through a generic proxy, which is no better than a stateful packet filter.
    Still, NIP is not a replacement for firewalls and will not be in the foreseeable future. Why? The fundamental problem is false positives--the potential to block legitimate traffic.
    Before you can prevent attacks, you have to detect them, but NIP systems rely on intrusion detection, which is hardly an exact science.
    A properly configured firewall will allow in only the traffic you want. We need to feel this same confidence in IDSs before we can believe in NIP systems, but IDS vendors have employed lots of talented brain cells trying to raise detection accuracy, and they are nowhere close to 100%.

    Incoming! Despite these caveats, we believe a properly tuned NIP device can be instrumental in warding off most malicious traffic that gets past your firewall.
    There are several ways to block malicious traffic: If the NIP device i

    --
    I love the smell of Karma in the morning
  26. erm by Anonymous Coward · · Score: 0

    uh

  27. not troll by zymano · · Score: 1

    i don't use linux alot and didn't know xp had built in firewall. docs for my computer didn't say anything about it. Why did i install zonealarm ?

    1. Re:not troll by Anonymous Coward · · Score: 0

      oh, I don't know, you must have missed a billion ads, postcards and PowerPoint presentations from Microsoft advertising built-in basic firewall in XP Pro.

  28. ok by zymano · · Score: 1

    Not a linux expert. The suse linux cd never mentioned firewalls. Thanks for clearing that one up.

    1. Re:ok by Stephen+Samuel · · Score: 1
      The suse linux cd never mentioned firewalls.

      Just because it's not mentioned, doesn't mean it's not there. Like someone else said, it's more a question of defaults.

      Any recent Linux distribution will have IPTables installed (ealier versions had ipchains).

      Starting around RH7.3, RedHat started running lokkit by default on system setup. What lokkit does is, for any setting other than 'none', it locks out all/most incomming connections, but lets you specify that you want to allow specific ports inbound (like SMTP, FTP, SSH).

      Like they said, it doesn't replace the work of an enterprise security admin, but it does make for a decent first attempt for most home/SOHO users. I used it as the starting point for my own rules.

      --
      Free Software: Like love, it grows best when given away.
  29. Are you NUTS?! by TheDarkener · · Score: 5, Insightful

    Is the simple concept of opening and closing ports insufficient for networking services that require the client and server to open multiple simultaneous connections (both incoming and outgoing)?

    I am the head sysadmin for a company that has many Linux, Windows, and Solaris servers, and other specialty systems such as Cobalt Raqs, proprietary satellite equipment like IP enabled RF Modems, MUXes, IPEs and a shitload of high-bandwidth routers in multiple POPs around the world. If you think that a firewall to protect your network is insufficient, especially for a network with mixed OSes and such, you are terribly wrong. Imagine working in an ISP. You have your private workstations, then your servers (DNS, MXes, etc.), then your colocation equipment. Put it all on the same network? Suuuuure!! WHOOPS! Someone hacked into a colo box and then used his r3wt account on that box to scan your internal network for other vulnerable boxes (all at the same time, using your T1/T3/OC-192 for hosting the world's biggest movie IRC bot). You didn't have a firewall and/or IDS to detect the initial portscan on the colo box, and now you don't know that he/she is sucking up your bandwidth and scanning your entire internal (well, to you it's internal, external, whatever) network for more boxes to royally *$#! up. Trust me. Once a box is rooted, you take it of as SOON AS POSSIBLE and reinstall. It's a shitty feeling knowing that someone owned YOUR network and now you have a shitload of crappy work to do over the weekend. Not to mention downtime, customer/employee complaints, fielding the hundreds of "I CAN'T CHECK MY E-MAIL!!! BOO HOO!" calls, and general feeling that maybe...just maybe there's a box that got 0wnz0r3d that you might not know about.

    The moral of this story, boys and girls, is that FIREWALLS ARE GOOD. Intrusion detection systems are GOOD. NAT is GOOD. TCP syncookies are GOOD. Everything on the Internet is vulnerable by default unless YOU TAKE THE TIME TO SECURE IT YOURSELF. Keep the colo systems on their own subnet. Shit, keep each SYSTEM on it's own 2 port VLAN with the uplink. Keep your servers on a DMZ. Keep your internal workstations on a TRUSTED, PRIVATE, NATted network. Close every damn port besides the ones that are used by servers. Do not open ANY ports to your trusted, internal network. If someone roots a box, at least they can't load an SSH trojan on port 2000 with no password and automatic root access to get back in later.

    --
    It is pitch black. You are likely to be eaten by a grue.
    1. Re:Are you NUTS?! by Lawngn0meXX · · Score: 1

      Sounds like work for the same company. I agree with you, an ISP or worse a hosting enviroment is the toughest to secure, and then there's DDOS attacks. A small business doesn't have to worry about the complexity that a hosting provider would have to worry about, but then again, the employees at a hosting company can make things really difficult for yourself. It's fun undoing the mess a legal secratary can make by answering every email in her inbox.

    2. Re:Are you NUTS?! by qmrq · · Score: 1
      I kinda sorta agree with a few of your points, but about intrusion detection systems..

      They're useless! Any competent hacker knows that there are hundreds (thousands?) of ways to get around being caught by an IDS. Some examples...

      If an attack normally goes 'a,b,c', but will work as 'b,c,a', going at it out of order will fool the system.. similarly, you can break attacks up across multiple user accounts, or multiple IP addresses.

      Create shell scripts to replace normal commands.. the IDS will not assosciate the scripts with the attack being executed.

      Use different commands to accomplish things.. for example, 'echo *' is almost the same as 'ls' in most UNIX shells.

      Encode the attack in EBCDIC.. the IDS will miss everything.

      Use simple cryptography with sed... - that is, replace 'e' with 'z' and such.

      Enable full duplex communication with the target.. the extra characters will confuse the IDS.

      Start an outbound session from the target with a modem.. if the IDS is network based it will miss everything.

      Create lots of false positives along with the real attack.. finding the actual source of the problem will be human time intensive.

      You can also attack the system with the IDS, or send it empty traffic guised as attacks until its disk is full.. no more recording your attack.

      ... these are just a few of thousands of ways to defeat IDS systems...

    3. Re:Are you NUTS?! by Courageous · · Score: 2, Interesting

      They're useless! Any competent hacker knows that there are hundreds (thousands?) of ways to get around being caught by an IDS.

      Knowledge that LIDS is present on a system being accessed, indeed if they can determine that LIDS is present, will send even the best hackers fleeing the moment they discover it. Anything built around a MAC (Mandatory Access Control) file system is bad mojo. You'd have to be working for a first world intelligence agency to even dream of sticking around.

      C//

    4. Re:Are you NUTS?! by SonOfThor · · Score: 1
      They're useless! Any competent hacker knows that there are hundreds (thousands?) of ways to get around being caught by an IDS. Some examples...

      If an attack normally goes 'a,b,c', but will work as 'b,c,a', going at it out of order will fool the system.. similarly, you can break attacks up across multiple user accounts, or multiple IP addresses.

      Create shell scripts to replace normal commands.. the IDS will not assosciate the scripts with the attack being executed.

      Use different commands to accomplish things.. for example, 'echo *' is almost the same as 'ls' in most UNIX shells.

      Encode the attack in EBCDIC.. the IDS will miss everything.

      Use simple cryptography with sed... - that is, replace 'e' with 'z' and such.

      Enable full duplex communication with the target.. the extra characters will confuse the IDS.

      Start an outbound session from the target with a modem.. if the IDS is network based it will miss everything.

      Create lots of false positives along with the real attack.. finding the actual source of the problem will be human time intensive.

      You can also attack the system with the IDS, or send it empty traffic guised as attacks until its disk is full.. no more recording your attack. ... these are just a few of thousands of ways to defeat IDS systems...


      All of these little tricks are O-L-D and I'm sure that by now most if not all commercial and open source IDS and IPS systems have means of dealing with these types of tricks. Most of the stuff you listed is designed to bypass simple signature-based IDS systems, such as SNORT for example. While it is true that many signature-based IDSes are full of poorly written signatures that can be fooled by the simple tricks you outlined above, this is 2003, not 1999. This is not news folks. I'd say, judging by your comments, that your experince with IDSes is at least two or three years old. Shit I'm surprised you didn't list fragmentation as a method of bypassing IDSes, it's at least as old as some of the stuff you're talking about. And I did have a good laugh when you mentioned attacking the IDS itself! As if anyone gives thier IDS an externally-accessible IP address anymore!

      You will not be able to obfuscate everything you do. There are alot of steps one has to take before one can cause a remote system to dial back to you using a modem, and I'll bet that even SNORT IDS picks up at least one of them.

      I'm posting this mainly for the benefits of the lurkers that might think you know what you are talking about. Welcome to the new millennium folks.
    5. Re:Are you NUTS?! by ConsumedByTV · · Score: 1

      Lets just go with this for a moment.

      Let's say that I root sshd, even with LIDS, I can still log usernames and passwords, yes?

      Then lets take that a step further, I can now login as that user, have it run key stroke recording for when the admin uses LIDS admin tools and then... What?

      I own the box.

      LIDS is cool but I hardly think I qualify to work for the NSA with the ability to make that type of response.

      Anything is possible.

      --


      "Not my manner of thinking but the manner of thinking of others has been the source of my unhappiness." - M
    6. Re:Are you NUTS?! by Anonymous Coward · · Score: 0

      Have you ever deployed LIDS?

      >Let's say that I root sshd, even with LIDS, I can still log usernames and passwords, yes?

      No you can't, because the MAC rules will not allow you to replace the sshd binary, as well as not allowing the existing sshd binary any capabilities it does not need. And since the MAC rules will also not let sshd in-memory patch itself, you can't even play that trick.

      >I can now login as that user, have it run key stroke recording for when the admin uses LIDS admin tools and then... What?

      What? pretty much spells out your post. WTF are you thinking? The MAC rules will stop a key stroke recorder from working EVEN FOR ROOT!!! With access to the device, the key stroke recorder will just sit there and record... nothing.

      Please try and atleast be somewhat knowledgable before you post.

  30. Users by Aadain2001 · · Score: 2, Insightful

    If you allow users to select what goes in and out of their computers onto the internet, I guarenty you that within 24 hours of rolling out the system, 95% will have flipped the "allow everything" switch because they got anoyed with being asked every time they fired up a new application.

    --
    Space for rent, inquire within
  31. Who cares about the network? by rc.loco · · Score: 4, Interesting

    Firewalls are great at slowing down intrusions. However, without proper application security architecture and host-level security hardening, you cannot really protect a network-accessible resource. Often times, the only resource (network, application, host) that we can control 100% of the time so that it can be trusted is the host.

    Besides, the bulk of compromise situations occur INTERNALLY. Is that PIX on your WAN router really going to stop disgruntled Gary down in QA from trying out across 5 subnets the latest script kiddie tool that his roommate hooked him up with. If you spend quality time hardening your hosts, chances are you may really not lose more than a few hosts at a time during a significant compromise at the application-layer (e.g., a remote root sendmail hole, a bug in BIND). I think we need to revive the popularity of security "tuning" on the host side - a lot of people forgo it for strong network security but I think that the latter is a much more difficult perimeter to maintain.

    I've seen others post about the dangers of VPNs. I totally agree, they are conduits for information loss, but are likely to be mostly self-generated (internal). Example: Disgruntled Gary in QA sucks down the product roadmap details off the Intranet before giving his 2 weeks notice and starting to work for a competitor.

    Apologies to Gary's everywhere. ;-)

    --
    --rc
    1. Re:Who cares about the network? by Anonymous Coward · · Score: 0

      Why that dirty Gary... Fuck you Gary you dirty lowly bastard. Go and join a competitor, would you?

    2. Re:Who cares about the network? by Lurgen · · Score: 1

      Valid points -- perhaps the next generation of firewalls will be purely internal, possibly built into our network switches? Maybe we're due for a new type of internal networking, where we can not only protect ourselves from the world in general, but from ourselves?

      Yes, I know we can do a limited amount of filtering internally already but there's nothing even close to what I have in mind. I'm thinking of application-layer filtering, perhaps even down to blocking specific attacks. Similar to Snort in some ways, only active rather than passive...

      rc.loco is dead right when (s)he suggests that the bulk of compromise situations are internal. They are - perhaps the point of entry was external, and the attacker (be it an automated attack, such as a worm, or a pimply faced geek in his parents basement) outside your network, but the follow-up attacks are internal. Only the first hit stood any chance of being touched by your perimeter defences, everything else is easy from there.

    3. Re:Who cares about the network? by rc.loco · · Score: 1
      I like your idea about active IDS and I think it will appear sooner rather than later. The only problem with it are false positives, but...perhaps attack signatures can be isolated within network segments or chains of segments such that false positivies are reduced in other parts of the network? e.g., between switches or routers, where the traffic profile is relatively generic.

      --
      --rc
  32. Security versus usability by marbike · · Score: 2, Interesting

    I have been a firewall engineer for nearly four years. In that time I have come to the conclusion that you have a major trade off in the ultimate security of a system as compared to the usability of that system. An example is the explosion of VOIP and video conferencing in the last two years.

    H.323, SIP, SKINNY etc. all require many ports to be used which is a nightmare to a firewall admin. As a result, firewalls are evolving to include support for these systems, but my fear is that the overly (in my opinion) permissive nature of firewalls which allows these connection, is ripe for exploitation by future crackers/hackers.

    While I was supporting firewalls, my mantra was to close every damned thing I could and the users can suffer. But I also realize that in a modern network, usability is a major concern. Companies are deploying VIOP networks in record numbers while saving thousands of dollars each month. Companies need to reduce overhead to remain profitable, so they are looking at new technologies to help them. If the firewall industry cannot keep ahead of these technologies, it will ultimately fail.

    I think that the time of using access-lists to controll traffic is nearing an end. This will result in slower overall performance of firewall solutions as application level firewalling becomes mandatory, rather than the past of transport layer firewalling.

    I am afraid that I have no easy solutions, but I hope that the industry will be able to remain both secure *and* usable.

    Hell, perhaps in the future security will be built into operating systems and network resources, rather than the reacitve nature that we enjoy today.

    --
    it is better to light a flame thrower than curse the darkness. -Terry Pratchett Men at Arms
    1. Re:Security versus usability by Alioth · · Score: 1

      Maybe VOIP is being rolled out incorrectly.

      If I were in charge of a VOIP rollout, I'd use IP-based phones (NOT software) and make the VOIP network physically separate, just like the old phone network was separate. Therefore, you'd have a separate firewall whose job is VOIP only and you don't have to open up your workstation network to a security nightmare.

      If people really insist on a computer-based VOIP system, a separate low-cost workstation can be used connected to the physically separate VOIP socket on the wall.

    2. Re:Security versus usability by NibbleAbit · · Score: 1

      Try putting VOIP on a different internal subnet. No computers on that subnet, just VOIP devices.

  33. Application-level firewalls by altamira · · Score: 3, Informative

    There's a few very sophisticated application-level firewalls available on the market, but they all pertain to a very specific set of protocols. NFS and MAPI are none of them, as these are far too complex and it's too hard to distinguish bad from good traffic; HTTPS, on the other hand, is pretty well suited to full application layer inspection, and this can make it very practical to actually allow access to an application on your INTERNAL network from the outside. However, on the side of the application-level firewall, this requires very sophisticated rulesets that require modification whenever the application changes, and that require a very skilled administrator. Whale Communications makes one such product (e-Gap Application Firewall), which could easily be the most sophisticated application level firewall for HTTPS. There are other vendors though that offer reverse proxies including authentication that will do session management and only forward traffic belonging to live, authenticated sessions, that could possibly as well make it practical to have the application run on your internal network.

    Just think about it - in an ideal world, you could connect your database only to the web - no replication to the insecure area (DMZ), no (not in the Windows meaning of the word!) trust relationship with the DMZ, no poking holes in your firewall for DB/RPC/other proprietary communication protocols, no bringing out and maintaining the same set of hardware and software twice...

    BUT this comes at a price - secure application layer proxies require skill and money.

    Disclaimer: I work for a company that has implemented the Whale solution in Germany for 2 years. However, I chose the Whale solution for its technical merit solely.

    1. Re:Application-level firewalls by hal9000(jr) · · Score: 1

      Be careful how your using the term application level firewall. What is not an application level firewall. It runs a variety of protocols over an SSL connection, functions as a reverse HTTP proxy, and does some URL canonicalization. But that is not an application level firewall.

      Application level firewalls support multiple applications, typically upto layer 7 in some limited fashion. Examples are Secure Computing Sidewinder G2, Symantec Enterrise firewall, and to some extent, Microsoft's ISA. All these products support multiple applications with better or worse protection features. For HTTP is easy and common, set-up a reverse proxy to ensure the HTTP conforms to the RFC-822 definition for allowed characters in the headers, provide a way to limit header length, and do some other syntax checking and you've got a proxy. FTP, SMTP, DNS are all similiar and simple application level proxies.

      More complex protocol support is where you see the difference between application level firewalls and products like Whale--namely support for complex protocols like H.323, T.120, SIP, SQL*Net. It's not just simple protocol conformance checking in the headers, it tracking session state, opening dynamic ports, limiting commands and sub protocols which are far more complex.

    2. Re:Application-level firewalls by altamira · · Score: 1

      Frankly speaking - I think you have a very limited idea how the Whale product works. You may have fallen prey to their marketing strategy that explains the whys and whats of their remote access product, but I was specifically referring to their Application Firewall product.

      The solution is based on a logically split reverse proxy (it's actually separated by a physically half-duplex fixed-size memory bank that separates inside from outside, and that can only ever be accessed by one side at a time). A listener on the outside receives an HTTPS connection, shovels the payload data along with a connection identifier (no IP address, no TCP headers, etc.) over to the memory bank. The memory bank is then physically switched to the inside, where a process picks up the data, handles the SSL encryption/decryption, and then inspects the content.

      Protocol conformance, as you suggest, is being checked, but this the least interesting aspect. It is more important that checks are being done up to the application level, i.e. individual URLs and associated parameters, cookies, and headers are changed for validity ("Is this an integer field? Is its value between 1 and 10, or is it 12?", "This field may contain text conforming to the regular expression ...").

      If ISA server, Sidewinder or Symantec go beyond that, I somehow didn't notice...

      Regarding support for more protocols - dynamically opening ports and such - the Whale product line has a different approach; due to the logical separation of the inside and outside network, there is no traditional address or transport layer crossing the gap. Email and files may traverse the gap, but they do this as data; whether they arrive at the internal or external side as NFS data, FTP streams or something totally different does not matter; the protocol does not even reach the network on the other side.

      I would call this an application level firewall!

  34. The problem is firewall admins by 0x0d0a · · Score: 3, Insightful

    You're right. Application firewalls are a terrible, unsolvable hack. Of course, firewall vendors love 'em, because you'll be paying them for updates until kingdom come, like antivirus vendors.

    Take a look at this part of the original post:

    Are network services becoming so complicated that application level firewalls (such as ISA Server) are absolutely necessary?

    Yes. They are. You know why? Because jackasses thought it would be a great idea to slap firewalls on everything. It's an easy, one-off fix that's centralized. Does jack for actual security, but it's easy to sell to management, so IT people constantly claim that everyone needs firewalls all over the damn place.

    So now we have a ton of firewalls inhibiting functionality all over the place. Do application vendors simply say "Gee, I guess we'll give up on doing interesting things with the network", due the best efforts of short-sighted sysadmins? No. They do ugly, slower, less reliable and harder-to-monitor things like rebuild everything and ram it through SOAP. And then sell the same stupid product right back to the "firewall-enabled" company. Now, everyone loses. The security is just as bad as before. The user gets a slower, less reliable experience. The sysadmin has a harder time monitoring usage and troubleshooting (since everything is obscured by the layer being used to bypass his firewall).

    Firewalls are the singly most-oversold computer product ever, having displaced antiviral tools in the last year or so. Nothing ticks me off more than some sysadmin shoving another firewall in front of users.

    1. Re:The problem is firewall admins by Anonymous Coward · · Score: 0

      Well in line with Bellovin suggestions.
      1/ Don't rely on *any* host (either internal or external)
      2/ As long as it is in your hand (that means, the hosts you directly administer) do what is need to keep them as simple, patched and well configured as you can.
      3/ *Only now* think about a firewall if that can further enhace your security.

      He was specially against the kind of idea about firewalls being the magical solution, but the last resort when everything else fails.

  35. The Internet Will Become Port 80 by ObligatoryUserName · · Score: 4, Interesting

    Sad to say, but in the future, the only reliable port will be 80. All clients will have all ports except 80 blocked by default (right now this seems like wishful thinking!) and no one will open any other port (it will give them a scary security warning!), and even if they wanted to, they might be blocked from doing so by their ISP.

    We're already seeing shades of this, but it hasn't reaced the majority of Internet users yet. Back in late 90's my company rolled out a product for schools that to be retooled when it was realized that many schools were firewalling everything except port 80. (They added a mini proxy server to the product that sent everything over 80.)

    I have a friend that's a sysadmin for a medium sized insurance company - and they had all their internal applications break a couple weeks ago when a MS worm started bouncing around the Internet. However, the problem wasn't that they were using Windows machines (I think all their servers were AIX...)- the problem was that their ISP (the regional phone company) had blocked off the port that all their applications used because it was the same port that the worm used to get into systems. Last I heard, the phone company was refusing to ever re-open the port. (The phone compnay made the change without even informing anyone at the insurance company, everything just stopped working and from what I heard it took them a day to figure out why their data wasn't getting through. I believe they were resigned to changing all their programs to work on a different port.)

    So, we've already come to the point where connections on other ports seem strongly subject to the winds of fate, and I see no reason the situation won't get worse. In most environments 80 is the only port that people would notice if it was blocked, and there are too many sysadmins out there who don't know any better. Right now, if I was developing an application that needed to communicate on the Internet, I would only trust that it could use port 80, and I wouldn't even bother looking at anything else. You can even see application enviornments starting to spring up now (Flash Central) where it's assumed that most applications will just share a port 80 connection.

    It sure is a sub-optimal situation, but I don't know what can be done to stop the trend. Ironically, such a situation makes simple port-blocking firewalls useless because all applications will be running on port 80 anyway.

    1. Re:The Internet Will Become Port 80 by fuzzybunny · · Score: 1


      I see where you're coming from, but your conclusions are not entirely accurate.

      There are too many financial institutions (to name just one aspect) whose apps require either different kinds of connection security from what you get from standard HTTP, and who won't be willing to take the "tunnel everything over the web port" approach.

      For end-user private use, to a degree, maybe.

      --
      Cole's Law: Thinly sliced cabbage
    2. Re:The Internet Will Become Port 80 by Anonymous Coward · · Score: 0

      Maybe financial institutions have the power to get firewall admins to change their rulesets, but smaller vendors certainly don't. If it doesn't run over HTTP/S, forget about even demo'ing it.

    3. Re:The Internet Will Become Port 80 by baldusi · · Score: 1

      Great! Now tell me. People will just remember their IPs? They won't check their POP/IMAP boxes? Won't play CounterStrike or whatever is cool game of the moment? Think a bit about what you just said. If companies don't want their employees to use anything _but_ HTTP/S because they should use the internal mail system and DNS cache and such stuff. It's OK. That's why they are companies. But ISP should not filter anything. Besides, will they start to block AH or ESP? What about 6to4? And ICMP and ARP? I don't think so.

    4. Re:The Internet Will Become Port 80 by Anonymous Coward · · Score: 0

      Charter Pipeline (Cable modem ISP) just started blocking inbound ICMP traffic, at least in my area. Pretty damn annoying too.

    5. Re:The Internet Will Become Port 80 by bobbozzo · · Score: 1

      Adelphia Cable is blocking ALL ICMP! I can't ping anything!

      --
      Nothing to see here; Move along.
  36. microsoft and laziness cause problems by Anonymous Coward · · Score: 0

    A lot of network security problems come from microsoft and just laziness. Writing code is more than just putting a bunch of algorithms together. you must think first. imagine that you are a hacker and want to crack through those algorithms.

    I do not think that Microsoft has done this. Maybe they think of security as afterthought to the software, but they do not think security first. this is the problem. A firewall thinks security first. A firewall intended to stop everything but what is allowed in. Why you want to poke holes through firewall? Only if completely necessary for use! Be very careful, test everything, think like you are the enemy and your system will be better off.

    If system must advertise outside, test test test test test it! Invite grey hat hackers to break system first. Make honepot system and test it where it can not hurt anything. Let everybody hit the system. Keep all microsoft product behind dmz zone so that they are far behind all firewall and do not announce anything.

  37. thanks for the info folks by Kaliban923 · · Score: 2, Interesting

    The varied answers did indicate that there is ambivalence in general about the idea of allowing a machine on the internal network to advertise services even if protected by an application level FW(such as ISA Server protecting an Exchange server). That's good because I thought I missed something in the past 2 years since my last sys admin job(tried my own non-IT business for a while for those who are curious).

    For those who did comment, thank you kindly. I appreciate the ideas and just so folks better understand, this question was speared by the fact that my current workplace has determined a need for webmail because apparently our VPN solution is both too complicated and we dont trust our users to have secure machines(I dont make those rules, I just live with them). There is one voice in my organization who wants us to open up an exchange server thats on our internal network because it will be protected by an ISA server and that just seems nuts. I rather just place a frontend Webserver on our DMZ/perimeter network with IMAP access to our exchange server(we only need email, not calendaring and other features) and use secure protocols to transmit authentication information. From this discussion I've concluded that there is no decisive answer and that I rather stick with our current network security model(screened subnet) rather than "poke a hole" in the firewall for the exchange server.

    1. Re:thanks for the info folks by sid+crimson · · Score: 2, Informative

      I'm working on something similar... Exchange/OWA on the net.

      There are a couple people who just need to POP their email while away. Perdition POP3-proxy over SSL is a decent solution. Setup POP3 proxy box on a separate network (ie. DMZ) from the Exchange Server and you're set.

      There are a few that must have OWA access. For them, set up a reverse proxy with Apache/Squid and get a certificate for this server to communicate with your Exchange/OWA/IIS box.

      And forgoodnesssake relay all your email thru something before it hits your virus-protected Exchange box. I suggest a Postfix / Spamassasin / ClamAV setup.

      -sid

    2. Re:thanks for the info folks by MickLinux · · Score: 1

      For me, I like to have our web services, and our internal network. If you want to send files in or out, you have to put them on CD-R and transfer them to the outer network. So if we can afford a network at some time, that's what I'll do. But our business model matches that.

      On the other hand, for a large company like Newport News Shipbuilding, with > 10k employees, and more than 3000 engineers, that really isn't going to be practical, is it?

      Interesting thought... but suppose you were to have the two-tiered network like that, and not pierced at all, and every building has one virtual server computer with RAID, with CD-R, that allows files to be uploaded and downloaded. Every employee has an internal account, and an external account. Then, mail that comes in goes to the external account, but the text gets stripped and forwarded to the internal account through a hardware+ROM only "text email server". You want to reply, you can do so in text. You want to reply with more than text, you have to go to the "external access computers" in front of a security desk, and everything is logged to tapes, including video of the room, and kept for a year.

      In other words, I wonder if there might not be a market for single-purpose-only ROM firewall piercing servers (and, of course, the servers have their own firewalls, if necessary).

      Oh, well. I rather suspect that there's a different ideal setup for every business, but "different" isn't all that different.

      --
      Correct Horse Battery Staple: 72 bits of entropy. Enter "Correct H" into google. When it generates the phrase, that's
    3. Re:thanks for the info folks by Phroggy · · Score: 2, Informative

      You could run something like SquirrelMail, which is a webmail package that uses IMAP to talk to your mail server. I think the idea of using Apache as a proxy server to connect to an internal server with OWA is also a good one (as opposed to port forwarding or "poking a hole", which would look the same to the user but be significantly less secure). Either of these ideas should work fine with whatever OS you want.

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
  38. Loads of badly designed services by kris · · Score: 1, Insightful

    There are badly designed services out there. Loads of them.

    These are services that are using an end-to-end protocol approach without provisions for a concentrator and filtering server within your company, requiring connections from desktop to desktop across corporate firewalls. There are services that hide their payload in normal http or https requests, requiring you to parse HTTP and XML in order to select which requests you pass on and which you don't. There are services that require backward connects on variable port numbers.

    Don't let your security model be eroded by these. Tempting as it may be to have them, these services simply have no place within the enterprise. Their design is simply not fit for such an environment, despite all the advantages that service may be offering - the risk your corporation is taking by deploying it is simply to high. Talk to the vendor, tell them you'd really like their service and you'd like to deploy it, but they aren't offering a security model that is up to it. Stare your requirements and see if they have ideas to match them. If they don't, they do not understand enterprise. Avoid them.

    On another note, application level firewalls are funny things. They parse and understand the application protocol. That makes them pretty sophisticated as firewalls go. It also makes them vulnerable to many of the same types of attacks can hit the applications that they are protecting.

    Think about it: An application level firewall parsing POP, IMAP or HTTP not only can block or allow the protocol as a whole, but deny or allow individual commands, or users, or directories or whatever. That's nifty. In order for the FW to do this, it must parse folder names, user names, or commands. It must manage buffers for that. It must decode character sets. It must deal with strings with illegal characters in them. It must do all the same stuff that your applications often fails to do properly.

    Use what application level firewalls offer to you, if you need it. If you don't, don't use them. They are to complex internally to be really secure.

    Kristian

    1. Re:Loads of badly designed services by elbuddha · · Score: 1

      Good point. Checkpoint and ISA have had exactly those kinds of problems. However - and I'm not trying to sell koolaid here - the Sidewinder does a very good job when it comes to this. The reason is that the underlying OS isn't some patched up commodity OS such as Windows or Solaris. The OS underlying the Sidewinder, while based upon BSD/OS, has been custom developed with true Trusted Computing elements such as network stack cloning, filesystem ACLs, mandatory access controls, etc. So, though you may still be able to target a vulnerability in a particular proxy, you can't actually exploit the vulnerability to elevate system privileges or network access. About the worst you can do is cause a DoS of that particular proxy.

      Downside to the Sidewinder is the gui sucks. But if you have the wherewithall to learn the convoluted syntax, you can do anything at the command line that you can do in the gui.

      Other problems with application layer firewalls is that they can be slow. Not only do they have to de-encapsulate, inspect, and re-assemble traffic through all seven layers (vs. 3 or 4 for a packet filtering firewall), they have to do it in software since the nature of the work doesn't lend itself to being offloaded to ASICs. Furthermore, because they don't run on ASICs, you will have to deal with the same hardware failure issues typical to any "server".

  39. Fallacies of an unsecure admin by segment · · Score: 3, Interesting
    First, for employees and others who have trusted access to your network, the answer is not to poke holes in your firewall.

    While this is simple to state, how many companies will follow this rule. Companies are not going to jail their users, so the first one who wants to listen to mp3's or streaming music, up goes Real, or Windows Media. What? You want to see the stock ticker from Bloomberg? Sure now you have multicasting crap. Get real, and that's not including someone who knows about things like datapipe.c

    Rather, the answer is simple, just three letters. VPN. By setting up a secure, encrypted, authenticating channel, you bring your trusted users into your network.

    You're either blind or too trusting in people. Remember the biggest security hole often comes directly from the inside. For instance, I know someone who has a VPN through IBM for her work. Lo and behold she wanted to take that same machine and hook up DSL to it. Say goodbye to security over VPN.

    I won't get too deep into this since I'm tired but a VPN isn't always the answer. The answer is actually education. Instead of spending on a Cisco Pix, or Nokia VPN machine, try holding monthly meetings with employees and make them aware of issues. Doesn't have to be a full blown Harvard presentation, but a quick power point presentation will actually teach them things they could carry on in their home or future place of employment. VPN's are like security through obscurity in a way. If someone wants in a VPN will do nothing to stop them

  40. Keep it simple and sane - and DMZ by cheros · · Score: 3, Interesting

    If you want to do it right you'll always end up with a tiered model. Your basic stance should be not to trust anything or anybody, and open up from there (a bit like getting a mortgage ;-). Second stance is to always try and have two layers of defence in place instead of one (i.e. defence in depth), like NAT + proxy, just an example. Third stance is to NEVER allow direct interaction with internal hosts. This means that inbound services (SMTP, hosting web pages) should be done from a separate interface 'between' the Net and your internal network, called Demilitarised Zone of DMZ (apologies if this is old news, just trying to keep it clear). That's IMO also where VPN users come in, they can be given proxied equivalents of internal services, that keeps a network clear from oinks that have just managed to fiddle their VPN so they end up as routers between the Net and the internal network (yes, I know your policies should prevent them doing this, but see second stance ;-). Any supplier feeds come in on the same type of facility, you could even use a separate interface for it. And last but certainly not least, describe what you're actually trying to protect as that will give you some idea of the value loss if you end up with a breach, much easier to develop some defendable idea about budget requirements. For extra bonus points you can let senior management decide to put a value on those assets (i.e. give them enough rope ;-).

    But this is not where it ends, because you still haven't dealt with (a) inside abuse and (b) the possibility of failure. Good security design takes failure mode into account. Plan for when somehow your defenses are breached. Tripwire your firewalls and core systems and check them, lob the odd honeypot in the internal network which will give you early alerts that someone is scanning the place or a virus has entered (last year I caught one of them very early because of a rather suspicious Apache log) and make sure you have a patch strategy that has a short cycle time (depends on your risk tolerance, but especially your firewalls will need attention). Where possible, segregate the more critical facilities out so you can more accurately protect them (just consider your users hostile - don't answer the support phone for half a day if you want a more realistic version of that feeling ;-).
    Oh, and think about what platform you run your security services on. I don't prefer a Unix over Windows because it's more or less safe (that's actually more complex than appears at first glance - donning asbestos jacket ;-), I prefer Unix based facilities because I end up with less patching downtime as it rarely needs a complete restart. But that's just me. And READ those logs..

    Hope this helps. =C=

    --
    Insert .sig here. Send no money now. Owner may sue, contents will settle. Batteries not included.
  41. Well, by photon317 · · Score: 1


    You are out of touch with current network security practices, but that's a good thing. Most security guys these days are just not thinking straight, IMHO. The first order of business is to clearly delineate your real internal network and your semi-publicly-accessible DMZ where public services are hosted. No traffic crosses the DMZ without going through a proxy service or application level gateway of sorts. Secondly only setup simple (and password protected I might add) proxies for outbound connectivity. If a group wants a publicly-accessible service facing the net, don't poke it through onto the private network - make them put a seperate server in the DMZ, and make sure they don't establish any unneccesary trust between that machine and the inside network. And lastly, the simple model of firewalling ports is always a good thing. It's just that beyond that, for the ports which must be open to certain hosts, an application-aware transparent proxy or firewall can go a long ways into making sure the traffic doesn't show signs of attack. Hooking up snort is a good thing too. Once you get the rules tuned such that false positives are somewhat rare - set it up to trigger scripts that cause a firewall blackhole on IPs believed to be attacking you, and even make it smart enough to blackhole networks when enough IPs from that net send an attack. Beware denial of service when implementing this - you'll need to keep an eye on what gets blackholed, and should probably timeout the blackholes after a week or two anyways.

    --
    11*43+456^2
  42. Port 135? by Anonymous Coward · · Score: 0

    Your AIX admins were running a DCE RPC app over the public Internet? Damn -- not even most MCSEs are that stupid.

    1. Re:Port 135? by Qrlx · · Score: 1

      most MCSEs don't understand what you just said.

  43. I know by Anonymous Coward · · Score: 0

    why don't we put a harddisk into the application firewall and run our mailserver of it?

    Maybe I'm of the older though school, but it should be the network daemon verifing the data that your firewall is allowing to pass.

    Application firewall my ass, here, buy this donkey, it dosn't eat much, won't carry anything and is possibly dead - but a bargain all the same!

    -A

    1. Re:I know by Anonymous Coward · · Score: 0

      Well, since I rely on an application firewall, I'm willing to try it. BTW, my firewall is configured such that "application X is allowed to connect to the internet" and "application Y is allowed to recieve connections from the internet on port Z", and so on.

  44. Thoughts from an Australian firewall admin by harikiri · · Score: 2, Interesting

    We are a big Checkpoint shop (stateful inspection firewall). With regards to which is better, the issue seems more to be:
    1. What is the industry standard
    2. What can we get support for locally.

    Application firewalls have really done poorly here in Australia. I speak from experience - used to be a security 'engineer' (read, install Gauntlet), and have since moved on to network security administration.

    The main vendors I've seen in the marketplace are (or were) Gauntlet, Sidewinder, and Cyberguard.

    NAI dropped the ball with Gauntlet both here and abroad. The technology behind it is excellent, but the support really, really sucked. In addition, the administration was performed via a highly unintuitive java-based application, that everyone I knew *hated* to use. You often ended up simply going back to the command-line to configure the beasts.

    Sidewinder I have no formal experience with, but have heard good reviews. Secure Computings presence in Australia was limited to international firms that required its use. There was no "storefront" for quite some time.

    Cyberguard I have seen at a handful of places, mainly banks (and apparently also at various .gov.au sites).

    All of these are technically good products. But due to their lack of popularity and market presence, they don't get used.

    So it's a glorified packet filter I go to add a rule to now.. ;-)

    --
    Man watching 6 MSCE's around a sun box, looks alot like the opening scene's of 2001:space odyssey...
  45. Best practices to the rescue by Dagmar+d'Surreal · · Score: 3, Informative
    "[...] has the paradigm of 'if you offer external services to the Internet then place those machines onto a perimeter network' been eroded?"

    The simple answer to this question is "Definitely not." The use of a DMZ segment to keep production machines on their own physical network segment is likely to never become obsolete because the benefits of this simple step are so great.

    "Are application level firewalls sophisticated enough to allow machines on your internal network to advertise services to the Internet?"

    Whether they are or not is irrelevant. Only the barest minimum of your network should be exposed to another network (especially the Internet), and those hosts that _are_ should be unable to initiate connections to the rest of your network to reduce the impact of the loss of confidentiality in the case of an intrusion. While this may seem rather anal-retentive, to implement a proper application level firewall, the firewall can't just casually filter by generic service type. It _has_ to be able to distinguish a kosher query from a malicious one, and this requires a LOT of detailed work in the firewall rules to ensure that only the queries you want passed through can be passed. If you have a lot of custom CGIs with input parsing, this can turn into a nightmare of man-hours to maintain.

    "When is it alright to 'poke a hole in the firewall' to allow this? Personally, I think the answer is 'Never!' but perhaps I'm out of touch with current network security models."

    I mainly agree with you and feel that the answer is really "Almost never", with "never" requiring some support from the developers maintaining your site. If they're on-board with you on the concept of a DMZ, they'll help you by designing the production system so that connections could be made _to_ it from the intranet to extract information from the production hosts, instead of making the production hosts initiate connections to the intranet and increase the chance an intruder could do the same. If you can't control the access because it's some wacky proprietary protocol, institute a second DMZ (network cable is cheap and so are extra NICs). No other network should ever be allowed to reach inside your intranet.
    1. Re:Best practices to the rescue by Anonymous Coward · · Score: 0

      To err is human. To be anal-retentive is a security admins job no?

  46. ISA Server in front of Exchange by snotty · · Score: 2, Informative
    Actually, having ISA Server publish your Exchange server (using RPC) or Outlook Web Access (OWA) is a great alternative to hosting yet another server you're going to have to patch and lock down. Configuring a firewall that is meant to be secure is much easier than trying to tie down a web server. Web servers on the edge don't even have the monitoring and reporting capability that you will need to know that things are running smoothly (or not). If all you want to let out is webmail, just publish OWA. ISA Server can add a layer of protection that a web server can't, including URLScan filtering, SecurID two-factor authentication, and pre-authentication. On top of that, if you want, you can install a Symantec virus filtering agent on the ISA Server and simultaneously filter out viruses in your webmail. There are hundreds of users who user ISA to protect their Exchange and webmail. Don't take my word for it though. Check out :

    Serverwatch
    Microsoft's own site
    ISAServer.org

    The best answer is always to have defense in depth - Having a firewall in front of your web servers and email servers is good. Having an application aware firewall in front of your web/email servers is better. Having both and having a secure policy on them with AV software and keeping your machines patched is the best.

  47. Defense in depth by justanetgod · · Score: 1

    A VPN (or most likely multiple VPNs) is an additional service and should be viewed in that way rather than as a level of protection. It opens multiple long-distance holes into your network, creating potential vulnerabilities extending to the homes of your co-workers (and their teenage kids and their teenage kids's friends, etc). Rather than a solution to network security it creates a whole 'nother set of problems.

    I don't think security has changed in its basics, rather the demands for services have changed how networks must compromise, as they have always had to, against those basics

    The basics are (1) no services not needed on any server-level machine, strip off anything unneeded to the bones. (2) host-based firewall on every server, ideally on every host period. (3) strict default deny both incoming and outgoing perimeter firewalls (4) DMZ for any exposed services (5) monitor and scan both traffic and vulnerabilities (6) I know I'm paranoid... But am I paranoid enough? (7) If you must run Microsoft in any exposed application, isolate and proxy.

    Stay away from a soft chewy center.

    My company won't let me do it but in my opinion a sane network that wanted security would run nessus in destructive mode against all machines on the subnets continuously, creating a network darwinism that would allow only the correctly configured hosts to stay in place. But that's just me.

  48. It depends... by lelnet · · Score: 2, Insightful

    ...on your specific security needs, and the needs of your user base. As always.

    At the moment, for my "day job" (which is really at night, but never mind that), I do sysadmin and networking stuff for an international investment bank. The information on our computers is worth on the order of tens of billions of dollars on the market, not to mention the very serious privacy implications if there were a compromise (which have specific legal consequences in some of the jurisdictions where we operate, and serious PR consequences everywhere). As you would expect, the order of the day here is totally-closed firewalls with proxy servers to handle the specific traffic that's been determined to be appropriate. The internet-accessible machines owned by the bank are hosted in offsite colo facilities that have no direct connection to our network. Short of saying "no, you can't access the internet at all for any purpose no matter what", that's about as tightly secured as it's possible to get...and that's appropriate for the security needs of this environment.

    On the other hand, I also run a small community ISP. It's a not-for-profit cooperative association, but in terms of security it'd be managed pretty much the same way if it were being run as a for-profit enterprise. Its security configuration is pretty much wide open...the machines with sensitive member information on them are hidden behind a proxying firewall, but the rest of the network is only firewalled to the extent necessary to prevent serious DoS attacks. That's also appropriate for the security needs of the environment.

    Good security practice starts with a risk model and a threat model. Anyone who says "this is the level of security you need to implement" without understanding the risks and threats you face is somebody you should ignore.

  49. Nice use for a firewall by Stephen+Samuel · · Score: 1
    This is one of those times when a good general-purpose IPTables firewall is a good idea. Actually one solution to your problem would be NAT (which is a VERY general word).

    In this case you might be able to solve your problem with pairs of nat boxes.

    Let's presume tha the virus talks back on port 1022 and your office servers are at 1.2.3.4, and that's the port that you're using. .. In front of your remote boxes you'd put a firewall that (among other things) would translate outbound connections to 1.2.3.4:1022 into connections to port 1020.

    On your local end, set up your firewalls to transalate incomming connections to 1.2.3.4:1020 into connections to 1.2.3.4:1022. At that point, your boxes think that they've got a clean link to each other and you don't have to reprogram the entire application.. You also have a good excuse for putting firewalls on the remote system (if they didn't have one before).

    If your system has to use port 80 to get through a PHB run ISP, then so be it. If you absolutely have to, you can always run an effective VPN on port 80 and forward as many ports as you want to through that.

    I actually ran into something like that where a client of mine had his machines behind a firewall that only let out a couple of ports including 80 and 20(ftp) let litte more than that back in. Luckily he had a box running Linux, so the solution was for me to run an SSH server on port 20 and havd him go:
    ssh -R 12345:localhost:22 -p 20 my.ip.address.com

    Once he logged in to my box, I could go:
    ssh -p12345 localhost

    Voila! I was then able to get into his machines and do the needed diagnostics.

    Sometimes an ISP wil get a PHB idea to be 'really useful' but will get it wrong. A couple of weeks ago, mine got the bright idea to put a (simple) IPS system onto the DSL network. If they saw your box 'probe' too many machines, they'd automagically cut you off of the net. Unfortunately they didn't bother to check what port was being probed, and their IPS matched the way that a number of FPS-type games query game servers.

    It took about a day of not being able to reach their help line before they puled that 'service'.

    --
    Free Software: Like love, it grows best when given away.
  50. Linux laptops by ortholattice · · Score: 1

    If your employees need remote access from home, and you are providing the laptop, consider a Linux-based laptop. No spyware, adware, viruses, email worms, etc. to worry about (assuming you have it properly secured of course...). They may complain they can't run the latest games and so on, but you're calling the shots, so tough - they were hired to do work for you. They'll probably be more productive for this reason alone, which is a second advantage.

  51. How you will get r00ted by btg · · Score: 4, Insightful

    I have been involved with lots of different bits of security for a few years now, and quite a few people seem to think I know what I'm doing.

    Playing the "security component Lego" game is great fun, and a little intelligent thought will soon see you set up with a nice, best-practice architecture. This is how it will then fail.

    1. You will have unpatched machines which will be trivially rooted with a script-kiddie exploit. You will know that you should have patched, but you won't have the time, manpower, or authority to ensure the patches are in place.

    2. You will misconfigure something, and then miss the problem in reviews because you didn't get peer or professional verification of all your configs.

    3. You will get owned by an internal employee who has exactly the level of trust that you planned for, but abused it.

    4. Someone will walk in with a clipboard, bamboozle the secretary and walk out with your fileserver.

    5. You will create a whole bunch of really cool procedures, but the CIO / CTO won't back them when the first departments complain about lost productivity - this will undermine the whole thing and you will be back at square one.

    6. You will give someone VPN access, and they will connect their virus and worm ridden home machine. It will infect your network, and their kids will surf pr0n and share mp3s on your dime.

    7. Your backups will have some unforseen problem, your restore procedures won't work right because they aren't tested, and you will lose much company data (and your job).

    8. Your users will deliberately download trojan-ridden, virus infected, IE Object Overflow infested garbage, despite clear, explicit orders to the contrary being sent to them twice a day. They will do this because dancing rabbits are somehow more compelling than 'all those emails from the grumpy tech guys'.

    When we talk about the 'current paradigms', I don't even think about fancy technology, I think about these obvious threats that always apparently only happen to other people, because some wiseguy always knows better. "IF you do blah blah, like we do..."

    Your "paradigm" wish might be: "I want a network where every single part is doing as best it can to defend itself against the threat at the keyboard as well as the threat from external attack - not a perimeter, not 'tiers', but every part."

    1. Re:How you will get r00ted by 44BSD · · Score: 1

      Much of what you say is true.

      There is little we can do to create a technical solution to a social problem.

      Unpatched servers providing security functions are not acceptable. Sure, in the real world they happen, but unless the admin was specifically directed to pick up the boss's dry cleaning instead of patching them, this should never happen.

      Lack of "peer review". Not much possibility of avoiding it in a small shop, alas. Best one can hope is that the admin will be diligent about keeping informed, and will try to get his/her design vetted informally via whatever channels are available. In larger shops, management should require a more formal approval process. If they don't, this is not the technologists' fault.

      Insider attack. I guess you should revisit your threat model, then, huh? This is infosec 101.

      Social engineering the secretary. This one is cured thru better education, and by better physical security. Why does the secretary have physical access to the file server anyway? At best, (s)he should be able to page/call the admin about the guy with the clipboard who needs to take the fileserver back to his workshop at the North Pole.

      CIO prefers "productivity" to security. Fine. Officers of the firm are SUPPOSED to make those decisions. Make sure it is in writing, and that it is an informed decision as far as the risks the CIO is permitting. When the company gets owned, at least you'll have some company in the doghouse/unemployment office.

      Irresponsible VPN access. Should be a policy about who gets it, which should have taken worm, virus, etc. risks into account when it was created.

      Untested restore procedures. If this happens, you deserve to be fired. You're spot on here.

      Users prefer dancing rabbits. Didn't the company budget for a security education program? Maybe when the root cause of the next network implosion is traced to such a thing, you can make damn sure the manager of the responsible employee is made aware. After that, the head on the pike by the water cooler should provide an adequate disincentive.

      Your last paragraph is right on the money. I don't want to sound like your "wiseguy", but absent some kind of management direction to the contrary, or a threat model under which internal threats were minimal, why would someone design a network to NOT have every single part doing its best to defend against internal and external threats? Do today's infosec people think you can plug in some sort of "security box" to make the bad guys all go away, or something?

    2. Re:How you will get r00ted by Dark+Lord+Seth · · Score: 1
      4. Someone will walk in with a clipboard, bamboozle the secretary and walk out with your fileserver.

      Fuck the fileserver, I'd go for the secretary instead!

  52. Small nit by shani · · Score: 2, Insightful

    Once a box is rooted, you take it of as SOON AS POSSIBLE and reinstall.

    One problem with this is that simply reinstalling a r00ted machine is no guarantee that it won't immediately be r00ted again.

    While being hacked sucks, it is the worst time to panic. Remember, when you suddenly notice something strange on the machine and realise you've been owned, it could have been compromised for weeks or even months.

    While you should immediately prevent it from doing further harm, you should also attempt to do a bit of forensics. See what kind of traffic it's sending, and to where. Make sure it hasn't compromised other boxes on your network (or elsewhere). When you take it off-line, get a disk image so you can try to understand how the machine was entered in a safer, contained, environment.

    OTOH, if you know you the person who set the box up was lazy and didn't patch appropriately, and you are reasonably sure you know which exploit got you, then just reinstalling can make sense. As can firing the pinhead who put your organisation at risk.

  53. MS ISA is the fortified bridge, not a wall by J-Bone · · Score: 1

    ISA is a nice and SECURE tool, if it is used correctly. It is very good for publishing services (HTTP, Exchange-RPC).

    You should do a back-to-back two-layer firewall setup, with the outer ISA not being member of your inner domain. The publishable services should be in the DMZ between the two firewalls - webserver, Exchange FRONTEND. You can use the URLScan plugin for ISA FP1 to make sure no illegal HTTP options get through to the webserver.

    The internal firewall could also be a non-ISA, preferably HW firewall, but then you loose some strong outgouing proxy authentication integration with AD.

    Do not use ISA as a three-homed firewall, you loose all secure application and stateful packet inspection to that kind of DMZ.

  54. Openssh/WinSCP (Re:Try a three-tiered approach) by Ricin · · Score: 1

    What you should do is only use the sftp-server subsystem and give users a fake shell (unfortunately sshd needs it to effectively run -c ). Three lines and you're done. If they try to log into it or run anything else than sftp they get "You have no shell access" or something to that effect.

    If you allow them to use scp, yes they need to have a full shell then.

    1. Re:Openssh/WinSCP (Re:Try a three-tiered approach) by Anonymous Coward · · Score: 0

      You don't need a real shell for SCP --- take look at http://www.sublimation.org/scponly/

    2. Re:Openssh/WinSCP (Re:Try a three-tiered approach) by Ricin · · Score: 1

      Yes. Same sort of "hack" as what I described above for sftp. Only then you have another piece of 3rd party software which you'd have to investigate before deploying. But you're correct.

    3. Re:Openssh/WinSCP (Re:Try a three-tiered approach) by fransdw · · Score: 1

      My answer to that is Cygwin ... if any of your internal users have Windows PCs. You (the user), just installs Cygwin and voila ... port forwarding etc working any which way you want ;-)

      --
      Life's like that ...
    4. Re:Openssh/WinSCP (Re:Try a three-tiered approach) by Kazin · · Score: 1

      Yes, but there are a number of limited shell programs out there, so when you do give your employees shell access so they can scp, you can have them limited to *only* being able to scp.

    5. Re:Openssh/WinSCP (Re:Try a three-tiered approach) by Jellybob · · Score: 1

      It's not a subject I know much about, but I do follow a few mailing lists, and I'm fairly sure I saw mentioned there a shell that would only allow SCP activity, without actual shell acess.

      Try searching the archives for debian-isp.

    6. Re:Openssh/WinSCP (Re:Try a three-tiered approach) by benploni · · Score: 1

      It's called scponly:
      http://www.sublimation.org/scponly/

  55. correction by Ricin · · Score: 1

    That should be ... effectively run [the_shell] -c [the_subsystem] (and that's after priviledge dropping)

    (original text got eaten by /code)

  56. The problem with "application level firewalls" by graf0z · · Score: 2, Informative
    and NIDS is that all current systems ready for production use are based on pattern matching, just like virus scanners. It detects a "bad packet" (like one containing a standard rootshell) if it has an according signatures in its database. Additionally it can enforce protocols (i.e. by dropping evil overlapping IP-fragments). Both happens at high costs as IP-fragments and TCP-segments have to be reassembled for inspection.

    These system may filter standard attacks (i.e. exploits you find at bugtraq, packetstorm) quite good, but You can image that it's easy to poke such a firewall by varying an attack. They know many standard ways of varying (like "/cgi-bin/../cgi-bin/" instead of "/cgi-bin/", or inserting NOPs into a rootshell), but there are a thousand and one way for doing the same thing, and most won't get detected.

    So: Do NOT think Your $XXXXXX application level oversecure paranoia firewall ransoms You from secure network design or patching Your systems! Instead, do the usual:

    • use seperated subnets of different security level (like a dmz)
    • hold Your systems on recent patchlevel
    • tighten Your configs, review them with >2 eyes
    • use proxies (maybe with authorization). Build virus-scanner into http- and smtp-proxy
    • do NOT consider Your internal network "save", so don't use telnet for administration Your internal *NIX servers
    The last point is due to the fact that it's too easy to inject hostile code into a browser. Most scripting attackts get NOT detected by state-of-the-art virusscanners if they are slightly modified. So consider the desktop workstations in Your network as a bunch of trojans.

    To summarize: You have a excellent chance of averting 99% of all attacks (as those are known attacks of script-kiddies/zombies/...) with standard techniques like the above mentioned. You have a good chance of making a random hacker to move away to an easier target. You have almost no chance of averting a skilled hacker with time who wants to get into YOUR machines.

    /graf0z.

  57. What about a small company? by solmssen · · Score: 2

    Hi all,

    It's been very edifying listening to you guys talk about your DMZ servers and your application level firewalls and your apparently infinite budgets for admin time and hardware, but what about the real world of small (<10 employees) businesses with a single server running Windows 2000 Server and Exchange 2000 on a single network segment. No ISA, No Checkpoint, no time, no money, no dedicated admin, no understanding of why it might be a good idea. Mostly what we've got for these folks is a Linksys router portforwarding 25, 80, and 1723 for SMTP, OWA and PPTP direct to the server, and teaching somebody onsite to keep an eye out for the critical update notifier. Where does this fit in to the grand scheme of things?

    1. Re:What about a small company? by daveoj · · Score: 2, Insightful
      I think as a small business you're going to need to look at the cost of getting the work done versus the cost of loss in the event something 'bad' happens.

      It is prudent to assume that something 'bad' will happen; it's just a matter of time. With that assumption, start figuring a monetary value next to the loss of each kind of data you have. How much would it cost you to rebuild your customer database, weather legal action from customers, etc. in the event that the customer database is broken into and details leaked?

      Don't be worried if you don't have this expertise in-house. There are many businesses out there that can work with you and share the responsibility. Think of it as outsourcing your IT security (and possibly more) to a trusted company. This doesn't have to cost the Earth, just make sure that whomever you work with starts by asking the value of what you are trying to protect!

    2. Re:What about a small company? by Anonymous Coward · · Score: 1, Funny

      Your type organizations fufill a valuable roll, they are the "easier targets" the hackers go to after their previous targets resist attacks. We all are very grateful for the roll you play.

    3. Re:What about a small company? by kilfarsnar · · Score: 1

      I second Daveoj's sentiment. I know you said you have no IT budget, but there are IT outsourcing companies that are dying for your business. I am the sole admin for a 20 person satellite office and I have IT management companies calling all the time. They are not too expensive and can be bargained with these days. It sounds like it would be a big step up to just have someone come in for a day or two a month to keep an eye on things. If management balks, ask them how they would feel without health insurance. It's the same principle, and it's only a matter of time. Think no-one would want to hack you? If someone would hack my Quake server, they'll hack anything.

      --
      "What the American public doesn't know is what makes them the American public." -Ray Zalinsky (Tommy Boy)
  58. the problem: trying to be extra safe by iceco2 · · Score: 1

    When protecting a system, designing network configuration, firewall rule sets etc. The sysadmin/security specialist needs to think of how will he as a hacker from the outside compromise the system security. But when designing the system we wish to protect ourselves also from the attacks we ourselves can not think of.
    We can attack this problem in several methods:
    We may assume a single components can fail, for example We may wish to assume that our HTTP server may be insecure and exploitable, if this is the case we must place it in a DMZ.
    We also may try and place multiple failesafes, When we think of how a hacker would try to get in we want his attack to fail in one then more place along the way. We think This attack will fail at this stage, but even if he passes this(which we can't see how he could) it will fail on a second
    level, such levels might be.

    Obviously the level of security must be adapted to the threat level. My home network is protected by a single firewall which allows dome incoming connetctions, yet I feel safe. I would never recommend such a setup to a large orgenization.

    Dryice

  59. Lesson number 2: by Nijika · · Score: 2, Insightful

    Don't implicitly trust what you read on *

    --
    Luck favors the prepared, darling.
  60. inspection and encryption are incompatible by graf0z · · Score: 1
    A firewall/NIDS cannot inspect encrypted data if the encrypted tunnel does not end at it.

    Want to attack a httpd behind a mature NIDS? Establish an SSL-session to port 443 and send Your "GET /cgi-bin/dummy.pl?AAAAAAAA..."! NIDS blinded.

    To avoid this, You have to terminate the SSL-tunnel in front of Your IDS, i.e. by setting up a transparent http-proxy holding the X.509-certificate and the key-pair on Your "application layer firewall". Most products do not offer this possibility.

    /graf0z.

    1. Re:inspection and encryption are incompatible by pbemfun · · Score: 1

      Actually, to avoid that, you should set up host-based IDS, not by bypassing the intergrity of the SSL connection.

    2. Re:inspection and encryption are incompatible by altamira · · Score: 1

      This won't gain you anything, as the decryption doesn't happen when the packet is received by the host, but in the application, therefore evading a host-based network-level IDS. As for regular host-based IDS such as Tripwire (both the free & non-free products), this should be used at all times, but always is after-the-fact and therefore should be the last layer of security.

  61. Current Network Security by herwin · · Score: 1
    It sounds like you have a sensible perspective. References you might consult include:

    -Practical Unix and Internet Security, 3rd edition

    Building Internet Firewalls, 2nd edition.

    Securing Windows NT/2000 Servers for the Internet

    1. Re:Current Network Security by Anonymous Coward · · Score: 0

      The "Practical Unix and Internet Security" book is worse than useless. It's like a cookbook with recipes that say "First, take the brownies off the cookie sheet". It's typical Simson work: long on talk, short on code or real experience.

      It lists a lot of things you should do, and gives no hints on how to do them well, nor does it mention the very serious political consequences of good policies. For example: "change your passwords often" is useless in most business environments unless you've set up a password management system that actually checks it against the last few passwords to prevent people from changing it back and forth to the same bad password they use everywhere else in the world. "Keep passwords safe" is next to useless in an NFS or SMB home directory environment where users inevitably store their SSH keys, and PGP keys, etc. in a publicly accessible directory. "Lock up your keys" is great, except that you then have to actually check that the SSH keys really use passwords.

      Etc., etc.

  62. Lookit the buzzwords! by Anonymous Coward · · Score: 0

    Skillset, paradigm? Aren't those just buzzwords that dumb people use to sound important?

  63. ISA Server by jeks · · Score: 1

    Please don't mention ISA Server and network security in the same context!

    1. Re:ISA Server by FreeLinux · · Score: 1

      I use to make assinine glib comments like this about ISA. But, then I put it to the test and I was not able to penetrate it at all. I then went looking for anyone who had successfully penetrated a properly configured ISA server and again came up empty.

      If you can find anyone who has successfully penetrated a properly configured ISA server, I would consider it a great service if you would enlighten me about it. But, until then, I have reluctantly accepted the fact that ISA is a rather good firewall that offers many features that iptables, squid proxies and the like severely lack.

    2. Re:ISA Server by jeks · · Score: 1

      ISA Server may be a secure product in itself but its foundation (MS Windows NT) is severely flawed as has been shown time and time again.

      If you are to compare ISA Server, do it with products in its ballpark, meaning $$$ hardware/software like for instance Cisco PIX or Nokia IPSO/Check Point Firewall-1/VPN-1.

      IPTables and Squid may still be lacking in features but it is based upon the volountary work of OSS developers. ISA Server on the other hand has no excuse to be lacking in either features or in security. When comparing ISA Server with other commercial packages like Cisco or Nokia+Check Point; ISA Server does not stand a chance. Where is session authentication through client certificates? Where is single sign on? Where is a sane traffic-throttling front end? No, in its ballpark ISA Server has nothing to offer, only the ludicrous and constant patching of the underlying NOS.

  64. What about smoothwall by Anonymous Coward · · Score: 0

    Is smoothwall secure enough for securing a small hospital ?

  65. OT: Definition rant by Xenophon+Fenderson, · · Score: 1

    And I'm getting fed up with people who seem to think infection vectors are a good way to classify malicious mobile code. Personally, I don't see much of a difference between viruses, worms, malware, spyware, etc. It's all basically "bad stuff running on your computer". Some are network aware, some hide in executables, all do bad things and are pretty pernicious.

    Oh and by the way, you are wrong about there being no Linux viruses found in the wild. There are several: Staog, Bliss, and Etap (aka Metaphor).

    --
    I'm proud of my Northern Tibetian Heritage
    1. Re:OT: Definition rant by julesh · · Score: 1

      Thanks for the references. I hadn't seen any discussion of these previously, and my normal source for virus info only seems to cover win32 viruses.

      I think 'malware' is a good term that generally encompasses all such code. The rest have specific meanings, and therefore using them in cases where that specific meaning doesn't apply is probably a bad idea and prone to cause confusion.

      Personally, I blame "good times" for it all. :-)

  66. ha! you are *SO* brick-and-mortar by Anonymous Coward · · Score: 0

    Niggers are totally a meatspace problem. Sure, they'll steal your computer, but they'll sell it right back to some other white dude. As far as I know, not a single nigger has made it onto the Internet.

    Here, you worry about slopes (mostly chinks and dog-eaters) and Soviets, because their countries have no laws.

  67. Arms race and overloading by Simon+Brooke · · Score: 1

    This is an arms race, and as soon as you give ground at all, you've lost.

    The reason people are implementing things like 'Web Services', overloading port 80 to provide potentially insecure services on a port previously thought reasonably safe, is that they don't understand the need for security and firewalls, they're frustrated by the restrictions you - rightly - put on them, and they want to shortcut around the firewall. If you allow them to, they will. Furthermore, they will employ half trained code-monkeys to point-and-drool together some Visual BASIC abortion with no concept of security or defensive programming. At that point you've basically lost the battle. The temptation is to advance the arms race another twist, by implementing 'application layer' firewalls which can inspect traffic going through. This takes far more computational resources and is far more prone to both false positives and false negatives than simply blocking services deemed to be unsafe, so you've not only spent more money on hardware, you've given yourself a huge and ongoing security headache.

    You are right: the only sensible answer is NEVER, and you need to stick to your guns. Otherwise the firewall might as well not exist at all.

    --
    I'm old enough to remember when discussions on Slashdot were well informed.
  68. Security and Web Services by MarkWatson · · Score: 1
    I have worked on both web services infrastructure tools and developed web services, so this is a subject of interest :-)

    I have a few thoughts on security:

    Every computer inside a firewall should be as secure as possible. One compromised computer should not necessarily compromise your network.

    Web service responses shoudl be document centric - SOAP is best used not as RPC but as a rich document (XML payload) request. Make requestors sign their requests.

    Use SOAP over HTTPS.

    Avoid using Windows :-) (Hey, this is /.)

    -Mark

  69. Murphy's law: Paranoie rules. by Stephen+Samuel · · Score: 1
    For those few of you who don't know, Murphy's law is: "Anything that can go wrong will".

    Many years ago I ran across a listing of many corollaries to Murphy's law: Many of them apply to security admin (some directly), like:

    • If it can go wrong, it will. If it can't go wrong, it might.
    • Investment in security will continue until the cost of security exceeds the cost of the breach -- or until someone insists on getting some 'useful work' done.
    • Create a system that even a fool can use and only a fool will use it.
    • A foolproof system is no match for a sufficiently determined fool.
    • Unforeseeable errors are infinite. Foreseeable errors are, by definition, finite.

    One of the first rules of security admin is 'presume that any given layer will fail'. This is why you have a DMZ (with or without application-layer firewalls). It's not that you expect your firewall to fail, it's just that you don't bet your company on it not failing.

    Similarly: allowing VPN users unfettered access to the internal network is allowing any of the bugs they catch on the outside in. This is why VPN's should go into their own DMZ that allows access to only necessary ports/services into the local network.

    Application level firewalls aren't bad but they ARE more complicated than simpler firewalls. As such they're more prone to complicated failures.

    IDSs (intrusion detection Systems) are a nice last resort. They don't (usually) stop attacks but they do look for signs of anomalous activity and warn you -- allowing you to take corrective action faster. IPSs are essentially IDSs with the ability to block suspicious actions almost in real time -- Unfortunately, the cost of a false positive with an IPS is far higher than with an IDS (i.e. Denial of service).

    One problem with IPSs is that they open you up to a denial of Service attack of feigning a real attack == thus causing the IPS to lock down the 'attacked' service or machine.

    Application level firewalls have some nice things about them -- they make it harder to do things like buffer overflows on your system, but that doesn't mean that the 100% prevent someone from breaking into your system. As a worst case, their complexity is their Achilles heel. an attacker may find a way to hack the firewall itself then you're just a Owned as if they'd hacked your web server to start with.
    any salesman who tels you that an Application level firewall is so good that you no longer need a DMZ is just that -- a salesman who doesn't understand the principles of security and is spouting blather put together by their PR group to sound really good to a C[EFT]O who also doesn't understand the principles of security.

    To understand the principle of things like DMZs, consider the history of WW2 resistance cells. Having the resistance be one big group would have made administration much easier, but it would have made them vulnerable to infiltration by one or two German agents, or the capture of one or two leaders who knew who everybody was.

    Instead, The Resistance compartmentalized into small cells. Thus capture of even central leaders would only lead to the compromise of one or two cells, instead of an entire region.

    Similarly, DMZs and other functional groupings of your network mean that 'capture' of one section means that you don't have to worry about having your ENTIRE company to clean up. It also means that you (hopefully) have a bastion of (hopefully) clean systems from which to start your cleanup campaign.

    Depending on how big your network is, there are various ways of grouping things. For me, the minimal grouping would be:

    • Server DMZ (Internet facing servers). This both protects your inner network from 0wnership of your servers and protects your servers from 0wnership of your inner network.
    • VPN DMZ (how much do you trust all of your employees' home network? If they catch a virus on the road, you don't want your entire company 0wned.
    --
    Free Software: Like love, it grows best when given away.
  70. The real "greatest risk". by rindeee · · Score: 1

    I think the single most common point of "failure" is usually overlooked in IT security as it is in many security practices (asset, facilities, etc.). Security professionals tend to focus on the target and neglect the threat. With that in mind, it is important to realize that not only is the black-hat outside your network a threat, but so is the happless user who makes a poor judgement call and unintentionally opens up a window of opportunity for threat and vulnerability to come together into that lovely crescendo of "incident". Not to overstate it, but the "Human Factor" has to be the second place we look (do you trust the people in your house after you've gone in and locked the doors?). Over the years I have found the vast majority of "incidents" to be unintentional either in whole or at least in creation (but not exploitation). The ONLY way to overcome this is:

    1. Have a written security policy that EVERYONE is required to read, understand and sign.

    2. Enforce the aforementioned. Make specific people accountable for specific actions. Make bringing in your own Linksys WAP11 and dropping it on the LAN a terminable offense.

    3. Educate the end-users for God's sake. They have the power to make a mess of things. They don't have to be experts but they have to undertand that which they bear responsibility for.

    You are responsible for the hard core security (perimter, IDS, etc.) but the end-users are responsible for their part as well. If either party fails, everyone suffers.

    Just my two cents.

    ER

  71. Opening the company to copyright liability by yerricde · · Score: 1

    Companies are not going to jail their users, so the first one who wants to listen to mp3's or streaming music, up goes Real, or Windows Media.

    The problem with your reasoning here is that letting employees listen to most of the audio files available on various Internet services may result in the employees and the board members being tried for copyright infringement and going to a real prison[1]. Besides, there exist many purportedly-lawful[2] streaming audio services, such as MP3.com radio, that use HTTP on port 80 outgoing.

    You want to see the stock ticker from Bloomberg? Sure now you have multicasting crap.

    There exist stock tickers that retrieve data by pull, often via HTTP, rather than by push. If they need up-to-the-minute quotes, they shouldn't be day trading on company time.


    [1] Please do not respond along the lines of "copyright infringement is a tort not a crime" without having read 17 USC 506.

    [2] Some of these are Internet radio stations authorized by the recording artists. However, can these artists prove in court that they actually wrote the songs they claim to have written, as opposed to having some copyrighted earworm from 30 years ago pop into their heads?

    --
    Will I retire or break 10K?
    1. Re:Opening the company to copyright liability by WNight · · Score: 1

      This "your company is liable for your employees files" is bullshit. You're not liable if an employee brings a suitcase of drugs to work, nor are you liable if the employee sneaks into a back room to use those drugs.

      Further, you aren't even liable if you don't take any precautions to stop this. It's not your duty to stop this.

      In fact, your only liability could come from running scans, looking for MP3s, deciding they're not legit and then not doing something. Then you'd be in the position of having asked the employee for a glimpse into their suitcase, seeing the drugs, and then being obligated to report them.

      Ignore the possiblity. Post a rule saying "The company accepts no responsibility for any unauthorized modifications to your personal workstation - you retain sole responsibility for your actions despite using company equipment." It'll help you show that you didn't know that the employee was doing something possibly illegal and it'll keep you out of trouble.

      The only way in which an employer is legal responsible for the actions of their employees is when the employer authorized them (even implicitly) to do those things. If I damage something when installing our product on a customer site it's my company's problem. If I use the photocopier to print money, when they aren't looking, it's not their fault.

    2. Re:Opening the company to copyright liability by yerricde · · Score: 1

      The only way in which an employer is legal responsible for the actions of their employees is when the employer authorized them (even implicitly) to do those things.

      Doesn't opening a program's well-known port, while many other ports are closed, constitute such implicit authorization?

      --
      Will I retire or break 10K?
    3. Re:Opening the company to copyright liability by WNight · · Score: 1

      Technically, what I mean by authorized them implicitly, is that you're hired as a sales clerk and while your boss didn't say "you are allowed to sell the inventory of this company", he did implicitly authorized you to sell items with price tags on them.

      However, opening the ports for Kazaa (general purpose) would be different than opening the ports for Napster (music only). I don't think either is a direct violation, but the first is a lot easier to explain away.

      I think the situation most likely to occur though is that the company doesn't lock down outgoing ports for Kazaa and employees use it, with no interference, or help, from the company. In this situation it'd be pretty hard for the company to be blamed for the non-work actions (even if they occured while on the premises) of their employees.

  72. IPCop, was: Re:What about a small company? by Snooweatinganima · · Score: 1

    In order to secure a SOHO, it rarely takes more than IPCop has to offer. This is probably the best solution, having a restrictive firewall with an properly configured snort IDS behind...all accessible via a simple webbrowser. DMZs, Graphical Logs, included proxy, dial on demand...hell, even patching works via browser!

    I'm satisfied. Application Level Firewalls are useful when there's enough differentiated/sophisticated traffic to justify the ressources spent - and enough money to pay for them. For SOHOs it's just overkill.

    1. Re:IPCop, was: Re:What about a small company? by Snooweatinganima · · Score: 1

      oh, and I forgot to mention that all it took me to get it installed was a pentium120 Mhz with nothing but a floppy drive and two network interfaces. Should be in everyones financial reach :)

    2. Re:IPCop, was: Re:What about a small company? by Snooweatinganima · · Score: 1

      correction: it also got a 1,1GB hd. but thats about it.

  73. How to DoS an NT4sp4 machine by yerricde · · Score: 1

    We were unable to compromise or otherwise DoS either of the two NT servers with readily available exploit code for IIS or otherwise on either operating system.

    Couldn't DoS it? Have you tried posting the public URL of a page on the NT4 box to Slashdot? That will DoS it by simple network congestion.

    --
    Will I retire or break 10K?
  74. Re:ASIC app firewalls by AlphaSys · · Score: 1

    Check out FortiNet. They do seven layers, NIDS and antivirus all in ASIC (also BSD/OS based, I think). Very f'n cool.

    --
    Can I bum a sig? I left mine at the office.
  75. Firewall against the /. effect? by yerricde · · Score: 1

    might it be possible to train a firewall that certain types of DDOS attacks might be "bad traffic", such as repeated requests on certain ports, opening large numbers of http connections without continuing the transaction, etc?

    It would be perfectly easy for somebody to coordinate a DDoS attack on an HTTP server and still continuing the transaction. A 13-year-old could coordinate it (through his l33t n3tw0rk of Z0mBi3z), and so could Mr. Malda (the Slashdot effect). What firewall protects against simple congestion on the connection to the ISP from many outside sources whose IPv4 addresses show no distinguishable pattern?

    --
    Will I retire or break 10K?
  76. Riddle me this by AlphaSys · · Score: 1

    These "internet-accessible machines owned by the bank ... hosted in offsite colo facilities that have no direct connection to [y]our network" -- do they have sensitive/valuable data on them thet they publish to the world? If so, all you're saying is your megabucks employer trusts the colo's sysadmin more than he does you when it comes to securing his sensitive data.

    Colo's have DMZs and internal nets too, y'know. I have heard the argument far too many times: "I know how to secure it... we'll host it totally offsite and pay someone else to handle it!" While that may in fact mitigate the threat to your internal servers, very little is available to you regarding access to the servers in question.

    I personally like having all my servers located where I can physically touch them (and disconnect their cables physically if need be). Also, my IDSes and monitors get more of a sense of the rise and fall in the "noise floor" when they're all at home. Hearing this chatter is especially useful when the bottom's about to fall out on the next mega-worm, or even sooner when the real threats are probing for the exploits they have now and you don't get a patch for till two weeks hence.

    --
    Can I bum a sig? I left mine at the office.
    1. Re:Riddle me this by lelnet · · Score: 1

      >These "internet-accessible machines owned by the bank ... hosted in offsite colo facilities that have no direct connection to [y]our network" -- do they have sensitive/valuable data on them thet they publish to the world?

      Of course they don't. That'd be pretty stupid, unless we implemented similar security there. (At a commercial bank with retail clients, there's a need to have confidential information on machines with at least a tenuous connection to the web, so that customers can access their accounts through their web browsers. This is an investment bank...we don't have that requirement. :) )

      I'm not going to argue against outsourcing security to a colo provider...if the internal outsourcing plan and the provider's security are done right, it can be better than a lot of companies could hope to do internally. But like I said...this is an investment bank with gigabucks under management...they already have people who know more about security engineering than most slashdot readers (myself included) ever will, and so they're not outsourcing their security at all...just cleanly seperating the machines that contain no truly secret information (and hence can talk to the world and survive with only the standard level of protection provided by good a good sysadmin keeping on top of patches and enforcing secure password policies) from the ones that could sink the firm, cost our clients mind-numbing amounts of money, and possibly disrupt the global financial markets if they were penetrated by professional crooks (and hence require the best security that a big budget _and skilled professional planning_ can provide).

    2. Re:Riddle me this by Anonymous Coward · · Score: 0

      I personally like having all my servers located where I can physically touch them,(and disconnect their cables physically if need be)

      That's because you run windows and use PC servers.

      Sun machines, amongst others, have out of band out of line management processors that make remote management and physical proximity one in the same.

      If you've ever ripped the cables out of the wall, well, heh, I feel bad for whoever pays you.

      And what patch has ever taken 2 weeks on a known vuln.? You must be running windows servers.

      Your stories give you away as a IT plebian from some windows shop. Ancillary, anectdotal and vicarious. You dont do anything useful and are overpaid.

      - Tah.

  77. Application-level Security by bthomasmo · · Score: 1
    No, things haven't changed; opening and closing ports on the firewall was never the right way to do it. What's changed is that it's getting ever harder to pretend that it is.

    As other replies have pointed out, defenses must be layered. As I've said before, the presence of a wall around your city is not an excuse for not locking your front door. And even within our own homes, we have doors, sometimes with locks, between rooms.

  78. Wrong! Only one tier approach ever needed by Dark+Coder · · Score: 1
    The best approach to all of those dastardly h4x0r deeds is a single-tiered single-solution approach: IEEE 2200-200x, Standard for Baseline Operating Systems Security&#169 (BOSS&#169).

    Kinda like Tripwire , Symantec Anti-Virus, RedHat Enterprise Linux's dymanic relocatable address to fight worms, OpenBSD StackGhost and ZoneAlarm Firewall all rolled in one.

    Once implemented, we should see a dramatic change in the network security world; less IDS/IPS/IDPS business model.

    The last frontier would then be the social hacking engineering prevention.

    Mark Mah Words

  79. tcpwrappers is mainly a buzzword by autechre · · Score: 1

    A firewall doesn't have to be restricted to simply blocking/allowing certain ports. It can do rate limiting, logging, and other things that your network services may be unable to do themselves. Instead of re-inventing the wheel for every program, many authors choose to include tcpwrappers support. A packet filter can be viewed in a similar manner, except that your application doesn't even have to support it.

    Generally, I want it all: only enable those services which I need, lock them down as far as their own settings will allow, and then put a packet filter in front of them. Maybe they don't have the ability to restrict which networks/hosts can connect to them; the packet filter adds that ability. Or maybe they're badly written commercial software that can't turn off/restrict services on their own. Hopefully not, but there's some awfully crusty niche software out there, and some of it runs on NT4 to boot.

    That's not even addressing the needs of a location where you may not have control over your end-users' machines, such as an ISP or a college campus.

    --
    WMBC freeform/independent online radio.
    1. Re:tcpwrappers is mainly a buzzword by GNUman · · Score: 1

      I agree with you in the added functionality of a packet filter.

      One of the advantages I get out of mine was demonstrated with recent worms. I accept incoming tcp/80 connetions to a web server, and accept outgoing udp/53 connections from the same webserver (it needs to do DNS lookups once in a while), everything else is blocked (aside from some ICMP messages).

      What happened when worms came trying to get into my client's webserver, yes it turnet out it was vulnerable, however, the TFTP connection needed to "download" the worm itself wasn't allowed, thus no harm was directly done and gave my client time to patch his windows box.

      Though he usually complained that: "But I can't use MS Messenger on that server, the firewall won't let the packets out", my usual response is "You shouldn't be using MSN from there, that's why it won't let them out. I really really advice you to use your desktop for that".

      Only need to allow outgoing connections when he's ready to do his [rare] Windows Update.

  80. You are smart for asking about this... by Anonymous Coward · · Score: 0

    ... most of this information is available via google. Since it is scattered and very inconsistent, I will help you anyway.

    >As a Sysadmin, understanding network security is clearly an important part of my skillsets

    Absolutely. It is arguably the most important part of your skillset, especially if you don't have a network security director, and/or are involved in buying decisions.

    >Are network services becoming so complicated that application level firewalls (such as ISA Server) are absolutely necessary?

    It's not that the services themselves are becoming complex. The point you need to understand is that the type and variety of services available, some running on each other's ports, necessitates more than just port management. You need to be able to detect, for example, that kazaa is running and kill that traffic. Since kazaa uses port 80(or is it 8080?), and so do your internet browsers, you can't simply allow access to 80.

    You need to keep the AIM users from simply switching to port 21(ftp) and circumventing that rule you have about the OSCAR port.

    >Is the simple concept of opening and closing ports insufficient for networking services that require the client and server to open multiple simultaneous connections (both incoming and outgoing)?

    Absolutely insufficient.

    >has the paradigm of 'if you offer external services to the Internet then place those machines onto a perimeter network' been eroded?

    Not if you know what is good for you.

    >Are application level firewalls sophisticated enough to allow machines on your internal network to advertise services to the Internet?

    There hasn't been a piece of software written yet, that can't be comprimised. Advertising services from internal machines exposes software which may be vulnerable, to everyone in the world to run scripts against it.

    If they comprimise the software, they can oftentimes control the machine. If they control the internal machine, they are that much closer to either wrecking or stealing your information.

    Newer firewalls are smart enough to detect some of these attacks and drop the packets into bit bucket, but some things aren't necessarily detectable as an attack. Where there is a will, there is usually a way.

    >When is it alright to 'poke a hole in the firewall' to allow this? Personally, I think the answer is 'Never!' but perhaps I'm out of touch with current network security models.

    I will undoubtably be flamed for this, but your instinct is correct. There is almost always another way and if there is another way, you should not be exposing internal machines. If your software can't do without this two way internet firewall hole, you should find something to replace it.

    Where I work we have a one way trust. Internal machines can go out to DMZ and pick up messages, files, whatever. The DMZ machines cannot initiate contact with internal machines.

    This is accomplished through the magic of message queues. Explaining how this works is a bit much for this thread.

    To all of you exposing your databases on the internet and think I am full of it... I work at a bank. I think in banking terms when it comes to security. If you flame me as being paranoid, I will take it as a complement.

    When you get comprimised, and your customer's identitys (or yours from the HR database) get stolen, you will understand: )

    l8,
    AC
    Software Engineer/Software Security analyst.
    (yes I wear two hats. I work closely with our security director)

  81. You're not out of touch, the model is inadequate ! by cannewbie · · Score: 1

    Although there are some excellent points raised here by some extremely knowledgeable people, I think the status quo is too complex. The average sysadmin/security tech today is dealing with: numerous security applications, which may or may not be compatible with each other and ultimately may compromise the actual business model of the enterprise in the name of security; careless and reckless human behavior; and what I call the patching polka and the intrusion detection dance, just to keep their heads above water in an imperfect system that can't be guaranteed 100% foolproof. No wonder security people/admins are overwhelmed! I'm helping a small startup that has come up with a new approach to Security. The developer has found a way to convert any stock Linux system into a manageable trusted operating system, complete with mandatory access controls and fine-grain auditing of all system users, in literally minutes. This advanced security system, called Praetor, protects against external and internal threats, and uses pre loaded templates and an interactive GUI, so is a real time saver. It seems to me that this system could act as a last line of defense, as it protects the core of the system, and augment any other security system. The more I learn, the more I am thinking of getting even more involved. Can anyone tell me if there is potential in a product like this? Check it out at www.googgun.com. (Warning, the system is commercial and only works with Linux)

  82. why WEP? by Anonymous Coward · · Score: 0

    Granted, it's better than nothing, but it can be broken quite easily (I'm sure you already know of some of the open source WEP cracking tools, heck even on a 486 in reasonable time now). I'd use WEP, sure, but I feel better in starting with a default deny policy, good rules for keeping state of each connection, and then only allowing access by MAC. Once more, NOTHING is a panacea, this is all just part of a process....but if we're giving advice, let's not pretend WEP is really that good on its own.

  83. Internet Security by freebase · · Score: 1

    You have to consider each piece individually. Trusted users are one component, Untrusted users that still need access to internal resources are a component, Untrusted users that need access to public (Internet) resources, and third party connections (VPN or hardline).

    In reality, you should have very few trusted users, mostly sysadmin types that need all access, and these folks should be authenticating to something everytime they need to use an all access connection. Most users should be untrusted, and as such I would consider using something like an SSL VPN/Reverse Application proxy cluster.

    The untrusted user's connection would terminate on the SSL device and the SSL device would initiate the internal connection. This would help remove the risk of infection, among other things. This SSL device would be located in a DMZ network (between two firewalls) so that only the SSL device had access to the internal network, and only on ports that you specifiy based on applications you publish. There are some devices on the market that will allow you to initiate a Windows Terminal Services session, or even an X session with an internal host, adding another layer of security (also complexity, latency, etc).

    Third Party connections should have a DMZ of their own. VPN connections should be terminated on devices between two firewalls (consider it a b2b dmz) to allow access only to resources absolutely critical to that partner.

    And of course, for "Public Resources", or those generally accepted to be accessible by anyone from the Internet, you need to construct a dmz arraingement. Allow from the Internet the ports required to provide the service being published (http/https only, for example), and only to hosts in the dmz. Generally, try to construct applications on a push/pull basis so that all connections between dmz hosts and internal hosts are initiated by the internal hosts.

    If you do this, use a general attitude of deny any any unless there's a damn good business case, and pay attention to patches, updates, etc. you should be ok.

    --
    Sig??? I don't need no stinkin Sig!
  84. Being a BOFH when it's not SECURITY'S interest... by StarKruzr · · Score: 0, Flamebait

    ... is a "bad thing."

    For Chrissake, lighten the hell up. Work is boring. There's a lot of people out there who are extremely overqualified for their jobs who could do them in their sleep, but cannot find anything more challenging because the market sucks.

    Can you blame them for wanting to IM/surf? As long as this behavior doesn't expose the organization to network security holes (sorry, but exchange of text doesn't cut it), what is the BFD?

    Rather than make blanket statements of "if it isn't absolutely NECESSARY to be on, it's off," why don't we actually do our jobs as sysadmins and actually investigate whether or not a given service will cause problems when being used?

    --

    +++ATH0
  85. DRM? by yerricde · · Score: 1

    I used Google to try to learn what "mandatory access control" means, and unless I'm reading this result wrong, it seems to have something to do with digital restrictions management.

    --
    Will I retire or break 10K?
    1. Re:DRM? by Courageous · · Score: 1

      No, it's not DRM. And what you read wasn't half bad, only you have to know how its realized in a security context. Basically, you not only decide which objects can be accessed by which classes of entities, but you then likewise decide (on an inclusion only, not exclusion, basis) which entities can access which objects.

      For example, I might decide that the only valid files that httpd can "see" are "/etc/a" and a few others. From that point forward, even if someone gets full "root" access to httpd, they cannot, by any act of god do anything more than access /etc/a. A good example of this, commercially, is the Guardian Digital product.

      N.B., some "illities" that one might want to restrict would be things like preventing access to raw ip packets and the like. It really just depends on what atoms you put in the kernel.

      SE Linux (NSA Linux) does something similar, although it's much harder to configure.

      Guardian Digital also has a free version available for download, BTW.

      Anyway, MAC systems tend to be "unbreakable" (ah, sic!) unless they are brought down into system configuration mode, which is usually below run level 3.

      C//

  86. BRC by Anonymous Coward · · Score: 0

    I haven't seen many people touch on a Recovery Plan.
    Not every solution is going to be water tight, and even then you can be compromised. True, protect your network the best to your abilities. If you over-kill, you'll have the users mad at you for killing bandwidth, but you'll sleep better at night. However, What if something devestating does get through? Do you have a good backup plan, is the CEO's and other VIPs PST files for Outlook backed up? If you walk into the office tomorrow to find that someone physically stole all of your computers, the place burned to the ground, etc., can you safely say that you can recover all that data? My 2 cents anyway.

  87. very few people understand "real world" sec by Anonymous Coward · · Score: 0

    I read about people saying that ssh, firewalls, ids, etc.. are an absolute must for any serious setup. I agree sort of.

    Many of you probably dont hack. You dont audit source code for your own unique hole. Dont consider finding a local linux bug on redhat like a chess game. (sudo).

    So say you setup this secure crazy lan that no one can hack. That is with publically known bugs.

    So you just stopped 99.99999% of people from a remote hack. Now, for true remote, there are a handful of ppl left world wide who can find bugs in serious open source software and code the sploit for them.

    You are not going to stop them anyway. So you just spent $$$ to stop children. When patching your damn daemons would have done it too.

    Oh yea, i want a firewall upstream of my lan. fuck having it at the tail end of the t3. now that would be something. no calling for ddos on my dialup :/

    m

  88. / barra; . punto by Anonymous Coward · · Score: 0

    vayase a barrapunto, por favor

  89. Application Security is a must by collinl · · Score: 1

    The issue is that treating the problem of security at 2 levels (network and application) is flawed - each specialist area thinks the other is doing everything.

    The real goal OMHO is to dumb down the need to network security (i.e. stick to firewalls, routing controls and simple protocol checks) and boost security at the application messaging layer.

    The 3As (authentication, authorisation, accountability), confideentility, integrity and content inspection/management are a must.
    SSL, SSH and VPNs et al don't enable any of these attributes at the application layer.

    For those wishing to transform themselves into viable internet entities ffrom the early adopter mmodels, look for application level security tools.

  90. quite a problem, isnt it! by mattvirus · · Score: 1

    There were some very smart guys about 30 years ago who "knew" security.

    They had it figured out. It came down to a secure kernel, and from that secure kernel they developed a reference monitor model and successfully tested this model in Multix.

    Another good read, google for "What is there to worry about? An introduction to the computer security problem?" -- by Brinkley & Schnell

    Some of the guys who knew what this game we call security is all about are:

    Willis Ware
    Donald Brinkley
    Roger Schnell
    Ross Anderson

    Now this does not directly answer your question...but these guys say that a firewall SHOULD NOT run at the application level. Certainly the material changes the way we as Info Sec, Info Assurance, Info Tech. professionals THINK about security...

  91. ISA Server by mrfaedar · · Score: 1

    Only application level firewall I have had to work with is Microsoft ISA Server. And from experience I can say that it is too "easy" to use and doesnt offer the features of a real firewall. By using ISA you are expected to use NAT and you cant even do one-to-one IP mappings. MS can do a lot of "nice" things with ISA, but really ISA is Microsoft's first try at firewalling and you can see it lacks many features a real firewall would have. Dont be fooled by all the gizmos of ISA Server. Yes it's easy to use, but that doesnt mean everyone and their mother should setup one cause it looks like friendly Windows UI program and is easy.