powerpoint
Upcoming SlideShare
Loading in...5
×
 

powerpoint

on

  • 539 views

 

Statistics

Views

Total Views
539
Views on SlideShare
539
Embed Views
0

Actions

Likes
0
Downloads
14
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • This is what we are up against as firewall administrators. Firewalls will have to be configured to allow some traffic to pass through it. Attackers will use these holes to attempt to gain unauthorized access to computers on your network. So why bother using firewalls at all?
  • Practice a layered approach to security, with firewalls being just one, albeit fundamental, role in your security strategy. They do stop a good number of attacks, and make out jobs more defined. For example when you open holes in your firewall pay special attention to which services and machines those hole correspond to. Patch those holes first, make certain your Intrusion Detection system is monitoring those services, and if you can help it make sure those services use secure protocols and strong authentication. Firewalls are just like other systems, they have security holes themselves, yet another reason why they should not be your first line of defense. By far the greatest downfall of firewalls is the human factor. When a firewall fails to do its job its most likely due to the firewall administrator not paying attention or not following the proper firewall guidelines. Always test the rules you put in place and audit your firewall rules on a regular basis, making sure that you are really blocking what you think you are blocking.
  • The DMS is a powerful concept when implemented correctly. Firewall collect a large amount of useful information and can provide an early warning service. Firewalls are targets just like your systems, and should be configured accordingly. Many management protocols are weak when it comes to security, and VPN is one way to counteract this.
  • The DMZ (or DeMilitarized zone) is a zone or area off of your firewall that is separate from your local network. Machines that need to communicate with the Internet (i.e. web servers, ftp servers) are usually placed here. There is a separate firewall policy that protects the DMZ.
  • Only allow the services that are required. This example is a pretty easy one, HTTP and HTTPS are used for web communications and run on TCP ports 80 and 443. Sometimes you may have to open an application to the Internet that is not well documented, making the task of determining which ports to open all that more difficult.
  • If your web server is compromised you don’t want it to start attacking your local network. The DMZ configuration allows you to contain the vulnerable servers, and prevent a compromise from spreading. Also, you must allow the local network to connect to the web server, using a secure protocol such as SSH.
  • This one may take some convincing of you developers and systems administrators. In all reality your web servers do not need to connect out to the Internet . If one becomes compromised the first thing an attacker is going to do is download some malicious code (root kit, backdoor, sniffer, etc..). You can prevent this by not letting you web server connect to the Internet. This makes patching a little more difficult. Patches must be downloaded by another system, then copied to the web server. Numerous attacks have been (and many could have been) prevented if this simple rule was in place.
  • Firewalls have the ability to provide valuable information in the form of logs. It is important to review these logs on a regular basis to see who is trying to penetrate your network and how. Portscanning is more than just noise. Many people ask after they have been compromised, “How did they find my server”. The answer is portscanning, so be aware of your environment and know what people are looking for. Certain rules provide more useful information, such as the rule that logs traffic from the DMZ to your network. This is a low traffic rule that should be monitored closely.
  • We have approximately 90mb/s of Internet bandwidth, with plans for more. We are scanned hundreds of times per day. The logs from just a few weeks of traffic contains over 30,000 packets. So how do we make this data work for use? If there is only time to secure one application this week, choose the one people are actively scanning for, not the one that has no known exploit. Zero-Day attacks happen, but it is more likely that you will be compromised with an older vulnerability. Sometime portscans are down right intrusive, so don’t be afraid to block them for a while (a few hours, a day, a week) until the scanning stops.
  • So where do we put our focus with regards to security? Hey, secure you web servers man  And when that’s done lock down and patch those SQL servers and turn off NetBIOS.
  • If a server in the DMZ attempts to connect to the Internet, or even worse to your local network, you want to be notified ASAP. Email is a great way to do that.

powerpoint powerpoint Presentation Transcript

  • Firewall Tips & Tricks Paul Asadoorian Network Security Engineer Brown University November 20, 2002
  • Holy Firewall Batman!
  • Defense in Depth
    • Firewalls mitigate risk
    • Blocking MOST threats
    • They have vulnerabilities as well
    • Improper configuration is the largest threat
  • Tips & Tricks Outline
    • Using the “DMZ” to your advantage
    • Firewalls as Intrusion Detection devices
    • Configure VPN’s for management
  • The “DMZ” Configuration
    • Separate area off the firewall
    • Usually a different subnet
    • Commonly used to house Internet facing machines (i.e. Web Servers)
    • Has its own firewall policy
  • The “DMZ” Configuration
    • Place web servers in the “DMZ” network
    • Only allow web ports (TCP ports 80 and 443)
  • The “DMZ” Configuration
    • Don’t allow web servers access to your network
    • Allow local network to manage web servers (SSH)
  • The DMZ Configuration
    • Don’t allow servers to connect to the Internet
    • Patching is not convenient
  • The DMZ Configuration
  • Firewalls as IDS
    • Collect log information from the deny rules
    • Find Portscanning, hacking attempts, etc…
    • Isolate traffic with deny rules helps cut down the information overload
  • Firewalls as IDS
    • What to do with ALL that data…..Graph It!
    • Shows trends, what people are looking for
      • Helps prioritize security tasks
    • Occasionally you may want to block portscans
  • Firewalls as IDS Data collected from July – August 2002, Brown University Network
  • Firewalls as IDS Data collected from October – November 2002, Brown University Network
  • Firewall as IDS
    • Pay close attention to traffic leaving DMZ
    • Often the first sign of a compromise
    • Low traffic rules, so logs aren’t as enormous
    • Email is nice, provided you’re the only one reading it
  • Firewalls as IDS
    • Ways to accomplish alerting:
      • Swatch
      • http://www.oit.ucsb.edu/~eta/swatch/
      • Logsentry
        • http://www.psionic.com/products/logsentry.html
      • Alert.sh (Firewall-1) http:// www.enteract.com/~lspitz/intrusion.html
  • Firewall as IDS
    • Date: Wed, 31 Dec 1997 15:40:01 -0600 (CST)
    • From: [email_address] To: [email_address]
    • Subject: #### Firewall ALERT ####
    • You have received this message because someone is
    • potentially scanning your systems. The information
    • below is the packet that was denied and logged by
    • the Firewall. This is email alert number 3, with a
    • limit of 5 from evil.example.org.
    • ----- CRITICAL INFORMATION -----
    • Date: 31Dec1997 Time: 15:39:59 Source: evil.example.org
    • Destination: ns1 Service: domain-tcp
    • ----- ACTUAL LOGENTRY -----
    • 31Dec1997 15:39:59 drop fw1 >elx0 mail proto tcp src
    • evil.example.org dst ns1 service domain-tcp s_port 37401 len 44
    • rule 6
  • Configuring VPN For Management
    • VPN is far more secure than other management methods:
      • SSL and SSH are vulnerable to Man-In-The Middle Attacks
      • Telnet and SNMP are clear text
      • There are no known MIM attacks against IPSEC (Yet)
  • Configuring VPN For Management
    • VPN clients are supported on most platforms
    • Most firewalls will work with most clients
    • Netscreen now officially supports FreeSwan
    • Mac OS X is now supporting VPN
  • Useful Links
    • http://www.enteract.com/~lspitz/ - Lance Spitzner’s Web Site
    • http://rr.sans.org/firewall/blocking_ipchains.php - Guide to blocking ports
    • http://rr.sans.org/firewall/index.php - All sorts of good stuff