Header
Home | Set as homepage | Add to favorites
  Search the Site     » Advanced Search
Sections
Syndication


Blogroll:

||||| ALL Cisco-Network ARTICLES |||||  
CCIE Journey,
The CCIE Journey,


CIDS Log Files

Feb 25,2010 by alperen

image

During typical operations, the CIDS infrastructure components generate a great deal of information in the form of log files. Log files are created via the loggerd daemon. These log files are stored as text files on both the sensor and director platforms. To assist with troubleshooting your system, you should be aware of the types of files, as well as the location of these log files. Additionally, you can create your own custom scripts to pull information from the log files to create custom reports. Cisco Secure IDS provides four types of log files:

  • Events

  • Service Error

  • Commands

  • IP Sessions

All event, error, command, and session log data is stored in a common, comma-delimited flat file that can be imported into any database. These four types of logging are written to a text file for performance reasons. Adding text to an open text file is faster than writing the information to a database. Text files are always available and don’t rely on a database engine for access to the data, providing greater flexibility to access this important information. For manageability, these text files must periodically be closed, archived, and a new file opened.

Service Error Logs

When any service or daemon generates an error, the error information is written to an error log file. Administrators can then use this error log file to troubleshoot and resolve issues within the CIDS infrastructure. The naming format used for service error log files is error.service.processID, where:

  • error—Keyword identifying this file as a service error log

  • service—The service or daemon that generated the alert

  • processeID—Numeric value of the service process identification number

Command Logs

Whenever a service or daemon performs any function that issues a command to the IDS system, the command is logged in a command log file. Information logged includes the name of the daemon that issued the command, the date and time, the host, and the service to which the command was issued.

IP Session Logs

The CIDS system can be configured to log IP session information once a specific event (alarm) is triggered. If a signature is matched, the sensor can respond by recording all IP session activity to a session log. This log provides a permanent record to the intrusion and activity. IP session logs capture all incoming and outgoing TCP packets associated with a specific connection, so they contain binary data.

By default, IP session logs are retained on the sensors until they’re needed on the director platforms. This prevents the large amounts of data recorded in IP session logs from impeding CIDS communications during periods of network load.

The naming format used for IP session log files is iplog.XXX.XXX.XXX.XXX .YYYYMMDDHHMM where:

  • iplog—Indicates this is an IP session log file

  • XXX.XXX.XXX.XXX—Indicates the IP address of the attacking host

  • YYYYMMDDHHMM—Indicates the year, month, day, hour, and minute the log file was created

An example IP session log might be named as the following:

iplog.192.168.1.1.200212312359

From simply reading the file name, you know a host using the IP address 192.168.1.1 performed some operation that triggered an alarm. The configured response on the sensor, for this alarm, was to create and IP session log. Additionally, you know this attack started on 12/31/2002 at 11:59 P.M. (assuming this is the only IP session log).

cp24 cr


176 times read

Related news

» File Integrity and Log File Checkers
by admin posted on Nov 24,2008
» Cisco Secure Intrusion Detection System Review
by alperen posted on Feb 26,2010
» Cisco Secure Intrusion Detection System Questions Answers
by alperen posted on Feb 26,2010
» Configuring Event Logging (IDS version 3.1)
by admin posted on Nov 24,2008
» Exporting Event Logs for cisco ids
by admin posted on Nov 24,2008
Did you enjoy this article?
(total 0 votes)

comment Comments (0 posted) 

More Top News
CCSP-Cisco Certified Security Professional
Most Popular
Most Commented
Featured Author