Analysis
-
max time kernel
148s -
max time network
152s -
platform
windows10-2004_x64 -
resource
win10v2004-20231222-en -
resource tags
arch:x64arch:x86image:win10v2004-20231222-enlocale:en-usos:windows10-2004-x64system -
submitted
31/01/2024, 09:43
Behavioral task
behavioral1
Sample
84163f55a98e68a7e2cb11fe45ed507a.exe
Resource
win7-20231215-en
Behavioral task
behavioral2
Sample
84163f55a98e68a7e2cb11fe45ed507a.exe
Resource
win10v2004-20231222-en
General
-
Target
84163f55a98e68a7e2cb11fe45ed507a.exe
-
Size
312KB
-
MD5
84163f55a98e68a7e2cb11fe45ed507a
-
SHA1
b35d3f9852ebde4c7d030a9853121e2e930a7a42
-
SHA256
2dd30e532f23c591e582f184dc59a2c9a0691bbfe10183af875c21313c44d436
-
SHA512
b22c25ecd03d0c861016bfe75afcfbe46b43e5044d00bb65c384a321335a9ae353998ed3ad965dc1fe88d3324252723fce3b46892c71bb52e5910b597439cb13
-
SSDEEP
6144:YG377xS2Vp2CeiorXhwTBN531pcCJJvHCC8oS:Dr7xS2Vp6FwT7bJJvHOoS
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 4 IoCs
resource yara_rule behavioral2/memory/3056-0-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/files/0x000600000001e595-6.dat modiloader_stage2 behavioral2/memory/3056-11-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2304-29-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 -
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-1168293393-3419776239-306423207-1000\Control Panel\International\Geo\Nation 84163f55a98e68a7e2cb11fe45ed507a.exe -
Deletes itself 1 IoCs
pid Process 2304 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 2304 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 2304 mstwain32.exe 2304 mstwain32.exe 2304 mstwain32.exe 2304 mstwain32.exe -
resource yara_rule behavioral2/memory/3056-0-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/files/0x000600000001e595-6.dat upx behavioral2/memory/3056-11-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2304-29-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1168293393-3419776239-306423207-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 84163f55a98e68a7e2cb11fe45ed507a.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA mstwain32.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
Drops file in Windows directory 4 IoCs
description ioc Process File opened for modification C:\Windows\mstwain32.exe 84163f55a98e68a7e2cb11fe45ed507a.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe 84163f55a98e68a7e2cb11fe45ed507a.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 3056 84163f55a98e68a7e2cb11fe45ed507a.exe Token: SeBackupPrivilege 4448 vssvc.exe Token: SeRestorePrivilege 4448 vssvc.exe Token: SeAuditPrivilege 4448 vssvc.exe Token: SeDebugPrivilege 2304 mstwain32.exe Token: SeDebugPrivilege 2304 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2304 mstwain32.exe 2304 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 3056 wrote to memory of 2304 3056 84163f55a98e68a7e2cb11fe45ed507a.exe 96 PID 3056 wrote to memory of 2304 3056 84163f55a98e68a7e2cb11fe45ed507a.exe 96 PID 3056 wrote to memory of 2304 3056 84163f55a98e68a7e2cb11fe45ed507a.exe 96 -
System policy modification 1 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
Uses Volume Shadow Copy service COM API
The Volume Shadow Copy service is used to manage backups/snapshots.
Processes
-
C:\Users\Admin\AppData\Local\Temp\84163f55a98e68a7e2cb11fe45ed507a.exe"C:\Users\Admin\AppData\Local\Temp\84163f55a98e68a7e2cb11fe45ed507a.exe"1⤵
- Checks computer location settings
- Checks whether UAC is enabled
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3056 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\84163f55a98e68a7e2cb11fe45ed507a.exe"2⤵
- UAC bypass
- Deletes itself
- Executes dropped EXE
- Loads dropped DLL
- Adds Run key to start application
- Checks whether UAC is enabled
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:2304
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:4448
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
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
33KB
MD588f1291d20aa04766107260ca801b855
SHA1879f99133249edc0e5d51ce13abae6e63fa75266
SHA256e6c331208fd2946a2a073023724ea68b12b0048953413f320b3769372058a8fe
SHA51285fa42f3c8f75df353c9541b7bbb0f94ba160248d347f3ecca61b7fa227b43a273f2459164b6dfd04147b74fe4af95c5fb9f546dc4c264d5039c91ef2820db37
-
Filesize
312KB
MD584163f55a98e68a7e2cb11fe45ed507a
SHA1b35d3f9852ebde4c7d030a9853121e2e930a7a42
SHA2562dd30e532f23c591e582f184dc59a2c9a0691bbfe10183af875c21313c44d436
SHA512b22c25ecd03d0c861016bfe75afcfbe46b43e5044d00bb65c384a321335a9ae353998ed3ad965dc1fe88d3324252723fce3b46892c71bb52e5910b597439cb13
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350