Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 45
  1. #1
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Question Spammer and **bypassed** listed in Exim Mail Statistics

    I have an issue with a spammer that I have not been able to track down via logs.

    Enabled feature set:

    Include a list of Pop before SMTP senders in the X-PopBeforeSMTP header when relaying mail. (exim 4.34-30+ required)

    Prevent the user 'nobody' from sending out mail to remote addresses (php and cgi scripts generally run as nobody if you are not using phpsuexec and suexec respectively.)

    Silently Discard all FormMail-clone requests with a bcc: header in the subject line

    Track the origin of messages sent though the mail server by adding the X-Source headers (exim 4.34+ required)

    The SMTP Tweak is enabled.

    Enabled: Verify the existance of email senders.

    Enabled: Discard emails for users who have exceeded their quota instead of keeping them in the queue.

    log_selector = +all


    What concerns me is viewing mail delivery stats via WHM I see a listing for
    Deliveries by transport
    -----------------------
    Volume Messages
    **bypassed** 158KB 7



    Even with log_selector = +all I am not able to track this spammer down.


    Provided below is the mail headers reported to us.

    Return-path: <claywhiting0@meineke.com>
    Received: from defapp07.gatewaydefender.com (unverified [207.180.209.127]) by buckeye-express.com
    (Rockliffe SMTPRA 6.1.20) with ESMTP id <B0015165024@mail.buckeye-express.com> for <genoxxxx@buckeye-express.com>;
    Fri, 23 Sep 2005 06:59:31 -0400
    Received: from yyyyyyyyy.com (Not Verified[xx.xx.xx.xx]) by defapp07.gatewaydefender.com
    id <BK10fbc4eb>; Fri, 23 Sep 2005 06:59:30 -0400
    Received: (qmail 27788 invoked by uid 46782); Sun, 25 Sep 2005 15:46:54 +0200 (CEST)
    Message-Id: <20050925154654.27788.qmail@yyyyyyyyy.com>
    From: "Meira Branson" <claywhiting0@meineke.com>
    To: "genoxxxx" <genoxxxx@buckeye-express.com>
    Date: Sun, 25 Sep 2005 15:46:54 +0200 (CEST)
    Subject: Mom was used by her son
    Mime-Version: 1.0
    Content-Type: text/plain


    I expect more header information as a result of my above enabled features but with **bypassed** appearing in Exim Mail Statistics I am concerned they may be indeed bypassing the system.

    The domain as expected does not exist on the system. No new accounts on server look questionable. phpbbversion check scan has been ran and versions older than 16 have been disabled +5 days.

    I also run mail-watch on the server which has not reported any accounts.

    I have ran the following with no results:

    grep '20050925154654.27788' /var/log/exim_mainlog
    grep 'meineke.com' /var/log/exim_mainlog
    grep 'genoxxxx@buckeye-express.com' /var/log/exim_mainlog
    grep 'mom was used by her son' /var/log/exim_mainlog
    grep -r 'genoxxxx@buckeye-express.com' /home/*


    This is racking my brain as I cannot track this email down and I hope it is not a new exploit in exim.

  2. #2
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    I should also mention server's formmail* helpdesk* cgiemail* real* are all disabled in /usr/local/cpanel/cgi-sys

  3. #3
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    Because these are not appearing in exim I can only suspect these are by a trojanned machine smarthosting through this server.

    We run rootkithunter and tripwire twice a day and they have not found anything though so this out to be fun.

  4. #4
    Member
    Join Date
    Jun 2005
    Posts
    124

    Default

    Hello,

    If 207.180.209.127 is not your IP, other is using a fake mail to spam, from account@servername.com, then you got all error mails from the failed mails.

  5. #5
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    Nonsense. That is gatewaydefender.com

    Quote Originally Posted by IberHosting
    Hello,

    If 207.180.209.127 is not your IP, other is using a fake mail to spam, from account@servername.com, then you got all error mails from the failed mails.

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    That email isn't originating from a cPanel server running exim. Either the headers are forged or the initial Received line (read them backwards) clearly shows this:

    Received: (qmail 27788 invoked by uid 46782); Sun, 25 Sep 2005 15:46:54 +0200 (CEST)

    So, it appears to be a joe-job of sorts if that is indeed the original header of the actual spam email.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  7. #7
    sv1
    sv1 is offline
    Member
    Join Date
    Aug 2003
    Posts
    140

    Default

    Any update Solokron?

  8. #8
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    Which is why I suspect a trojan is installed bypassing and not utilizing exim.

    I don't know why they would joe-job the server but that is possible as well.

    Quote Originally Posted by chirpy
    That email isn't originating from a cPanel server running exim. Either the headers are forged or the initial Received line (read them backwards) clearly shows this:

    Received: (qmail 27788 invoked by uid 46782); Sun, 25 Sep 2005 15:46:54 +0200 (CEST)

    So, it appears to be a joe-job of sorts if that is indeed the original header of the actual spam email.

  9. #9
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    "20050925154654.27788.qmail@yyyyyyyyy.com"

    Qmail.

  10. #10
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    I'm actually looking at another server with the exact same problem and so I'm happy to withdraw my suggestions that it isn't from the actual server

    It appears to me on the server I'm looking at that they're coming in through a vulnerable php script, most likely one of the usual candidates (phpBB or phpNuke). However, I've yet to track down which script is being used.

    Have you checked that every phpBB installed on the server (if there are any) are definitely running v2.0.17, including phpNuke installations?
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  11. #11
    Member
    Join Date
    Aug 2003
    Location
    Tucson,AZ
    Posts
    77

    Default

    Quote Originally Posted by chirpy
    I'm actually looking at another server with the exact same problem and so I'm happy to withdraw my suggestions that it isn't from the actual server

    It appears to me on the server I'm looking at that they're coming in through a vulnerable php script, most likely one of the usual candidates (phpBB or phpNuke). However, I've yet to track down which script is being used.

    Have you checked that every phpBB installed on the server (if there are any) are definitely running v2.0.17, including phpNuke installations?
    This brings up a good question about phpBB - is there any way to upgrade all the installed versions to the latest code w/o having to log into their control panel and do it that way?

    bigj

  12. #12
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    Good to hear! Hopefully we can track this down.

    As mentioned I have ran a phpbbversion check up to .16 about 8 days ago but not phpnuke. I have noticed by grepping out the home directories for "qmail" nuke and also phpAdsNew generally have a lot of references to qmail. Is there a ver check script available for nuke?


    Quote Originally Posted by chirpy
    I'm actually looking at another server with the exact same problem and so I'm happy to withdraw my suggestions that it isn't from the actual server

    It appears to me on the server I'm looking at that they're coming in through a vulnerable php script, most likely one of the usual candidates (phpBB or phpNuke). However, I've yet to track down which script is being used.

    Have you checked that every phpBB installed on the server (if there are any) are definitely running v2.0.17, including phpNuke installations?

  13. #13
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    If installed via cPanel you can use the add-on update module. Otherwise the following script is useful in sending out warnings and disabling out-dated forums with an .htaccess file.

    http://www.cplicensing.net/files/scripts/chkphpbbver


    Quote Originally Posted by bigj
    This brings up a good question about phpBB - is there any way to upgrade all the installed versions to the latest code w/o having to log into their control panel and do it that way?

    bigj

  14. #14
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    This php mail header patch looks to be worth a shot as well.

    http://choon.net/php-mail-header.php

  15. #15
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    That mail() patch looks insteresting but may not help in this case because it appears to bypass the local mail server and presumably contains a remailer of its own that that wouldn't pick up.

    I have the following on the check for my modified chkphpbbver:
    Code:
    				if($f eq "0" and $s < 17) {
    So it locates all phpBB databases that are not running at 2.0.17
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. View Mail Statistics/Exim Stats, also for 7 day and 30 day periods
    By cPanelDavidG in forum Feature Requests for cPanel/WHM
    Replies: 5
    Last Post: 09-19-2011, 06:24 AM
  2. View Mail Statistics - Shows Mail From External Domain
    By oshs in forum E-mail Discussions
    Replies: 3
    Last Post: 07-11-2009, 07:20 AM
  3. Exim statistics
    By Valuehosted in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 11-29-2003, 12:57 PM
  4. Exim crashing due to spammer
    By jcsolutions in forum cPanel and WHM Discussions
    Replies: 82
    Last Post: 09-08-2003, 08:07 AM
  5. Email Address Black Listed By Exim?
    By bmcpanel in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-17-2002, 07:43 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube