Analysis
-
max time kernel
144s -
max time network
121s -
platform
windows7_x64 -
resource
win7-20240419-en -
resource tags
arch:x64arch:x86image:win7-20240419-enlocale:en-usos:windows7-x64system -
submitted
30-05-2024 23:20
Static task
static1
Behavioral task
behavioral1
Sample
2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe
Resource
win7-20240419-en
Behavioral task
behavioral2
Sample
2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe
Resource
win10v2004-20240226-en
General
-
Target
2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe
-
Size
12.2MB
-
MD5
d5163a500b24c2d07720cb4019dd3923
-
SHA1
fc869db383392a90e85191049766eeb046767c10
-
SHA256
0feb3db1f329e0a0a248026b03df0bc76f462d51d13ff1ddd0069d189c3cd7e8
-
SHA512
98288e9c075089c90931e65ae8818aa033e6b3957dd445778e991a0ab6b7abc1ac498fa308cb257878300ff406dc8818937c6a28c95283a3cea36087969a1c85
-
SSDEEP
6144:JqXbY+SAjhUEzmPy0jhM7o8cMp/sP9gdiw1fagj1x2Eqqqqqqqqqqqqqqqqqqqqv:JqLY+4oAfj2o8X/U9gdjj
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Processes:
svchost.exedescription ioc process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Windows\SysWOW64\iesgzfga = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
Processes:
netsh.exepid process 2704 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
Processes:
svchost.exedescription ioc process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\iesgzfga\ImagePath = "C:\\Windows\\SysWOW64\\iesgzfga\\mkrnmvtk.exe" svchost.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 2852 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
mkrnmvtk.exepid process 2828 mkrnmvtk.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
mkrnmvtk.exedescription pid process target process PID 2828 set thread context of 2852 2828 mkrnmvtk.exe svchost.exe -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
Processes:
sc.exesc.exesc.exepid process 2776 sc.exe 2824 sc.exe 1984 sc.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious use of WriteProcessMemory 30 IoCs
Processes:
2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exemkrnmvtk.exedescription pid process target process PID 1044 wrote to memory of 2944 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe cmd.exe PID 1044 wrote to memory of 2944 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe cmd.exe PID 1044 wrote to memory of 2944 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe cmd.exe PID 1044 wrote to memory of 2944 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe cmd.exe PID 1044 wrote to memory of 2148 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe cmd.exe PID 1044 wrote to memory of 2148 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe cmd.exe PID 1044 wrote to memory of 2148 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe cmd.exe PID 1044 wrote to memory of 2148 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe cmd.exe PID 1044 wrote to memory of 2776 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe sc.exe PID 1044 wrote to memory of 2776 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe sc.exe PID 1044 wrote to memory of 2776 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe sc.exe PID 1044 wrote to memory of 2776 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe sc.exe PID 1044 wrote to memory of 2824 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe sc.exe PID 1044 wrote to memory of 2824 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe sc.exe PID 1044 wrote to memory of 2824 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe sc.exe PID 1044 wrote to memory of 2824 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe sc.exe PID 1044 wrote to memory of 1984 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe sc.exe PID 1044 wrote to memory of 1984 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe sc.exe PID 1044 wrote to memory of 1984 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe sc.exe PID 1044 wrote to memory of 1984 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe sc.exe PID 2828 wrote to memory of 2852 2828 mkrnmvtk.exe svchost.exe PID 2828 wrote to memory of 2852 2828 mkrnmvtk.exe svchost.exe PID 2828 wrote to memory of 2852 2828 mkrnmvtk.exe svchost.exe PID 2828 wrote to memory of 2852 2828 mkrnmvtk.exe svchost.exe PID 2828 wrote to memory of 2852 2828 mkrnmvtk.exe svchost.exe PID 2828 wrote to memory of 2852 2828 mkrnmvtk.exe svchost.exe PID 1044 wrote to memory of 2704 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe netsh.exe PID 1044 wrote to memory of 2704 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe netsh.exe PID 1044 wrote to memory of 2704 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe netsh.exe PID 1044 wrote to memory of 2704 1044 2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe netsh.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe"1⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\iesgzfga\2⤵
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mkrnmvtk.exe" C:\Windows\SysWOW64\iesgzfga\2⤵
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create iesgzfga binPath= "C:\Windows\SysWOW64\iesgzfga\mkrnmvtk.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description iesgzfga "wifi internet conection"2⤵
- Launches sc.exe
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start iesgzfga2⤵
- Launches sc.exe
-
C:\Windows\SysWOW64\netsh.exe"C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul2⤵
- Modifies Windows Firewall
-
C:\Windows\SysWOW64\iesgzfga\mkrnmvtk.exeC:\Windows\SysWOW64\iesgzfga\mkrnmvtk.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-05-30_d5163a500b24c2d07720cb4019dd3923_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
Network
MITRE ATT&CK Matrix ATT&CK v13
Persistence
Create or Modify System Process
2Windows Service
2Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Privilege Escalation
Create or Modify System Process
2Windows Service
2Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Users\Admin\AppData\Local\Temp\mkrnmvtk.exeFilesize
14.6MB
MD54d24e87327c64908cdf290fed36096f0
SHA1a855d12c9cbfc14b5466e12620cf84230ec0e153
SHA256ae469f3b3d8c1eef67afda8d74b105e74ada311f39698fd56555ee7066dab9a8
SHA512ca1136ec366450b82c9e7d0b3eafe3ce76ebd1dca0d77067bd0589fcf069bb5a8e980e131a0fc7a0e938880c3f368209763650be9f277b499980bcb324ef8141
-
memory/1044-1-0x0000000000620000-0x0000000000720000-memory.dmpFilesize
1024KB
-
memory/1044-2-0x0000000000400000-0x0000000000415000-memory.dmpFilesize
84KB
-
memory/1044-13-0x0000000000400000-0x000000000051A000-memory.dmpFilesize
1.1MB
-
memory/1044-14-0x0000000000400000-0x0000000000415000-memory.dmpFilesize
84KB
-
memory/2828-11-0x0000000000400000-0x000000000051A000-memory.dmpFilesize
1.1MB
-
memory/2852-7-0x0000000000080000-0x0000000000095000-memory.dmpFilesize
84KB
-
memory/2852-10-0x0000000000080000-0x0000000000095000-memory.dmpFilesize
84KB
-
memory/2852-9-0x000000007EFDE000-0x000000007EFDF000-memory.dmpFilesize
4KB
-
memory/2852-15-0x0000000000080000-0x0000000000095000-memory.dmpFilesize
84KB
-
memory/2852-16-0x0000000000080000-0x0000000000095000-memory.dmpFilesize
84KB