Malware Analysis Report

2025-03-15 06:37

Sample ID 240531-vha7rsfd46
Target 87b521f47fa8628826e0b4eb7ecaeb61_JaffaCakes118
SHA256 02a6471920c5b13183440f9a02896e78e53c592beba1f7040b0bc85fded830a5
Tags
gh0strat persistence rat
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V15

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

02a6471920c5b13183440f9a02896e78e53c592beba1f7040b0bc85fded830a5

Threat Level: Known bad

The file 87b521f47fa8628826e0b4eb7ecaeb61_JaffaCakes118 was found to be: Known bad.

Malicious Activity Summary

gh0strat persistence rat

Gh0st RAT payload

Gh0strat

Gh0strat family

Drops file in Drivers directory

Sets DLL path for service in the registry

Deletes itself

Loads dropped DLL

Drops file in System32 directory

Unsigned PE

Suspicious behavior: LoadsDriver

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-05-31 16:58

Signatures

Gh0st RAT payload

Description Indicator Process Target
N/A N/A N/A N/A

Gh0strat family

gh0strat

Unsigned PE

Description Indicator Process Target
N/A N/A N/A N/A

Analysis: behavioral2

Detonation Overview

Submitted

2024-05-31 16:58

Reported

2024-05-31 17:01

Platform

win10v2004-20240508-en

Max time kernel

149s

Max time network

150s

Command Line

"C:\Users\Admin\AppData\Local\Temp\87b521f47fa8628826e0b4eb7ecaeb61_JaffaCakes118.exe"

Signatures

Gh0st RAT payload

Description Indicator Process Target
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A

Gh0strat

rat gh0strat

Drops file in Drivers directory

Description Indicator Process Target
File opened for modification C:\Windows\SysWOW64\Drivers\beep.sys C:\Users\Admin\AppData\Local\Temp\87b521f47fa8628826e0b4eb7ecaeb61_JaffaCakes118.exe N/A
File opened for modification C:\Windows\SysWOW64\Drivers\beep.sys C:\Windows\SysWOW64\svchost.exe N/A

Sets DLL path for service in the registry

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\FastUserSwitchingCompatibility\Parameters\ServiceDll = "C:\\Windows\\system32\\FastUserSwitchingCompatibilityex.dll" C:\Users\Admin\AppData\Local\Temp\87b521f47fa8628826e0b4eb7ecaeb61_JaffaCakes118.exe N/A

Deletes itself

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\svchost.exe N/A

Drops file in System32 directory

Description Indicator Process Target
File opened for modification C:\Windows\SysWOW64\FastUserSwitchingCompatibilityex.dll C:\Users\Admin\AppData\Local\Temp\87b521f47fa8628826e0b4eb7ecaeb61_JaffaCakes118.exe N/A

Suspicious behavior: LoadsDriver

Description Indicator Process Target
N/A N/A N/A N/A
N/A N/A N/A N/A

Processes

C:\Users\Admin\AppData\Local\Temp\87b521f47fa8628826e0b4eb7ecaeb61_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\87b521f47fa8628826e0b4eb7ecaeb61_JaffaCakes118.exe"

C:\Windows\SysWOW64\svchost.exe

C:\Windows\SysWOW64\svchost.exe -k netsvcs -s FastUserSwitchingCompatibility

Network

Country Destination Domain Proto
US 8.8.8.8:53 g.bing.com udp
US 204.79.197.237:443 g.bing.com tcp
NL 23.62.61.155:443 www.bing.com tcp
US 8.8.8.8:53 149.220.183.52.in-addr.arpa udp
US 8.8.8.8:53 237.197.79.204.in-addr.arpa udp
NL 23.62.61.155:443 www.bing.com tcp
US 8.8.8.8:53 155.61.62.23.in-addr.arpa udp
US 8.8.8.8:53 26.35.223.20.in-addr.arpa udp
US 8.8.8.8:53 hm123.502ok.com udp
CN 117.72.33.140:4451 hm123.502ok.com tcp
US 8.8.8.8:53 58.55.71.13.in-addr.arpa udp
US 8.8.8.8:53 86.23.85.13.in-addr.arpa udp
US 8.8.8.8:53 171.39.242.20.in-addr.arpa udp
US 8.8.8.8:53 82.90.14.23.in-addr.arpa udp
US 8.8.8.8:53 11.227.111.52.in-addr.arpa udp
US 8.8.8.8:53 tse1.mm.bing.net udp
US 204.79.197.200:443 tse1.mm.bing.net tcp
US 204.79.197.200:443 tse1.mm.bing.net tcp
US 204.79.197.200:443 tse1.mm.bing.net tcp
US 204.79.197.200:443 tse1.mm.bing.net tcp
US 8.8.8.8:53 200.197.79.204.in-addr.arpa udp
CN 117.72.33.140:4451 hm123.502ok.com tcp

Files

memory/888-0-0x0000000000400000-0x000000000041D000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\240602875_ex.tmp

MD5 9263501eaf4ee12cfde17e0a52c56514
SHA1 68e414bc92470019aaca35a1b3d3039e1e749be5
SHA256 5be6956f89dc28abc839fa9ac5a3a9d01e5e1ed66387e57386feb186d78a8ffc
SHA512 10b070e3eb933e336efcf2a50334a85695700035b0d89ea420c3a2c3817149db11a86115764a26449e3383c2b2222cef6fb2a487141e83787d92299d9cae4eb1

\??\c:\windows\SysWOW64\fastuserswitchingcompatibilityex.dll

MD5 51e278f4af5faa2a3c8c203dc03a607b
SHA1 05dace853015b2d86b75a52f3e84212adc452b44
SHA256 9c714cde4a36b3c39af084b4b232478ef2ad4371d4674c3666f2c17f87e1223c
SHA512 c809dd98eef32829dc03c781da6aab19643dcbe7bc6de1fd7210548926610efdff4dd4004ea5ac5ac547c659572167deb83b3103f3bca53a4e187a073551b7e4

memory/888-11-0x0000000000400000-0x000000000041D000-memory.dmp

Analysis: behavioral1

Detonation Overview

Submitted

2024-05-31 16:58

Reported

2024-05-31 17:01

Platform

win7-20240508-en

Max time kernel

149s

Max time network

119s

Command Line

"C:\Users\Admin\AppData\Local\Temp\87b521f47fa8628826e0b4eb7ecaeb61_JaffaCakes118.exe"

Signatures

Gh0st RAT payload

Description Indicator Process Target
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A
N/A N/A N/A N/A

Gh0strat

rat gh0strat

Drops file in Drivers directory

Description Indicator Process Target
File opened for modification C:\Windows\SysWOW64\Drivers\beep.sys C:\Users\Admin\AppData\Local\Temp\87b521f47fa8628826e0b4eb7ecaeb61_JaffaCakes118.exe N/A
File opened for modification C:\Windows\SysWOW64\Drivers\beep.sys C:\Windows\SysWOW64\svchost.exe N/A

Sets DLL path for service in the registry

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\FastUserSwitchingCompatibility\Parameters\ServiceDll = "C:\\Windows\\system32\\FastUserSwitchingCompatibilityex.dll" C:\Users\Admin\AppData\Local\Temp\87b521f47fa8628826e0b4eb7ecaeb61_JaffaCakes118.exe N/A

Deletes itself

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\svchost.exe N/A

Drops file in System32 directory

Description Indicator Process Target
File opened for modification C:\Windows\SysWOW64\FastUserSwitchingCompatibilityex.dll C:\Users\Admin\AppData\Local\Temp\87b521f47fa8628826e0b4eb7ecaeb61_JaffaCakes118.exe N/A

Suspicious behavior: LoadsDriver

Description Indicator Process Target
N/A N/A N/A N/A
N/A N/A N/A N/A

Processes

C:\Users\Admin\AppData\Local\Temp\87b521f47fa8628826e0b4eb7ecaeb61_JaffaCakes118.exe

"C:\Users\Admin\AppData\Local\Temp\87b521f47fa8628826e0b4eb7ecaeb61_JaffaCakes118.exe"

C:\Windows\SysWOW64\svchost.exe

C:\Windows\SysWOW64\svchost.exe -k netsvcs

Network

Country Destination Domain Proto
US 8.8.8.8:53 hm123.502ok.com udp
CN 117.72.33.140:4451 hm123.502ok.com tcp
CN 117.72.33.140:4451 tcp

Files

memory/2244-0-0x0000000000400000-0x000000000041D000-memory.dmp

\Users\Admin\AppData\Local\Temp\259400724_ex.tmp

MD5 9263501eaf4ee12cfde17e0a52c56514
SHA1 68e414bc92470019aaca35a1b3d3039e1e749be5
SHA256 5be6956f89dc28abc839fa9ac5a3a9d01e5e1ed66387e57386feb186d78a8ffc
SHA512 10b070e3eb933e336efcf2a50334a85695700035b0d89ea420c3a2c3817149db11a86115764a26449e3383c2b2222cef6fb2a487141e83787d92299d9cae4eb1

C:\Users\Admin\AppData\Local\Temp\259400802_res.tmp

MD5 51e278f4af5faa2a3c8c203dc03a607b
SHA1 05dace853015b2d86b75a52f3e84212adc452b44
SHA256 9c714cde4a36b3c39af084b4b232478ef2ad4371d4674c3666f2c17f87e1223c
SHA512 c809dd98eef32829dc03c781da6aab19643dcbe7bc6de1fd7210548926610efdff4dd4004ea5ac5ac547c659572167deb83b3103f3bca53a4e187a073551b7e4

memory/2244-10-0x0000000000400000-0x000000000041D000-memory.dmp