Malware Analysis Report

2024-08-06 12:02

Sample ID 240302-d7x96ahg2v
Target TelegramRAT.exe
SHA256 6aeebc4573ddec9d5008582d7984d4014fb56c4c3e1a15ab2b06adb00e7878ad
Tags
toxiceye rat trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK Matrix

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

6aeebc4573ddec9d5008582d7984d4014fb56c4c3e1a15ab2b06adb00e7878ad

Threat Level: Known bad

The file TelegramRAT.exe was found to be: Known bad.

Malicious Activity Summary

toxiceye rat trojan

Toxiceye family

ToxicEye

Checks computer location settings

Executes dropped EXE

Deletes itself

Legitimate hosting services abused for malware hosting/C2

Enumerates physical storage devices

Unsigned PE

Enumerates processes with tasklist

Uses Task Scheduler COM API

Suspicious use of SetWindowsHookEx

Creates scheduled task(s)

Suspicious use of AdjustPrivilegeToken

Delays execution with timeout.exe

Suspicious behavior: EnumeratesProcesses

Suspicious use of WriteProcessMemory

MITRE ATT&CK Matrix V13

Analysis: static1

Detonation Overview

Reported

2024-03-02 03:39

Signatures

Toxiceye family

toxiceye

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-03-02 03:39

Reported

2024-03-02 03:42

Platform

win7-20240221-en

Max time kernel

117s

Max time network

118s

Command Line

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

Signatures

ToxicEye

rat trojan toxiceye

Deletes itself

Description Indicator Process Target
N/A N/A C:\Windows\System32\cmd.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\a\rat.exe N/A

Enumerates physical storage devices

Creates scheduled task(s)

persistence
Description Indicator Process Target
N/A N/A C:\Windows\System32\schtasks.exe N/A
N/A N/A C:\Windows\System32\schtasks.exe N/A

Delays execution with timeout.exe

evasion
Description Indicator Process Target
N/A N/A C:\Windows\system32\timeout.exe N/A

Enumerates processes with tasklist

Description Indicator Process Target
N/A N/A C:\Windows\system32\tasklist.exe N/A

Suspicious behavior: EnumeratesProcesses

Description Indicator Process Target
N/A N/A C:\a\rat.exe N/A
N/A N/A C:\a\rat.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\system32\tasklist.exe N/A
Token: SeDebugPrivilege N/A C:\a\rat.exe N/A
Token: SeDebugPrivilege N/A C:\a\rat.exe N/A

Suspicious use of SetWindowsHookEx

Description Indicator Process Target
N/A N/A C:\a\rat.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2196 wrote to memory of 2824 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\schtasks.exe
PID 2196 wrote to memory of 2824 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\schtasks.exe
PID 2196 wrote to memory of 2824 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\schtasks.exe
PID 2196 wrote to memory of 2820 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\cmd.exe
PID 2196 wrote to memory of 2820 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\cmd.exe
PID 2196 wrote to memory of 2820 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\cmd.exe
PID 2820 wrote to memory of 2760 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\tasklist.exe
PID 2820 wrote to memory of 2760 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\tasklist.exe
PID 2820 wrote to memory of 2760 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\tasklist.exe
PID 2820 wrote to memory of 2600 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\find.exe
PID 2820 wrote to memory of 2600 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\find.exe
PID 2820 wrote to memory of 2600 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\find.exe
PID 2820 wrote to memory of 2888 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\timeout.exe
PID 2820 wrote to memory of 2888 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\timeout.exe
PID 2820 wrote to memory of 2888 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\timeout.exe
PID 2820 wrote to memory of 2664 N/A C:\Windows\System32\cmd.exe C:\a\rat.exe
PID 2820 wrote to memory of 2664 N/A C:\Windows\System32\cmd.exe C:\a\rat.exe
PID 2820 wrote to memory of 2664 N/A C:\Windows\System32\cmd.exe C:\a\rat.exe
PID 2664 wrote to memory of 2284 N/A C:\a\rat.exe C:\Windows\System32\schtasks.exe
PID 2664 wrote to memory of 2284 N/A C:\a\rat.exe C:\Windows\System32\schtasks.exe
PID 2664 wrote to memory of 2284 N/A C:\a\rat.exe C:\Windows\System32\schtasks.exe
PID 2664 wrote to memory of 2684 N/A C:\a\rat.exe C:\Windows\system32\WerFault.exe
PID 2664 wrote to memory of 2684 N/A C:\a\rat.exe C:\Windows\system32\WerFault.exe
PID 2664 wrote to memory of 2684 N/A C:\a\rat.exe C:\Windows\system32\WerFault.exe

Uses Task Scheduler COM API

persistence

Processes

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

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

C:\Windows\System32\schtasks.exe

"C:\Windows\System32\schtasks.exe" /create /f /sc ONLOGON /RL HIGHEST /tn "Chrome Update" /tr "C:\a\rat.exe"

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /C C:\Users\Admin\AppData\Local\Temp\tmp1C18.tmp.bat & Del C:\Users\Admin\AppData\Local\Temp\tmp1C18.tmp.bat

C:\Windows\system32\tasklist.exe

Tasklist /fi "PID eq 2196"

C:\Windows\system32\find.exe

find ":"

C:\Windows\system32\timeout.exe

Timeout /T 1 /Nobreak

C:\a\rat.exe

"rat.exe"

C:\Windows\System32\schtasks.exe

"C:\Windows\System32\schtasks.exe" /create /f /sc ONLOGON /RL HIGHEST /tn "Chrome Update" /tr "C:\a\rat.exe"

C:\Windows\system32\WerFault.exe

C:\Windows\system32\WerFault.exe -u -p 2664 -s 1488

Network

Country Destination Domain Proto
US 8.8.8.8:53 google.com udp
US 8.8.8.8:53 api.Telegram.org udp
NL 149.154.167.220:443 api.Telegram.org tcp
NL 149.154.167.220:443 api.Telegram.org tcp

Files

memory/2196-0-0x0000000000AC0000-0x0000000000AEA000-memory.dmp

memory/2196-1-0x000007FEF5D70000-0x000007FEF675C000-memory.dmp

memory/2196-2-0x000000001AE60000-0x000000001AEE0000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\tmp1C18.tmp.bat

MD5 cc3d9576fdafd27bed8089548484a651
SHA1 6036b20b9ccdf20e22bbeb0aee819c88840fb9a5
SHA256 724e190d2f0859142e9d3a94771df8b99e1457b1f661b79ebb56d6e81a6e882a
SHA512 4a33c4bca38f0960030b716aa804888dc83937c561d461b283f37b2ba84d6c7bedd50f36e7223bd675e8366fbf88f58f5b73e431cd073990a9da84a9eb8ac1e2

memory/2196-6-0x000007FEF5D70000-0x000007FEF675C000-memory.dmp

C:\a\rat.exe

MD5 cd98e162b45967ddb90eee3cb19edd82
SHA1 f7d60aa415d06dd5d144f74081dac60b85e8103a
SHA256 6aeebc4573ddec9d5008582d7984d4014fb56c4c3e1a15ab2b06adb00e7878ad
SHA512 21ead7050502545121b8d059be5493942087fd496a4a864a24df520d4d815dd23573ea0450ba5738286f824337a1392d3ffba0d580a8a96182cea41a5ff0cd6c

memory/2664-10-0x0000000000310000-0x000000000033A000-memory.dmp

memory/2664-11-0x000007FEF5380000-0x000007FEF5D6C000-memory.dmp

memory/2664-12-0x0000000000490000-0x0000000000510000-memory.dmp

memory/2664-13-0x000007FEF5380000-0x000007FEF5D6C000-memory.dmp

memory/2664-14-0x0000000000490000-0x0000000000510000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-03-02 03:39

Reported

2024-03-02 03:42

Platform

win10v2004-20240226-en

Max time kernel

112s

Max time network

123s

Command Line

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

Signatures

ToxicEye

rat trojan toxiceye

Checks computer location settings

Description Indicator Process Target
Key value queried \REGISTRY\USER\S-1-5-21-275798769-4264537674-1142822080-1000\Control Panel\International\Geo\Nation C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe N/A
Key value queried \REGISTRY\USER\S-1-5-21-275798769-4264537674-1142822080-1000\Control Panel\International\Geo\Nation C:\a\rat.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\a\rat.exe N/A

Legitimate hosting services abused for malware hosting/C2

Description Indicator Process Target
N/A raw.githubusercontent.com N/A N/A

Enumerates physical storage devices

Creates scheduled task(s)

persistence
Description Indicator Process Target
N/A N/A C:\Windows\System32\schtasks.exe N/A
N/A N/A C:\Windows\System32\schtasks.exe N/A

Delays execution with timeout.exe

evasion
Description Indicator Process Target
N/A N/A C:\Windows\system32\timeout.exe N/A

Enumerates processes with tasklist

Description Indicator Process Target
N/A N/A C:\Windows\system32\tasklist.exe N/A

Suspicious behavior: EnumeratesProcesses

Description Indicator Process Target
N/A N/A C:\a\rat.exe N/A
N/A N/A C:\a\rat.exe N/A
N/A N/A C:\a\rat.exe N/A
N/A N/A C:\a\rat.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe N/A
Token: SeDebugPrivilege N/A C:\Windows\system32\tasklist.exe N/A
Token: SeDebugPrivilege N/A C:\a\rat.exe N/A
Token: SeDebugPrivilege N/A C:\a\rat.exe N/A

Suspicious use of SetWindowsHookEx

Description Indicator Process Target
N/A N/A C:\a\rat.exe N/A

Uses Task Scheduler COM API

persistence

Processes

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

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

C:\Windows\System32\schtasks.exe

"C:\Windows\System32\schtasks.exe" /create /f /sc ONLOGON /RL HIGHEST /tn "Chrome Update" /tr "C:\a\rat.exe"

C:\Windows\System32\cmd.exe

"C:\Windows\System32\cmd.exe" /C C:\Users\Admin\AppData\Local\Temp\tmp4517.tmp.bat & Del C:\Users\Admin\AppData\Local\Temp\tmp4517.tmp.bat

C:\Windows\system32\tasklist.exe

Tasklist /fi "PID eq 2440"

C:\Windows\system32\find.exe

find ":"

C:\Windows\system32\timeout.exe

Timeout /T 1 /Nobreak

C:\a\rat.exe

"rat.exe"

C:\Windows\System32\schtasks.exe

"C:\Windows\System32\schtasks.exe" /create /f /sc ONLOGON /RL HIGHEST /tn "Chrome Update" /tr "C:\a\rat.exe"

Network

Country Destination Domain Proto
US 8.8.8.8:53 73.31.126.40.in-addr.arpa udp
US 8.8.8.8:53 0.204.248.87.in-addr.arpa udp
US 8.8.8.8:53 g.bing.com udp
US 204.79.197.200:443 g.bing.com tcp
US 8.8.8.8:53 9.228.82.20.in-addr.arpa udp
US 8.8.8.8:53 200.197.79.204.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 57.169.31.20.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 204.79.197.200:443 tse1.mm.bing.net tcp
US 8.8.8.8:53 41.110.16.96.in-addr.arpa udp
US 8.8.8.8:53 google.com udp
US 8.8.8.8:53 api.Telegram.org udp
NL 149.154.167.220:443 api.Telegram.org tcp
NL 149.154.167.220:443 api.Telegram.org tcp
US 8.8.8.8:53 raw.githubusercontent.com udp
US 8.8.8.8:53 220.167.154.149.in-addr.arpa udp
US 8.8.8.8:53 157.123.68.40.in-addr.arpa udp
US 8.8.8.8:53 171.39.242.20.in-addr.arpa udp
US 8.8.8.8:53 18.134.221.88.in-addr.arpa udp
US 8.8.8.8:53 180.178.17.96.in-addr.arpa udp

Files

memory/2440-0-0x000001EC22110000-0x000001EC2213A000-memory.dmp

memory/2440-1-0x00007FFAAEA70000-0x00007FFAAF531000-memory.dmp

memory/2440-2-0x000001EC3C8B0000-0x000001EC3C8C0000-memory.dmp

memory/2440-6-0x00007FFAAEA70000-0x00007FFAAF531000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\tmp4517.tmp.bat

MD5 6e0af625e24c775c906201dd3135970f
SHA1 597bbdfbf0480bb96392da3e9173758f99a32d84
SHA256 38a40f6d2b007b5f099b85e268271ea478f0f4640c4f2cdf13a5c2b6b6853bf1
SHA512 cfacdce73d20e2bcf0667c7fbed5778d03e459143fe5d2954423cf8ab6d7a91f01a74662c8231abcf1281ef6f816c22b62852e51baa83aaedb0d4750a6bac571

C:\a\rat.exe

MD5 cd98e162b45967ddb90eee3cb19edd82
SHA1 f7d60aa415d06dd5d144f74081dac60b85e8103a
SHA256 6aeebc4573ddec9d5008582d7984d4014fb56c4c3e1a15ab2b06adb00e7878ad
SHA512 21ead7050502545121b8d059be5493942087fd496a4a864a24df520d4d815dd23573ea0450ba5738286f824337a1392d3ffba0d580a8a96182cea41a5ff0cd6c

memory/2448-11-0x00007FFAAEA70000-0x00007FFAAF531000-memory.dmp

memory/2448-12-0x00000229C8410000-0x00000229C8420000-memory.dmp

memory/2448-14-0x00000229C83A0000-0x00000229C83AA000-memory.dmp

memory/2448-16-0x00007FFAAEA70000-0x00007FFAAF531000-memory.dmp