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....

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...

No catches on the Dashboard.

We need to check what causes the issue. Check if BitNinja is running on the server with service bitninja statusIf it says: inactive (dead) then please issue service bitninja startIf Bitninja is running on the server make sure the ports below are open on the server also on the firewalls if yo...

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...

How to open your terminal

While it might seem intimidating, the terminal is a versatile and powerful tool that can be used for numerous things. However, to install BitNinja, we need to run one command to block all hackers and clear your server from malware. Control panels A terminal is available either by default or ...