Malware Analysis Report

2025-01-02 03:06

Sample ID 240814-j5jxmswgpq
Target tmpy6o_6f_o
SHA256 fef0bccaba1cf7fe16cd4c750e280e09ee68e95818fb3db648362dfaa47dc601
Tags
remcos remotehost discovery execution persistence rat
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V15

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

fef0bccaba1cf7fe16cd4c750e280e09ee68e95818fb3db648362dfaa47dc601

Threat Level: Known bad

The file tmpy6o_6f_o was found to be: Known bad.

Malicious Activity Summary

remcos remotehost discovery execution persistence rat

Remcos

Command and Scripting Interpreter: PowerShell

Checks computer location settings

Adds Run key to start application

Suspicious use of SetThreadContext

Enumerates physical storage devices

System Location Discovery: System Language Discovery

Unsigned PE

Suspicious behavior: EnumeratesProcesses

Suspicious use of AdjustPrivilegeToken

Suspicious use of WriteProcessMemory

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-08-14 08:15

Signatures

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-08-14 08:15

Reported

2024-08-14 08:17

Platform

win7-20240704-en

Max time kernel

150s

Max time network

145s

Command Line

"C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe"

Signatures

Remcos

rat remcos

Command and Scripting Interpreter: PowerShell

execution
Description Indicator Process Target
N/A N/A C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-3434294380-2554721341-1919518612-1000\Software\Microsoft\Windows\CurrentVersion\Run\tmpy6o_6f_o = "C:\\Users\\Admin\\tmpy6o_6f_o.exe" C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe N/A

Suspicious use of SetThreadContext

Description Indicator Process Target
PID 2304 set thread context of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe

Enumerates physical storage devices

System Location Discovery: System Language Discovery

discovery
Description Indicator Process Target
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe N/A

Suspicious behavior: EnumeratesProcesses

Description Indicator Process Target
N/A N/A C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2304 wrote to memory of 2276 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
PID 2304 wrote to memory of 2276 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
PID 2304 wrote to memory of 2276 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
PID 2304 wrote to memory of 2544 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe

Processes

C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe

"C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe"

C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe

"C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath $env:UserProfile

C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe

"C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe"

Network

Country Destination Domain Proto
US 8.8.8.8:53 eadzagba1.duckdns.org udp
US 198.46.178.133:4877 eadzagba1.duckdns.org tcp
US 8.8.8.8:53 geoplugin.net udp
NL 178.237.33.50:80 geoplugin.net tcp

Files

memory/2276-4-0x000007FEF686E000-0x000007FEF686F000-memory.dmp

memory/2276-5-0x000000001B7E0000-0x000000001BAC2000-memory.dmp

memory/2276-6-0x00000000022C0000-0x00000000022C8000-memory.dmp

memory/2276-7-0x000007FEF65B0000-0x000007FEF6F4D000-memory.dmp

memory/2276-8-0x000007FEF65B0000-0x000007FEF6F4D000-memory.dmp

memory/2276-9-0x000007FEF65B0000-0x000007FEF6F4D000-memory.dmp

memory/2544-14-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-12-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2276-11-0x000007FEF65B0000-0x000007FEF6F4D000-memory.dmp

memory/2544-17-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-16-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-18-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-19-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-20-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-21-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-25-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-24-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-26-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-27-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-28-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-29-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-30-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-31-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-34-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2544-33-0x0000000000400000-0x0000000000482000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-08-14 08:15

Reported

2024-08-14 08:17

Platform

win10v2004-20240802-en

Max time kernel

149s

Max time network

137s

Command Line

"C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe"

Signatures

Remcos

rat remcos

Command and Scripting Interpreter: PowerShell

execution
Description Indicator Process Target
N/A N/A C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe N/A

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-4182098368-2521458979-3782681353-1000\Control Panel\International\Geo\Nation C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-4182098368-2521458979-3782681353-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\tmpy6o_6f_o = "C:\\Users\\Admin\\tmpy6o_6f_o.exe" C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe N/A

Suspicious use of SetThreadContext

Description Indicator Process Target
PID 4896 set thread context of 2332 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe

Enumerates physical storage devices

System Location Discovery: System Language Discovery

discovery
Description Indicator Process Target
Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe N/A

Suspicious behavior: EnumeratesProcesses

Description Indicator Process Target
N/A N/A C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe N/A
N/A N/A C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 4896 wrote to memory of 1060 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
PID 4896 wrote to memory of 1060 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
PID 4896 wrote to memory of 2332 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
PID 4896 wrote to memory of 2332 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
PID 4896 wrote to memory of 2332 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
PID 4896 wrote to memory of 2332 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
PID 4896 wrote to memory of 2332 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
PID 4896 wrote to memory of 2332 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
PID 4896 wrote to memory of 2332 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
PID 4896 wrote to memory of 2332 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
PID 4896 wrote to memory of 2332 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
PID 4896 wrote to memory of 2332 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
PID 4896 wrote to memory of 2332 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
PID 4896 wrote to memory of 2332 N/A C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe

Processes

C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe

"C:\Users\Admin\AppData\Local\Temp\tmpy6o_6f_o.exe"

C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe

"C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath $env:UserProfile

C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe

"C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe"

Network

Country Destination Domain Proto
US 8.8.8.8:53 8.8.8.8.in-addr.arpa udp
US 8.8.8.8:53 28.118.140.52.in-addr.arpa udp
US 8.8.8.8:53 81.144.22.2.in-addr.arpa udp
US 8.8.8.8:53 eadzagba1.duckdns.org udp
US 198.46.178.133:4877 eadzagba1.duckdns.org tcp
US 8.8.8.8:53 133.178.46.198.in-addr.arpa udp
US 8.8.8.8:53 g.bing.com udp
US 204.79.197.237:443 g.bing.com tcp
US 8.8.8.8:53 geoplugin.net udp
NL 178.237.33.50:80 geoplugin.net tcp
US 8.8.8.8:53 74.32.126.40.in-addr.arpa udp
US 8.8.8.8:53 237.197.79.204.in-addr.arpa udp
US 8.8.8.8:53 43.58.199.20.in-addr.arpa udp
US 8.8.8.8:53 50.33.237.178.in-addr.arpa udp
US 8.8.8.8:53 104.219.191.52.in-addr.arpa udp
US 8.8.8.8:53 183.59.114.20.in-addr.arpa udp
US 8.8.8.8:53 198.187.3.20.in-addr.arpa udp
US 8.8.8.8:53 240.221.184.93.in-addr.arpa udp
US 8.8.8.8:53 172.214.232.199.in-addr.arpa udp
US 8.8.8.8:53 43.229.111.52.in-addr.arpa udp
US 8.8.8.8:53 tse1.mm.bing.net udp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp
US 150.171.27.10:443 tse1.mm.bing.net tcp

Files

memory/1060-0-0x00007FFCA4033000-0x00007FFCA4035000-memory.dmp

memory/1060-1-0x00000299E50A0000-0x00000299E50C2000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_j4fggl2m.xcm.ps1

MD5 d17fe0a3f47be24a6453e9ef58c94641
SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

memory/1060-11-0x00007FFCA4030000-0x00007FFCA4AF1000-memory.dmp

memory/1060-12-0x00007FFCA4030000-0x00007FFCA4AF1000-memory.dmp

memory/2332-16-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-17-0x0000000000400000-0x0000000000482000-memory.dmp

memory/1060-18-0x00007FFCA4030000-0x00007FFCA4AF1000-memory.dmp

memory/2332-19-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-20-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-21-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-22-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-23-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-24-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-25-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-27-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-28-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-29-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-30-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-31-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-32-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-34-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-33-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-35-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-36-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-37-0x0000000000400000-0x0000000000482000-memory.dmp

memory/2332-38-0x0000000000400000-0x0000000000482000-memory.dmp