Analysis
-
max time kernel
149s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20250207-en -
resource tags
arch:x64arch:x86image:win10v2004-20250207-enlocale:en-usos:windows10-2004-x64system -
submitted
09-02-2025 12:34
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe
Resource
win10v2004-20250207-en
General
-
Target
2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe
-
Size
11.0MB
-
MD5
b6afd7f940448db235f40131166f15b3
-
SHA1
e2290a5c73861077cb3fac02d9f26b34d8b72827
-
SHA256
20e206e9d1b1bf3b0f5645fa40f1daae1b2d986bfd4d530dce1babfe26128880
-
SHA512
98074853a1c6e486972d77198758db66872da429665c9e4fd1d1cc80a49367a809fab1fb740f3546b36ce0bab2a8fd9628aad4197345994e49dd5ef9fa7a258a
-
SSDEEP
49152:NqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:NqtYc3
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Tofsee family
-
Creates new service(s) 2 TTPs
-
Downloads MZ/PE file 1 IoCs
flow pid Process 28 2800 Process not Found -
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2424 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\dhywssww\ImagePath = "C:\\Windows\\SysWOW64\\dhywssww\\riqoytao.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-194335498-2604837297-537231065-1000\Control Panel\International\Geo\Nation 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe -
Deletes itself 1 IoCs
pid Process 5100 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3344 riqoytao.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3344 set thread context of 5100 3344 riqoytao.exe 100 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3504 sc.exe 4424 sc.exe 3424 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.
description 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 -
Program crash 2 IoCs
pid pid_target Process procid_target 4636 3344 WerFault.exe 99 2516 5032 WerFault.exe 86 -
System Location Discovery: System Language Discovery 1 TTPs 10 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.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 riqoytao.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language MicrosoftEdgeUpdate.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 -
System Network Configuration Discovery: Internet Connection Discovery 1 TTPs 1 IoCs
Adversaries may check for Internet connectivity on compromised systems.
pid Process 1216 MicrosoftEdgeUpdate.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 5032 wrote to memory of 3204 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 89 PID 5032 wrote to memory of 3204 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 89 PID 5032 wrote to memory of 3204 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 89 PID 5032 wrote to memory of 5008 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 91 PID 5032 wrote to memory of 5008 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 91 PID 5032 wrote to memory of 5008 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 91 PID 5032 wrote to memory of 3504 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 93 PID 5032 wrote to memory of 3504 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 93 PID 5032 wrote to memory of 3504 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 93 PID 5032 wrote to memory of 4424 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 95 PID 5032 wrote to memory of 4424 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 95 PID 5032 wrote to memory of 4424 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 95 PID 5032 wrote to memory of 3424 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 97 PID 5032 wrote to memory of 3424 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 97 PID 5032 wrote to memory of 3424 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 97 PID 3344 wrote to memory of 5100 3344 riqoytao.exe 100 PID 3344 wrote to memory of 5100 3344 riqoytao.exe 100 PID 3344 wrote to memory of 5100 3344 riqoytao.exe 100 PID 3344 wrote to memory of 5100 3344 riqoytao.exe 100 PID 3344 wrote to memory of 5100 3344 riqoytao.exe 100 PID 5032 wrote to memory of 2424 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 102 PID 5032 wrote to memory of 2424 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 102 PID 5032 wrote to memory of 2424 5032 2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:5032 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dhywssww\2⤵
- System Location Discovery: System Language Discovery
PID:3204
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\riqoytao.exe" C:\Windows\SysWOW64\dhywssww\2⤵
- System Location Discovery: System Language Discovery
PID:5008
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create dhywssww binPath= "C:\Windows\SysWOW64\dhywssww\riqoytao.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3504
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description dhywssww "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4424
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start dhywssww2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3424
-
-
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:2424
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 5032 -s 10442⤵
- Program crash
PID:2516
-
-
C:\Windows\SysWOW64\dhywssww\riqoytao.exeC:\Windows\SysWOW64\dhywssww\riqoytao.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-08_b6afd7f940448db235f40131166f15b3_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3344 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:5100
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3344 -s 5122⤵
- Program crash
PID:4636
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 3344 -ip 33441⤵PID:2124
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 5032 -ip 50321⤵PID:5092
-
C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe"C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe" /ping PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48cmVxdWVzdCBwcm90b2NvbD0iMy4wIiB1cGRhdGVyPSJPbWFoYSIgdXBkYXRlcnZlcnNpb249IjEuMy4xOTUuNDMiIHNoZWxsX3ZlcnNpb249Ij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DM3MTAwMDAiPjxldmVudCBldmVudHR5cGU9IjMxIiBldmVudHJlc3VsdD0iMSIgZXJyb3Jjb2RlPSIwIiBleHRyYWNvZGUxPSIyMTc5ODYyIiBzeXN0ZW1fdXB0aW1lX3RpY2tzPSI0NzkyMzc4OTYwIi8-PC9hcHA-PC9yZXF1ZXN0Pg1⤵
- System Location Discovery: System Language Discovery
- System Network Configuration Discovery: Internet Connection Discovery
PID:1216
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
14.5MB
MD53f4c4c314a9e1e3500b0113f8815655c
SHA1f364aebe26f744c276f7944bd52c57eae67a596e
SHA2569ec3f86d763f85d37b64cec67cabe5a02420d653890b9ece64158b7540ef41fe
SHA5123e0bad40bd20ddead45e2571760049d2044fe3ebae59ac5efd3d8b5bb073d5f56492320002eda9313ef202fff254a58956ddaf8e4f29bd09997441ea07598dec