Website malware removal for hacked sites
Hacked website? We remove the malware and close the door.
If your website has been hacked, our developers remove the infection, fix the original flaw and protect your visitors.
Website malware removal, or removing a virus from a website, is the work of finding and deleting the malicious code that was inserted into the files and the database, and then closing the flaw that allowed the attack. Deleting the code is not enough: if the door stays open, the website gets infected again. The complete job has three parts: cleaning, fixing the source and asking Google to remove the warnings.
Updated on
The cases we solve most often.
Pages in Chinese or Japanese
We remove the code that creates pages in another language and changes what Google shows about your website.
Redirects
We remove the malware that sends your visitors to malicious, gambling or fake prize websites.
Fake posts and comments
We remove what creates pages and posts no one at your company wrote and fills the website with spam comments.
Dangerous site warning
After the cleanup, we ask Google for a review to remove the warning.
Entry point closed
We update the website and fix the flaw the malware came in through.
Website kept up to date
We can keep taking care of the updates after the cleanup.
Hacked website: what to do now
While you look for help, these six steps reduce the damage and do not get in the way of the cleanup. The order matters: first preserve and contain, then clean.
Do not delete anything
The suspicious files show where the attacker got in. Deleting at random destroys that clue and can bring the website down.
Keep a copy of the website as it is
Download the files and export the database, even if they are infected. This copy is the reference for the cleanup and preserves the content.
Change all passwords
Website admin panel, hosting, FTP or SSH, database and email accounts linked to the website. Turn on two-step verification wherever it is available.
Remove unknown administrators
Check the website's list of users. An administrator account created by the attacker is one of the ways they come back.
Notify the host and contain the website
If the website redirects visitors or asks for data, put it in maintenance mode. The host can tell you about blocks and access logs.
Do not restore a backup over it
An old backup brings back the same flaw and may already be infected. Restoring is a decision for after the diagnosis.
If the website stores customers' personal data, such as registrations, orders or forms, the attack may have to be reported to the people affected and to the data protection authority, depending on the law that applies to you, such as the LGPD in Brazil (where the authority is the ANPD) or the GDPR in the EU. It is worth involving your company's legal counsel right at the start.
How to tell if your website has been hacked
Much malicious code hides from the website owner: it only acts on people who arrive from Google, use a phone or are not logged in. The website can look normal to you and be infected for your visitors.
To check, open the website in an incognito window from a Google result and search for site:yourdomain.com to see all the pages Google knows at your address.
| Sign | What it usually is | Who notices first |
|---|---|---|
| Visitors end up on gambling, prize or pharmacy websites | A malicious redirect, often active only for people who come from Google or use a phone | Your customers. The website owner, logged in, does not see it |
| The search site:yourdomain.com shows pages in Japanese or Chinese | SEO spam: pages created by the attacker inside your address | Google, and you through the drop in search traffic |
| Red "Dangerous site" screen in the browser | Google Safe Browsing found malware, phishing or a harmful download | Any visitor |
| Posts, comments or users that no one at the company created | Access to the website's admin panel has been compromised | Whoever manages the website |
| Email from the host about a block or about spam being sent | The server is being used to send email in bulk or to store malicious files | The host |
| Ads rejected for malicious software | The ad platform found malicious code on the landing page | Whoever manages the ads |
What Google's warnings mean
Google warns in different ways depending on what it found. Knowing which warning it is helps you know what to look for.
| Warning | Where it appears | What Google found |
|---|---|---|
| "Dangerous site", on a red screen | In Chrome and other browsers that use Google Safe Browsing | Malware, phishing or unwanted software on the pages |
| "Deceptive site ahead" | In the browser, before the page opens | Social engineering: a page that imitates another company or tricks the visitor into handing over data or downloading something |
| Warning next to the search result | In Google results | Content placed on the website by third parties, without the owner's permission |
| Security issues: malware, code injection, content injection or URL injection | In Google Search Console and by email to the website owner | The type of hack, the date it was detected and a sample of the affected pages |
How to remove the warning: fix the problem across the whole website, open the Security issues report in Google Search Console and use Request review, describing what was found and what was fixed. According to Search Console help, most reviews take from several days to a few weeks, and requesting a review before the website is clean delays the next response.
Why malware comes back after the cleanup
When the infection reappears days later, the cleanup treated the symptom and left the cause. The most common sources of reinfection:
- Backdoor: a file or piece of code the attacker leaves behind to get in again, often with a name similar to that of legitimate files.
- Outdated plugin, theme or system: the flaw used in the first attack is still there.
- Pirated plugins and themes, which already come with malicious code.
- An administrator user created by the attacker, or a password that was not changed.
- A scheduled task that recreates the deleted code.
- Malicious code in the database, which a file cleanup does not reach.
- Another infected website in the same hosting account.
- A restored backup that already contained the infection.
Backup, security plugin or manual cleanup?
All three options have their place. The choice depends on whether a clean copy exists, whether the malware has already come back and whether there is a Google warning.
| Option | When it works | Limit |
|---|---|---|
| Restore a backup | When there is a copy from before the attack and the flaw is fixed right afterwards | Brings back the same flaw, loses what was published after the copy, and the attack may be older than it looks |
| Security plugin | To find altered files and malicious code that is already known | Does not find everything: disguised code and database infections get through, and the source stays open |
| Manual cleanup by a developer | When the malware comes back, there is no clean backup, there is a Google warning or the website runs on custom code | Depends on access to the files, the database and the hosting |
| Rebuild the website | When the website is old, no longer accepts updates and cleaning would cost more than rebuilding | It is the longest option, and the content must be migrated carefully so the infection does not go along with it |
How artificial intelligence helps when your website has been hacked
AI assistants, such as ChatGPT, Claude and Gemini, help you understand what is happening and organize the next steps. They do not replace access to the server or the analysis of whoever is going to clean the website.
A prompt that works: "My WordPress website redirects to a gambling website only when the visitor comes from Google. I have access to the hosting control panel. Put together a checklist, from most likely to least likely, without deleting anything."
What an AI assistant can do
- Explain a warning: paste the text of the email from Google Search Console or from the host and ask for an explanation in plain language.
- Explain a suspicious piece of code: paste it and ask what it does. AI usually recognizes redirects, obfuscated code and backdoors.
- Put together a checklist for your case, based on the platform, the host and the symptom.
- Help write the review request to Google, with the problem and the fixes made.
- Translate technical terms and prepare questions for the host or for whoever will do the cleanup.
What AI does not solve on its own
- It does not see your server: it analyzes only what you paste into the conversation. What was not shown was not checked.
- It does not confirm that the website is clean: one harmless piece of code says nothing about the other files or the database.
- It can be confidently wrong, pointing to legitimate code as malicious or the other way around. Deleting files just because the AI suggested it can bring the website down.
- It does not find out where the attacker got in without the server's access logs.
- It does not change passwords, close the flaw or request the review from Google for you.
Be careful when pasting: remove passwords, API keys and customer data before sending any file to an AI assistant. WordPress's wp-config.php file, for example, contains the database password.
How to prevent another attack
No measure eliminates the risk. These considerably reduce the chance of the problem happening again:
- Keep the website's system, plugins and themes up to date.
- Delete plugins and themes that are not used, including deactivated ones.
- Use unique passwords and two-step verification for all administrators.
- Have automatic backups, stored outside the website's host.
- Give administrator access only to those who need it, and review the list of users.
- Download plugins and themes only from official sources.
How it works
Backup
We save the website as it is, before touching it.
Cleanup
We remove the malicious code from the files and the database.
Fix
We update everything, change passwords and close the flaw.
Google review
We request the removal of the dangerous site warning, when there is one.
Who it is for
- Websites on WordPress or custom code that have been hacked.
- Websites with Google's red warning or blocked by the host.
- Websites where the malware comes back after every cleanup.
When it is not the right fit
- Viruses on computers or phones: we deal with websites.
- Websites on closed builders, such as Wix, with no access to the files.
- Anyone expecting a promise that the website will never be hacked again: no one can promise that.
Frequently asked questions about website malware removal
- My website was hacked: what should I do?
- Do not delete anything, keep a copy of the website as it is, change the passwords for the admin panel, the hosting and the database, and call someone who can clean it and fix the flaw. Deleting files at random or restoring a backup over the website usually makes the situation worse.
- How do I know if my website has malware?
- The most common signs are redirects to other websites, pages in another language on Google, a dangerous site warning, users or posts no one created, alert emails from the host and slowness for no reason. To check, open the website in an incognito window from Google and search for site:yourdomain.com.
- Why does the website only redirect people who come from Google?
- Because the malicious code is made to hide from the website owner. It checks where the visitor came from and only redirects people who arrive from a search engine, use a phone or are not logged in. That is why the website looks normal to whoever manages it.
- Why does malware come back after the cleanup?
- Because the entry flaw is still open or because a backdoor was left on the website. The cleanup needs to include fixing the source: updating what is outdated, removing users and tasks created by the attacker and changing all passwords.
- Does restoring a backup fix a hacked website?
- Only when the copy is from before the attack and the flaw is fixed right afterwards. Without that fix, the restored website has the same open door and gets infected again. And the backup may already contain the malware, if the attack is older than it looks.
- Does a security plugin remove malware on its own?
- In part. The plugin finds altered files and known malicious code, but it lets disguised code and database infections through, and it does not fix the original flaw. It is useful for prevention and alerts; cleaning a website that has already been hacked calls for manual analysis.
- Does changing hosts remove the malware?
- No. In the move, the infected files and database go along. The cleanup comes first; changing hosts can be part of the fix, if the current infrastructure is the source of the problem.
- Does the host clean a hacked website?
- In general, an ordinary host warns about, blocks or suspends the infected website, and the cleanup is up to the website owner. Managed hosts may include this care; it is worth checking what your contract covers.
- Does Google remove the dangerous site warning?
- Yes, after the website is clean and a review is requested in the Security issues report in Search Console. The timing is up to Google: according to Search Console help, most reviews take from several days to a few weeks.
- How long does website malware removal take?
- It depends on the size of the website, the type of infection and whether there is full access to the files, the database and the hosting. We tell you the time frame after assessing the website, before starting. Removing the Google warning is a separate step, on Google's own schedule.
- How much does website malware removal cost?
- It depends on the size of the website and on what the infection changed. We give you the price after assessing the website, before any work.
- Do you clean websites that are not WordPress?
- Yes. We work with WordPress and with websites on custom code, as long as there is access to the files and the database.
- Will I lose the website's content?
- The cleanup removes the malicious code and preserves the content. Before starting, we make a copy of the website as it is.
- Do I need to tell my customers about the attack?
- It depends on what the attacker accessed. If the website stores personal data and there was a risk to the people concerned, the LGPD, Brazil's data protection law (Law 13,709/2018), provides for notifying them and the ANPD, Brazil's data protection authority; other laws, such as the GDPR in the EU, have their own rules. This is a legal assessment and should be made with whoever is responsible for data protection at your company.
- Can artificial intelligence remove malware from my website?
- Not on its own. An AI assistant explains warnings, analyzes pieces of code you paste and puts together a checklist. It does not access the server, does not confirm that the website is clean and can make mistakes. The cleanup and the fix for the flaw are still the work of someone with access to the website.
- Can the website be hacked again after the cleanup?
- Yes, it can, and no one can promise otherwise. What reduces the risk is fixing the source, keeping everything up to date, using unique passwords with two-step verification and having backups outside the host.
Rest assured, this can be fixed.
Tell us what is happening with your website.