Analysis
- max time kernel
149s - max time network
153s - platform
windows10-2004_x64 - resource
win10v2004-20231215-en - resource tags
arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system - submitted
31/01/2024, 12:44
Static task
static1
1 signatures
Behavioral task
behavioral1
Sample
847277818be6f8db7ab5eacbc92a3d2c.exe
Resource
win7-20231129-en
1 signatures
150 seconds
Behavioral task
behavioral2
Sample
847277818be6f8db7ab5eacbc92a3d2c.exe
Resource
win10v2004-20231215-en
17 signatures
150 seconds
General
- Target 847277818be6f8db7ab5eacbc92a3d2c.exe
- Size 144KB
- Sample240131-pyn6nsecdn
- SHA256 29a76ebacc5b1771013dfa32a9c2f7c619db969389fb54bc938e7cce29cde026
- MD5 847277818be6f8db7ab5eacbc92a3d2c
- SHA1 7ba5c5dff0dab39a75c2021e54a015cd9b978ec1
- SHA512 7fa42a545262035eb5f7219e0b15d4105e63c83e4137928c1dfc63c868665289782ea9e84d0835a1f5ecd4652a633e93df9fbee821849eac3654d664bfc7aeec
- SSDEEP 3072:/uE51ig/x0HudC9iFYS/qwoKSErBMlAzXXiZUrYRP:GECgSOdC9uZ/qZKSd8CmGP
- 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 20 IoCs
resource yara_rule behavioral2/memory/2240-5-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2240-6-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/2240-18-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-29-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-30-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-44-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-47-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-48-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-51-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-54-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-57-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-60-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-63-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-66-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-69-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-72-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-75-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-78-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-81-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4488-84-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-996941297-2279405024-2328152752-1000\Control Panel\International\Geo\Nation 847277818be6f8db7ab5eacbc92a3d2c.exe - Executes dropped EXE 2 IoCs
pid Process 1596 mstwain32.exe 4488 mstwain32.exe - Loads dropped DLL 4 IoCs
pid Process 4488 mstwain32.exe 4488 mstwain32.exe 4488 mstwain32.exe 4488 mstwain32.exe -
resource yara_rule behavioral2/memory/2240-2-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2240-4-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2240-5-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2240-6-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/2240-18-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-27-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-29-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-30-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-44-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-47-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-48-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-51-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-54-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-57-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-60-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-63-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-66-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-69-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-72-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-75-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-78-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-81-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4488-84-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-996941297-2279405024-2328152752-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 847277818be6f8db7ab5eacbc92a3d2c.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 - Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 3136 set thread context of 2240 3136 847277818be6f8db7ab5eacbc92a3d2c.exe 83 PID 1596 set thread context of 4488 1596 mstwain32.exe 93 - Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe 847277818be6f8db7ab5eacbc92a3d2c.exe File opened for modification C:\Windows\mstwain32.exe 847277818be6f8db7ab5eacbc92a3d2c.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).
- Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2240 847277818be6f8db7ab5eacbc92a3d2c.exe Token: SeBackupPrivilege 4236 vssvc.exe Token: SeRestorePrivilege 4236 vssvc.exe Token: SeAuditPrivilege 4236 vssvc.exe Token: SeDebugPrivilege 4488 mstwain32.exe Token: SeDebugPrivilege 4488 mstwain32.exe - Suspicious use of SetWindowsHookEx 4 IoCs
pid Process 3136 847277818be6f8db7ab5eacbc92a3d2c.exe 1596 mstwain32.exe 4488 mstwain32.exe 4488 mstwain32.exe - Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 3136 wrote to memory of 2240 3136 847277818be6f8db7ab5eacbc92a3d2c.exe 83 PID 3136 wrote to memory of 2240 3136 847277818be6f8db7ab5eacbc92a3d2c.exe 83 PID 3136 wrote to memory of 2240 3136 847277818be6f8db7ab5eacbc92a3d2c.exe 83 PID 3136 wrote to memory of 2240 3136 847277818be6f8db7ab5eacbc92a3d2c.exe 83 PID 3136 wrote to memory of 2240 3136 847277818be6f8db7ab5eacbc92a3d2c.exe 83 PID 3136 wrote to memory of 2240 3136 847277818be6f8db7ab5eacbc92a3d2c.exe 83 PID 3136 wrote to memory of 2240 3136 847277818be6f8db7ab5eacbc92a3d2c.exe 83 PID 3136 wrote to memory of 2240 3136 847277818be6f8db7ab5eacbc92a3d2c.exe 83 PID 2240 wrote to memory of 1596 2240 847277818be6f8db7ab5eacbc92a3d2c.exe 91 PID 2240 wrote to memory of 1596 2240 847277818be6f8db7ab5eacbc92a3d2c.exe 91 PID 2240 wrote to memory of 1596 2240 847277818be6f8db7ab5eacbc92a3d2c.exe 91 PID 1596 wrote to memory of 4488 1596 mstwain32.exe 93 PID 1596 wrote to memory of 4488 1596 mstwain32.exe 93 PID 1596 wrote to memory of 4488 1596 mstwain32.exe 93 PID 1596 wrote to memory of 4488 1596 mstwain32.exe 93 PID 1596 wrote to memory of 4488 1596 mstwain32.exe 93 PID 1596 wrote to memory of 4488 1596 mstwain32.exe 93 PID 1596 wrote to memory of 4488 1596 mstwain32.exe 93 PID 1596 wrote to memory of 4488 1596 mstwain32.exe 93 - 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\847277818be6f8db7ab5eacbc92a3d2c.exe"C:\Users\Admin\AppData\Local\Temp\847277818be6f8db7ab5eacbc92a3d2c.exe"1⤵
- Suspicious use of SetThreadContext
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:3136 -
C:\Users\Admin\AppData\Local\Temp\847277818be6f8db7ab5eacbc92a3d2c.exeC:\Users\Admin\AppData\Local\Temp\847277818be6f8db7ab5eacbc92a3d2c.exe2⤵
- Checks computer location settings
- Checks whether UAC is enabled
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2240 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1596 -
C:\Windows\mstwain32.exeC:\Windows\mstwain32.exe4⤵
- 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:4488
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:4236
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\cmsetac.dll
- Size 33KB
- SHA256 4b1240728cabf44b74d8c7ed0d8dd213c12d51d8ecf4369aae9213978a32baaa
- MD5 a57601d9a21f62e984c0e4e70984c8cb
- SHA1 d55324a319035a958b3263270ecbc12e91305464
- SHA512 945ab594496ce89dfdbc8a75864fd26050d5945f0217f3d67d1afad1b165df2f47a8d1a59930242262cb93a7fb8480d5e738bb5f4c82fa67a6c30831daffede3
- SSDEEP 768:T+aoi6qZOpQB5ZpOc06HCMN9GT6RJ5BHUEy2YEZZEo:T+av6qZ4QxpP0AtNfRJ5BHxY
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\mstwain32.exe
- Size 144KB
- SHA256 29a76ebacc5b1771013dfa32a9c2f7c619db969389fb54bc938e7cce29cde026
- MD5 847277818be6f8db7ab5eacbc92a3d2c
- SHA1 7ba5c5dff0dab39a75c2021e54a015cd9b978ec1
- SHA512 7fa42a545262035eb5f7219e0b15d4105e63c83e4137928c1dfc63c868665289782ea9e84d0835a1f5ecd4652a633e93df9fbee821849eac3654d664bfc7aeec
- SSDEEP 3072:/uE51ig/x0HudC9iFYS/qwoKSErBMlAzXXiZUrYRP:GECgSOdC9uZ/qZKSd8CmGP
- 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