Analysis
-
max time kernel
8s -
max time network
9s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
02-09-2024 10:10
Static task
static1
Behavioral task
behavioral1
Sample
BaldiTrojan-x64.exe
Resource
win10v2004-20240802-en
Errors
General
-
Target
BaldiTrojan-x64.exe
-
Size
4.2MB
-
MD5
e2c4c4dd8c6a357eca164955a8fe040c
-
SHA1
f4114815bce62efbc78c79f9a83ccf74a4ea075c
-
SHA256
f3efe3b57a0f5cc46963dbd8832ceecd5768117685b4cee684b1235d9e74ebe5
-
SHA512
389bf398f9f9f6ae7e6dfca835f5877befa4ebfee5938d4b50728d77fb0450b2eb2cb67e3f4d9abaaad77231754968b27c69a510448dfd7f52c63b1ce3a1c3e1
-
SSDEEP
98304:3c9jNgez/S9bL+M0QVtYD0JCqfZlVcc9uNSwfrNaSQHbfU0qC:s95zk0mtyTqj6W4SGYSQ/qC
Malware Config
Signatures
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" reg.exe -
Disables Task Manager via registry modification
-
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2412658365-3084825385-3340777666-1000\Control Panel\International\Geo\Nation Baldi.exe -
Executes dropped EXE 2 IoCs
pid Process 1360 Baldi.exe 2196 DisableUAC.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2412658365-3084825385-3340777666-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\GG.exe = "C:\\Baldi\\Baldi.exe" Baldi.exe -
Sets desktop wallpaper using registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2412658365-3084825385-3340777666-1000\Control Panel\Desktop\Wallpaper = "C:\\Baldi\\lol.png" Baldi.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 4 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language BaldiTrojan-x64.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language Baldi.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language taskkill.exe -
Kills process with taskkill 1 IoCs
pid Process 4580 taskkill.exe -
Modifies Control Panel 2 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-2412658365-3084825385-3340777666-1000\Control Panel\desktop Baldi.exe Set value (str) \REGISTRY\USER\S-1-5-21-2412658365-3084825385-3340777666-1000\Control Panel\Desktop\TileWallpaper = "0" Baldi.exe -
Modifies data under HKEY_USERS 15 IoCs
description ioc Process Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\EnableWindowColorization = "126" LogonUI.exe Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\ColorizationAfterglow = "3288365271" LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\ColorizationAfterglowBalance = "10" LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\AccentColor = "4292311040" LogonUI.exe Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Themes\History LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Themes\History\AutoColor = "0" LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent\AccentColorMenu = "4292311040" LogonUI.exe Set value (data) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent\AccentPalette = a6d8ff0076b9ed00429ce3000078d700005a9e000042750000264200f7630c00 LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\ColorizationBlurBalance = "1" LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\ColorizationGlassAttribute = "1" LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\ColorizationColorBalance = "89" LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent\StartColorMenu = "4288567808" LogonUI.exe Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\ColorizationColor = "3288365271" LogonUI.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeShutdownPrivilege 4396 shutdown.exe Token: SeRemoteShutdownPrivilege 4396 shutdown.exe Token: SeDebugPrivilege 4580 taskkill.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 2824 LogonUI.exe -
Suspicious use of WriteProcessMemory 17 IoCs
description pid Process procid_target PID 2236 wrote to memory of 3448 2236 BaldiTrojan-x64.exe 84 PID 2236 wrote to memory of 3448 2236 BaldiTrojan-x64.exe 84 PID 2236 wrote to memory of 3448 2236 BaldiTrojan-x64.exe 84 PID 3448 wrote to memory of 1360 3448 cmd.exe 87 PID 3448 wrote to memory of 1360 3448 cmd.exe 87 PID 3448 wrote to memory of 1360 3448 cmd.exe 87 PID 3448 wrote to memory of 2196 3448 cmd.exe 88 PID 3448 wrote to memory of 2196 3448 cmd.exe 88 PID 2196 wrote to memory of 1156 2196 DisableUAC.exe 91 PID 2196 wrote to memory of 1156 2196 DisableUAC.exe 91 PID 1156 wrote to memory of 2316 1156 cmd.exe 92 PID 1156 wrote to memory of 2316 1156 cmd.exe 92 PID 1156 wrote to memory of 4396 1156 cmd.exe 93 PID 1156 wrote to memory of 4396 1156 cmd.exe 93 PID 1360 wrote to memory of 4580 1360 Baldi.exe 96 PID 1360 wrote to memory of 4580 1360 Baldi.exe 96 PID 1360 wrote to memory of 4580 1360 Baldi.exe 96
Processes
-
C:\Users\Admin\AppData\Local\Temp\BaldiTrojan-x64.exe"C:\Users\Admin\AppData\Local\Temp\BaldiTrojan-x64.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2236 -
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c CleanZUpdater.bat2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3448 -
C:\Baldi\Baldi.exeC:\Baldi\Baldi.exe3⤵
- Checks computer location settings
- Executes dropped EXE
- Adds Run key to start application
- Sets desktop wallpaper using registry
- System Location Discovery: System Language Discovery
- Modifies Control Panel
- Suspicious use of WriteProcessMemory
PID:1360 -
C:\Windows\SysWOW64\taskkill.exe"C:\Windows\System32\taskkill.exe" /f /im explorer.exe4⤵
- System Location Discovery: System Language Discovery
- Kills process with taskkill
- Suspicious use of AdjustPrivilegeToken
PID:4580
-
-
-
C:\Baldi\DisableUAC.exeC:\Baldi\DisableUAC.exe3⤵
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:2196 -
C:\Windows\system32\cmd.exe"C:\Windows\system32\cmd" /c "C:\Users\Admin\AppData\Local\Temp\7782.tmp\7783.bat C:\Baldi\DisableUAC.exe"4⤵
- Suspicious use of WriteProcessMemory
PID:1156 -
C:\Windows\system32\reg.exereg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f5⤵
- UAC bypass
PID:2316
-
-
C:\Windows\system32\shutdown.exeshutdown -r -t 1 -c "BALDI EVIL..."5⤵
- Suspicious use of AdjustPrivilegeToken
PID:4396
-
-
-
-
-
C:\Windows\system32\LogonUI.exe"LogonUI.exe" /flags:0x4 /state0:0xa39a9855 /state1:0x41c64e6d1⤵
- Modifies data under HKEY_USERS
- Suspicious use of SetWindowsHookEx
PID:2824
Network
MITRE ATT&CK Enterprise v15
Privilege Escalation
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Defense Evasion
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Impair Defenses
1Disable or Modify Tools
1Modify Registry
3Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
12.4MB
MD5515bc425daa9558e4a12a917e7dfc701
SHA1bef7a2a3f78189922be2b1f59b9e2636c6a8156e
SHA256fd27fb8b14a5fa99bba87560510030a5ab9df47e4f7584cb4d0e31c04e11808b
SHA51241b2b95aea7ed7bc039f64146581ba695af8a441cfb7cba989d2204fe47f8de974334c224a085f30fbc3fc51455986a73c3bdb90952f1e7bc9b6c8074432dbdc
-
Filesize
66B
MD5b54e64a1f0b58d09cf57d983d7ba7361
SHA1d6c36454390be4eea41512bd39a9c68d77f614bf
SHA2562683d451ab3423e25bcbeca902e6b586d0d9e8689c9c1bb6dca47bfae547a7d7
SHA512583a6b07d584a433a78c8a948807caf5d1bfa0a1b8ef6dcf5a7f67db38e03baf875cabdc91f974276295c01485b78c11002b4cf10f08346ab92c2375479beb0a
-
Filesize
104KB
MD59ad923e0b582d7520dbd655c36c1cdd5
SHA1189c9b2c40f0a84af365e0bb8b88e97243560cc3
SHA256f5add589da4bfb1492531306d12e84ef27bfcb0c31ff51fed710215765ac95f4
SHA512ea73a7e5262fd148bc8b5d7d5a7c20a1c6683defb7c2ea48cdc22595420307b18ca20ecaf1135ad24131d2ab6ce1346e3abf78abed0e2728878c0f993509fb0c
-
Filesize
186B
MD5a708b066fda65f8d7f94a2cbd4919b0f
SHA15c723e4f1ba46b5cb6813b5db490dd63748cb07c
SHA256754d5b111ec7225c4d643142ddf0dfaab585f12b2f69bcca088abbd0d23a5a79
SHA51275b7a6401ebfb2aa9194ff3ef48f8c23044342ddb2f2b9b33020b6ec7592dd2a1b0546ef7387641fb17cccd7f726fe665386c471f01b4e715d7e9b713baa1bc5