Malware Analysis Report

2024-08-06 12:00

Sample ID 240302-d89pksab34
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

Toxiceye family

Executes dropped EXE

Checks computer location settings

Deletes itself

Legitimate hosting services abused for malware hosting/C2

Enumerates physical storage devices

Unsigned PE

Uses Task Scheduler COM API

Suspicious use of WriteProcessMemory

Delays execution with timeout.exe

Suspicious use of SetWindowsHookEx

Suspicious use of AdjustPrivilegeToken

Creates scheduled task(s)

Suspicious behavior: EnumeratesProcesses

Enumerates processes with tasklist

MITRE ATT&CK Matrix V13

Analysis: static1

Detonation Overview

Reported

2024-03-02 03:41

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:41

Reported

2024-03-02 03:45

Platform

win7-20240215-en

Max time kernel

119s

Max time network

120s

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 1656 wrote to memory of 2716 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\schtasks.exe
PID 1656 wrote to memory of 2716 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\schtasks.exe
PID 1656 wrote to memory of 2716 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\schtasks.exe
PID 1656 wrote to memory of 2620 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\cmd.exe
PID 1656 wrote to memory of 2620 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\cmd.exe
PID 1656 wrote to memory of 2620 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\cmd.exe
PID 2620 wrote to memory of 2616 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\tasklist.exe
PID 2620 wrote to memory of 2616 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\tasklist.exe
PID 2620 wrote to memory of 2616 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\tasklist.exe
PID 2620 wrote to memory of 2512 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\find.exe
PID 2620 wrote to memory of 2512 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\find.exe
PID 2620 wrote to memory of 2512 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\find.exe
PID 2620 wrote to memory of 2648 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\timeout.exe
PID 2620 wrote to memory of 2648 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\timeout.exe
PID 2620 wrote to memory of 2648 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\timeout.exe
PID 2620 wrote to memory of 2856 N/A C:\Windows\System32\cmd.exe C:\a\rat.exe
PID 2620 wrote to memory of 2856 N/A C:\Windows\System32\cmd.exe C:\a\rat.exe
PID 2620 wrote to memory of 2856 N/A C:\Windows\System32\cmd.exe C:\a\rat.exe
PID 2856 wrote to memory of 2368 N/A C:\a\rat.exe C:\Windows\System32\schtasks.exe
PID 2856 wrote to memory of 2368 N/A C:\a\rat.exe C:\Windows\System32\schtasks.exe
PID 2856 wrote to memory of 2368 N/A C:\a\rat.exe C:\Windows\System32\schtasks.exe
PID 2856 wrote to memory of 856 N/A C:\a\rat.exe C:\Windows\system32\WerFault.exe
PID 2856 wrote to memory of 856 N/A C:\a\rat.exe C:\Windows\system32\WerFault.exe
PID 2856 wrote to memory of 856 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\tmp251D.tmp.bat & Del C:\Users\Admin\AppData\Local\Temp\tmp251D.tmp.bat

C:\Windows\system32\tasklist.exe

Tasklist /fi "PID eq 1656"

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 2856 -s 1472

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/1656-0-0x00000000010B0000-0x00000000010DA000-memory.dmp

memory/1656-1-0x000007FEF5B10000-0x000007FEF64FC000-memory.dmp

memory/1656-2-0x000000001AF00000-0x000000001AF80000-memory.dmp

memory/1656-5-0x000007FEF5B10000-0x000007FEF64FC000-memory.dmp

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

MD5 6e63e04bd0d4210939dd5f24539457ef
SHA1 3c6f404f64b5e9f97ca599222e2269e3712bd028
SHA256 fda31770e451b865ef93b357483230a4826e72422d2641b72cbe5be58e02534b
SHA512 d207d687fcb1542bf2032e1cfb61c8aa6d03521b1270317bb1a0b11a05c3f2eee1af2c4387ddd7e804db670e767e24f2abaf1815428088ddeed20039dc3daf4c

C:\a\rat.exe

MD5 cd98e162b45967ddb90eee3cb19edd82
SHA1 f7d60aa415d06dd5d144f74081dac60b85e8103a
SHA256 6aeebc4573ddec9d5008582d7984d4014fb56c4c3e1a15ab2b06adb00e7878ad
SHA512 21ead7050502545121b8d059be5493942087fd496a4a864a24df520d4d815dd23573ea0450ba5738286f824337a1392d3ffba0d580a8a96182cea41a5ff0cd6c

memory/2856-10-0x00000000002C0000-0x00000000002EA000-memory.dmp

memory/2856-11-0x000007FEF5120000-0x000007FEF5B0C000-memory.dmp

memory/2856-12-0x000000001B140000-0x000000001B1C0000-memory.dmp

memory/2856-13-0x000007FEF5120000-0x000007FEF5B0C000-memory.dmp

memory/2856-14-0x000000001B140000-0x000000001B1C0000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-03-02 03:41

Reported

2024-03-02 03:45

Platform

win10v2004-20240226-en

Max time kernel

149s

Max time network

150s

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-983155329-280873152-1838004294-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-983155329-280873152-1838004294-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

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\tmp56CB.tmp.bat & Del C:\Users\Admin\AppData\Local\Temp\tmp56CB.tmp.bat

C:\Windows\system32\tasklist.exe

Tasklist /fi "PID eq 860"

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 g.bing.com udp
US 8.8.8.8:53 73.31.126.40.in-addr.arpa udp
US 8.8.8.8:53 194.178.17.96.in-addr.arpa udp
US 8.8.8.8:53 241.154.82.20.in-addr.arpa udp
US 204.79.197.200:443 g.bing.com tcp
US 8.8.8.8:53 43.58.199.20.in-addr.arpa udp
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 0.204.248.87.in-addr.arpa udp
US 8.8.8.8:53 18.31.95.13.in-addr.arpa udp
US 8.8.8.8:53 203.197.79.204.in-addr.arpa udp
US 8.8.8.8:53 178.113.50.184.in-addr.arpa udp
US 52.111.229.43:443 tcp
US 8.8.8.8:53 0.205.248.87.in-addr.arpa udp
US 8.8.8.8:53 8.192.122.92.in-addr.arpa udp
US 8.8.8.8:53 8.173.189.20.in-addr.arpa udp

Files

memory/860-0-0x0000015C84410000-0x0000015C8443A000-memory.dmp

memory/860-1-0x00007FFDB2A20000-0x00007FFDB34E1000-memory.dmp

memory/860-2-0x0000015C9E8B0000-0x0000015C9E8C0000-memory.dmp

memory/860-6-0x00007FFDB2A20000-0x00007FFDB34E1000-memory.dmp

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

MD5 80b93bbfc9c28d33275db3996473c752
SHA1 7ca10d186c3c6c8a9882bc32c147b70f3047fe67
SHA256 decba9dbd9162602de76aef3ca111ee5df1706b7ab25d5bc7d8e0758d863f20e
SHA512 a9e5fd4f3e9ab43289533b038ce402098675d472571046c634ab7025f4148f15eee3b53f14de0cd5111cbfc89e944f5eac3fc5a13f7563c1b492b1b9598b5d3a

C:\a\rat.exe

MD5 cd98e162b45967ddb90eee3cb19edd82
SHA1 f7d60aa415d06dd5d144f74081dac60b85e8103a
SHA256 6aeebc4573ddec9d5008582d7984d4014fb56c4c3e1a15ab2b06adb00e7878ad
SHA512 21ead7050502545121b8d059be5493942087fd496a4a864a24df520d4d815dd23573ea0450ba5738286f824337a1392d3ffba0d580a8a96182cea41a5ff0cd6c

memory/4536-11-0x00007FFDB2A20000-0x00007FFDB34E1000-memory.dmp

memory/4536-12-0x0000019226920000-0x0000019226930000-memory.dmp

memory/4536-15-0x00007FFDB2A20000-0x00007FFDB34E1000-memory.dmp