How to edit files without changing the last modified date?
Consider this PHP code:

touch('/path/to/file', strtotime('-1 month'));


That will change a file's modified date to one month ago.

It's pretty easy to mess with the modified date of a file if you've got access to the server, which your hackers obviously have (at least to some degree).