Skip to content
mybox Help Center

Help sections

  • Getting Started
  • Account & Billing
  • Domains & DNS
  • Hosting & Servers
  • Email
  • Security & SSL
  • WordPress & CMS
  • Grow Online
mybox.com All services operational
/

Language

  • English
  • Română
  • mybox panel
  • Webmail
Start free
/
  • Getting Started
  • Account & Billing
  • Domains & DNS
  • Hosting & Servers
  • Email
  • Security & SSL
  • WordPress & CMS
  • Grow Online
  • Help Center
  • mybox.com
  • English
  • Română
All services operational Start free
  1. Help Center
  2. Security & SSL
  3. Account & Password Security
Explainer Security & SSL

Why changing passwords is not enough after a hack

Updated July 6, 2026 5 min read
On this page
  1. What changing passwords does
  2. What changing passwords does not fix
  3. Backdoors can keep access open
  4. Unauthorized users may still exist
  5. Files may have been changed
  6. Database content may also be affected
  7. Email and reputation may be affected
  8. Sessions and tokens may remain active
  9. What to do after changing passwords
  10. Restore from backup carefully
  11. Find the original entry point
  12. What is normal
  13. When to contact support
  14. Summary

Changing passwords is an important step after a website or hosting account has been hacked. It prevents known credentials from being reused, but it does not remove malicious files, backdoors, unauthorized users, or changes already made inside the website.

This article explains why password changes alone are not enough after a hack, what else should be checked, and why cleanup should focus on both access and damage.

What changing passwords does

Changing passwords helps block access through credentials that may have been stolen, guessed, reused, or exposed.

This usually includes passwords for:

  • the hosting control panel
  • WordPress or another CMS
  • FTP or SFTP accounts
  • database users
  • email accounts
  • administrator accounts
  • connected services

If the attacker still has the old password, changing it can stop that specific login path.

What changing passwords does not fix

A password change does not undo actions that already happened.

If an attacker uploaded malicious files, created a hidden administrator account, modified website code, changed redirects, installed a backdoor, or added spam pages, those changes remain after the password is updated.

The website may still be compromised even if the attacker can no longer log in using the same password.

Backdoors can keep access open

A backdoor is a hidden method that allows someone to regain access later.

Backdoors can be added to website files, plugins, themes, uploads folders, cron jobs, or configuration files. Some are designed to look like normal files, which makes them harder to notice.

If a backdoor remains in place, the attacker may not need the old password anymore. They may be able to return through the hidden access point.

Unauthorized users may still exist

After a hack, attackers may create new user accounts inside the website or application.

For example, in WordPress, a new administrator user may be added quietly. If that user is not removed, the attacker may still have access even after the original passwords are changed.

All administrator and privileged accounts should be reviewed carefully.

Files may have been changed

A compromised website may contain modified files, injected code, spam content, or malicious scripts.

Common signs include:

  • unknown PHP files
  • unfamiliar files in upload folders
  • modified plugin or theme files
  • redirects to suspicious websites
  • spam pages indexed by search engines
  • unexpected pop-ups
  • changed .htaccess rules
  • unfamiliar cron jobs
  • files with unusual names or recent modification dates

Changing passwords does not remove these files.

Database content may also be affected

Some compromises affect the database, not only website files.

Malicious code, spam links, injected scripts, fake users, changed settings, or unauthorized redirects may be stored in database tables. This is common in CMS platforms such as WordPress, where much of the website content and configuration is stored in the database.

A complete cleanup should include both files and database content.

Email and reputation may be affected

If a hacked website was used to send spam or host malicious content, the domain or server reputation may be affected.

Changing passwords does not automatically remove blacklist entries, stop outgoing spam caused by malicious scripts, or repair email reputation. The source of the abuse must be removed first.

After cleanup, email authentication, mail queues, logs, and blacklist status may need to be reviewed.

Sessions and tokens may remain active

Some applications keep users logged in through sessions, cookies, or access tokens.

If an attacker already has an active session, changing the password may not always end that session immediately, depending on the application. Connected API keys, application passwords, and integration tokens may also remain valid.

After a compromise, active sessions should be invalidated where possible, and unused keys or tokens should be removed.

What to do after changing passwords

Password changes should be part of a larger recovery process.

After a hack, check the following:

  1. Change all relevant passwords.
  2. Review administrator and privileged users.
  3. Scan website files for malware.
  4. Check recently modified files.
  5. Review plugins, themes, and CMS core files.
  6. Remove unused plugins, themes, and accounts.
  7. Check .htaccess, redirects, and cron jobs.
  8. Review database content for injected code or spam.
  9. Update the CMS, plugins, themes, and extensions.
  10. Check file permissions.
  11. Remove unknown FTP, SFTP, database, and email accounts.
  12. Review access logs if available.
  13. Clear website, server, and CDN cache.
  14. Reissue or remove exposed API keys and tokens.
  15. Monitor the website after cleanup.

The exact steps depend on the application and the type of compromise.

Restore from backup carefully

Restoring a backup can help, but it should be done carefully.

A backup is useful only if it was created before the compromise happened. If the backup already contains malicious files or hidden users, restoring it may bring the problem back.

After restoring a backup, the website should still be updated, scanned, and reviewed for the original vulnerability.

Find the original entry point

A hacked website should be cleaned, but the original cause should also be investigated.

Common entry points include:

  • weak or reused passwords
  • outdated CMS versions
  • outdated plugins or themes
  • vulnerable extensions
  • insecure file permissions
  • exposed admin areas
  • compromised devices
  • unsafe uploaded files
  • leaked API keys
  • abandoned test installations
  • old backups left inside public folders

If the entry point remains open, the website may be hacked again even after cleanup.

What is normal

It is normal to start with password changes after a hack. This is one of the first containment steps.

It is not enough to stop there. A website can remain compromised through files, database entries, hidden users, active sessions, vulnerable plugins, or exposed tokens.

A clean recovery means both blocking access and removing what was changed.

When to contact support

Contact support if you suspect a hosting account, website, or mailbox was compromised and you are not sure what was affected.

Include the following details:

  • the affected domain or website
  • when the issue was first noticed
  • what symptoms were seen
  • whether passwords were already changed
  • whether unknown users or files were found
  • whether the website sends spam or redirects visitors
  • whether a backup restore was attempted
  • any security scan results or warning messages

This information helps support review the account more effectively and identify whether the issue is related to files, mail, DNS, access, or hosting configuration.

Summary

Changing passwords after a hack is necessary, but it only protects against one access path. It does not remove malicious files, backdoors, hidden users, injected database content, active sessions, or exposed tokens.

A proper recovery should include password changes, malware cleanup, user review, updates, log review, and investigation of the original entry point. This reduces the risk of the same website being compromised again.

Was this article helpful?

Didn't find an answer?

Our support team is here for you 24/7 – write to us and we will help you sort it out.

Helpdesk 24/7 Open a ticket in the mybox panel mybox panel Log in and manage your services

On this page

  1. What changing passwords does
  2. What changing passwords does not fix
  3. Backdoors can keep access open
  4. Unauthorized users may still exist
  5. Files may have been changed
  6. Database content may also be affected
  7. Email and reputation may be affected
  8. Sessions and tokens may remain active
  9. What to do after changing passwords
  10. Restore from backup carefully
  11. Find the original entry point
  12. What is normal
  13. When to contact support
  14. Summary

Related articles

All in Account & Password Security
How-to Account & Password Security FTP client – How to take care of security? When using FTP clients to manage your website files, it is important to follow security best practices to protect your hosting account… 2 min read How-to Account & Login Management How do I set up 2FA in the mybox panel? Two-factor authentication (2FA) adds a second verification step when logging in to the mybox panel. After entering your password, the panel asks… 1 min read How-to WebMail mail.mybox.com How do I set up two-step verification in Webmail? Security is a priority today, and two-step verification, which requires not only knowing and providing a password, but also a one-time code,… 2 min read
mybox

Modular web hosting – free out of the box, modular to grow.

Help sections

  • Getting Started
  • Account & Billing
  • Domains & DNS
  • Hosting & Servers
  • Email
  • Security & SSL
  • WordPress & CMS
  • Grow Online

mybox

  • mybox.com
  • mybox panel
  • Webmail
  • Helpdesk 24/7
© 2026 mybox 1,680 articles