Analysis
-
max time kernel
148s -
max time network
153s -
platform
windows10-2004_x64 -
resource
win10v2004-20240226-en -
resource tags
arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system -
submitted
02-03-2024 03:14
Behavioral task
behavioral1
Sample
TelegramRAT.exe
Resource
win7-20240221-en
General
-
Target
TelegramRAT.exe
-
Size
141KB
-
MD5
ed2c7bc269dac9dd4478f1dc773de9f6
-
SHA1
a2bf4318a949329308799ccfc3d2379acf304d77
-
SHA256
d33e97596d19884faf2d19e3c33799bff12a790062e98522ff30db4236ff170b
-
SHA512
afeda67797e52f3fe873f8da0454028bcb3eed09b39596c69333cf09b79c91161add4f7b6992078a114abb2190e4e4f0fa98da83748fcf20cd07ce27bbc73b46
-
SSDEEP
3072:BnFBrznkLAWjtnXGXM9bA9D5QW4aCrAZr1m/Nf:lDznkcKWc9bA38
Malware Config
Extracted
toxiceye
https://api.telegram.org/bot7040511851:AAEjBKSxADGWlNtLxaKpotGtf53NUQ1UgAo/sendMessage?chat_id=6226815698
Signatures
-
Checks computer location settings 2 TTPs 2 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
rat.exeTelegramRAT.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-513485977-2495024337-1260977654-1000\Control Panel\International\Geo\Nation rat.exe Key value queried \REGISTRY\USER\S-1-5-21-513485977-2495024337-1260977654-1000\Control Panel\International\Geo\Nation TelegramRAT.exe -
Executes dropped EXE 1 IoCs
Processes:
rat.exepid process 3228 rat.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs 1 IoCs
-
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Creates scheduled task(s) 1 TTPs 2 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
Processes:
schtasks.exeschtasks.exepid process 1700 schtasks.exe 2444 schtasks.exe -
Delays execution with timeout.exe 1 IoCs
Processes:
timeout.exepid process 1456 timeout.exe -
Enumerates processes with tasklist 1 TTPs 1 IoCs
-
Suspicious behavior: EnumeratesProcesses 3 IoCs
Processes:
rat.exepid process 3228 rat.exe 3228 rat.exe 3228 rat.exe -
Suspicious use of AdjustPrivilegeToken 4 IoCs
Processes:
TelegramRAT.exetasklist.exerat.exedescription pid process Token: SeDebugPrivilege 752 TelegramRAT.exe Token: SeDebugPrivilege 3124 tasklist.exe Token: SeDebugPrivilege 3228 rat.exe Token: SeDebugPrivilege 3228 rat.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
rat.exepid process 3228 rat.exe -
Suspicious use of WriteProcessMemory 14 IoCs
Processes:
TelegramRAT.execmd.exerat.exedescription pid process target process PID 752 wrote to memory of 2444 752 TelegramRAT.exe schtasks.exe PID 752 wrote to memory of 2444 752 TelegramRAT.exe schtasks.exe PID 752 wrote to memory of 3488 752 TelegramRAT.exe cmd.exe PID 752 wrote to memory of 3488 752 TelegramRAT.exe cmd.exe PID 3488 wrote to memory of 3124 3488 cmd.exe tasklist.exe PID 3488 wrote to memory of 3124 3488 cmd.exe tasklist.exe PID 3488 wrote to memory of 1100 3488 cmd.exe find.exe PID 3488 wrote to memory of 1100 3488 cmd.exe find.exe PID 3488 wrote to memory of 1456 3488 cmd.exe timeout.exe PID 3488 wrote to memory of 1456 3488 cmd.exe timeout.exe PID 3488 wrote to memory of 3228 3488 cmd.exe rat.exe PID 3488 wrote to memory of 3228 3488 cmd.exe rat.exe PID 3228 wrote to memory of 1700 3228 rat.exe schtasks.exe PID 3228 wrote to memory of 1700 3228 rat.exe schtasks.exe -
Uses Task Scheduler COM API 1 TTPs
The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.
Processes
-
C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe"C:\Users\Admin\AppData\Local\Temp\TelegramRAT.exe"1⤵
- Checks computer location settings
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:752 -
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /sc ONLOGON /RL HIGHEST /tn "Chrome Update" /tr "C:\Users\CyberEye\rat.exe"2⤵
- Creates scheduled task(s)
PID:2444
-
-
C:\Windows\System32\cmd.exe"C:\Windows\System32\cmd.exe" /C C:\Users\Admin\AppData\Local\Temp\tmp738A.tmp.bat & Del C:\Users\Admin\AppData\Local\Temp\tmp738A.tmp.bat2⤵
- Suspicious use of WriteProcessMemory
PID:3488 -
C:\Windows\system32\tasklist.exeTasklist /fi "PID eq 752"3⤵
- Enumerates processes with tasklist
- Suspicious use of AdjustPrivilegeToken
PID:3124
-
-
C:\Windows\system32\find.exefind ":"3⤵PID:1100
-
-
C:\Windows\system32\timeout.exeTimeout /T 1 /Nobreak3⤵
- Delays execution with timeout.exe
PID:1456
-
-
C:\Users\CyberEye\rat.exe"rat.exe"3⤵
- Checks computer location settings
- Executes dropped EXE
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:3228 -
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /sc ONLOGON /RL HIGHEST /tn "Chrome Update" /tr "C:\Users\CyberEye\rat.exe"4⤵
- Creates scheduled task(s)
PID:1700
-
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
187B
MD559b35f0c172b331b7068f073f65c3b4d
SHA13a5908f9e35ec6144a99fda6709c250c1830338d
SHA256b16d91dd1d59881a4716d51a21745976ec545c16f86da5e4f7178c7e6aea8f83
SHA512507a366eacf9695c1e637701f247cd06ab3cc10c510c476f406e690a2b76b3d7bfe6258ce29c24ddbe78e4b0937b8263867a0b7c436e3cbdd2eda18b6d041ba9
-
Filesize
141KB
MD5ed2c7bc269dac9dd4478f1dc773de9f6
SHA1a2bf4318a949329308799ccfc3d2379acf304d77
SHA256d33e97596d19884faf2d19e3c33799bff12a790062e98522ff30db4236ff170b
SHA512afeda67797e52f3fe873f8da0454028bcb3eed09b39596c69333cf09b79c91161add4f7b6992078a114abb2190e4e4f0fa98da83748fcf20cd07ce27bbc73b46