Expert Mode

What It Does

Expert Mode shows settings meant for people who already know SecuPress. Without it, those fields are absent from the modules.

Two Login Control settings now appear only in this mode:

  • How many attempts before a ban?: failed sign-ins before the IP address is banned. From 2 to 25, 5 by default, 5 to 25 recommended.
  • How long should the ban last?: ban length in minutes. From 1 to 60, 5 by default, 5 to 15 recommended.

They apply to Limit Login Attempts and, for the duration, to password spraying. The checkboxes that turn those protections on stay visible without Expert Mode.

Three Bad Behaviors settings, in Firewall & GeoIP, also appear only in this mode. They belong to Block scans for hidden content:

  • How many tries before a block for visitors?: missing pages in one minute before further 404s are refused. From 5 to 300, 30 by default.
  • How many tries before a block for robots?: the same limit for a robot user agent, or a request with no user agent. From 5 to 300, 60 by default.
  • How long should the block last?: how long further 404s stay refused, in minutes. From 1 to 60, 5 by default, 5 to 15 recommended.

The IP address is not added to the banned list: only the next missing pages are refused.

On the Malware Scanners module (SecuPress Pro), Expert Mode adds a Scan button on each scanner that can run alone: Malware Scanner, Database Scanner, SEO Poisoning Scanner, and WordPress Core Files Integrity. The button is absent while a scan is already running, and on a scanner still under development.

Why It Matters

A limit that is too low bans a typo. A limit that is too high lets a brute-force attack continue. These numbers change the site for everyone, so they are no longer offered on the regular screen. The same applies to the 404 limits, and to running one malware scanner on its own.

How to Use

Open the Dashboard module, advanced settings, and turn on Expert Mode. The choice applies to the site, not to a single account.

To force it for everyone, in wp-config.php:

define( 'SECUPRESS_MODE', 'expert' );

The word expert can be combined with adminbar, help, and grade. Order does not matter. Example: define( 'SECUPRESS_MODE', 'help expert grade adminbar' );

Then open Users & Login, Login Control: the two fields sit above the protection checkboxes.

The 404 limits sit in Firewall & GeoIP, Bad Behaviors, under Block scans for hidden content. The Scan buttons sit on Malware Scanners, on the row of each scanner.