WordPress Core Update/Downgrade
Alert ID: core_update
MITRE ATT&CK: T1072 – Software Deployment Tools
Severity / Criticality
Section titled “Severity / Criticality”| Level | Condition |
|---|---|
| Info | Normal WordPress core update |
| High | Version downgrade detected, highly suspicious |
Why is it considered malicious?
Section titled “Why is it considered malicious?”- Downgrades reintroduce already patched vulnerabilities.
- Modified versions may contain backdoors or trojanized code.
- Fake updates may install altered versions for malicious purposes.
- After-hours or unauthorized changes are indicators of manipulation.
When does the alert trigger?
Section titled “When does the alert trigger?”- Manual update:
_core_updated_successfullyhook. - Automatic update:
automatic_updates_completehook. - Downgrade detected: through
version_compare()when the new version is lower. - Version analysis: comparison between
old_versionandnew_version.
Technical Indicators (IOCs)
Section titled “Technical Indicators (IOCs)”| Type | Pattern / Example | Description |
|---|---|---|
file_pattern | wp-includes/version.php | Modified file containing the core version |
file_pattern | wp-admin/includes/update.php | Altered update-system hooks |
behavior | Beta or RC versions in production | Use of unstable versions |
behavior | Major downgrade (>2 versions) | Significant system regression |
Common false positives
Section titled “Common false positives”- Legitimate automatic updates.
- Planned rollbacks due to temporary incompatibility.
- Testing in development or staging environments.
Investigation steps
Section titled “Investigation steps”-
Verify core integrity:
Terminal window wp core verify-checksums --skip-plugins --skip-themes -
Check the currently installed version:
Terminal window wp core version --extra -
Analyze context: confirm whether the update or rollback was authorized and by whom.
-
If downgraded, identify the reason, review modified files, and confirm integrity.
Recommended mitigations
Section titled “Recommended mitigations”Immediate
Section titled “Immediate”Preventive
Section titled “Preventive”References
Section titled “References”- WordPress Update Services
- Core Checksums Verification