Skip to content

WordPress Core Update/Downgrade

Alert ID: core_update MITRE ATT&CK: T1072 – Software Deployment Tools


LevelCondition
InfoNormal WordPress core update
HighVersion downgrade detected, highly suspicious

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

  • Manual update: _core_updated_successfully hook.
  • Automatic update: automatic_updates_complete hook.
  • Downgrade detected: through version_compare() when the new version is lower.
  • Version analysis: comparison between old_version and new_version.

TypePattern / ExampleDescription
file_patternwp-includes/version.phpModified file containing the core version
file_patternwp-admin/includes/update.phpAltered update-system hooks
behaviorBeta or RC versions in productionUse of unstable versions
behaviorMajor downgrade (>2 versions)Significant system regression

  • Legitimate automatic updates.
  • Planned rollbacks due to temporary incompatibility.
  • Testing in development or staging environments.

  1. Verify core integrity:

    Terminal window
    wp core verify-checksums --skip-plugins --skip-themes
  2. Check the currently installed version:

    Terminal window
    wp core version --extra
  3. Analyze context: confirm whether the update or rollback was authorized and by whom.

  4. If downgraded, identify the reason, review modified files, and confirm integrity.



  • WordPress Update Services
  • Core Checksums Verification