Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7589305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:07:39+00:00 2026-05-30T20:07:39+00:00

I have a WHM server running Centos 4 (yes I know it just turned

  • 0

I have a WHM server running Centos 4 (yes I know it just turned unsupported) all updates are installed, everything seems up to date.
In Dec 2011 one of the server owners, who has like 50 websites on it, got his computer infected and the virus/trojan read his FTP saved passwords then logged in by ftp and modified ALL index.php files it could find, we though we cleared all.

The problem is the following, they’re somehow sending e-mails using a perl script fired by Apache I need a way to find out which is the path of the script they’re firing, in “ps” it only shows as “perl”, when checking the files opened by the perl script it lists ALL apache vhost logs, apache error log and /dev/null.

I NEED a way to find out the path of the script that’s sending the e-mails, the server got listed into CBL at spamhaus twice by now, searching “by hand” it’s not an option as there are over 200 websites there that take over 100GB of space on the server.

Server it is NOT compromised, the only problem is that I can’t find the script that sends the spam.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T20:07:40+00:00Added an answer on May 30, 2026 at 8:07 pm

    You can try and figure it out from the /proc directory

    Grab the PID of the running perl process, then check

    /proc/PID/cwd which will be a symlink to the current working directory of the script

    check

    /proc/PID/cmdline which will contain the full command line of the running process

    (in both those cases replace PID with the pid of the process)

    Disclaimer: I’m working off my linux machine, so it is entirely possible that your file system layout is different

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed and enabled SSH2 in my CentOS WHM/CPanel server, here is from
I have server (WHM, ruby 1.9.2, Rails 3.0.3, centOS, passenger) and I just deploy
I have server (centOS 5.5) and WHM installed. I installed manually Ruby 1.9.2, Rails
I have a server which is running CentOS with cpanel/whm. Otherwise, it is pretty
Have just installed WHMCS on my CentOS 6.0 x86 VPS server with cPanel. I've
I have a vps with cPanel/Whm/CentOS 5.5 and the problem is that all parameters
I own a server running whm / cpanel, and I have recently been experimenting
Currently I have a dedicated server with WHM and Joomla running. I want to
I have using mysql 5.1 with cpanel /whm centOS. I had to use trigger
I've got full control of my Apache / WHM / CPanel server. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.