SCF Advanced Search



Members
  • Total Members: 14197
  • Latest: Levine
Stats
  • Total Posts: 43453
  • Total Topics: 16545
  • Online today: 2935
  • Online ever: 51419
  • (01. January 2010., 10:27:49)
Users Online
Users: 4
Guests: 2881
Total: 2885









Author Topic: Three top firewall tuning tips (configuration for company firewal)  (Read 19561 times)

0 Members and 2 Guests are viewing this topic.

Samker

  • SCF Administrator
  • *****
  • Posts: 7529
  • KARMA: 322
  • Gender: Male
  • Whatever doesn't kill us makes us stronger.
    • SCforum.info - Samker's Computer Forum


If you installed your company firewall months or even years ago, you probably were more focused on just getting the thing in and making it work. Now that you've got some experience and confidence with your firewall, you should take advantage of the slow days of summer to revisit your configuration and see if there is room for a tune-up.

Every firewall is different and has different capabilities, but let's take a look at three common areas that don't get any attention when you're in a hurry -- but which can improve your security and security awareness.

  1. MONITOR AND BLOCK OUTBOUND NETWORK TRAFFIC
      Most companies operate on a fairly relaxed basis, with a security policy that follows the "nothing gets in but anyone can go out" model. When you're getting started, this is the fast path to success. Once you're set, though, it's time to revisit this policy. In large enterprises, all outbound traffic is strictly controlled, and typically forced through a proxy server of some sort to provide content filtering and threat mitigation (such as antivirus scanning). You may not need that in a midmarket network, but you probably are letting more traffic out than you should.

      The easiest example is outbound SMTP (email traffic). In a typical company, the only system that should be legitimately sending email from the company network is the company's mail server, whether Exchange or some other product. There's rarely any reason to let people inside the network make outbound SMTP connections directly from their desktops or laptops. The biggest reason to block outbound SMTP traffic from end users is to block infected PCs from acting as spam robots. One of the main reasons hackers want to infect PCs is to turn them into robot armies (usually called bots).

      If you block outbound SMTP traffic from all but your official email server, you'll help to neutralize the negative effects from infected PCs. And, if you follow my next step, you'll get an early alert when one of the PCs on your network is infected.

      Controlling outbound email is the low-hanging fruit, but there are other benefits to being stricter on outbound traffic. Should people be using your internal DNS (domain name system) or NTP (network time protocol) servers? If so, then block that outbound traffic to help enforce proper configuration. Do you have devices such as printers or UPSes that should never be talking to the Internet? Block outbound traffic from that portion of your network, and you'll tighten your security profile.

  2. SYSLOG FILTERS CRITICAL FIREWALL LOG DATA
      Firewalls generate tons of data about what's happening on your network, and chances are you aren't looking at any of it. The reason is probably pragmatic: you can't sort out the wheat from the chaff. What's interesting, and what's not? What should you look at and what can you skip?

      You have two options here. One is to tune the firewall itself, so that it only tells you about what's interesting. That may work, and it may not --most firewalls, in my experience, have insufficient knobs to limit the logs to the interesting stuff. The other option is to send the traffic to a tool, such as a SYSLOG server or SEM (Security Event Manager), and then further filter the traffic so you only see what is interesting to you.

      Telling you to install a SEM is probably counter-productive right now, although SEMs are a great way of filtering your security logs. So I'll suggest putting in a SYSLOG server and then writing filters for the interesting traffic. For example, you don't want to see "denied" traffic incoming to your network, because you have that kind of traffic all day long, there's nothing you can do about it, and it isn't worth looking at. However, you definitely do want to see denied outbound traffic because that indicates a problem, such as an end user who isn't following policy, someone inside your network behaving badly, or an infected system.

      In the same vein, look for alerts, such as reaching limits of sessions or memory (typically a sign of an infected system generating massive outbound traffic), denied logins to the firewall from the inside, and any other kind of severe error message your firewall has generated.

      The easiest way to trim this traffic is to summarize it all and then start writing filters to drop out the information you know you don't want, such as allowed connections that are following security policy. After a few hours of looking at logs and dropping the uninteresting parts, you'll find that the unusual and worthwhile information pops out at you quite quickly.

  3. RATE LIMITING CONTROLS EXCESSIVE INBOUND, OUTBOUND TRAFFIC
      Most firewalls have some sort of denial-of-service protections, also called rate limiting. These features keep track of the velocity of connections through the firewall and can limit future connections when the traffic is excessive. Usually firewalls have different limits for inbound and outbound connections, as well as different types of connections (such as UDP connections, typically for tools such as DNS, or TCP connections, which would be more common in email and Web traffic).

      For example, a midmarket company's mail server might see about 1,000,000 incoming (from the Internet) connections a day, counting spam connections, if each of 1,000 employees received 100 messages a day. (Your email server logs should tell you the correct number; I'm just using 1,000,000 as an example.) That's about 10 connections per second. Set your firewall to block more than 20 incoming connections per second and you can both cut down on the amount of spam you get (since spammers often hammer mail servers when they're delivering their evil payloads) and ensure your own mail server doesn't get a sudden burst of mail it can't handle.

      Very high outbound connection rates are another potential sign of problems, since infected desktops and laptops often have very high connect rates towards the Internet as they attempt to re-infect or attack other companies. Using the built-in limiting features of your firewall to help block peak connections both inbound and outbound can shield you from inbound attacks and alert you when internal users are misbehaving, whether intentionally or because of a virus infection.

(SearchSecurity)

Samker's Computer Forum - SCforum.info


vtestv

  • SCF Newbie
  • *
  • Posts: 6
  • KARMA: 2
Re: Three top firewall tuning tips (configuration for company firewal)
« Reply #1 on: 18. November 2009., 15:05:44 »
I agree with using a SYSLOG server. This is easy to setup but filtering can be a crime to setup / tune. If you have several different devices sending all kinds of a alerts to this SYSLOG server you can easily lose track what is critical and what not.
Therefor if anyone has a recommendation for a free Linux apps which will help in setting up filtering the syslog let me know. Preferable with a web based interface as well.

enloe101

  • SCF Member
  • **
  • Posts: 15
  • KARMA: 1
Re: Three top firewall tuning tips (configuration for company firewal)
« Reply #2 on: 22. November 2010., 05:27:19 »
thanks for the info

necrodiver

  • SCF Member
  • **
  • Posts: 26
  • KARMA: 4
Re: Three top firewall tuning tips (configuration for company firewal)
« Reply #3 on: 28. November 2010., 09:23:23 »
Interesting Info ~
*necro just lvlup in firewall information* hahahha

Compstuff

  • SCF Member
  • **
  • Posts: 35
  • KARMA: 3
Re: Three top firewall tuning tips (configuration for company firewal)
« Reply #4 on: 18. January 2011., 15:41:07 »
very nice

Samker's Computer Forum - SCforum.info

Re: Three top firewall tuning tips (configuration for company firewal)
« Reply #4 on: 18. January 2011., 15:41:07 »

MelissaLiberson

  • SCF Hero Member
  • *****
  • Posts: 1187
  • KARMA: 22
  • Gender: Female
Thank you for sharing it's great

Samker's Computer Forum - SCforum.info


 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
Second Anti-Bot trap, type or simply copy-paste below (only the red letters):www.codekids.ba:

Enter your email address to receive daily email with 'SCforum.info - Samker's Computer Forum' newest content:

Kursevi programiranja za ucenike u Sarajevu

Terms of Use | Privacy Policy | Advertising
TinyPortal 2.3.1 © 2005-2023