The Maltrail is a malicious traffic detection system that uses publicly available lists containing malicious or generally suspicious "paths", along with static traces collected from various AV references and custom user-defined lists, where the trace can be anything from the name , URL, IP address or user header value and HTTP.
It also uses advanced heuristic mechanisms that can help detect unknown threats.
The Maltrail based on the sequence -> Sensor <-> Server <-> Client Architecture. Sensor (s) is a standalone component that operates on the monitoring node (eg Linux platform passively connected to the SPAN / mirroring port or transparently embedded in a Linux bridge) or on the standalone machine (eg Honeypot) where it "monitors »The traffic that passes for objects /" paths "black list (eg domain names, URLs and / or IP).
In case of a positive match, it sends the details of the event to the (central) server where they are stored in the appropriate log directory (ie LOG_DIR described in the Configuration section).
If the sensor is running on the same computer as the server (default configuration), the logs are stored directly in the local log directory. Otherwise, they are sent via UDP messages to the remote server (ie LOG_SERVER described in the Configuration section).
The primary role of the server is to store event details and provide support for the web report application. In the default configuration, the server and sensor will work on the same computer.
Thus, in order to avoid possible interruptions in the sensor activities, the front-end reference section is based on the “Fat client” architecture (ie all data after processing is done in the presence of the client's web browser).
The events (ie log entries) for the selected period (24 hours) are transferred to the client, where the web reporting application is solely responsible for the presentation part. The data is sent to the client in compressed parts, where it is processed sequentially. The final report is created in a condensed form, effectively allowing the presentation of the almost unlimited number of events.
sudo apt-get install python python-pcapy git
git clone https://github.com/stamparm/maltrail.git
Information on using the program, you will find here.