The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Suspicious File Alert

Discussion in 'Security' started by Tripolis, Jan 12, 2014.

  1. Tripolis

    Tripolis Active Member

    Joined:
    Sep 29, 2012
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Hey,
    some mails about "Suspicious File Alert" have arrived.

    I know what it is but the message comes.
    /tmp/

    Is there a problem to delete all files in /tmp/ ?
    A cronjob can by handle this automatical?

    Regards
     
  2. carlosbss

    carlosbss Member

    Joined:
    Jan 6, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    It could be a probl as it deletes session files and probably some temp files for programs running. But you could make a cron to delete all .zip, .php and so on.
     
  3. Tripolis

    Tripolis Active Member

    Joined:
    Sep 29, 2012
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Okay, but programms ( website ) use there own cache i thought.
    Many folders in there.
     
  4. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    If the file is actually malicious, it would be good to discover via which account it is being uploaded and close any scripting vulnerability or compromise allowing the upload. Is your tmp mounted in a "secure" fashion?

    Many php scripts will just use the values set by php for session.save_path and upload_tmp_dir unless they have been configued to use areas within the account itself.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,787
    Likes Received:
    665
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page