Analysis
-
max time kernel
151s -
max time network
47s -
platform
windows7_x64 -
resource
win7-20220812-en -
resource tags
arch:x64arch:x86image:win7-20220812-enlocale:en-usos:windows7-x64system -
submitted
03-12-2022 09:12
Behavioral task
behavioral1
Sample
b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exe
Resource
win7-20220812-en
General
-
Target
b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exe
-
Size
763KB
-
MD5
9fb6ba59b9969fdad45af1244376684d
-
SHA1
7d2f3cd05ba0cf83910955009166de83a47c2ad8
-
SHA256
b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537
-
SHA512
ec567474d38e22c7662eb5e9947b71d1b43e128437a842a8b0c9e9625482746ac9435005718b9097db51225fc8505d1a8b42a0dd0d40b371a38cebedc89ad0da
-
SSDEEP
12288:Cydu6z3cosEJIM624U8+0pjxvdXy5MeTv2B7xR+q7hngD5PDMbgrCD:55XJl628rVxvdUbO5xoqsRDM
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/1952-56-0x0000000000400000-0x00000000005B5000-memory.dmp modiloader_stage2 behavioral1/memory/1952-57-0x0000000000400000-0x00000000005B5000-memory.dmp modiloader_stage2 behavioral1/memory/1952-61-0x0000000000400000-0x00000000005B5000-memory.dmp modiloader_stage2 behavioral1/memory/804-63-0x0000000000400000-0x00000000005B5000-memory.dmp modiloader_stage2 behavioral1/memory/804-65-0x0000000000400000-0x00000000005B5000-memory.dmp modiloader_stage2 -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid process 804 mstwain32.exe -
Deletes itself 1 IoCs
Processes:
mstwain32.exepid process 804 mstwain32.exe -
Identifies Wine through registry keys 2 TTPs 2 IoCs
Wine is a compatibility layer capable of running Windows applications, which can be used as sandboxing environment.
Processes:
b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exemstwain32.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-3845472200-3839195424-595303356-1000\Software\Wine b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exe Key opened \REGISTRY\USER\S-1-5-21-3845472200-3839195424-595303356-1000\Software\Wine mstwain32.exe -
Processes:
resource yara_rule behavioral1/memory/1952-54-0x0000000000400000-0x00000000005B5000-memory.dmp themida behavioral1/memory/1952-56-0x0000000000400000-0x00000000005B5000-memory.dmp themida behavioral1/memory/1952-57-0x0000000000400000-0x00000000005B5000-memory.dmp themida C:\Windows\mstwain32.exe themida behavioral1/memory/1952-61-0x0000000000400000-0x00000000005B5000-memory.dmp themida behavioral1/memory/804-63-0x0000000000400000-0x00000000005B5000-memory.dmp themida behavioral1/memory/804-65-0x0000000000400000-0x00000000005B5000-memory.dmp themida -
Adds Run key to start application 2 TTPs 2 IoCs
Processes:
mstwain32.exedescription ioc process Key created \REGISTRY\USER\S-1-5-21-3845472200-3839195424-595303356-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\ mstwain32.exe Set value (str) \REGISTRY\USER\S-1-5-21-3845472200-3839195424-595303356-1000\Software\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Processes:
b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exemstwain32.exedescription ioc process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.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 NtSetInformationThreadHideFromDebugger 2 IoCs
Processes:
b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exemstwain32.exepid process 1952 b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exe 804 mstwain32.exe -
Drops file in Windows directory 4 IoCs
Processes:
b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exemstwain32.exedescription ioc process File created C:\Windows\mstwain32.exe b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exe File opened for modification C:\Windows\mstwain32.exe b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.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 behavior: EnumeratesProcesses 2 IoCs
Processes:
b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exemstwain32.exepid process 1952 b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exe 804 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
Processes:
b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exevssvc.exemstwain32.exedescription pid process Token: SeDebugPrivilege 1952 b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exe Token: SeBackupPrivilege 1788 vssvc.exe Token: SeRestorePrivilege 1788 vssvc.exe Token: SeAuditPrivilege 1788 vssvc.exe Token: SeDebugPrivilege 804 mstwain32.exe Token: SeDebugPrivilege 804 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid process 804 mstwain32.exe 804 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
Processes:
b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exedescription pid process target process PID 1952 wrote to memory of 804 1952 b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exe mstwain32.exe PID 1952 wrote to memory of 804 1952 b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exe mstwain32.exe PID 1952 wrote to memory of 804 1952 b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exe mstwain32.exe PID 1952 wrote to memory of 804 1952 b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.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\b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exe"C:\Users\Admin\AppData\Local\Temp\b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exe"1⤵
- Identifies Wine through registry keys
- Checks whether UAC is enabled
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Drops file in Windows directory
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537.exe"2⤵
- UAC bypass
- Executes dropped EXE
- Deletes itself
- Identifies Wine through registry keys
- Adds Run key to start application
- Checks whether UAC is enabled
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Drops file in Windows directory
- Suspicious behavior: EnumeratesProcesses
- 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
763KB
MD59fb6ba59b9969fdad45af1244376684d
SHA17d2f3cd05ba0cf83910955009166de83a47c2ad8
SHA256b7ec9b9f68ae19844ae6e55a5aa8a6cde8c54f09bbe93cf65570224d71d7c537
SHA512ec567474d38e22c7662eb5e9947b71d1b43e128437a842a8b0c9e9625482746ac9435005718b9097db51225fc8505d1a8b42a0dd0d40b371a38cebedc89ad0da
-
memory/804-59-0x0000000000000000-mapping.dmp
-
memory/804-63-0x0000000000400000-0x00000000005B5000-memory.dmpFilesize
1.7MB
-
memory/804-64-0x0000000004590000-0x000000000459E000-memory.dmpFilesize
56KB
-
memory/804-65-0x0000000000400000-0x00000000005B5000-memory.dmpFilesize
1.7MB
-
memory/1952-54-0x0000000000400000-0x00000000005B5000-memory.dmpFilesize
1.7MB
-
memory/1952-55-0x0000000075981000-0x0000000075983000-memory.dmpFilesize
8KB
-
memory/1952-56-0x0000000000400000-0x00000000005B5000-memory.dmpFilesize
1.7MB
-
memory/1952-57-0x0000000000400000-0x00000000005B5000-memory.dmpFilesize
1.7MB
-
memory/1952-58-0x00000000057C0000-0x00000000057D0000-memory.dmpFilesize
64KB
-
memory/1952-61-0x0000000000400000-0x00000000005B5000-memory.dmpFilesize
1.7MB