Securing Your Joomla Website


Published on

Securing Your Joomla Website - By Mike Carson - Joomla Day New York City December 5th, 2010

Published in: Technology
1 Comment
  • One of the very best presentations I've ever seen. Thanks, Mike.
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Changing this prefix will prevent most exploits. If your site is already set up you can use a tool called “EasySQL” to change your current database prefix.Creating a new super administrator will also create a new user ID. Hackers already know 2/3rds of your original Super Admin information. They know the Username and User ID. They only need to figure out your Password.Turning off the editor site wide in the global configuration will prevent front end users from uploading and manipulating files from the front end. Just select NO EDITOR from the dropdown list.
  • Securing Your Joomla Website

    1. 1. Securing Your Joomla Website<br />Mike Carson<br /><br />Joomla! Day New york CityDecember 4th & 5th, 2010<br />
    2. 2. Is Joomla Secure?<br />YES! Joomlais 100% Secure.<br />Untilyouinstallit on a server<br />
    3. 3. WhyWorry?<br />BecauseJoomladoesn’t come with a TrunkMonkey.<br />
    4. 4. What Can I Do?<br />Understandthatsecurityis a layeredapproach<br />Select a properhostingcompany<br />Follow best practice guidelines<br />Use the toolsthat are available<br />TAKE IT SERIOUSLY! <br />MAKE IT MANDATORY!!!<br />
    5. 5. Initial Steps<br />Change the jos_databaseprefix<br />RemoveAdmin user<br />Turn OFF the WYSIWYG editor<br />Subscribe to the Joomla Security Updates list<br />
    6. 6. Let’s Talk Tools<br />Security startsat home<br />Use a good anti-virus software likeKaspersky<br />Use a passwordgenerator/ or<br />Browser Updates<br />Operating System updates<br />Use secure SFTP toolsWinSCP, Filezilla, Dreamweaver, Putty SSH<br />
    7. 7. Quality Joomla Hosting<br /><br /><br /><br /><br /><br />Stayawayfrom,,, Yahoo Web Hosting<br />General rule of thumb: You getwhatyoupay for!<br />
    8. 8. Permissions<br />Use proper permissions on files and directories. <br />They should never be 777<br />What they should be:<br />Files = 644 <br />Directories = 755<br />
    9. 9. Akeeba Backup<br />Akeeba Backup<br /><br />2 versions to choosefrom (Core and Pro)<br />Backup your entire site and its database with a single click<br />Automatic Backups (Cron and Cron-less)<br />Offsite Backups to S3, Dropbox, Rackspace, FTP<br />Test your backups once in a while<br />
    10. 10. Akeeba AdminTools<br />AkeebaAdmin Tools Pro –<br />IntegratedJoomla Updater<br />Web Application Firewall IP Whitelist/Blacklist, Bad Words Filter, Security Exceptions Log<br />Htaccess File Maker – Experts ONLY!<br />Permissions Fixer<br />
    11. 11. OtherAdminSecurity Tools<br />Jsecure Plugin -<br />JomDefender –<br />JooReCapchta -<br />sh404sef –<br />Secure Live –<br />PHP Security Suite -<br />
    12. 12. Additional Suggestions<br />Completelyremoveunused extensions<br />Leave FTP File Layer disabled<br />From the Joomla administrator area make sure the Register Globals is set to off<br />Avoid using PHP4<br />
    13. 13. DisasterRecovery Plan<br />Create a DisasterRecovery Plan<br />A list of the sites you maintain <br />A list of user names and passwords for your sites <br />The databases names, server addresses or IP, user names and passwords, that are used for your list of sites <br />FTP user names and passwords for each of your sites <br />Your web hosts tech support number <br />Have a backup web host decided in case for some reason you need to move quickly <br />Know how to get into your domain registrar so you can change Name Servers if needed <br />Name, number, email of a web professional that may be able to help restore your systems if needed <br />Practice a FULL recovery<br />
    14. 14. So noweverything<br />is all good, right?<br />UH OH<br />
    15. 15. I’ve Been Hacked<br />Don’t Panic! <br />Remember? You have a disasterrecovery plan.<br />Login and change youradminpassword.<br />Browseyour files for anythingobviouslyunusualthatdoesn’tbelong.<br />Grabyourlatest few backups and compare those to make sure they do not alsocontainanypayloads.<br />Downloadyour server log files. Check you logs for IP's calling suspicious files or attempting POST commands to non-form's.<br />Notify your host and work with them to clean up the site, and to make sure there are no back doors to your site or hire a professional to help<br />Restore yourwebsitewith a clean backup copy.<br />EnsureJoomla and your extensions are all using the latest versions.<br />
    16. 16. DatabasePasswords<br />Changingyour super adminpassword in MySQL<br />Go to<br />
    17. 17. DatabasePasswords<br /><ul><li>Open phpMyAdmin and browse the following table (jos_users)
    18. 18. Then browse the Super Admin record you want to change
    19. 19. Then paste your new MD5 encrypted password into the password field.
    20. 20. Then test your new admin login.</li></li></ul><li>Additional Sources<br />SalvusAlerts -<br />Vulnerable Extensions List! This listis not veryaccuratedespitetheir claims<br />
    21. 21. Full security audit services are available for your Joomla website.<br />Visit<br />