FAQ - stamparm/maltrail GitHub Wiki

Q1: What is Maltrail all about?

  • A1: Maltrail is a malicious traffic detection system, utilizing publicly available (black)lists containing malicious and/or generally suspicious trails, along with static trails compiled from various AV reports and custom user-defined lists.

Q2: Can I freely use Maltrail in my infrastructure?

  • A2: Certainly. You can freely use Maltrail in your infrastructure. It is released under MIT-license.

Q3: Can Maltrail be used along with other IDS/IPS solutions?

  • A3: Yes. Maltrail can be used without any conflicts with any known IDS/IPS solutions, including open-source ones. Maltrail has its own approach to malicious network traffic detection, which can either be used as a dedicated or complementary solution to other IDS/IPS solutions.

Q4: What OS does Maltrail support?

  • A4: Maltrail is written in Python, so it should be portable to any OS. Nevertheless, Maltrail has been originally written for Linux systems, while recently ported to *BSD systems.

Q5: Can Maltrail be integrated into other solutions?

Q6: I have discovered a vulnerability in Maltrail code. How can I report about it?

Q7: I see an error message SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats, when Maltrail sensor is getting started. How to fix it?

  • A7: Looks like you use pcapy lib instead of pcapy-ng (Issue). Using of pcapy lib instead of pcapy-ng can lead to incorrect work of Maltrail, especially on Python 3.x environments (Examples). Also be sure, that you use the actual version of Maltrail, downloaded from its Git repo: actual Maltrail verions contain the handler, which should output [!] seems that you are not using pcapy-ng (https://pypi.org/project/pcapy-ng/) message to console, when sensor starts with pcapy lib instead of pcapy-ng. Uninstall pcapy lib with pip3 uninstall pcapy command, install pcapy-ng lib with pip3 install pcapy-ng command and then start Maltrail sensor again. Everything should work OK now. Otherwise, put the bug-report to Maltrail's Issue Tracker.