Analysis
-
max time kernel
148s -
max time network
127s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
21-09-2024 01:25
Static task
static1
Behavioral task
behavioral1
Sample
2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe
Resource
win10v2004-20240802-en
General
-
Target
2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe
-
Size
14.5MB
-
MD5
f178952f1644818d0c1e3e334b749c46
-
SHA1
b650ad19d57033a81b344177935f447f08ab5bfe
-
SHA256
df903842e22291df470826cae9a31ff44e2293ebd012c28a682f6ebfc214c1cd
-
SHA512
3001563ad672b8c15304772002412556ba1644f0cc0fe1a983f14f4a213e90245e84fe261b1ad12c1be2c8674cf34bac92494226c7ef0d25290eee7d6079b149
-
SSDEEP
12288:8Vbj7zJB99tzBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBJ:8JzXd
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
Processes:
netsh.exepid process 4364 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\ykksfmf\ImagePath = "C:\\Windows\\SysWOW64\\ykksfmf\\neahyxbf.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-2392887640-1187051047-2909758433-1000\Control Panel\International\Geo\Nation 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 1720 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
neahyxbf.exepid process 3088 neahyxbf.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
neahyxbf.exedescription pid process target process PID 3088 set thread context of 1720 3088 neahyxbf.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 3920 sc.exe 2060 sc.exe 1172 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 -
System Location Discovery: System Language Discovery 1 TTPs 9 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
Processes:
2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exenetsh.exeneahyxbf.exesvchost.execmd.execmd.exesc.exesc.exesc.exedescription ioc process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language neahyxbf.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe -
Suspicious use of WriteProcessMemory 23 IoCs
Processes:
2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exeneahyxbf.exedescription pid process target process PID 4400 wrote to memory of 3836 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe cmd.exe PID 4400 wrote to memory of 3836 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe cmd.exe PID 4400 wrote to memory of 3836 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe cmd.exe PID 4400 wrote to memory of 968 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe cmd.exe PID 4400 wrote to memory of 968 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe cmd.exe PID 4400 wrote to memory of 968 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe cmd.exe PID 4400 wrote to memory of 3920 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe sc.exe PID 4400 wrote to memory of 3920 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe sc.exe PID 4400 wrote to memory of 3920 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe sc.exe PID 4400 wrote to memory of 2060 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe sc.exe PID 4400 wrote to memory of 2060 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe sc.exe PID 4400 wrote to memory of 2060 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe sc.exe PID 4400 wrote to memory of 1172 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe sc.exe PID 4400 wrote to memory of 1172 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe sc.exe PID 4400 wrote to memory of 1172 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe sc.exe PID 4400 wrote to memory of 4364 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe netsh.exe PID 4400 wrote to memory of 4364 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe netsh.exe PID 4400 wrote to memory of 4364 4400 2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe netsh.exe PID 3088 wrote to memory of 1720 3088 neahyxbf.exe svchost.exe PID 3088 wrote to memory of 1720 3088 neahyxbf.exe svchost.exe PID 3088 wrote to memory of 1720 3088 neahyxbf.exe svchost.exe PID 3088 wrote to memory of 1720 3088 neahyxbf.exe svchost.exe PID 3088 wrote to memory of 1720 3088 neahyxbf.exe svchost.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4400 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ykksfmf\2⤵
- System Location Discovery: System Language Discovery
PID:3836
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\neahyxbf.exe" C:\Windows\SysWOW64\ykksfmf\2⤵
- System Location Discovery: System Language Discovery
PID:968
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create ykksfmf binPath= "C:\Windows\SysWOW64\ykksfmf\neahyxbf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3920
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description ykksfmf "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2060
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start ykksfmf2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1172
-
-
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
- System Location Discovery: System Language Discovery
PID:4364
-
-
C:\Windows\SysWOW64\ykksfmf\neahyxbf.exeC:\Windows\SysWOW64\ykksfmf\neahyxbf.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3088 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1720
-
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
1Defense Evasion
Impair Defenses
1Disable or Modify System Firewall
1Modify Registry
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
13.5MB
MD52a741e3373a4f445aff4360c626554da
SHA1af3e27224d77bead3ec769826fdf72bb5754b412
SHA25662d44782ee4142b81b8423f183be2d527b221cae1f0922c591f18296607abaec
SHA512fc2ab6c3d92810d131e5bd15697447be9cde1431118fad16b9591739a6dafab7a58b5696d6b63dcb692a01c59d343884f3d384b13786544811fc427990a82265