Analysis
-
max time kernel
147s -
max time network
120s -
platform
windows7_x64 -
resource
win7-20240215-en -
resource tags
arch:x64arch:x86image:win7-20240215-enlocale:en-usos:windows7-x64system -
submitted
03-06-2024 01:29
Behavioral task
behavioral1
Sample
8bdeac226552fb683eff2f43cd79ac15.exe
Resource
win7-20240215-en
Behavioral task
behavioral2
Sample
8bdeac226552fb683eff2f43cd79ac15.exe
Resource
win10v2004-20240508-en
General
-
Target
8bdeac226552fb683eff2f43cd79ac15.exe
-
Size
270KB
-
MD5
8bdeac226552fb683eff2f43cd79ac15
-
SHA1
cb40b583d0feaa8355edcc4e7fe889d60d456492
-
SHA256
44422c987d161f2c41450fc0bfad5eaee5668ff13e37a492c0d078ecd0a7aab0
-
SHA512
033cb79abe0e8fc3025fafb1f4a098b7941c9ce07da9b2da3f5540bac2c8439b6098759d3200d349636af1f26e41db0086244be6496f79bace0dd2bc17d2dfce
-
SSDEEP
6144:KG377xS2Vp2CeiorXhwTBOz53OD3pcCJJvH:Zr7xS2Vp6FwTt3bJJvH
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 16 IoCs
Processes:
resource yara_rule C:\Windows\mstwain32.exe modiloader_stage2 behavioral1/memory/2388-8-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/1300-17-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/1300-20-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/1300-23-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/1300-26-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/1300-29-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/1300-32-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/1300-35-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/1300-38-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/1300-41-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/1300-44-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/1300-47-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/1300-50-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/1300-53-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral1/memory/1300-56-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 -
Deletes itself 1 IoCs
Processes:
mstwain32.exepid process 1300 mstwain32.exe -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid process 1300 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
mstwain32.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-2248906074-2862704502-246302768-1000\Software\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Processes:
8bdeac226552fb683eff2f43cd79ac15.exemstwain32.exedescription ioc process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 8bdeac226552fb683eff2f43cd79ac15.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:
8bdeac226552fb683eff2f43cd79ac15.exemstwain32.exedescription ioc process File opened for modification C:\Windows\mstwain32.exe 8bdeac226552fb683eff2f43cd79ac15.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe 8bdeac226552fb683eff2f43cd79ac15.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious use of AdjustPrivilegeToken 3 IoCs
Processes:
8bdeac226552fb683eff2f43cd79ac15.exemstwain32.exedescription pid process Token: SeDebugPrivilege 2388 8bdeac226552fb683eff2f43cd79ac15.exe Token: SeDebugPrivilege 1300 mstwain32.exe Token: SeDebugPrivilege 1300 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid process 1300 mstwain32.exe 1300 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
Processes:
8bdeac226552fb683eff2f43cd79ac15.exedescription pid process target process PID 2388 wrote to memory of 1300 2388 8bdeac226552fb683eff2f43cd79ac15.exe mstwain32.exe PID 2388 wrote to memory of 1300 2388 8bdeac226552fb683eff2f43cd79ac15.exe mstwain32.exe PID 2388 wrote to memory of 1300 2388 8bdeac226552fb683eff2f43cd79ac15.exe mstwain32.exe PID 2388 wrote to memory of 1300 2388 8bdeac226552fb683eff2f43cd79ac15.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\8bdeac226552fb683eff2f43cd79ac15.exe"C:\Users\Admin\AppData\Local\Temp\8bdeac226552fb683eff2f43cd79ac15.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\8bdeac226552fb683eff2f43cd79ac15.exe"2⤵
- UAC bypass
- Deletes itself
- 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
Network
MITRE ATT&CK Matrix ATT&CK v13
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
-
C:\Windows\mstwain32.exeFilesize
270KB
MD58bdeac226552fb683eff2f43cd79ac15
SHA1cb40b583d0feaa8355edcc4e7fe889d60d456492
SHA25644422c987d161f2c41450fc0bfad5eaee5668ff13e37a492c0d078ecd0a7aab0
SHA512033cb79abe0e8fc3025fafb1f4a098b7941c9ce07da9b2da3f5540bac2c8439b6098759d3200d349636af1f26e41db0086244be6496f79bace0dd2bc17d2dfce
-
memory/1300-20-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1300-12-0x0000000000260000-0x0000000000261000-memory.dmpFilesize
4KB
-
memory/1300-26-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1300-13-0x00000000025B0000-0x00000000025BE000-memory.dmpFilesize
56KB
-
memory/1300-16-0x0000000076E00000-0x0000000076EF0000-memory.dmpFilesize
960KB
-
memory/1300-15-0x0000000076E10000-0x0000000076E11000-memory.dmpFilesize
4KB
-
memory/1300-17-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1300-19-0x00000000025B0000-0x00000000025BE000-memory.dmpFilesize
56KB
-
memory/1300-29-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1300-23-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1300-56-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1300-53-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1300-18-0x00000000002B0000-0x00000000002B8000-memory.dmpFilesize
32KB
-
memory/1300-32-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1300-35-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1300-38-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1300-41-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1300-44-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1300-47-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/1300-50-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2388-8-0x0000000000400000-0x000000000044B000-memory.dmpFilesize
300KB
-
memory/2388-0-0x00000000002A0000-0x00000000002A1000-memory.dmpFilesize
4KB