Support

Admin Tools

#10075 Steps I take to identify a hack?

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Friday, 21 October 2011 03:08 CDT

earthrat
What would be some common steps to take to identify how a site got hacked?

nicholas
Akeeba Staff
Manager
I would recommend doing some reading first. Here are some good resources:
- Forensic analysis (OWASP)
- Computer Security Incident Handling Guide (NIST)
- (Read this and tell me if it reminds you of what some software you use does to prevent attacks, he he!)
- Unhacking your site (AkeebaBackup.com)

Analysing a hack is not very easy and it's almost impossible to detect if it was a "back door hack", i.e. another hosting account modified your site's files due to a bad ownership/permissions configuration. The reason being that back door attacks would only show on the other site's logs or the bash log file (in case the attacker used ssh on a compromised account) which is simply not accessible to you.

Furthermore, if someone stole your FTP/SFTP or your database access credentials, it's very unlikely that you can gather adequate information. That would require access to FTP, bash or MySQL logs which may not be even kept on a cheap shared host and, certainly, are not available to you.

However, the most common hacking reasons being web-based attacks and permissions issues, I think that you can figure out which one of those two venues was used in an attack and protect your site against it accordingly.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!