|
||||||||||||
| |
IntroductionThe past two articles have been about some ideas from Cisco
and elsewhere for using network devices to help deal with viruses and
worms. We've suggested that peoples' perceptions and approaches have
changed. There is not only an increased emphasis on security, but new
techniques, new
concerns, and a broad interest in new tools. The previous two articles in this series are:
In this article, we're going to look at Security Best
Practices. This is a huge topic, so the end of the article will
contain the usual
collection of good links, representing some of our sources of
information, and locations where you can get more good information. We'd also like to note that one very important Best Practice
is to regard security as part of your daily business practices. See the
forthcoming article by Carole in Cisco's Packet magazine. (Link not
available yet).
Changing TimesWe'd like to revisit a couple of themes briefly. As we've noted, people's thinking about security is changing.One theme is what might be called "Classic Firewall Design"
(and changes to it). The idea to Classic Firewall Design is roughly
that you have some sort of perimeter which is guarded. Some people have
done this with the true classic approach, a couple of firewall entry
points, well-guarded. Others have scattered firewalls about all their
external entry points, which begs the question, is it an architected
design or a quick fix? We question the wisdom of having many points of
entry to the network, especially managed by different groups. It's
better than nothing. It's reasonable as an intermediate state. But it
may not be where you should wind up for the long term. Having said that (and perhaps offended a few), the Classic
Firewall Design is the hard shell around the soft chewy middle. This
design model can unravel in various ways. One situation that causes issues with this design model is if
different groups wish to share links but remain isolated from each
other. There's a tension there: networks are about connectivity, and
security is to some extent about denying connectivity. You'd like to
share a link, but if you do, you share security and access (or have to
maintain lots of access lists). One solution is to use MPLS for isolation of routing even when shared links and routers are used. Large organizations with parallel links and routers owned by different Business Units but in common locations might want to consider moving to an MPLS architecture to cut WAN and support costs, and simplify routing. The second change to the Classic Firewall Design stems from recent infestations of viruses and worms. The recent worm storms were often caused by laptops importing the problem into the corporate environment. The Classic Design is static, assuming the enemy is outside. You can think of it as a castle wall and moat. But if somebody inside opens a door to the enemy, or if there is a turncoat within, the enemy gets free run of the interior.Consider that classic
castles had separate compartments to them, so that even
if the enemy breached parts of the castle, the remainder might be
defended (probably with a diminished number of combatants). Does
your network have internal barriers so that the enemy within only gains
partial access to the interior? We also now see an emphasis on what might be thought of as
security
and id checks at the gate: virus scanners, personal firewall
enforcement, and so on. Some related links are in the following table. Cisco CSA has been receiving a lot of customer interest lately. The Network Admission Control program shows Cisco was listening to customers saying they needed control of what connects to their network (and seeing that it may work better if it is not purely an end-system software solution).
Perhaps security designs should also include some common sense access lists and controls, recognizing that employees in most cases do not need to send all types of traffic to any other location in the network. (Exception: IP telephony and other peer-peer networking tools). Up FrontOk, so what are some up front best practices that you should implement? The following are some of the things you should be considering:Tripwire. After you've been hacked, it may be hard to confirm what, if anything, has been compromised. Products like Tripwire (commercial or freeware version) snapshot the clean state of the system using file checksums. You can then re-scan after compromise and see what's changed. Otherwise, the only way you can be really sure the system is clean is to rebuild it from scratch or from backup, both of which are time-consuming. Pre-scan servers. If you use "netstat -a" and/or nmap to scan your servers or systems for services and open ports, then you have a baseline. You may also notice any unnecessary services that you can permanently disable. Trojan horse programs, keystroke loggers, and other malware may want to make themselves available for the hacker to access from outside, or they may connect to an external system, perhaps to send email. Scanning for open ports and comparing with the baseline shows any permanently open connections. Unfortunately, intermittently open ports may not be caught by this. Still, doing this catches all but the more competent malware programs. Shut down unnecessary services. Services you don't use and don't secure are a compromise waiting to happen. Shut them down!Understand applications/data flows.
If you understand the use of applications and the data flows within
your organization, and manage to that, you'll be in much better shape.
This is useful for other things as well: capacity planning, and QoS
policy determination and implementation. If you don't know how your
network is being used, you don't know what to expect, how to secure the
internal network, nor how to spot traffic that does not belong. Take
some time and start getting to know your network. If multicast is
enabled, find out what that mysterious multicast traffic is (most
networks have some). Policy. Do you have a
security policy? Is it readable? Have you put it out where your users
can read it? Do you remind them to read it periodically? Is an
educational effort being made to get employees to understand the
policy, buy into it, and be security-conscious? Or does your staff use
common words or names as passwords, write them down, give them to
unidentified persons on the phone, etc.? Does your staff understand the
consequences for the company if security is violated? Can they readily
describe actions they might in good faith take that might compromise
security? Are the personal consequences for those who get sloppy? If
you answered "no" to a few of these, you can throw all the technology
you want out there, and you still won't be secure. People and policy
and education are important for security! Risk Analysis. Have you thought about security priorities: risk analysis? What's a hacker most likely to target? What does the most harm if compromised, altered, deleted, published to the outside, or copied to the Internet? What systems produce the most value to the organization, or would cost the most to restore or replicate? If you haven't at least thought a little bit about this, you're shooting in the dark. It's better to look at your budget, allocate it across gaping holes and high risk items, and work with upper management on what you can't cover. Either you get the budget or you're covered if something in the "B list" gets hacked. Incident Planning. Have you thought about what you'd do if hacked? Pulling the plug on the Internet or server farm may well not be the answer: it is a self-inflicted Denial of Service. What's the information and approval chain for the various kinds of security events? How and when do you protect evidence? What are recovery priorities? How is the decision about involving legal authorities made? Who would you contact if you do wish to pursue civil or criminal legal recourse?Disaster Recovery and Business Continuity. How
thorough is your DR and BC planning? It doesn't do any good if the
backup servers are up and humming at Sungard or wherever, if there's no
place for the staff, phones, desktop computers, and so on. If you
cannot connect users to DR site and/or the rest of the corporate
network with adequate bandwidth, there's also a problem. DR planning is
a team effort, and each fiefdom can't just say "our piece is done"
without working with the others. Network and Application Architecture. There is still a lot of accomodation of the existing infrastructure, both as far as network/firewall/DMZ, and as far as just opening ports in the firewall for whatever applications are deemed needed on the outside, by business partners, etc. This is often due to junior network or server security staff being over-ruled for the sake of revenue. Revenue is pretty important, it's what pays the rent. But if you just keep opening holes in the firewall, you end up with a sieve, not a firewall. Really, each application should be planned for how it fits into the network, into the security architecture. And long-term planning should be considering minimizing the applications and exposure to the Internet and business partners. For example, the crudest approach is to allow business partners right through the firewall and to the same servers as the rest of the business uses. A more secure approach might be partners to use an HTTPS server in a DMZ, with some form of authentication (vary depending on what level of security is appropriate). The partner would then run an application or use web forms on the HTTPS server, and only that server would be allowed through the inner firewall to the actual database servers or mainframe. Costly, yes. So maybe it doesn't happen overnight. But the alternative is trusting the security of all your partners. If you know your firm has cut some corners, what are the odds a business partner has cut even more corners? Use the DMZ. This one may sound a bit silly, or not worthy of mention. But we've seen some sites with a fine firewall and DMZ, but where the actual servers haven't yet been re-located to the DMZ. We're all short on time. This is something that needs to happen ASAP. You may feel that you don't have the time. But the alternative is having to make the time when valuable data, credit card info, or customer information goes out the door. Possible with economic or image or other damages accompanying them.WLAN Security. This is a big
topic. Suffice it for now to say that physically limiting signals is
hard and doesn't work at all well. And WEP is inadequate for corporate
security. You need to design for WLAN Security, see Pete's seminar and
article on this topic, at http://www.netcraftsmen.net/welcher/seminars/wlan-security-02.pdf. You also cannot refuse to play. If you don't get out in front on implementing a secure WLAN, and promulgating a WLAN security policy, others with deploy rogue WAP's. And then you almost certainly will have the equivalent of the proverbial "Ethernet jack in the parking lot" for security. Work Together. It's becoming more clear that no one group can do it themselves. Nor can you stick your head in the sand and say "I've secured the network, and it's up to somebody else to secure the servers". Security is as good as the weakest link. And there are some aspects that are best handled on the computer side of things, and some best handled on the network side of things. If all the teams work together, you'll have tighter security and less work all the way around. Start talking to folks in the corporate security, network, server, desktop, voice, and other teams! Believe it or not, they're nice folks too, and just trying to do their job as they see it!Host Computer Best Practices
Most companies require a virus
scanner. Automated signature updates are good, but the worms and virii
are now spreading too fast to count on those. So some are now
considering the HIPS, see above. The point is to protect the system
without relying only on signatures. A personal firewall is an
alternative. WIth both, some end-user education has to be done. |
| Nessus |
http://www.nessus.org/ |
| Center for Internet
Security |
http://www.cisecurity.org/ |
| Nmap port scanner |
http://www.insecure.org/ |
| Insecure.org's
tools page -- lots of good links! |
http://www.insecure.org/tools.html |
| Commercial,
supported version of Tripwire |
http://www.tripwire.com/ |
| Free version of
Tripwire 2.2.1 (10/2000) from Tripwire Inc. |
http://www.tripwire.org/ |
| SourceForge
Tripwire Project |
http://sourceforge.net/projects/tripwire |
We're big fans of
minimizing the firewall count, and putting them under common control.
See above. If there are many firewalls, how do you know you've got all
the external connections really covered? How consistent is the
deployment of security to the firewalls? How consistent and robust and
easy to troubleshoot is the routing and external connectivity? If
various application groups have been attaching their firewall sandwich
designs to the network, and they're all different from each other, then
you've got a problem. It's costly to support and troubleshoot all those
different approaches. Was the network team involved in the design and
planning?
Readable access lists. The
PIX now supports class-oriented ACL's. CiscoWorks ACLM tool does too.
You can make your long access lists much more readable and maintainable
with such tools. Consider moving to them if you have not already done
so!
The
following are some Cisco links we hope you'll find useful. Note that
the ISP article has numerous good ideas for enterprises to follow too,
especially larger enterprises.
| Improving
Security on Cisco Routers |
http://www.cisco.com/en/US/tech/tk648/tk361/ technologies_tech_note09186a0080120f48.shtml |
| Virtual
LAN Security Best Practices |
http://www.cisco.com/en/US/products/hw/switches/ps708/ products_white_paper09186a008013159f.shtml |
| Catalyst 4500
Security Features Best Practices for Cisco IOS Software-Based
Supervisors |
http://www.cisco.com/en/US/products/hw/switches/ps4324/ products_white_paper09186a00801b1d13.shtml |
| Best Practices for Catalyst 6500/6000 Series and Catalyst 4500/4000 Series Switches Running Cisco IOS | http://www.cisco.com/en/US/products/hw/switches/ps700/ products_white_paper09186a00801b49a4.shtml |
| Essential IOS Features Every ISP Should Consider | http://www.cisco.com/public/cons/isp/documents/IOSEssentialsPDF.zip |
| Cisco Enterprise: Network Security | http://www.cisco.com/warp/customer/779/largeent/issues/security/ |
| Cisco Enterprise: Network Security - Cisco SAFE | http://www.cisco.com/warp/customer/779/largeent/issues/security/safe.html |
Some of the sections from that document:
| NSA Router Security
Guide |
http://nsa2.www.conxion.com/cisco/download.htm |
| CIS (see links for
free system and router security tools) |
Center for Internet Security |
| Nessus (ultimate
free system security scanner) |
http://www.nessus.org/ |
| SANS Institute
(security training, etc.) |
http://www.sans.org/ |
| CERT Coordination Center | http://www.cert.org/ |
| CERTŪ
Guide to System and Network Security Practices (book link and online
HTML documents) |
http://www.cert.org/security-improvement/ |
| Counterpane |
http://www.counterpane.com/ |
| Counterpane:
Crypto-Gram (Free Newsletter) |
http://www.counterpane.com/crypto-gram.html |
| NFR Security Inc. | http://www.nfr.com/ |
| TrustWave |
http://www.trustwave.com/ |
| Al Berg.Com |
http://www.al-berg.com/ |
| InfoSysSec (portal, articles, magazine list, etc.) | http://www.infosyssec.org/ |
Here's a high-level sequence of steps to take.
If you're in a hurry, you might consider the new Cisco
feature, autosecure.
This secures your Cisco devices in a hurry. The
potential issue is that it also turns off features needed for scalable
management. Still, looking at what auto-secure does is a good way to
examine your options as far as "locking down" your routers. Just make
sure you and your management understand that beyond a point, such
lockdown comes at a high cost increase due to more difficulty managing
the equipment. For more about autosecure, see
http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_feature_guide09186a008017d101.html
Even if you don't plan to use the "auto secure" command,
some of the commands and the anti-spoofing ACL's in that document may
be quite useful to you. I'd consider some field testing, then using
CiscoWorks RME and ACLM to push the parts you like out to your devices.
Please contact Chesapeake Netcraftsmen (http://www.netcraftsmen.net) if you'd like us to come do a security risk assessment, help with virus effects mitigation, help with network management or security management software (CiscoWorks!), etc.
Dr. Peter J. Welcher (CCIE #1773, CCSI #94014, CCIP) is a
Senior Consultant with Chesapeake NetCraftsmen. NetCraftsmen is a
high-end consulting firm and Cisco Premier Partner dedicated to quality
consulting and knowledge transfer. NetCraftsmen has eight CCIE's, with
expertise including large network high-availability routing/switching
and design, VoIP, QoS, MPLS, IPSec VPN, wireless LAN and
bridging, network management, security, IP multicast, and other
areas. See
http://www.netcraftsmen.net for more information about
NetCraftsmen. Pete's links start at
http://www.netcraftsmen.net/welcher . New articles will be posted
under the Articles link. Questions, suggestions for articles, etc. can
be sent to pjw
<at> netcraftsmen <dot> net.
Carole Warner Reece (CCIE #5168) is a Senior Consultant with
Chesapeake NetCraftsmen with over 15 years of experience in
internetworking. Her prior assignments range from technical to sales
and marketing and managing technical staff. Carole designed challenging
new labs for version 5 of the Cisco CIT Troubleshooting course,
and is currently developing the updates
for CIT 5.1. She
previously developed and worked with other authors to produce hundreds
of networking skills-based labs at
a wide
variety of user levels.