Analysis
-
max time kernel
149s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
02-02-2025 00:51
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe
-
Size
11.4MB
-
MD5
1fd39ea0fb754241ec179ae2975708ff
-
SHA1
a869c4b2113ba693ce6318d45b4c9ccc975d322d
-
SHA256
c51a7e68b13cd19ac5f8018136be3dd56b72fd5eb2f441753bb760c5494ac8ec
-
SHA512
f223cfa23e0546b6757880ad92ff28dbdf161641b7853291f61067e27b098e3cdc02d4985054bed89afbba2a939414153f0a7b1b88dad86147442632106be212
-
SSDEEP
24576:26WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQI:3WdLQk
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Tofsee family
-
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 1948 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\cwqgybep\ImagePath = "C:\\Windows\\SysWOW64\\cwqgybep\\jiwymjkc.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-805940606-1861219160-370298170-1000\Control Panel\International\Geo\Nation 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe -
Deletes itself 1 IoCs
pid Process 4220 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 424 jiwymjkc.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 424 set thread context of 4220 424 jiwymjkc.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2496 sc.exe 1132 sc.exe 3152 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 5028 4752 WerFault.exe 83 1960 424 WerFault.exe 96 -
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.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_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 svchost.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 Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language jiwymjkc.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4752 wrote to memory of 3552 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 86 PID 4752 wrote to memory of 3552 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 86 PID 4752 wrote to memory of 3552 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 86 PID 4752 wrote to memory of 1028 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 88 PID 4752 wrote to memory of 1028 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 88 PID 4752 wrote to memory of 1028 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 88 PID 4752 wrote to memory of 2496 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 90 PID 4752 wrote to memory of 2496 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 90 PID 4752 wrote to memory of 2496 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 90 PID 4752 wrote to memory of 1132 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 92 PID 4752 wrote to memory of 1132 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 92 PID 4752 wrote to memory of 1132 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 92 PID 4752 wrote to memory of 3152 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 94 PID 4752 wrote to memory of 3152 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 94 PID 4752 wrote to memory of 3152 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 94 PID 4752 wrote to memory of 1948 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 97 PID 4752 wrote to memory of 1948 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 97 PID 4752 wrote to memory of 1948 4752 2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe 97 PID 424 wrote to memory of 4220 424 jiwymjkc.exe 102 PID 424 wrote to memory of 4220 424 jiwymjkc.exe 102 PID 424 wrote to memory of 4220 424 jiwymjkc.exe 102 PID 424 wrote to memory of 4220 424 jiwymjkc.exe 102 PID 424 wrote to memory of 4220 424 jiwymjkc.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4752 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cwqgybep\2⤵
- System Location Discovery: System Language Discovery
PID:3552
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jiwymjkc.exe" C:\Windows\SysWOW64\cwqgybep\2⤵
- System Location Discovery: System Language Discovery
PID:1028
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create cwqgybep binPath= "C:\Windows\SysWOW64\cwqgybep\jiwymjkc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2496
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description cwqgybep "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1132
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start cwqgybep2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3152
-
-
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:1948
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4752 -s 6482⤵
- Program crash
PID:5028
-
-
C:\Windows\SysWOW64\cwqgybep\jiwymjkc.exeC:\Windows\SysWOW64\cwqgybep\jiwymjkc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:424 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4220
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 424 -s 5602⤵
- Program crash
PID:1960
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4752 -ip 47521⤵PID:1840
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 424 -ip 4241⤵PID:4548
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
11.3MB
MD5bec300e99e52da041f6c03a51b6ce623
SHA10c70983884996620a9b0623ea8b71caa44a7cb59
SHA25624a3f5ebdf50c3c92321cc7317a04bba0c8af0ac4cb828f16d18faee2d72a860
SHA5125a03c146d7be4fa2862df52c4dea634dcf8b18de355252a458b5cceabc9ff452596bac7f4b51fa81222024a26c709ead67d627b9a6381a19e2c01ab72837ccca