Analysis by: Christopher Daniel So

ALIASES:

MAC.OSX.Trojan.Lamadai.B (FSecure)

 PLATFORM:

Mac OS X

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel: Dropped by other malware

This backdoor may be dropped by other malware.

It executes commands from a remote malicious user, effectively compromising the affected system. It connects to a website to send and receive information.

  TECHNICAL DETAILS

File Size: 46,120 bytes
File Type: Mach-O
Memory Resident: Yes
Initial Samples Received Date: 29 Mar 2012

Arrival Details

This backdoor may be dropped by the following malware:

  • TROJ_MDROPR.LB

Installation

This backdoor drops the following copies of itself into the affected system:

  • /Applications/Automator.app/Contents/MacOS/DockLight

Autostart Technique

This backdoor drops the following files:

  • /Library/LaunchAgents/com.apple.DockActions.plist

Backdoor Routine

This backdoor executes the following commands from a remote malicious user:

  • 1 - upload a file to the C&C server
  • 2 - download a file from the C&C server
  • 3 - execute a command using /bin/sh

It connects to the following websites to send and receive information:

  • 2012.{BLOCKED}ip.net:8080

  SOLUTION

Minimum Scan Engine: 9.200
FIRST VSAPI PATTERN FILE: 8.870.06
FIRST VSAPI PATTERN DATE: 29 Mar 2012
VSAPI OPR PATTERN File: 8.871.00
VSAPI OPR PATTERN Date: 29 Mar 2012

Step 1

Remove the malware/grayware file that dropped/downloaded OSX_KONTROL.EVL

NOTES:

Step 2

Delete the autostart file used by this malware. To delete the autostart file, open a Terminal window and type the following command:

rm "/Library/LaunchAgents/com.apple.DockActions.plist"

Step 3

Terminate the malware process. To terminate the malware process, open a Terminal window and perform the following:

  1. Enter the following command:

    ps -A

  2. In the Terminal window, search for a line similar to the following:

    {number} ?? Ss {time} /Applications/Automator.app/Contents/MacOS/DockLight

    Take note of the number. This number is the malware process ID (PID)
  3. Enter the following command:

    kill {malware PID}

Step 4

Scan your computer with your Trend Micro product to delete files detected as OSX_KONTROL.EVL 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 this Knowledge Base page for more information.

To open a Terminal window, double-click Applications > Utilities > Terminal in Finder.

To close the Terminal application, press ⌘ (Command) + Q.


Did this description help? Tell us how we did.