CyberThreatIntel/Pakistan/APT/Gorgon/09-09-19/Malware analysis 09-09-19.md
2019-09-13 00:58:35 +02:00

6.9 KiB

[Update] New samples, same TTPs and accounts

Table of Contents

Malware analysis

The initial vector is an VBA macro from a Maldoc. This use two functions for obfuscated the main command.

alt text

Once this removed, we can see that use the only command is mshta for invoke the loader.

alt text

This web page use unescape (4 times) for use again mshta and redirect on the first pastebin.

alt text alt text alt text

The first pastebin use again the escape function (and like all at pastebin shares).The first command of the Visual Basic script is to kill the following process (Word, Excel, Publisher and Powerpoint).

alt text

The second command create a persistence using another mshta for initiate to close the hidden window.

alt text

The third command execute a loader with two new pastebins.

alt text

The first share is a script using an array and the getbytes function for obfuscate the payload on two layers.

alt text alt text

This executes a dll for load the second PE. This dll is the same than the last analysis and is used as protector ConfuserEx.

alt text

The second Pastebin content the data to split for the second PE.

alt text

The second PE load the old Delphi AZORult Stealer. We can confirm it in seeing quickly some features, here read the informations about the keyboard :

alt text

We can observe too that malware can research the current wallets.

alt text

This uses an XOR operation with a 3-byte key for encrypting data to sent to the C&C server.

alt text

This can get a screenshot of the computer too.

alt text

Cyber kill chain

The process graph resume the cyber kill chain used by the attacker.

alt text

Cyber Threat Intel

The TTPs are the same that the last analysis of the group, this time, this uses the old version of the AZORult (Delphi instead of C++).
The fact to have a pastebin at each step of the operation is interesting for see the rate of the success and see if the operation is probably discovered.
The two accounts used for the operation are the same that the last sample spotted and are linked as accounts of the APT group.

alt text alt text

The last interesting thing is that the sample is spotted the 10 September 2019, we can see that the pastebins are the last time edited on the 9 September and in going on the opendir of the panel, we can see multiple panels for theirs operations was implemented at the last moments and show that not prepared for a special event.

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
IP C2
Domain C2
This can be exported as JSON format Export in JSON
Original tweet: https://twitter.com/Rmy_Reserve/status/1171381881461338112
Documents: