![]() |
|
|
#1
|
|||
|
|||
|
Don't know if this is possible or not, but is it possible MonkeyCMS can determine the CRC of index.php to determine whether its been hacked or not?
I've just had an email from Google telling me Creapsoft has been blocked as a malware site, and lo and behold, there is some evil Javascript code in index.php which wasn't there before. I was more wondering how MonkeyCMS could 'detect' these illegal changes to protect others. I'm normally careful about setting the right permissions on files, etc, so will have to check how they got in. Grr.
__________________
http://www.cscomputerservices.co.uk/ | Providing complete computer solutions | Web hosting with MonkeyCMS pre-installed |
|
#2
|
|||
|
|||
|
Yeah - I can add something in there for the next release. I will check the core site-facing files (index.php and content.php) and will set the site to close if there is a problem or mismatch.
It's a nightmare tracking down the source of a hack as they can happen in so many places. Something that results in a file change usually means quite a high level of access to the server as there's no method or code within Monkey itself that can give access to editing of the core files. Is it a Vidahost box? I wonder if there's a vulnerability in any of the standard packages on there? Did you keep a copy of the javascript? |
|
#3
|
|||
|
|||
|
1.5.0 beta 1 now has a basic CRC check.
I will be working on improving this over the next few releases to really boost security and protect against hacks. |
|
#4
|
|||
|
|||
|
|
|
#5
|
|||
|
|||
|
Sounds similar. It was obfuscated javascript, but I have no idea what the script does. I thought I posted up a link to the code, but it must have been somewhere else.
Its here though: http://chrisjlocke.co.uk/content.php?contentid=22 Due to the long lines, and justification options, it doesn't display pretty. Thanks for adding in the CRC checks though. Much appreciated, especially at short notice.
__________________
http://www.cscomputerservices.co.uk/ | Providing complete computer solutions | Web hosting with MonkeyCMS pre-installed |
|
#6
|
|||
|
|||
|
1.5.0-3 introduces the new CRC check. This will generate a new valid CRC on each upgrade and ensures that everyone's installation is uniquely identified.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|