Analysis
-
max time kernel
183s -
max time network
169s -
platform
windows7_x64 -
resource
win7-20221111-en -
resource tags
arch:x64arch:x86image:win7-20221111-enlocale:en-usos:windows7-x64system -
submitted
28-11-2022 19:00
Behavioral task
behavioral1
Sample
d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exe
Resource
win7-20221111-en
Behavioral task
behavioral2
Sample
d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exe
Resource
win10v2004-20221111-en
General
-
Target
d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exe
-
Size
109KB
-
MD5
6c400d6759138960e13868679b704906
-
SHA1
f85ca5590c739682d21d9ead56f0f3d5397bf1bd
-
SHA256
d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d
-
SHA512
ebd4aee49fd07286b392905e18c4183ec2e6fee130c85339a22239ba87f8537c291924362b829aaecb3274baf2b21283038018f0a3af3a9dadc57bdea3fbeb0d
-
SSDEEP
3072:1oy8j7VnNdrPHaSekwi+mW+20vCaqLrout:V8jZ7rvaU3+mWr0KaCoS
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Processes:
mstwain32.exedescription ioc process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 5 IoCs
Processes:
resource yara_rule behavioral1/memory/836-55-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral1/memory/836-56-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral1/memory/836-59-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral1/memory/616-61-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 behavioral1/memory/616-63-0x0000000000400000-0x000000000044F000-memory.dmp modiloader_stage2 -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid process 616 mstwain32.exe -
Processes:
resource yara_rule behavioral1/memory/836-55-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral1/memory/836-56-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral1/memory/836-59-0x0000000000400000-0x000000000044F000-memory.dmp upx C:\Windows\mstwain32.exe upx behavioral1/memory/616-61-0x0000000000400000-0x000000000044F000-memory.dmp upx behavioral1/memory/616-63-0x0000000000400000-0x000000000044F000-memory.dmp upx -
Deletes itself 1 IoCs
Processes:
mstwain32.exepid process 616 mstwain32.exe -
Adds Run key to start application 2 TTPs 2 IoCs
Processes:
mstwain32.exedescription ioc process Key created \REGISTRY\USER\S-1-5-21-3385717845-2518323428-350143044-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\ mstwain32.exe Set value (str) \REGISTRY\USER\S-1-5-21-3385717845-2518323428-350143044-1000\Software\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Processes:
d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exemstwain32.exedescription ioc process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.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
Processes:
d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exemstwain32.exedescription ioc process File created C:\Windows\mstwain32.exe d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exe File opened for modification C:\Windows\mstwain32.exe d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.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). Likely ransomware behaviour.
-
Suspicious use of AdjustPrivilegeToken 6 IoCs
Processes:
d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exevssvc.exemstwain32.exedescription pid process Token: SeDebugPrivilege 836 d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exe Token: SeBackupPrivilege 840 vssvc.exe Token: SeRestorePrivilege 840 vssvc.exe Token: SeAuditPrivilege 840 vssvc.exe Token: SeDebugPrivilege 616 mstwain32.exe Token: SeDebugPrivilege 616 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid process 616 mstwain32.exe 616 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
Processes:
d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exedescription pid process target process PID 836 wrote to memory of 616 836 d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exe mstwain32.exe PID 836 wrote to memory of 616 836 d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exe mstwain32.exe PID 836 wrote to memory of 616 836 d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exe mstwain32.exe PID 836 wrote to memory of 616 836 d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exe mstwain32.exe -
System policy modification 1 TTPs 1 IoCs
Processes:
mstwain32.exedescription ioc process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exe"C:\Users\Admin\AppData\Local\Temp\d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exe"1⤵
- Checks whether UAC is enabled
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d.exe"2⤵
- UAC bypass
- Executes dropped EXE
- Deletes itself
- 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
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
Network
MITRE ATT&CK Matrix ATT&CK v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Windows\mstwain32.exeFilesize
109KB
MD56c400d6759138960e13868679b704906
SHA1f85ca5590c739682d21d9ead56f0f3d5397bf1bd
SHA256d2f306e7d1eed37bb346106ad9c90827f7e5c9c1de2582639fdbaa876ee02a2d
SHA512ebd4aee49fd07286b392905e18c4183ec2e6fee130c85339a22239ba87f8537c291924362b829aaecb3274baf2b21283038018f0a3af3a9dadc57bdea3fbeb0d
-
memory/616-57-0x0000000000000000-mapping.dmp
-
memory/616-61-0x0000000000400000-0x000000000044F000-memory.dmpFilesize
316KB
-
memory/616-62-0x0000000000550000-0x000000000055E000-memory.dmpFilesize
56KB
-
memory/616-63-0x0000000000400000-0x000000000044F000-memory.dmpFilesize
316KB
-
memory/836-54-0x00000000759F1000-0x00000000759F3000-memory.dmpFilesize
8KB
-
memory/836-55-0x0000000000400000-0x000000000044F000-memory.dmpFilesize
316KB
-
memory/836-56-0x0000000000400000-0x000000000044F000-memory.dmpFilesize
316KB
-
memory/836-59-0x0000000000400000-0x000000000044F000-memory.dmpFilesize
316KB