Table of Contents [Hide/Show]
Installation, Prerequisites and RequirementsRunning CIR Configuring CIR Directory Defaults Logging Running Standalone Running in Daemon Mode Directory Structure Writing Core and Reporting Restarting processingCIR Reports Report files
setup.exe
CIR Professional installation
Destination
Next
Close
circli.exe.config
<Cir.Engine outputfolder="K:\CIR\output" daemonWorkDir="K:\CIR\FTP_IN\" setDaemon="false"> <plugins> <add assembly="*" path=".\Plugins\" /> </plugins> <platforms> <add assembly="*" path=".\PlatformPlugins\" /> </platforms> </Cir.Engine>
outputfolder
daemonWorkDir
setDaemon
plugins
platforms
<log4net> <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%message %newline" /> </layout> </appender> <appender name="FileAppender" type="log4net.Appender.FileAppender"> <file value="cir-cli.log" /> <appendToFile value="true" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date %thread %-5level %logger] - %message%newline" /> </layout> </appender> <root> <level value="INFO" /> <appender-ref ref="FileAppender" /> <appender-ref ref="ConsoleAppender" /> </root> </log4net>
appender
conversionPattern
root
CIR - Cisco Incident Response. Copyright (c) 2008, Recurity Labs GmbH. All rights reserved Name circli.exe [Version 1.0.0.0] Synopsis circli.exe [options] Description CIR - Cisco Incident Response commandline interface Options -o, --output (Type: Value optional, Value Type:[String]) The path to the CIR output directory. This option overrides the option configured in the application configuration. -d, --daemon (Type: Value required, Value Type:[String]) Executes the CIR-CLI as a daemon if set to true. This option overrides the setDaemon option configured in the application configuration. -w, --workdir (Type: Value required, Value Type:[String]) Sets the daemon working directory path if the CIR-CLI is executed in daemon daemon. This option overrides the daemon working directory configured in the application configuration. -e, --elf (Type: Value required, Value Type:[String]) The path to the IOS image file. -c, --core (Type: Value required, Value Type:[String]) The path to the IOS core file. -i, --iocore (Type: Value optional, Value Type:[String]) The path to the IOS IOcore file. -h, --help (Type: Flag, Value Type:[Boolean]) Prints this help message.
circli -o x:\path\to\output\ -e x:\path\to\image\cABCD-i-mz-XYZ.bin -c x:\path\to\core\core -i x:\path\to\coreiomem
\\servername\share\path
-d
-w
c:\ftp\ c:\ftp\router1\ c:\ftp\router2\ c:\ftp\router3\
c:\ftp\router1
c:\ftp\router2
image}, as seen below: c:\ftp\ c:\ftp\router1\ c:\ftp\router1\image c:\ftp\router2\ c:\ftp\router2\image c:\ftp\router3\ c:\ftp\router3\image EditWriting Core and ReportingOnce a router writes core to the FTP server, the core and coreiomem files will be created in it's respective directory: c:\ftp\ c:\ftp\router1\ c:\ftp\router1\image c:\ftp\router2\ c:\ftp\router2\image c:\ftp\router2\core c:\ftp\router2\coreiomem c:\ftp\router3\ c:\ftp\router3\image When CIR in daemon mode identifies a directory that contains files with the names image,core and coreiomem, it begins processing of the case. When processing is done, the report files (see below) will be placed in the same directory.EditRestarting processingIn the case the administrator would like the processing of a core dump to be repeated, for example following a CIR upgrade, the primary report file report.xml must be deleted. Once this file is missing, the core will be reprocessed and the report recreated from the scratch.EditCIR ReportsEditReport filesA CIR report always consists of the following files written to the output directory:report.xml - the primary report databasereport-summary.html - the report summaryreport-detailed.html - the detailed reportcir.css - formatingCIRlogo.png - logoAdditionally, and depending on your plugin set, you will also get additional files:PacketHeader.pcap - packet extraction dump, view with Wireshark.{{HeapUseGraph.tgf
c:\ftp\ c:\ftp\router1\ c:\ftp\router1\image c:\ftp\router2\ c:\ftp\router2\image c:\ftp\router3\ c:\ftp\router3\image
c:\ftp\ c:\ftp\router1\ c:\ftp\router1\image c:\ftp\router2\ c:\ftp\router2\image c:\ftp\router2\core c:\ftp\router2\coreiomem c:\ftp\router3\ c:\ftp\router3\image
image
core
coreiomem
report.xml
report-summary.html
report-detailed.html
cir.css
CIRlogo.png
PacketHeader.pcap