Analysis
-
max time kernel
120s -
max time network
116s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
16/01/2025, 12:57
Behavioral task
behavioral1
Sample
5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.exe
Resource
win7-20240729-en
Behavioral task
behavioral2
Sample
5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.exe
Resource
win10v2004-20241007-en
General
-
Target
5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.exe
-
Size
324KB
-
MD5
711ec6b819ec0fa11cec59003f147078
-
SHA1
55438a806c3ccc9d601c9ca017eee67b981716c6
-
SHA256
5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889
-
SHA512
8180cf23100b2ff9a411964d208a4c37e617a0bd020c29ff7420667a18765e9b8301b5502f1a66e346830623bfcacbc136a70b358126cb1eb4e55d147b4056b1
-
SSDEEP
6144:QGyjnBSkuV1d4eZd88ORJIf/wTBt532GnhpcCO4oS0v6:bYnBSkuVUeZdYqwT77oSl
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 4 IoCs
resource yara_rule behavioral2/memory/2236-0-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/files/0x000c000000023b54-5.dat modiloader_stage2 behavioral2/memory/2236-10-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/396-26-0x0000000000400000-0x0000000000453000-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-2437139445-1151884604-3026847218-1000\Control Panel\International\Geo\Nation 5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.exe -
Deletes itself 1 IoCs
pid Process 396 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 396 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 396 mstwain32.exe 396 mstwain32.exe 396 mstwain32.exe 396 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2437139445-1151884604-3026847218-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 5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.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 -
resource yara_rule behavioral2/memory/2236-0-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/files/0x000c000000023b54-5.dat upx behavioral2/memory/2236-10-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/396-26-0x0000000000400000-0x0000000000453000-memory.dmp upx -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe 5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.exe File opened for modification C:\Windows\mstwain32.exe 5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.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 5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 2236 5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.exe Token: SeDebugPrivilege 396 mstwain32.exe Token: SeDebugPrivilege 396 mstwain32.exe -
Suspicious use of FindShellTrayWindow 1 IoCs
pid Process 2236 5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 396 mstwain32.exe 396 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 2236 wrote to memory of 396 2236 5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.exe 83 PID 2236 wrote to memory of 396 2236 5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.exe 83 PID 2236 wrote to memory of 396 2236 5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.exe 83 -
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\5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.exe"C:\Users\Admin\AppData\Local\Temp\5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.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 FindShellTrayWindow
- Suspicious use of WriteProcessMemory
PID:2236 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\5646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889.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
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:396
-
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
32KB
MD5531d0db3c9964f9d62d171a3367beca5
SHA1600d059e0323c20a43cc8271de91999747e58490
SHA25681c09bb1cab000b86f2fa964cd7729a2896c5f5602a6172ce7d112f612e7afc1
SHA512463625efbc9566d4713062c304a3f323d1b4a28f2bdb7867ef8bf8be8244a2e9f36102abe572136d2487aa12c835b2717ca58975fdc67ddff4d16f743c5d605e
-
Filesize
324KB
MD5711ec6b819ec0fa11cec59003f147078
SHA155438a806c3ccc9d601c9ca017eee67b981716c6
SHA2565646ddce78f18a01104e3d979669826b6a480dd00067b359ea06590ecd259889
SHA5128180cf23100b2ff9a411964d208a4c37e617a0bd020c29ff7420667a18765e9b8301b5502f1a66e346830623bfcacbc136a70b358126cb1eb4e55d147b4056b1
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350