The Critical Files Monitoring tab (available since version 5.2.0) watches the files most commonly targeted by attackers and reacts as soon as any of them changes, without waiting for the next scheduled File Integrity scan.
configuration.phpindex.php and the back-end administrator/index.phpindex.php, error.php and component.php files of every installed template (site and administrator)The check runs after the response has been sent to the visitor, so it adds no perceptible latency, and never more often than the configured check interval regardless of traffic. Each check only reads the size and modification date of the monitored files; a hash is computed only when they differ, so the cost is negligible. If a file is rewritten with identical content (for example by a deployment), the baseline is updated silently and no alert is raised.
When a real change is detected, SecurityCheck Pro:
The automatic scan requires an enabled SecurityCheck Pro scheduled task in the Joomla Task Scheduler. The scan is never executed inside the request that detects the change: the Task Scheduler runs it through its normal trigger (CLI cron, web cron or lazy scheduler).
Two settings prevent the monitor from consuming resources when files change frequently — for example while you are working on your template:
| Option | Default | Description |
|---|---|---|
| Monitor critical files | No | Enables the feature. The first check after enabling only records the baseline; no alert is raised. |
| Check interval (seconds) | 120 | Minimum time between checks, regardless of traffic. Range: 30–3600. |
| Additional files | (empty) | Extra files to monitor, relative to the site root (e.g. administrator/includes/app.php), one per line or separated by commas. |
| Send email on change | Yes | Sends an alert email using the firewall email settings when a critical file changes. |
| Launch File Integrity scan | Yes | Brings forward the SecurityCheck Pro scheduled task so a File Integrity scan runs automatically after a change. |
| Quiet period (minutes) | 15 | Minutes without further changes before the scan is launched. Range: 1–1440. |
| Scan cooldown (hours) | 6 | Hours after an integrity scan during which the monitor will not request another one. Set to 0 to disable the cooldown. |
A legitimate update of Joomla or of a template will also modify these files and trigger an alert (and possibly a scan). This is expected: the alert tells you the change happened, and the integrity scan gives you the complete picture.
