Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7691267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:35:00+00:00 2026-05-31T20:35:00+00:00

I have a Joomla 1.0 website running on a shared host which I don’t

  • 0

I have a Joomla 1.0 website running on a shared host which I don’t have shell access (only FTP available). Recently my website has been marked as malware site by Google and I notify that the .htaccess file is modified with malicious contents. These redirections rule to a website called ‘depositpeter.ru’ are added to the .htaccess:

ErrorDocument 400 http://depositpeter.ru/mnp/index.php
ErrorDocument 401 http://depositpeter.ru/mnp/index.php
…

If I clean this .htaccess file, it will be modified back with malicious contents a few minutes later.

I suspect there are some backdoor PHP and javascript has been injected to our codebase which constantly modifies the .htaccess file. However I have no idea how these malware landed on my site in the first place. I’m pretty sure that no FTP users have uploaded those to my site. A virus scan found that there is a user-uploaded image being injected with PHP.ShellExec malware (I’m not sure how this PHP.ShellExec work and if it is related to the .htaccess virus though).

My question is how should I start troubleshooting and cleaning this malware? I’m pretty clueless and have little experience dealing with web malware. Any help is greatly appreciate!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T20:35:02+00:00Added an answer on May 31, 2026 at 8:35 pm

    It might be beyond your power to fix this yourself. But here are some things that you should do.

    • Download any apache/php logs you have – these can point to the security holes being exploited. If you can find the entries, make sure the holes are covered.
    • Remove the image that is indicated as infected.
    • Contact your host – several hosting companies have automated solutions to find and clean up common vulnerabilities. Also, if your site is infected, odds are, other clients on the same server are, too.
      • Conversely, it might be another client on the same server that’s causing this problem for you.
    • Add an .htaccess file in the uploads directory that would prevent access to anything other than uploaded images. It might look something like this:

      Order deny,allow
      Deny from all
      <FilesMatch "\.(jpe?g|bmp|png)$">
      Allow from all
      </FilesMatch>

    • If your host hasn’t blocked functions that allow php to invoke system commands (you’d be surprised) and you know what to do, you can mimic shell access with a custom php script using system, exec, popen and some other functions. I use a script I made myself: https://github.com/DCoderLT/Misc_Tools/blob/master/sh/sh.php . It’s fairly primitive, but got the job done when I needed it to.

    Future considerations:

    • Make backups. Your hosting company might provide these going back a certain period of time.
    • Keep an eye on the updates. Subscribe to the Joomla announcements mailing list. Apply these updates as quickly as you can. Popular applications like Joomla and WordPress are a frequent and easy target for script kiddies and automated bots.
    • Make backups.
    • Make sure your hosting company has the server set up properly, so that user A cannot affect user B’s files (file permissions, suexec or similar). I don’t know how common this is these days, but it used to be a frequent oversight in the past.
    • Make backups.
    • Don’t leave write permissions enabled on files and folders that don’t need it.
    • Make backups.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a new website for a client, (joomla) which is currently running
We have a Joomla website which we want to copy over to another host
I have a Joomla website up and running and need to set up a
I am running Joomla! 2.5.1 for my website. I wish to have this mass-registration
I have a Joomla-Based website and as far as I know, the only way
I have to manually migrate a Joomla website to another server (shared hosting). Our
I have a Joomla Website located at http://www.MikeSilvis.com , and upon going to the
I have a crashed/hacked Joomla installation (Files and Folders only) Database has NOT been
i have a website in joomla 1.0. it has some links to external sites
We have a website based on Joomla! in the joomla directory, there are many

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.