CyberThreatIntel/cybercriminal groups/TA505/04-10-2019/Malware Analysis 04-10-2019.md
2019-10-06 23:58:20 +02:00

6.4 KiB

Analysis of the new TA505 campaign

Table of Contents

Malware analysis

Current loader used by the group

The inital vector is a malicious excel file who used a XLM macro (macro v4). This use an function for launch the payload when the excel windows is active (selected as primary window). As first action, this execute the module 1.

alt text

The function call in Module 1 create a Wscript object for change the current directory, show the fake message and push debug messages.

alt text alt text

The userform execute the extract and execute a different PE instead of the architecture of the victim (x86 and x64).

alt text alt text alt text

As anti-forensic technique, this delete the files by call of kill functions.

alt text

We can note that a function is unused and seem to be a rest of the development of the macro.

alt text

The implant executed push all in memory with a call of VirtualAlloc function.

alt text alt text

Once this, this check the system informations, the process executed on the computer and try to detect if this run in a sandbox (low size of the disk).

alt text alt text

This send the informations to the C2 and wait the next instruction of the group.

alt text

We can list the informations send in the following variables :
Variables Description
&D= Name of the computer
&U= Name of the user
&OS= Version of the OS
&PR= List of process (separed by %7C)
And is presented this way (extracted from sandbox):

&D=User-PC&U=admin&OS=6.1&PR=Dwm.exe%7CEXCEL.EXE%7CExplorer.EXE%7Ctaskhost.exe%7Cwindanr.exe%7C

That interesting to note that the group get only the process for see if the victim have security messures (AV, endpoint...) before launch the next step, that can be in the logic of the lastest analysis of the group to used clop ransomware.

The change currently the trust certificate for bypass the security messures, we can observed on the analysis of VK_Intel :

Cyber kill chain

The process graphs resume all the cyber kill chains used by the attacker.

alt text

References MITRE ATT&CK Matrix

List of all the references with MITRE ATT&CK Matrix
Enterprise tactics Technics used Ref URL

Indicators Of Compromise (IOC)

List of all the Indicators Of Compromise (IOC)
Indicator Description
Domain requested
IP requested
HTTP/HTTPS requests
Domain C2
IP C2
This can be exported as JSON format Export in JSON
Original tweet:
Samples :
Documents: