Black Friday Black Friday SALE: 40% off every resource until December 1. Shop the sale

Settings

Every setting of Security Scanner, with its default.

On this page

On the Extensions page, click Settings next to Security Scanner. The settings are grouped in tabs.

General#

Setting Default What it does
Enable scheduled scanning On Scans all servers automatically on the schedule below
Scan frequency Every hour Every hour, every 6 hours or once a day
Max file size (MiB) 1 Larger files are skipped. 1 to 64.

Checks#

Every check is on by default, except the hash check.

Setting Looks for
Backdoor eval of decoded code, known shell names such as c99shell, r57shell and b374k
Web Shell shell_exec, proc_open, popen, passthru and code run from request input
Reverse Shell Sockets connected to a shell, such as bash -i >& /dev/tcp
Obfuscation Long encoded strings and layered decoding
Crypto Miner stratum+tcp://, xmrig, ethminer, cgminer
Suspicious File Op Writing decoded content, uploads of PHP files, chmod 0777
SQL Injection Queries built from request input
Network Op Downloads of PHP files, connections to other hosts
Container/VM Escape Tools that run a VM or a root file system inside a server, such as proot, QEMU and minirootfs images
Known Malware Keyword Names of known malware kits
Known file hashes (MD5/SHA256) Files that match the hash lists under Custom rules. Off by default.

Scope#

Setting Default What it does
Which servers to scan All servers All servers, Only whitelisted servers or All except blacklisted
Whitelisted servers Empty Server UUIDs or short IDs, such as b3be12d1, for Only whitelisted servers
Blacklisted servers Empty Server UUIDs or short IDs to skip, for All except blacklisted
Include file patterns Scripts, web files and config files Only file names that match one of these patterns are scanned. See the list below.
Exclude path fragments Build, cache and log folders A path that contains one of these is skipped. See the list below.
Plugin whitelist (path globs) **/plugins/dynmap/**, **/dynmap/** Files in these paths skip the Web Shell check

Suspended servers are never scanned.

The default include patterns:

*.sh *.bash *.bat *.cmd *.ps1 *.php *.php5 *.phtml *.py *.pl *.cgi *.jsp *.asp *.aspx
*.js *.mjs *.cjs *.conf *.config *.cfg *.ini *.yml *.yaml *.txt

The default exclude fragments:

node_modules/ cache/ temp/ tmp/ .git/ logs/ backups/ dist/ build/ .next/ out/ libraries/ versions/
.min.js .bundle.js package-lock.json yarn.lock

A fragment that ends with / skips the whole folder. Other fragments skip the files whose path contains them. Jar files are not in the include patterns, so plugins and mods in .jar files are not read.

Custom rules#

Setting Default What it does
Custom regex patterns Empty Your own patterns, without delimiters. Each line of a file is matched without case.
Custom rule severity High The severity of a custom match
Known MD5 hashes Empty MD5 hashes of known bad files, 32 characters each
Known SHA256 hashes Empty SHA256 hashes of known bad files, 64 characters each

Hash matches are always critical. They are only checked when Known file hashes (MD5/SHA256) is on under Checks.

Discord#

Setting Default What it does
Discord webhook URL Empty Scan summaries are posted here. It must be a https://discord.com/api/webhooks/ URL.
Only notify at/above severity All scans Only posts when a finding of this severity or higher is on record
Notify on clean scans Off Also posts when a scan found nothing new
Mention a role on critical findings Off Mentions a role when there are critical findings on record
Role ID to mention Empty The ID of that role

A summary is posted after a scan with new findings. It shows the number of new findings, servers, scanned files, errors and the critical findings on record.

Actions#

Setting Default What it does
Suspend server on critical finding Off Suspends a server as soon as a scan finds a critical match in it

A suspended server is no longer scanned. Unsuspend it in the admin area when it is clean.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.

Complete your panel

Get the Pterodactyl v2 Bundle with:

$104.68 $139.58 Save 25%