• hi,

    i m hacked with a virus that keeps creating files .htaccess in all folders…

    the content of the files is

    Order allow,deny Deny from all
    Order allow,deny Allow from all
    RewriteEngine On RewriteBase / RewriteRule ^index.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

Viewing 1 replies (of 1 total)
  • Hi @nios

    It appears that your website has been compromised by a malicious script that is creating .htaccess files in multiple folders. This script seems to be attempting to control access to your site and manipulate its behavior.

    To address this situation, here are the steps you should take:

    1. Isolate and Secure – Immediately take your website offline or restrict access to prevent further damage. You may want to temporarily disable your website while you work on resolving this issue.
    2. Scan and Clean – Perform a thorough scan of your website’s files and database to identify any malicious files or code. You can use security plugins or tools to assist with this process.
    3. Change Passwords – Change the passwords for all accounts associated with your website, including FTP, hosting control panel, and content management system (CMS) admin accounts.
    4. Update Software – Ensure that your CMS, plugins, themes, and any other software are up to date. Vulnerabilities in outdated software can be exploited by attackers.
    5. Review Server Logs – Check your server logs to identify any unusual activity or patterns that might reveal how the attacker gained access. This information could be useful in preventing future attacks.
    6. Implement Security Measures– Enhance the security of your website by installing a reputable security plugin or solution. Consider using a web application firewall (WAF) like WordFence to help prevent unauthorized access and attacks.
    7. Backup and Restore – If you have clean backups of your website, restore it from a point before the compromise occurred. Ensure that the backups themselves are not infected.
    8. Seek Professional Help – If you’re unsure about any of the steps or if the situation seems beyond your expertise, consider hiring a professional security expert or your hosting provider’s support team to assist you.

    I hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘virus creating .htaccess in all folders’ is closed to new replies.