maltrail: Detects malicious network traffic

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.


Maltrail is 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 reporting 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

Application snapshots

Information on using the program, you will find here. The Best Technology Site in Greecefgns

Subscribe to Blog by Email

Subscribe to this blog and receive notifications of new posts by email.

Written by Anastasis Vasileiadis

Translations are like women. When they are beautiful they are not faithful and when they are faithful they are not beautiful.

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).