Analysis by: Wilbert Vidal

ALIASES:

Trojan:Win32/Occamy.C (Microsoft); Mal/Trickbt-A (Sophos AV)

 PLATFORM:

Windows

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

  • Threat Type: Trojan Spy

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

Infection Channel: Dropped by other malware

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

However, as of this writing, the said sites are inaccessible.

  TECHNICAL DETAILS

File Size: 400,384 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 26 Apr 2018
Payload: Drops files, Connects to URLs/IPs

Arrival Details

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

Installation

This Trojan Spy adds the following folders:

  • %Application Data%\LogMonitor
  • %Application Data%\LogMonitor\Modules
  • %Application Data%\LogMonitor\Modules\injectDll32_configs

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

It drops the following files:

  • %Application Data%\LogMonitor\README.md
  • %Application Data%\LogMonitorconfig.conf
  • %Application Data%\LogMonitor\FAQ
  • %Application Data%\LogMonitor\Modules\injectDll32
  • %Application Data%\LogMonitor\Modules\systeminfo32
  • %Application Data%\LogMonitor\Modules\injectDll32_configs\dinj
  • %Application Data%\LogMonitor\Modules\injectDll32_configs\dpost
  • %Application Data%\LogMonitor\Modules\injectDll32_configs\sinj
  • %Temp%\Cab{random values}.tmp
  • %Temp%\Tar{random values}.tmp

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.. %Temp% is the Windows temporary folder, where it usually is C:\Windows\Temp on all Windows operating system versions.)

It drops the following copies of itself into the affected system:

  • %Application Data%\LogMonitor\{malware filename}.exe

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

Other System Modifications

This Trojan Spy adds the following registry keys:

HKLM\SOFTWARE\Policies\
Microsoft\Windows Defender\Exclusions\
Paths
%Application Data%\LogMonitor = 0

Other Details

This Trojan Spy connects to the following URL(s) to get the affected system's IP address:

  • {BLOCKED}rc.net
  • {BLOCKED}zip.com
  • {BLOCKED}yip.com
  • {BLOCKED}p.{BLOCKED}aws.com

It connects to the following possibly malicious URL:

  • {BLOCKED}.{BLOCKED}.198.156
  • {BLOCKED}.{BLOCKED}.4.216
  • {BLOCKED}.{BLOCKED}.232.173
  • {BLOCKED}.{BLOCKED}.114.68
  • {BLOCKED}.{BLOCKED}.207.204
  • {BLOCKED}.{BLOCKED}.196.254
  • {BLOCKED}.{BLOCKED}.252.154
  • {BLOCKED}.{BLOCKED}.163.80
  • {BLOCKED}.{BLOCKED}.48.3
  • {BLOCKED}.{BLOCKED}.174.189
  • {BLOCKED}.{BLOCKED}.49.162
  • {BLOCKED}.{BLOCKED}.1.111

However, as of this writing, the said sites are inaccessible.

It adds the following scheduled tasks:

  • Task Name: NativeLogger
  • Schedule: Every 5 minutes
  • Task to be run: "%Application Data%\LogMonitor\{malware filename}.exe"

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

  SOLUTION

Minimum Scan Engine: 9.850
FIRST VSAPI PATTERN FILE: 14.226.01
FIRST VSAPI PATTERN DATE: 01 May 2018
VSAPI OPR PATTERN File: 14.227.00
VSAPI OPR PATTERN Date: 02 May 2018

Step 1

Before doing any scans, Windows XP, Windows Vista, and Windows 7 users must disable System Restore to allow full scanning of their computers.

Step 2

Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.

Step 3

Restart in Safe Mode

[ Learn More ]

Step 4

Deleting Scheduled Tasks

The following {Task Name} - {Task to be run} listed should be used in the steps identified below:

  • NativeLogger - Task to be run: "%Application Data%\LogMonitor\{malware filename}.exe"

For Windows 2000, Windows XP, and Windows Server 2003:

  1. Open the Windows Scheduled Tasks. Click Start>Programs>Accessories>
    System Tools>Scheduled Tasks.
  2. Locate each {Task Name} values listed above in the Name column.
  3. Right-click on the said file(s) with the aforementioned value.
  4. Click on Properties. In the Run field, check for the listed {Task to be run}.
  5. If the strings match the list above, delete the task.

For Windows Vista, Windows 7, Windows Server 2008, Windows 8, Windows 8.1, and Windows Server 2012:

  1. Open the Windows Task Scheduler. To do this:
    • On Windows Vista, Windows 7, and Windows Server 2008, click Start, type taskschd.msc in the Search input field, then press Enter.
    • On Windows 8, Windows 8.1, and Windows Server 2012, right-click on the lower left corner of the screen, click Run, type taskschd.msc, then press Enter.
  2. In the left panel, click Task Scheduler Library.
  3. In the upper-middle panel, locate each {Task Name} values listed above in the Name column.
  4. In the lower-middle panel, click the Actions tab. In the Details column, check for the {Task to be run} string.
  5. If the said string is found, delete the task.

Step 5

Delete this registry key

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Exclusions\Paths
    • value: %Application Data%\LogMonitor = 0

Step 6

Search and delete these folders

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.  
  • %Application Data%\LogMonitor

Step 7

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_TRICKLOAD.WIL. 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.


Did this description help? Tell us how we did.