Analysis
-
max time kernel
150s -
max time network
157s -
platform
windows7_x64 -
resource
win7-20220812-en -
resource tags
arch:x64arch:x86image:win7-20220812-enlocale:en-usos:windows7-x64system -
submitted
03-12-2022 09:11
Behavioral task
behavioral1
Sample
d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exe
Resource
win7-20220812-en
General
-
Target
d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exe
-
Size
1.4MB
-
MD5
06766c6b7cbb756db14010fb822ace01
-
SHA1
229bc192b55248d31c46e059fa12d9304c9e36ed
-
SHA256
d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f
-
SHA512
1bb6f9c6ed23830e556b556e1d3e17cc8284443ac99913a027febc81ad9c271e7ef56770d8cfbb96a5232cfe51639763aa63b902a1e5ac83fbfdea6814565e48
-
SSDEEP
24576:2usQqSvM171SMKs64y8GJL1Uc16NV7UwyXK8IHTR3fUs9SUIzZTh4Z1R8sCMBWi:IMMPe8Ex2Y1qfUssVThW16hMB
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/900-56-0x0000000000400000-0x000000000065E000-memory.dmp modiloader_stage2 behavioral1/memory/900-59-0x0000000000400000-0x000000000065E000-memory.dmp modiloader_stage2 behavioral1/memory/380-63-0x0000000000400000-0x000000000065E000-memory.dmp modiloader_stage2 behavioral1/memory/380-64-0x0000000000400000-0x000000000065E000-memory.dmp modiloader_stage2 behavioral1/memory/380-65-0x0000000000400000-0x000000000065E000-memory.dmp modiloader_stage2 -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid process 380 mstwain32.exe -
Deletes itself 1 IoCs
Processes:
mstwain32.exepid process 380 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:
d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exemstwain32.exedescription ioc process Key opened \REGISTRY\USER\S-1-5-21-3845472200-3839195424-595303356-1000\Software\Wine d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exe Key opened \REGISTRY\USER\S-1-5-21-3845472200-3839195424-595303356-1000\Software\Wine mstwain32.exe -
Processes:
resource yara_rule behavioral1/memory/900-54-0x0000000000400000-0x000000000065E000-memory.dmp themida behavioral1/memory/900-56-0x0000000000400000-0x000000000065E000-memory.dmp themida C:\Windows\mstwain32.exe themida behavioral1/memory/900-59-0x0000000000400000-0x000000000065E000-memory.dmp themida behavioral1/memory/380-60-0x0000000000400000-0x000000000065E000-memory.dmp themida behavioral1/memory/380-63-0x0000000000400000-0x000000000065E000-memory.dmp themida behavioral1/memory/380-64-0x0000000000400000-0x000000000065E000-memory.dmp themida behavioral1/memory/380-65-0x0000000000400000-0x000000000065E000-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:
mstwain32.exed683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exedescription ioc process 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 Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exe -
Suspicious use of NtSetInformationThreadHideFromDebugger 2 IoCs
Processes:
d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exemstwain32.exepid process 900 d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exe 380 mstwain32.exe -
Drops file in Windows directory 4 IoCs
Processes:
mstwain32.exed683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exedescription ioc process File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exe File opened for modification C:\Windows\mstwain32.exe d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exe File created C:\Windows\ntdtcstp.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:
d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exemstwain32.exepid process 900 d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exe 380 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
Processes:
d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exevssvc.exemstwain32.exedescription pid process Token: SeDebugPrivilege 900 d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exe Token: SeBackupPrivilege 1716 vssvc.exe Token: SeRestorePrivilege 1716 vssvc.exe Token: SeAuditPrivilege 1716 vssvc.exe Token: SeDebugPrivilege 380 mstwain32.exe Token: SeDebugPrivilege 380 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid process 380 mstwain32.exe 380 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
Processes:
d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exedescription pid process target process PID 900 wrote to memory of 380 900 d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exe mstwain32.exe PID 900 wrote to memory of 380 900 d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exe mstwain32.exe PID 900 wrote to memory of 380 900 d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exe mstwain32.exe PID 900 wrote to memory of 380 900 d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.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\d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.exe"C:\Users\Admin\AppData\Local\Temp\d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.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\d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f.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
1.4MB
MD506766c6b7cbb756db14010fb822ace01
SHA1229bc192b55248d31c46e059fa12d9304c9e36ed
SHA256d683a53753fd240f10ba549d716efad4eac0e7888d0f2005825d2a1e33ae766f
SHA5121bb6f9c6ed23830e556b556e1d3e17cc8284443ac99913a027febc81ad9c271e7ef56770d8cfbb96a5232cfe51639763aa63b902a1e5ac83fbfdea6814565e48
-
memory/380-57-0x0000000000000000-mapping.dmp
-
memory/380-60-0x0000000000400000-0x000000000065E000-memory.dmpFilesize
2.4MB
-
memory/380-62-0x0000000004870000-0x000000000487E000-memory.dmpFilesize
56KB
-
memory/380-63-0x0000000000400000-0x000000000065E000-memory.dmpFilesize
2.4MB
-
memory/380-64-0x0000000000400000-0x000000000065E000-memory.dmpFilesize
2.4MB
-
memory/380-65-0x0000000000400000-0x000000000065E000-memory.dmpFilesize
2.4MB
-
memory/900-54-0x0000000000400000-0x000000000065E000-memory.dmpFilesize
2.4MB
-
memory/900-55-0x0000000076121000-0x0000000076123000-memory.dmpFilesize
8KB
-
memory/900-56-0x0000000000400000-0x000000000065E000-memory.dmpFilesize
2.4MB
-
memory/900-59-0x0000000000400000-0x000000000065E000-memory.dmpFilesize
2.4MB