Analysis
-
max time kernel
148s -
max time network
149s -
platform
windows7_x64 -
resource
win7-20240611-en -
resource tags
arch:x64arch:x86image:win7-20240611-enlocale:en-usos:windows7-x64system -
submitted
18-06-2024 20:20
Static task
static1
Behavioral task
behavioral1
Sample
2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe
Resource
win7-20240611-en
Behavioral task
behavioral2
Sample
2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe
Resource
win10v2004-20240611-en
General
-
Target
2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe
-
Size
11.8MB
-
MD5
e47cf404094bbac14300b8b6525cc895
-
SHA1
4aa8d94eca6db073799dab29a2995f41451fbf9e
-
SHA256
2b1a7ddd00423c781fb634cc0c0503d497d87d2ea446e6ed5aea5d2519908926
-
SHA512
903f147de2009507effe3a65b91103db46ed659c16ea2f0ee50c48101b1b34edb6f6392591ed367765567acc8e824595637be5a67788018bd80103778370852c
-
SSDEEP
6144:z+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:z+r1IeSXMXc7LlxWV4Ug97GZ+ej
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\njxpggzk = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
Processes:
netsh.exepid process 2792 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\njxpggzk\ImagePath = "C:\\Windows\\SysWOW64\\njxpggzk\\zqjmtgsr.exe" svchost.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 2584 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
zqjmtgsr.exepid process 2096 zqjmtgsr.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
zqjmtgsr.exedescription pid process target process PID 2096 set thread context of 2584 2096 zqjmtgsr.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 2740 sc.exe 2788 sc.exe 2672 sc.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs
Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.
Processes:
netsh.exedescription ioc process Key value enumerated \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\NetSh netsh.exe Key queried \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\NetSh netsh.exe -
Suspicious use of WriteProcessMemory 30 IoCs
Processes:
2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exezqjmtgsr.exedescription pid process target process PID 2124 wrote to memory of 1728 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe cmd.exe PID 2124 wrote to memory of 1728 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe cmd.exe PID 2124 wrote to memory of 1728 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe cmd.exe PID 2124 wrote to memory of 1728 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe cmd.exe PID 2124 wrote to memory of 2364 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe cmd.exe PID 2124 wrote to memory of 2364 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe cmd.exe PID 2124 wrote to memory of 2364 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe cmd.exe PID 2124 wrote to memory of 2364 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe cmd.exe PID 2124 wrote to memory of 2740 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2124 wrote to memory of 2740 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2124 wrote to memory of 2740 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2124 wrote to memory of 2740 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2124 wrote to memory of 2788 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2124 wrote to memory of 2788 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2124 wrote to memory of 2788 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2124 wrote to memory of 2788 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2124 wrote to memory of 2672 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2124 wrote to memory of 2672 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2124 wrote to memory of 2672 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2124 wrote to memory of 2672 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2096 wrote to memory of 2584 2096 zqjmtgsr.exe svchost.exe PID 2096 wrote to memory of 2584 2096 zqjmtgsr.exe svchost.exe PID 2096 wrote to memory of 2584 2096 zqjmtgsr.exe svchost.exe PID 2096 wrote to memory of 2584 2096 zqjmtgsr.exe svchost.exe PID 2096 wrote to memory of 2584 2096 zqjmtgsr.exe svchost.exe PID 2096 wrote to memory of 2584 2096 zqjmtgsr.exe svchost.exe PID 2124 wrote to memory of 2792 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe netsh.exe PID 2124 wrote to memory of 2792 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe netsh.exe PID 2124 wrote to memory of 2792 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe netsh.exe PID 2124 wrote to memory of 2792 2124 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe netsh.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe"1⤵
- Suspicious use of WriteProcessMemory
PID:2124 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\njxpggzk\2⤵PID:1728
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zqjmtgsr.exe" C:\Windows\SysWOW64\njxpggzk\2⤵PID:2364
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create njxpggzk binPath= "C:\Windows\SysWOW64\njxpggzk\zqjmtgsr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
PID:2740 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description njxpggzk "wifi internet conection"2⤵
- Launches sc.exe
PID:2788 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start njxpggzk2⤵
- Launches sc.exe
PID:2672 -
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
- Event Triggered Execution: Netsh Helper DLL
PID:2792
-
C:\Windows\SysWOW64\njxpggzk\zqjmtgsr.exeC:\Windows\SysWOW64\njxpggzk\zqjmtgsr.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:2096 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
PID:2584
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
2Windows Service
2Event Triggered Execution
1Netsh Helper DLL
1Privilege Escalation
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
2Windows Service
2Event Triggered Execution
1Netsh Helper DLL
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
13.1MB
MD507ceda37e4013be33f40dd0a9e0697a2
SHA1feda319dcdffbbb3bf4c6b9b2dc23bbea8d81bc3
SHA256ee7a1e8e891a330f2119a5248663238bbaedcdcfc644cf9c9d38cd7c5bcd31d4
SHA512533029579f17191006df48e505aac84a9273f33765ed46118164277f340e59b06d25a34a23c2265f2089e1c9694c652d2f02f49b2a3d991c80530ceb02becaf9