Skip to main content

cPanel User Spamming

Comments

6 comments

  • cPanelMichael
    Hello :) Check to see if there are any cron jobs configured for this account. Look for any scripts with the ability to send out email. Also, review one of the SPAM messages in the queue to see if you can find any information in the message headers. Thank you.
    0
  • ceh2324
    Hello, 1.There used to be a cronjob running in the path "/var/spool/cron/user" but it was pointing a tmp file which does not exist at all any ways I removed the cronjob. 2. How can I check for scripts which are sending mails is there any way to find them. 3. The mail header shows its generated from the cpanel user. from my first comment its says "Executable: /usr/bin/perl" and "Command Line: /usr/bin/crond" does it mean its running perl script
    0
  • mbodamer
    [quote="ceh2324, post: 1504982">Hello, 1.There used to be a cronjob running in the path "/var/spool/cron/user" but it was pointing a tmp file which does not exist at all any ways I removed the cronjob. 2. How can I check for scripts which are sending mails is there any way to find them. 3. The mail header shows its generated from the cpanel user. from my first comment its says "Executable: /usr/bin/perl" and "Command Line: /usr/bin/crond" does it mean its running perl script
    Hi, Not sure if this will help you... but I find after a situation like this I run maldet to detect suspicious files. You can check it out here, its free and it works well. https://www.rfxn.com/projects/linux-malware-detect/ Hope it helps.
    0
  • cPanelMichael
    Have you reviewed the files within the account for any scripts with the ability to send out email? Look for files with the ability to send email, and try contacting the user to see if they are aware of this behavior. You may want to consider suspending the account if you want to prevent additional SPAM from sending out while you investigate. Thank you.
    0
  • ceh2324
    As from my first it says that script is using perl but i can't find any .pl file in the users home directory. Is there any way to find the script exactly or any procedure to find the culprit.
    0
  • iserversupport
    Try ps -aux | grep PID and see more details of that pid also you can see all process of that particular user using ps -aux | grep username
    0

Please sign in to leave a comment.