Intrusion Detection Message Exchange Format
Used as part of computer security, IDMEF is a data format used to exchange information between software enabling intrusion detection, intrusion prevention, security information collection and management systems that may need to interact with them.
IDMEF messages are designed to be processed automatically. The details of the format are described in the RFC 4765. This RFC presents an implementation of the XML data model and the associated DTD.
The requirements for this format are described in RFC 4766, and the recommended transport protocol is documented in RFC 4767
IDMEF
The purpose of IDMEF is to define data formats and exchange procedures for sharing information of interest to intrusion detection and response systems and to the management systems that may need to interact with them. It is used in computer security for incidents reporting and exchanging. It is intended for easy automatic processing.IDMEF is a well-structured object-oriented format, which consists of 33 classes containing 108 fields, including three mandatory:
- The classification
- The unique login
- The date of creation of the alert.
Heartbeat
The Heartbeats are sent by the analyzers to indicate their status. These messages are sent at regular intervals which period is defined in the Heartbeat Interval Field. If none of these messages are received for several periods of time, consider that this analyzer is not able to trigger alerts.Alert
Alerts are used to describe an attack that took place, the main areas that create the alert are:CreateTime: Date of creation of the alertDetectTime: alert detection time by the analyzerAnalyzerTime: The time the alert was sent by the analyzerSource: Details about the origin of the attack can be a service, a user, a process and / or a nodeTarget: Details on the target of the attack can be a service, a user, a process and / or a node and a fileClassification: Name of the attack and references, as CVEsAssessment: Evaluation of the attack AdditionalData: Additional information on the attackThere are three other alert types that inherit from this scheme:CorrelationAlert: Grouping of alerts related to one anotherToolAlert: alerts from the same Grouping toolOverflowAlert: Alert resulting from attack so-called buffer overflow
Example
IDMEF report of ping of death attack can look as follows:Tools implementing the IDMEF protocol
- : Part of the, libprelude permits to communicate between agents using the IDMEF format. Libprelude is coded in C but multiple bindings are available. It can be used in any open-source IDS tools.
- : LibIDMEF is an implementation of the IETF, IDWG, draft standard IDMEF protocol.
- : Dotnet library to create IDMEF objects and export them in XML.
- – Distributed IDMEF Logical Correlation Architecture : DILCA is a distributed logical correlation and reaction architecture featuring collection and correlation of IDMEF formatted log events through a multi-step signature based system.
- – A Perl module for building/parsing IDMEF messages : IDMEF.pm is an interface for simply creating and parsing IDMEF messages. IDMEF is an XML based protocol designed mainly for representing Intrusion Detection alert messages.
- : Snort IDMEF is an IDMEF XML plugin for Snort to output alert events in the form of IDMEF messages. The plugin is compatible with Snort 2.x
Competing frameworks
Many telecommunications network elements produce security alarms that address intrusion detection in conformance with international standards. These security alarms are inserted into the normal alarm stream, where they can be seen and acted upon immediately by personnel in a network operations center.Tutorials
- , Quick introduction on alert formats and what they are
- , Long comparison of existing formats
- , Detailed description of the IDMEF Format
- , Detailed schema of SDEE format
- , Tutorial on IDMEF content and how to use it
- , Detailed tutorial on how to use LibPrelude and code an IDMEF client
- , Detailed tutorial on how to create a new sensor that can communicate in IDMEF through the LibPrelude Library.
- , Detailed description of all IDMEF fields