All posts

Recovery after site compromised

This morning, I logged on to find this very blog, Padraig.blog was compromised via a brute force.

I managed to log in successfully but I had no admin privileges and no access to any relevant information.

At the time, I switched off the entire server and performed a restore to yesterday (always a good thing).

I will need to do a bit more digging as to what the attacker did, but I have some info (with thanks to AI for quickly looking at all the logs and piecing things together)

  • Login was at 09:45 this morning from 145.xxx.xxx.138 which is a IP from Germany.
  • They uploaded a malicious plugin via the plugins page on WordPress (Standard /wp-admin/plugin-install.php page)
  • They 'Activated' the mailpost-971/mailpoet-971.php plugin.
  • The plugin then installed a 3.7MB wp-config.php backdoor which included:
    • Hidden replicated plugins and MU plugins.
    • A standalone password-protected Tiny File Manager web shell: httpdocs/m1ik8h2r.php
    • Copies throughout hidden directories under wp-content
    • Database-backed persistence in the options table.
    • Cron persistence via .wp-cache-971/cron-helper-971.php and /tmp/cron-helper-971.php
    • Code that restores the backdoor if files are removed.
  • It also created casino-spam posts (of which there was about 5 or 6 of them)
  • It was not a plugin compromise, XML-RPC attempt or direct wp-config.php proble.
  • Simply put, my password, that I unfortunately have used in the past, which has appeared in old breaches (dating back over a decade on HIBP) was being used as the password to log into this blog.
  • No other site of mine was compromised, but passwords on those have been changed .
[sc name="footer-january-2026" ][/sc]

Discussion

No comments yet