Malware Analysis Report

2024-08-06 12:02

Sample ID 240302-ehjk5sad23
Target TelegramRAT.exe
SHA256 70443d8dd1d0b52f392d95b50a3582f5a2038f66a46faeb635bd7dbe73643bcb
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

70443d8dd1d0b52f392d95b50a3582f5a2038f66a46faeb635bd7dbe73643bcb

Threat Level: Known bad

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

Malicious Activity Summary

toxiceye rat trojan

Toxiceye family

ToxicEye

Deletes itself

Checks computer location settings

Executes dropped EXE

Legitimate hosting services abused for malware hosting/C2

Enumerates physical storage devices

Unsigned PE

Suspicious use of WriteProcessMemory

Suspicious use of AdjustPrivilegeToken

Delays execution with timeout.exe

Enumerates processes with tasklist

Modifies registry class

Suspicious behavior: GetForegroundWindowSpam

Suspicious behavior: EnumeratesProcesses

Creates scheduled task(s)

Suspicious use of SetWindowsHookEx

Uses Task Scheduler COM API

Opens file in notepad (likely ransom note)

MITRE ATT&CK Matrix V13

Analysis: static1

Detonation Overview

Reported

2024-03-02 03:56

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

Reported

2024-03-02 03:59

Platform

win7-20240221-en

Max time kernel

121s

Max time network

124s

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 2244 wrote to memory of 2744 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\schtasks.exe
PID 2244 wrote to memory of 2744 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\schtasks.exe
PID 2244 wrote to memory of 2744 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\schtasks.exe
PID 2244 wrote to memory of 2732 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\cmd.exe
PID 2244 wrote to memory of 2732 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\cmd.exe
PID 2244 wrote to memory of 2732 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\cmd.exe
PID 2732 wrote to memory of 1584 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\tasklist.exe
PID 2732 wrote to memory of 1584 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\tasklist.exe
PID 2732 wrote to memory of 1584 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\tasklist.exe
PID 2732 wrote to memory of 2428 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\find.exe
PID 2732 wrote to memory of 2428 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\find.exe
PID 2732 wrote to memory of 2428 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\find.exe
PID 2732 wrote to memory of 2420 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\timeout.exe
PID 2732 wrote to memory of 2420 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\timeout.exe
PID 2732 wrote to memory of 2420 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\timeout.exe
PID 2732 wrote to memory of 2440 N/A C:\Windows\System32\cmd.exe C:\a\rat.exe
PID 2732 wrote to memory of 2440 N/A C:\Windows\System32\cmd.exe C:\a\rat.exe
PID 2732 wrote to memory of 2440 N/A C:\Windows\System32\cmd.exe C:\a\rat.exe
PID 2440 wrote to memory of 1944 N/A C:\a\rat.exe C:\Windows\System32\schtasks.exe
PID 2440 wrote to memory of 1944 N/A C:\a\rat.exe C:\Windows\System32\schtasks.exe
PID 2440 wrote to memory of 1944 N/A C:\a\rat.exe C:\Windows\System32\schtasks.exe
PID 2440 wrote to memory of 1104 N/A C:\a\rat.exe C:\Windows\system32\WerFault.exe
PID 2440 wrote to memory of 1104 N/A C:\a\rat.exe C:\Windows\system32\WerFault.exe
PID 2440 wrote to memory of 1104 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\tmpA4F6.tmp.bat & Del C:\Users\Admin\AppData\Local\Temp\tmpA4F6.tmp.bat

C:\Windows\system32\tasklist.exe

Tasklist /fi "PID eq 2244"

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 2440 -s 1576

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/2244-0-0x00000000003B0000-0x00000000003DA000-memory.dmp

memory/2244-1-0x000007FEF5690000-0x000007FEF607C000-memory.dmp

memory/2244-2-0x000000001A7F0000-0x000000001A870000-memory.dmp

memory/2244-5-0x000007FEF5690000-0x000007FEF607C000-memory.dmp

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

MD5 07dd398b3050143baf809739f8b3eb3a
SHA1 2fa09d041eceac5c0cd4e6905f6dad2a92b5b721
SHA256 8ec2685179d0d83f9e2f301862979d00f1d0f4dd77f3e04107dcbb2360f89e02
SHA512 d3fb159e2684a572e2edcc4c6aee7708ac46eb28b6ef41ea935781d371791950125a3e0ab76b55ab8a0339cb28ef883fa31be9ed8758ea624335c2438920a255

C:\a\rat.exe

MD5 a7f2f3eb00e6fada6eef7f6d4bad84ac
SHA1 7772bf4e931c3ea67e6d1366b10b495618dd6733
SHA256 70443d8dd1d0b52f392d95b50a3582f5a2038f66a46faeb635bd7dbe73643bcb
SHA512 d133efdaed62350a7fcd05ffd2bd1510a731c6f131a86b54f3e941ffddd450a797bfec205decd7de1b994288fd52ed6f015839b1228720edd0927a3322c7f9d4

memory/2440-10-0x0000000000980000-0x00000000009AA000-memory.dmp

memory/2440-11-0x000007FEF4CA0000-0x000007FEF568C000-memory.dmp

memory/2440-12-0x000007FEF4CA0000-0x000007FEF568C000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-03-02 03:56

Reported

2024-03-02 03:59

Platform

win10v2004-20240226-en

Max time kernel

142s

Max time network

148s

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-3808065738-1666277613-1125846146-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-3808065738-1666277613-1125846146-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
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

Modifies registry class

Description Indicator Process Target
Key created \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000_Classes\Local Settings C:\Windows\system32\OpenWith.exe N/A

Opens file in notepad (likely ransom note)

ransomware
Description Indicator Process Target
N/A N/A C:\Windows\system32\NOTEPAD.EXE N/A
N/A N/A C:\Windows\system32\NOTEPAD.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
N/A N/A C:\a\rat.exe N/A
N/A N/A C:\a\rat.exe N/A

Suspicious behavior: GetForegroundWindowSpam

Description Indicator Process Target
N/A N/A C:\Windows\system32\OpenWith.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 WriteProcessMemory

Description Indicator Process Target
PID 3620 wrote to memory of 988 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\schtasks.exe
PID 3620 wrote to memory of 988 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\schtasks.exe
PID 3620 wrote to memory of 3456 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\cmd.exe
PID 3620 wrote to memory of 3456 N/A C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe C:\Windows\System32\cmd.exe
PID 3456 wrote to memory of 4344 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\tasklist.exe
PID 3456 wrote to memory of 4344 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\tasklist.exe
PID 3456 wrote to memory of 2672 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\find.exe
PID 3456 wrote to memory of 2672 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\find.exe
PID 3456 wrote to memory of 3892 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\timeout.exe
PID 3456 wrote to memory of 3892 N/A C:\Windows\System32\cmd.exe C:\Windows\system32\timeout.exe
PID 3456 wrote to memory of 3944 N/A C:\Windows\System32\cmd.exe C:\a\rat.exe
PID 3456 wrote to memory of 3944 N/A C:\Windows\System32\cmd.exe C:\a\rat.exe
PID 3944 wrote to memory of 2460 N/A C:\a\rat.exe C:\Windows\System32\schtasks.exe
PID 3944 wrote to memory of 2460 N/A C:\a\rat.exe C:\Windows\System32\schtasks.exe
PID 3568 wrote to memory of 1552 N/A C:\Windows\system32\OpenWith.exe C:\Windows\system32\NOTEPAD.EXE
PID 3568 wrote to memory of 1552 N/A C:\Windows\system32\OpenWith.exe C:\Windows\system32\NOTEPAD.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\tmp3A.tmp.bat & Del C:\Users\Admin\AppData\Local\Temp\tmp3A.tmp.bat

C:\Windows\system32\tasklist.exe

Tasklist /fi "PID eq 3620"

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\rundll32.exe

C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding

C:\Windows\system32\OpenWith.exe

C:\Windows\system32\OpenWith.exe -Embedding

C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=4140 --field-trial-handle=2692,i,8678872182442199182,12502579059484928042,262144 --variations-seed-version /prefetch:8

C:\Windows\system32\NOTEPAD.EXE

"C:\Windows\system32\NOTEPAD.EXE" C:\a\autosteal.lock

C:\Windows\system32\NOTEPAD.EXE

"C:\Windows\system32\NOTEPAD.EXE" C:\a\bookmarks.txt

Network

Country Destination Domain Proto
US 8.8.8.8:53 73.159.190.20.in-addr.arpa udp
US 8.8.8.8:53 9.228.82.20.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 200.197.79.204.in-addr.arpa udp
US 8.8.8.8:53 240.221.184.93.in-addr.arpa udp
US 8.8.8.8:53 88.156.103.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 95.221.229.192.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 185.199.108.133:443 raw.githubusercontent.com tcp
US 8.8.8.8:53 220.167.154.149.in-addr.arpa udp
US 8.8.8.8:53 133.108.199.185.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 chromewebstore.googleapis.com udp
US 8.8.8.8:53 chromewebstore.googleapis.com udp
IE 172.253.116.95:443 chromewebstore.googleapis.com tcp
US 8.8.8.8:53 95.116.253.172.in-addr.arpa udp
US 8.8.8.8:53 43.229.111.52.in-addr.arpa udp
US 8.8.8.8:53 11.173.189.20.in-addr.arpa udp

Files

memory/3620-0-0x0000018982950000-0x000001898297A000-memory.dmp

memory/3620-1-0x00007FF8A1B10000-0x00007FF8A25D1000-memory.dmp

memory/3620-2-0x00000189848C0000-0x00000189848D0000-memory.dmp

memory/3620-7-0x00007FF8A1B10000-0x00007FF8A25D1000-memory.dmp

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

MD5 c443cd4616db54f23e03c8bc930b5a4e
SHA1 7542e9c15a9159b107feea0cb9e7d9a4210baa2d
SHA256 105b18e383e0fc1f1b14241212f0ae5dcac3c5dd010f65b4238e0acff1f706ec
SHA512 128efd1075f69b0e44a7645c5b29d13da0f2abfac339ecb89aaecfba67e80accb9f6c8b7285ead395f9e587141c30ce9af7fa497cfb084630ca5f0fd3b24a9f0

C:\a\rat.exe

MD5 a7f2f3eb00e6fada6eef7f6d4bad84ac
SHA1 7772bf4e931c3ea67e6d1366b10b495618dd6733
SHA256 70443d8dd1d0b52f392d95b50a3582f5a2038f66a46faeb635bd7dbe73643bcb
SHA512 d133efdaed62350a7fcd05ffd2bd1510a731c6f131a86b54f3e941ffddd450a797bfec205decd7de1b994288fd52ed6f015839b1228720edd0927a3322c7f9d4

memory/3944-11-0x00007FF8A1B10000-0x00007FF8A25D1000-memory.dmp

memory/3944-12-0x00000180FFB30000-0x00000180FFB40000-memory.dmp

memory/3944-14-0x00000180FFEE0000-0x00000180FFEF2000-memory.dmp

memory/3944-15-0x00000180FFED0000-0x00000180FFEDA000-memory.dmp

memory/3944-17-0x00007FF8A1B10000-0x00007FF8A25D1000-memory.dmp

C:\a\bookmarks.txt

MD5 61f8a15f0bf3ef90a36796b6cbb7b105
SHA1 9a0893ee4bfb0e58c64902fc4da215dcbec12e3f
SHA256 678150f8aa675320e486b135418a7ed5b546514a5aa808588eccc12fe8cd2130
SHA512 5afb5a40e95b289db50db7aa151a5a526ef04824533fccd0ad3d6ea813cc5621b8009521d7f5db69fbcb1a46640e963427fd6b42721df26f1fbfc89f59a8abab