What Is a Backdoor and Why It Must Be Hunted Separately from a Virus
After a hack the attacker tries to leave themselves a backup entrance — a backdoor. It can be a web shell, a hidden account or a modified file. Until the backdoor is found and removed, the treatment of the site is not complete. We have restored more than 150 sites after hacks and we know for sure: it is the backdoors that cause 90% of repeated infections.
What Types of Backdoors Exist
Attackers show ingenuity. The most common types:
- A web shell — a malicious script for managing files via a browser.
- A hidden account with administrator rights.
- A modified Joomla file with a built-in login function.
- Malicious code in the database that creates a backup entrance.
- A modified
configuration.phpfile with substituted credentials.
Often the attacker leaves several backdoors: one in the files, a second in the database, a third in the accounts. Therefore the search must be comprehensive.
Why a Backdoor Is Not Found During a Regular Cleanup
A superficial cleanup removes the visible signs of infection but not the hidden ones. The attacker specifically hides the backdoor so that it is not found:
- They disguise the shell as a legitimate file.
- They inject malicious code into an unused extension.
- They create an account with an inconspicuous name.
- They place the backdoor in the database rather than in the files.
Until the backdoor is found, the attacker can return at any moment — even after changing passwords and updating Joomla.
Where to Look for Backdoors
A full check includes:
- Scanning all PHP files against malicious code signatures.
- Checking the database for hidden records and foreign accounts.
- Analyzing the
configuration.phpfile for changes. - Checking the server logs for suspicious requests.
- Comparing the files with the original Joomla versions.
Signs That a Backdoor Remains
If after the cleanup:
- The site is infected again a few days later.
- New files appear without your involvement.
- New users appear in the admin panel.
- Passwords change without your knowledge.
These are sure signs that the cleanup was incomplete and a backdoor remains.
How to Guaranteed Remove a Backdoor
The only reliable way is a full professional cleanup with a search for all hidden entrances. This includes:
- Scanning all files, including the cache and temporary folders.
- Checking the database for malicious records.
- Analyzing all Joomla accounts.
- Searching for changes in the system files.
- Checking for hidden scripts in the template and extensions.
Only after such a check can you say the site is truly clean.
"Removing a virus is half the job. Finding and closing the backdoor is the other half, without which the cleanup is pointless."
If the site has already been treated but is infected again — do not blame the previous contractor. Perhaps the cleanup was incomplete and a backdoor remained. A comprehensive check is needed. The Malicious Code Removal and Recovery After a Hack services include a full search for backdoors and cleaning of the files and database. And after the treatment we close the vulnerability — Joomla Security and Firewall, with a 30-day guarantee.