Analysis
- max time kernel
144s - max time network
146s - platform
windows7_x64 - resource
win7-20231215-en - resource tags
arch:x64arch:x86image:win7-20231215-enlocale:en-usos:windows7-x64system - submitted
03/02/2024, 08:19
Static task
static1
1 signatures
Behavioral task
behavioral1
Sample
8bd9f4402f6d6fce424b00d9ba58f199.exe
Resource
win7-20231215-en
14 signatures
150 seconds
Behavioral task
behavioral2
Sample
8bd9f4402f6d6fce424b00d9ba58f199.exe
Resource
win10v2004-20231215-en
17 signatures
150 seconds
General
- Target 8bd9f4402f6d6fce424b00d9ba58f199.exe
- Size 894KB
- Sample240203-j7261afcbl
- SHA256 b67c0a93586ce62991591c10cfcfb338b664ad4fd3b9aac496ef23728b7e2a4b
- MD5 8bd9f4402f6d6fce424b00d9ba58f199
- SHA1 34f1216963afa798100917b203e1e0a6c09af1f0
- SHA512 6e91038d3cf379f27ba352e9fe613b0ec64f504768391aca0a641fd90180d0d685ff09b24f4be929a5fb568b6a3ba64f4aa4c38b41035644f99cf659cf3f6a37
- SSDEEP 12288:Yxo7YNQg2YcKify3iTntxrr0cuUPnIpVwDIX9cgtWb2KExgDj48uSeJroREokzN:YKwQrsiK3Sr0ckHCb2Zxg348uS8ogzN
- 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 28 IoCs
resource yara_rule behavioral1/memory/2044-7-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-9-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-11-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-13-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-19-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-20-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-22-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-15-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-23-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2044-33-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-62-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-60-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-59-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-68-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-72-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-73-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-74-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-76-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-77-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-79-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-80-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-81-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-82-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-83-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-84-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-85-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-86-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/2656-87-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 - Executes dropped EXE 2 IoCs
pid Process 1636 mstwain32.exe 2656 mstwain32.EXE - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1268429524-3929314613-1992311491-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 8bd9f4402f6d6fce424b00d9ba58f199.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 1976 set thread context of 2044 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 28 PID 1636 set thread context of 2656 1636 mstwain32.exe 33 - Drops file in Windows directory 5 IoCs
description ioc Process File created C:\Windows\mstwain32.exe 8bd9f4402f6d6fce424b00d9ba58f199.EXE File opened for modification C:\Windows\mstwain32.exe 8bd9f4402f6d6fce424b00d9ba58f199.EXE File opened for modification C:\Windows\mstwain32.EXE mstwain32.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 2044 8bd9f4402f6d6fce424b00d9ba58f199.EXE Token: SeBackupPrivilege 2684 vssvc.exe Token: SeRestorePrivilege 2684 vssvc.exe Token: SeAuditPrivilege 2684 vssvc.exe Token: SeDebugPrivilege 2656 mstwain32.EXE Token: SeDebugPrivilege 2656 mstwain32.EXE - Suspicious use of SetWindowsHookEx 6 IoCs
pid Process 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 1636 mstwain32.exe 1636 mstwain32.exe 2656 mstwain32.EXE 2656 mstwain32.EXE - Suspicious use of WriteProcessMemory 28 IoCs
description pid Process procid_target PID 1976 wrote to memory of 2044 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 28 PID 1976 wrote to memory of 2044 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 28 PID 1976 wrote to memory of 2044 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 28 PID 1976 wrote to memory of 2044 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 28 PID 1976 wrote to memory of 2044 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 28 PID 1976 wrote to memory of 2044 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 28 PID 1976 wrote to memory of 2044 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 28 PID 1976 wrote to memory of 2044 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 28 PID 1976 wrote to memory of 2044 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 28 PID 1976 wrote to memory of 2044 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 28 PID 1976 wrote to memory of 2044 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 28 PID 1976 wrote to memory of 2044 1976 8bd9f4402f6d6fce424b00d9ba58f199.exe 28 PID 2044 wrote to memory of 1636 2044 8bd9f4402f6d6fce424b00d9ba58f199.EXE 32 PID 2044 wrote to memory of 1636 2044 8bd9f4402f6d6fce424b00d9ba58f199.EXE 32 PID 2044 wrote to memory of 1636 2044 8bd9f4402f6d6fce424b00d9ba58f199.EXE 32 PID 2044 wrote to memory of 1636 2044 8bd9f4402f6d6fce424b00d9ba58f199.EXE 32 PID 1636 wrote to memory of 2656 1636 mstwain32.exe 33 PID 1636 wrote to memory of 2656 1636 mstwain32.exe 33 PID 1636 wrote to memory of 2656 1636 mstwain32.exe 33 PID 1636 wrote to memory of 2656 1636 mstwain32.exe 33 PID 1636 wrote to memory of 2656 1636 mstwain32.exe 33 PID 1636 wrote to memory of 2656 1636 mstwain32.exe 33 PID 1636 wrote to memory of 2656 1636 mstwain32.exe 33 PID 1636 wrote to memory of 2656 1636 mstwain32.exe 33 PID 1636 wrote to memory of 2656 1636 mstwain32.exe 33 PID 1636 wrote to memory of 2656 1636 mstwain32.exe 33 PID 1636 wrote to memory of 2656 1636 mstwain32.exe 33 PID 1636 wrote to memory of 2656 1636 mstwain32.exe 33 - 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\8bd9f4402f6d6fce424b00d9ba58f199.exe"C:\Users\Admin\AppData\Local\Temp\8bd9f4402f6d6fce424b00d9ba58f199.exe"1⤵
- Suspicious use of SetThreadContext
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1976 -
C:\Users\Admin\AppData\Local\Temp\8bd9f4402f6d6fce424b00d9ba58f199.EXE8bd9f4402f6d6fce424b00d9ba58f199.EXE2⤵
- Checks whether UAC is enabled
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2044 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Drops file in Windows directory
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1636 -
C:\Windows\mstwain32.EXEmstwain32.EXE4⤵
- UAC bypass
- Executes dropped EXE
- 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:2656
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2684
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 894KB
- SHA256 b67c0a93586ce62991591c10cfcfb338b664ad4fd3b9aac496ef23728b7e2a4b
- MD5 8bd9f4402f6d6fce424b00d9ba58f199
- SHA1 34f1216963afa798100917b203e1e0a6c09af1f0
- SHA512 6e91038d3cf379f27ba352e9fe613b0ec64f504768391aca0a641fd90180d0d685ff09b24f4be929a5fb568b6a3ba64f4aa4c38b41035644f99cf659cf3f6a37
- SSDEEP 12288:Yxo7YNQg2YcKify3iTntxrr0cuUPnIpVwDIX9cgtWb2KExgDj48uSeJroREokzN:YKwQrsiK3Sr0ckHCb2Zxg348uS8ogzN
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\mstwain32.exe
- Size 258KB
- SHA256 0721aa210643042fbb52e3185c027430d5bdd7d9d5820a681c2c83f9b119b7e7
- MD5 dedc10ab3f1e8598bf682c369bac4a0b
- SHA1 88c9fc69227b8427197031544b7491d655e4463a
- SHA512 f8d41ac85bfcf7f0ea82fbd41d709b5561edd24b795325e9ce87cbbe9d5d9be58e19f45260ee9ac385d704313e18b95e2057b39ca2a2c5215eed2cab64558837
- SSDEEP 6144:DZuSmi9tBpgXNQa/BgLR7YcKRKLfyID4ncc:Yxo7YNQg2YcKify3p
- MD5 SHA1 SHA512 SSDEEP
- Path \??\c:\users\admin\appdata\local\temp\00000000
- Size 14B
- SHA256 30a5a601fa110dc854568dd2c3c8f01696ba1f2dac487e456d54bfd68b1e4064
- MD5 d431083abc249b6129ec8d6dfd52ed12
- SHA1 36d0ef3bda114ae3d9ecb61e5f7569aeedf08f10
- SHA512 cbe8f38de87edf5b42cf6b6417ddcccca277f0a45bf354645f137debbc39ebcf7b67fd6fe1862226dc40be840ce35329b563fb58435e55389acbfa5dbee9ac20
- MD5 SHA1 SHA512