Topics Archives:

You are here:

Useful BitNinja commands

In this article, you can see some of the most useful BitNinja CLI commands and their short descriptions. IP management To manage the BitNinja allow, challenge, block list just use the bitninjacli command, then pass the name of the BitNinja list you would like to manage (--greylist /--b...

Start BitNinja Debug mode

By default, the debug mode is disabled in BitNinja. If you wish to enable it you might need to make some modifications in /opt/bitninja/etc/config.php . However, this is a temporary solution as this will be overwritten with every update. If you wish to set up the debug mode in BitNinja: E...

Port honeypot

The Port honeypot module opens fake services on 100 random ports that have no active service running. So the Port honeypot module won’t stop an active service.These fake services mimic open ports, so if someone is trying to find an open port to exploit it, the IP address will be challenge listed....

Port 25 Closed After Stopping BitNinja Agent

Overview Some customers have reported that port 25 (SMTP) becomes blocked after stopping the BitNinja agent.This behavior should not occur in recent versions (≥ 3.12.1). However, servers that previously ran older BitNinja versions may still encounter this issue. This guide explains why it hap...

PCI scanning issue

We added a PCI compliance mode to BitNinja.PCI (Payment Card Industry) scanning usually refers to quarterly external vulnerability scans that must be performed by a PCI approved vendor. BitNinja might block these screenings as they are similar to malicious scans. You just need to enable t...

My server is under DDoS attack

The server’s load is high due to a Distributed Denial of Service attack (DDoS).In the case of DDoS, the attack comes from multiple IP addresses at the same time. None of the IP addresses establishes enough connections at the time to identify the requests as DoS attacks, but their combined number ...

MalwareDetection load optimization

If your server's load is high while the MalwareDetection module is enabled, follow this troubleshooting guide to resolve the issue. Find out what causes the issue. Inotifywait process We need to check if the load is increased by the Inotifywait process or the MalwareDetection process its...

Location header issue

Some applications miss behave behind a proxy. This is why we need to force a redirection to remain https most of the time. Solution This behavior can be changed:You just need to change this line highlighted in the picture: Run these commands as a root user in your server’s terminal t...

Install BitNinja via Plesk plugin

With the Plesk BitNinja plugin, you can install BitNinja automatically on your server by just pasting a license key into the plugin. The plugin is available here. You can choose to purchase your BitNinja license from Plesk or BitNinja directly. Purchase license directly from BitNinja Re...

How to regenerate SSL certifications

If there is an issue with the SSL termination module like it does not find the right certification, All you need is to regenerate the certs. Just simply run the following commands one by one :  rm -f /opt/bitninja-ssl-termination/etc/haproxy/certs/*rm -f /opt/bitninja-ssl-termina...