Analysis
- max time kernel
149s - max time network
151s - platform
windows10-2004_x64 - resource
win10v2004-20240226-en - resource tags
arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system - submitted
16/03/2024, 12:03
Behavioral task
behavioral1
Sample
ce0432a230f9fbec9524e39baf197f86.exe
Resource
win7-20240221-en
16 signatures
150 seconds
Behavioral task
behavioral2
Sample
ce0432a230f9fbec9524e39baf197f86.exe
Resource
win10v2004-20240226-en
18 signatures
150 seconds
General
- Target ce0432a230f9fbec9524e39baf197f86.exe
- Size 561KB
- Sample240316-n74gaaaf41
- SHA256 bdf735e3eba9ffd12ed25422da56ec7e5dfd4e94574076dcfeb61c25476fef86
- MD5 ce0432a230f9fbec9524e39baf197f86
- SHA1 4b86d124ce90448a167822af40b6654de7cb5e3b
- SHA512 2b0928027ff5dd5ab23b417a22f358a6d36cddd292f987d1fc53e0b72661bf6955238a68409319313ff1a8c380f144e0dff3ef4f4d8047135c3eedbc7a97e1a0
- SSDEEP 12288:DBMmKGnhDT+JlCraEFmgO3aT1uxp62KW8CcCzyU56RZv+A1kJ:9MmnDC+rPnyaEv8W8CcQy2U1Ty
- MD5 SHA1 SHA512 SSDEEP
Score
10/10
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 23 IoCs
resource yara_rule behavioral2/memory/4428-1-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4428-2-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4428-5-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4428-4-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4428-20-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-25-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-26-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-27-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-35-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-37-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-38-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-40-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-42-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-44-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-46-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-48-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-50-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-52-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-54-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-56-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-58-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-60-0x0000000000400000-0x0000000000443000-memory.dmp modiloader_stage2 behavioral2/memory/4304-62-0x0000000000400000-0x0000000000443000-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-399997616-3400990511-967324271-1000\Control Panel\International\Geo\Nation ce0432a230f9fbec9524e39baf197f86.exe - Executes dropped EXE 2 IoCs
pid Process 4464 mstwain32.exe 4304 mstwain32.exe - Loads dropped DLL 2 IoCs
pid Process 4304 mstwain32.exe 4304 mstwain32.exe -
resource yara_rule behavioral2/memory/2060-0-0x0000000000400000-0x00000000004C9000-memory.dmp upx behavioral2/memory/2060-3-0x0000000000400000-0x00000000004C9000-memory.dmp upx behavioral2/files/0x0007000000023204-11.dat upx behavioral2/files/0x0007000000023204-16.dat upx behavioral2/memory/4464-19-0x0000000000400000-0x00000000004C9000-memory.dmp upx behavioral2/memory/4464-24-0x0000000000400000-0x00000000004C9000-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-399997616-3400990511-967324271-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 mstwain32.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA ce0432a230f9fbec9524e39baf197f86.exe - AutoIT Executable 3 IoCs
AutoIT scripts compiled to PE executables.
resource yara_rule behavioral2/memory/2060-3-0x0000000000400000-0x00000000004C9000-memory.dmp autoit_exe behavioral2/memory/4464-19-0x0000000000400000-0x00000000004C9000-memory.dmp autoit_exe behavioral2/memory/4464-24-0x0000000000400000-0x00000000004C9000-memory.dmp autoit_exe - Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 2060 set thread context of 4428 2060 ce0432a230f9fbec9524e39baf197f86.exe 89 PID 4464 set thread context of 4304 4464 mstwain32.exe 101 - Drops file in Windows directory 3 IoCs
description ioc Process File opened for modification C:\Windows\mstwain32.exe ce0432a230f9fbec9524e39baf197f86.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\mstwain32.exe ce0432a230f9fbec9524e39baf197f86.exe - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Suspicious use of AdjustPrivilegeToken 5 IoCs
description pid Process Token: SeDebugPrivilege 4428 ce0432a230f9fbec9524e39baf197f86.exe Token: SeBackupPrivilege 1028 vssvc.exe Token: SeRestorePrivilege 1028 vssvc.exe Token: SeAuditPrivilege 1028 vssvc.exe Token: SeDebugPrivilege 4304 mstwain32.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 4304 mstwain32.exe - Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2060 wrote to memory of 4428 2060 ce0432a230f9fbec9524e39baf197f86.exe 89 PID 2060 wrote to memory of 4428 2060 ce0432a230f9fbec9524e39baf197f86.exe 89 PID 2060 wrote to memory of 4428 2060 ce0432a230f9fbec9524e39baf197f86.exe 89 PID 2060 wrote to memory of 4428 2060 ce0432a230f9fbec9524e39baf197f86.exe 89 PID 2060 wrote to memory of 4428 2060 ce0432a230f9fbec9524e39baf197f86.exe 89 PID 2060 wrote to memory of 4428 2060 ce0432a230f9fbec9524e39baf197f86.exe 89 PID 2060 wrote to memory of 4428 2060 ce0432a230f9fbec9524e39baf197f86.exe 89 PID 2060 wrote to memory of 4428 2060 ce0432a230f9fbec9524e39baf197f86.exe 89 PID 2060 wrote to memory of 4428 2060 ce0432a230f9fbec9524e39baf197f86.exe 89 PID 2060 wrote to memory of 4428 2060 ce0432a230f9fbec9524e39baf197f86.exe 89 PID 4428 wrote to memory of 4464 4428 ce0432a230f9fbec9524e39baf197f86.exe 100 PID 4428 wrote to memory of 4464 4428 ce0432a230f9fbec9524e39baf197f86.exe 100 PID 4428 wrote to memory of 4464 4428 ce0432a230f9fbec9524e39baf197f86.exe 100 PID 4464 wrote to memory of 4304 4464 mstwain32.exe 101 PID 4464 wrote to memory of 4304 4464 mstwain32.exe 101 PID 4464 wrote to memory of 4304 4464 mstwain32.exe 101 PID 4464 wrote to memory of 4304 4464 mstwain32.exe 101 PID 4464 wrote to memory of 4304 4464 mstwain32.exe 101 PID 4464 wrote to memory of 4304 4464 mstwain32.exe 101 PID 4464 wrote to memory of 4304 4464 mstwain32.exe 101 PID 4464 wrote to memory of 4304 4464 mstwain32.exe 101 PID 4464 wrote to memory of 4304 4464 mstwain32.exe 101 PID 4464 wrote to memory of 4304 4464 mstwain32.exe 101 - 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\ce0432a230f9fbec9524e39baf197f86.exe"C:\Users\Admin\AppData\Local\Temp\ce0432a230f9fbec9524e39baf197f86.exe"1⤵
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:2060 -
C:\Users\Admin\AppData\Local\Temp\ce0432a230f9fbec9524e39baf197f86.exe"C:\Users\Admin\AppData\Local\Temp\ce0432a230f9fbec9524e39baf197f86.exe"2⤵
- Checks computer location settings
- Checks whether UAC is enabled
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4428 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\ce0432a230f9fbec9524e39baf197f86.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:4464 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"4⤵
- UAC bypass
- 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:4304
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:1028
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
- Path C:\Windows\mstwain32.exe
- Size 561KB
- SHA256 bdf735e3eba9ffd12ed25422da56ec7e5dfd4e94574076dcfeb61c25476fef86
- MD5 ce0432a230f9fbec9524e39baf197f86
- SHA1 4b86d124ce90448a167822af40b6654de7cb5e3b
- SHA512 2b0928027ff5dd5ab23b417a22f358a6d36cddd292f987d1fc53e0b72661bf6955238a68409319313ff1a8c380f144e0dff3ef4f4d8047135c3eedbc7a97e1a0
- SSDEEP 12288:DBMmKGnhDT+JlCraEFmgO3aT1uxp62KW8CcCzyU56RZv+A1kJ:9MmnDC+rPnyaEv8W8CcQy2U1Ty
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\mstwain32.exe
- Size 192KB
- SHA256 359814aecc9b15bd919a84fc7e341c1f5970442951e2eba7f58a31a0c78b4645
- MD5 42016e9f651cd6a7ea08ea482f1793be
- SHA1 4ad558bc59dff6ecac36ea0caa953b7a6d405771
- SHA512 ec72ecf08b19431b3d5969231660eb966376b538097ea8b543c7836b2f45ae06fa37c6187a9dd4d26d08839a757a00bcf5303c42224c15119c27bfdcbd96bda7
- SSDEEP 3072:CeBmNMM/2NG78Kba2sKFFoTUJR9NWiFBbySPmh0l6wwYqANIxbhPCvI:DBgh/58KGip9lmh0UwwDdxtPwI
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\ntdtcstp.dll
- Size 7KB
- SHA256 e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
- MD5 67587e25a971a141628d7f07bd40ffa0
- SHA1 76fcd014539a3bb247cc0b761225f68bd6055f6b
- SHA512 6e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350
- SSDEEP 96:nPI4WiJu8aFwiFtih01Rl532eJWahK4oDImBx:ndW0u8/Jh0Dl532eJWao4i/
- MD5 SHA1 SHA512 SSDEEP