Home > Security Tips > Guest Commentary > Untapped riches
Security Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

GUEST COMMENTARY

Untapped riches


Marcus J. Ranum
06.01.2004
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


What do you do with your firewall and system logs? Typically, you collect them and back them up -- and that's about it.

But there are gold nuggets of useful info hidden in those logs that, ironically, many organizations ignore because they incorrectly believe the extraction tools are complicated and expensive. One of the great things about log analysis is that it's relatively easy to implement for a few dozen important servers. Sure, you can spend a lot of money on expensive systems and databases (and many organizations do), but all you need is a desktop PC, a few rudimentary scripts and some patience to get your feet wet.

Think of it this way: How much money does your company spend on firewalls and IDSes? It's probably a lot, right? And yet they collect and analyze the information collected in -- you guessed it -- log files.

Discarding or ignoring logs should be a crime. Think about all the useful intelligence you can draw from this well:

  • Do you know how many of your corporate desktops are infected with spyware? Your firewall logs can tell you just by mapping destination Web sites against a blacklist of spyware sites. SquidGuard (www.squidguard.org) maintains an open-source list you can use to create a spyware blacklist.

  • Do you ever wonder how many of your desktops are properly updating their antivirus signatures? Subtract the number of addresses that go to the antivirus update site from those going to your firewall, and you'll have good starting point.

  • Do you worry that your network is infected with a BotNet? Watch for a spike in IRC traffic.

  • Do you dread the next e-mail virus? Look for spikes in your outgoing SMTP connections.

A friend of mine gets more mileage out of his MRTG traffic-monitoring tool (www.mrtg.org) than most organizations get out of their massive IDS farms. He runs most of his apps on an old SPARC Ultra-5 that continuously churns out graphs with various log data. It's front-ended with Perl scripts that pull data from various sources using SNMP queries and secure copy. Total cost: zero. Total setup time: about a week. Hackers caught: three. ROI: gigantic.

The most powerful and simple technique I've seen for log analysis is what I call "artificial ignorance." In this approach, you build a list of syslog messages that you don't care about, and everything that's left over is flagged for review. Setting up a simple artificial ignorance feedback loop only takes a few hours and requires a small amount of daily maintenance. Freeware tools, such as logwatch (www.logwatch.org), are useful in setup (for details, see http://www.ranum.com/security/computer_security/papers).

Always remember my law of log analysis: The number of times an uninteresting thing happens is an interesting thing. If you're going to throw particular pieces of data away, count the number of times they appear and monitor the discard rate. You'd be amazed at the number of interesting things you'll find.

Log analysis is the most under-appreciated, unsexy aspect of infosecurity. Regardless, I believe it's one of the most important. Get over the tedium and start sifting through those logs. You're missing a mother lode of gold.

About the author
Marcus J. Ranum is a senior scientist at TruSecure Corp. and the author of The Myth of Homeland Security (Wiley, 2003).


Rate this Tip
To rate tips, you must be a member of SearchSecurity.com.
Register now to start rating these tips. Log in if you are already a member.




BROWSE BY TAG
Guest Commentary,   Network Security: Tools, Products, Software,   Network Firewalls, Routers and Switches,   Enterprise Network Security,   Network Intrusion Detection and Analysis,   Monitoring Network Traffic and Network Forensics,   VIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Guest Commentary
Google hacking exposes a world of security flaws
Eliminating the threat of spam email attacks
Outsourcing IT services: Is it worth the security risk?
How permanent is your storage solution?
Honeypots can strengthen reconnaissance and lower intrusion noise
Freedom of speech or lack of professional responsibility?
This year compliance, next year control
Senior security member explains his position on Abagnale
Computer Security Institute's leader responds to Abagnale flap
Spokesman or poster child?

Network Firewalls, Routers and Switches
How to prepare for a secure network hardware upgrade
Best Network Firewall Products
What is the difference between static and dynamic network validation?
Screencast: Smoothwall offers firewall defense in lean times
New Cisco IOS bugs pose tempting targets, says Black Hat researcher
How to implement virtual firewalls in a complex network infrastructure
How to manage network bandwidth with distributed ISP bandwidth
Firewall rule management best practices
Should enterprises be running multiple firewalls?
What are the disadvantages of proxy-based firewalls?

Monitoring Network Traffic and Network Forensics
Botnet masters turn to Google, social networks to avoid detection
Preventing SQL injection attacks: A network admin's perspective
Breach prevention: How to keep track of data and applications
Researchers find thousands of flawed embedded devices
Network traffic collection, analysis helps prevent data breaches
Lifecycle of a network security vulnerability
Port scan attack prevention best practices
How to prevent network sniffing and eavesdropping
DoD urges less network anonymity, more PKI use
Chained Exploits: How to prevent phishing attacks from corporate spies

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
bastion host  (SearchSecurity.com)
firewall  (SearchSecurity.com)
Firewall Builder  (SearchSecurity.com)
screened subnet  (SearchSecurity.com)
virus  (SearchSecurity.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Research Solutions for Network Security, Access Control and Security Threats
TechTarget Security Media
Information Security View this month\\'s issue and subscribe today.
Information Security Decisions Apply online for free conference admission.
SearchSecurity.com
HomeNewsMagazineMultimediaWhite PapersLearningAdviceTopicsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts