Analysis
-
max time kernel
149s -
max time network
149s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
08-12-2024 23:14
Static task
static1
Behavioral task
behavioral1
Sample
5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.exe
Resource
win7-20241023-en
Behavioral task
behavioral2
Sample
5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.exe
Resource
win10v2004-20241007-en
General
-
Target
5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.exe
-
Size
705KB
-
MD5
d4d7a0da419032e44874ffce2419b4f1
-
SHA1
f9b2dbc2c4c70fa468ad44ce491d87633d94ecba
-
SHA256
5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844
-
SHA512
2bd488676b925e08283dc1a624994d09e377421b3cad538b05ceb26714256bde2fcecfc12a0ad44cc71a6f6d225443f235cd94489ba59e3ecd2d2a3fb381d5cb
-
SSDEEP
12288:O66k9uL+KUnVk2W5wwyPImzQ/+afpnRyY9jjU81wePXy1b6O4q7VRTp0nVnXG:hW+NR0wwuFQZfpcYRz17XWw2rp+X
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Modiloader family
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 20 IoCs
resource yara_rule behavioral2/memory/2176-2-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/2176-3-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/2176-13-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-16-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-17-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-33-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-34-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-37-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-40-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-43-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-46-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-49-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-52-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-55-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-58-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-61-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-64-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-67-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-70-0x0000000000400000-0x000000000078D000-memory.dmp modiloader_stage2 behavioral2/memory/1844-73-0x0000000000400000-0x000000000078D000-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-2045521122-590294423-3465680274-1000\Control Panel\International\Geo\Nation 5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.exe -
Executes dropped EXE 1 IoCs
pid Process 1844 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 1844 mstwain32.exe 1844 mstwain32.exe 1844 mstwain32.exe 1844 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2045521122-590294423-3465680274-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 5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.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 created C:\Windows\mstwain32.exe 5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.exe File opened for modification C:\Windows\mstwain32.exe 5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 2 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 5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 2176 5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.exe Token: SeDebugPrivilege 1844 mstwain32.exe Token: SeDebugPrivilege 1844 mstwain32.exe -
Suspicious use of SetWindowsHookEx 4 IoCs
pid Process 2176 5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.exe 1844 mstwain32.exe 1844 mstwain32.exe 1844 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 2176 wrote to memory of 1844 2176 5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.exe 85 PID 2176 wrote to memory of 1844 2176 5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.exe 85 PID 2176 wrote to memory of 1844 2176 5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.exe 85 -
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
Processes
-
C:\Users\Admin\AppData\Local\Temp\5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.exe"C:\Users\Admin\AppData\Local\Temp\5ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844.exe"1⤵
- Checks computer location settings
- Checks whether UAC is enabled
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:2176 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"2⤵
- UAC bypass
- Executes dropped EXE
- Loads dropped DLL
- Adds Run key to start application
- Checks whether UAC is enabled
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:1844
-
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
33KB
MD53dfadd99e92b7197f69932057efd857f
SHA12199e05147350b403ecdd70eb88892809ba4e641
SHA256f362dccf5bc0c4e2ce123ff7c298832eeb0d12bd5e486fe5ca528356ce93d6f0
SHA5128ddd20f825f4e8c0a3648ce187ede825c93a84d2179593c0c2aac8367f4ef1ac6f0d542bdffd10c4726dcc8f63ac2aaa1152ff99c67a603503bfa4bcde1526c0
-
Filesize
705KB
MD5d4d7a0da419032e44874ffce2419b4f1
SHA1f9b2dbc2c4c70fa468ad44ce491d87633d94ecba
SHA2565ea3b707b13ec9e17bdc954d1379f577e5b7aa78da14c7a6fd907a0b2b56c844
SHA5122bd488676b925e08283dc1a624994d09e377421b3cad538b05ceb26714256bde2fcecfc12a0ad44cc71a6f6d225443f235cd94489ba59e3ecd2d2a3fb381d5cb
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350