Analysis
-
max time kernel
145s -
max time network
149s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
10/08/2024, 21:53
Behavioral task
behavioral1
Sample
58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf.exe
Resource
win7-20240705-en
Behavioral task
behavioral2
Sample
58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf.exe
Resource
win10v2004-20240802-en
General
-
Target
58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf.exe
-
Size
270KB
-
MD5
9b740136d5717eaa08ea479cfe07b51f
-
SHA1
ceee82b2e6491c9a2de4ccf9063c679a76084ef5
-
SHA256
58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf
-
SHA512
8517bfbb464879d26efdc3342b8d8a5868239928646fe370816a0662f44e054e1bada062b9160a2e46c6b856e6c11bbfc19146194fa925617891f0c31ee4d8de
-
SSDEEP
6144:xG377xS2Vp2CeiorXdwTBgWx4v53rWpcCJJvHq:kr7xS2Vp6RwTyC7bJJvHq
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 16 IoCs
resource yara_rule behavioral2/files/0x0008000000023464-4.dat modiloader_stage2 behavioral2/memory/4200-10-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2560-26-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2560-29-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2560-32-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2560-35-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2560-38-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2560-41-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2560-44-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2560-47-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2560-50-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2560-53-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2560-56-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2560-59-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2560-62-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2560-65-0x0000000000400000-0x000000000044B000-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-945322488-2060912225-3527527000-1000\Control Panel\International\Geo\Nation 58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf.exe -
Executes dropped EXE 1 IoCs
pid Process 2560 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 2560 mstwain32.exe 2560 mstwain32.exe 2560 mstwain32.exe 2560 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-945322488-2060912225-3527527000-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 58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf.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 58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf.exe File opened for modification C:\Windows\mstwain32.exe 58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf.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 58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 4200 58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf.exe Token: SeBackupPrivilege 3228 vssvc.exe Token: SeRestorePrivilege 3228 vssvc.exe Token: SeAuditPrivilege 3228 vssvc.exe Token: SeDebugPrivilege 2560 mstwain32.exe Token: SeDebugPrivilege 2560 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2560 mstwain32.exe 2560 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 4200 wrote to memory of 2560 4200 58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf.exe 89 PID 4200 wrote to memory of 2560 4200 58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf.exe 89 PID 4200 wrote to memory of 2560 4200 58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf.exe 89 -
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\58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf.exe"C:\Users\Admin\AppData\Local\Temp\58e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf.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 WriteProcessMemory
PID:4200 -
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:2560
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:3228
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
MD5db5855e4b9542c63874392ccccac782f
SHA1e61e88cebe334ea4cb7f87b6937a64fa2aec0447
SHA2568ba7cd864bab70f294cd6f4b2eda2775cf35f2f1b85123f5d79a192d5bb8d341
SHA5127744c50bccfdee44298a7577b72ed3a5ca2ce4dfdc33c32b57f70df4c4fccc8416f33dfed215988db5c5be4a641f8b86ae7e1828d5e69f3cfeaa1df5503ff1f0
-
Filesize
270KB
MD59b740136d5717eaa08ea479cfe07b51f
SHA1ceee82b2e6491c9a2de4ccf9063c679a76084ef5
SHA25658e0721a64d92c01f9154b801b9c1e5aef6397c03f736ec42e8298b4b732d2cf
SHA5128517bfbb464879d26efdc3342b8d8a5868239928646fe370816a0662f44e054e1bada062b9160a2e46c6b856e6c11bbfc19146194fa925617891f0c31ee4d8de
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350