Analysis
-
max time kernel
145s -
max time network
121s -
platform
windows7_x64 -
resource
win7-20231129-en -
resource tags
arch:x64arch:x86image:win7-20231129-enlocale:en-usos:windows7-x64system -
submitted
24-06-2024 20:13
Static task
static1
Behavioral task
behavioral1
Sample
2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe
Resource
win7-20231129-en
Behavioral task
behavioral2
Sample
2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe
Resource
win10v2004-20240508-en
General
-
Target
2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe
-
Size
10.8MB
-
MD5
9b9054b8fa3af489629b5d432c7293bb
-
SHA1
908b4692abe5046dbd8634922d75da4d50dd0756
-
SHA256
77c4f8d22224f19fe811c10c45c71dad6ff55c2b65d2cec7ccd35a94cc63285c
-
SHA512
2b2cb1c2bb5adf7e1590e229dcb39ddca20bbc0fe7d45c48ff432af3d842d8dbaeb053a768e855c1b6d2a74b300c87814b485d4fd5598f5e43071ee5ef5999b3
-
SSDEEP
6144:I+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:I+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\sxkjuksl = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
Processes:
netsh.exepid process 2476 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\sxkjuksl\ImagePath = "C:\\Windows\\SysWOW64\\sxkjuksl\\nsffihxc.exe" svchost.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 3032 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
nsffihxc.exepid process 2708 nsffihxc.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
nsffihxc.exedescription pid process target process PID 2708 set thread context of 3032 2708 nsffihxc.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 2852 sc.exe 2560 sc.exe 2660 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 opened \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\NetSh netsh.exe Key queried \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\NetSh netsh.exe Key value enumerated \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\NetSh netsh.exe -
Suspicious use of WriteProcessMemory 30 IoCs
Processes:
2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exensffihxc.exedescription pid process target process PID 2356 wrote to memory of 804 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe cmd.exe PID 2356 wrote to memory of 804 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe cmd.exe PID 2356 wrote to memory of 804 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe cmd.exe PID 2356 wrote to memory of 804 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe cmd.exe PID 2356 wrote to memory of 2212 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe cmd.exe PID 2356 wrote to memory of 2212 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe cmd.exe PID 2356 wrote to memory of 2212 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe cmd.exe PID 2356 wrote to memory of 2212 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe cmd.exe PID 2356 wrote to memory of 2852 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 2356 wrote to memory of 2852 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 2356 wrote to memory of 2852 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 2356 wrote to memory of 2852 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 2356 wrote to memory of 2560 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 2356 wrote to memory of 2560 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 2356 wrote to memory of 2560 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 2356 wrote to memory of 2560 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 2356 wrote to memory of 2660 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 2356 wrote to memory of 2660 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 2356 wrote to memory of 2660 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 2356 wrote to memory of 2660 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 2708 wrote to memory of 3032 2708 nsffihxc.exe svchost.exe PID 2708 wrote to memory of 3032 2708 nsffihxc.exe svchost.exe PID 2708 wrote to memory of 3032 2708 nsffihxc.exe svchost.exe PID 2708 wrote to memory of 3032 2708 nsffihxc.exe svchost.exe PID 2708 wrote to memory of 3032 2708 nsffihxc.exe svchost.exe PID 2708 wrote to memory of 3032 2708 nsffihxc.exe svchost.exe PID 2356 wrote to memory of 2476 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe netsh.exe PID 2356 wrote to memory of 2476 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe netsh.exe PID 2356 wrote to memory of 2476 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe netsh.exe PID 2356 wrote to memory of 2476 2356 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe netsh.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe"1⤵
- Suspicious use of WriteProcessMemory
PID:2356 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sxkjuksl\2⤵PID:804
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nsffihxc.exe" C:\Windows\SysWOW64\sxkjuksl\2⤵PID:2212
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create sxkjuksl binPath= "C:\Windows\SysWOW64\sxkjuksl\nsffihxc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
PID:2852 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description sxkjuksl "wifi internet conection"2⤵
- Launches sc.exe
PID:2560 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start sxkjuksl2⤵
- Launches sc.exe
PID:2660 -
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:2476
-
C:\Windows\SysWOW64\sxkjuksl\nsffihxc.exeC:\Windows\SysWOW64\sxkjuksl\nsffihxc.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:2708 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
PID:3032
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
11.9MB
MD5a94e7fb39c94cf739f7f30e41b991656
SHA1669698957263d55426b069855e1f3c7deb9130cc
SHA2561104747a656d8b243d940cdbafaf67a19bc7e893a9cacffa5ee5348aa9679172
SHA512d6284d359f2ef2819769d374901aec311c7c8a9be460081aa9ec08db0bd02436897fc4d018c26b4912e29d8da8b9e0e83435b0dbfb9d29e7cc774a5600cc2474