Analysis
-
max time kernel
144s -
max time network
149s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
05-02-2025 11:37
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe
-
Size
11.6MB
-
MD5
f042f43e6fbf7b7fdc1d39b013541d43
-
SHA1
d73b396426e9a66f9a8528eee49462aedb97c8cf
-
SHA256
ddff17d8b9a979139a8fc51673bd6cdf13d41a6212412410a361170525144de3
-
SHA512
19c92a2015b1e63fe90840106453a12219e921a168c3a2d9338a15c9a24bc90eaeaef056c5274427ca788aa2475f837d4dde34f1fada02890e6d19b9b2038561
-
SSDEEP
24576:mEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZn:ffot
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 4996 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\fonlngzd\ImagePath = "C:\\Windows\\SysWOW64\\fonlngzd\\dfagzmw.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-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe -
Deletes itself 1 IoCs
pid Process 768 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2176 dfagzmw.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2176 set thread context of 768 2176 dfagzmw.exe 104 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1200 sc.exe 2688 sc.exe 2632 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 2064 4852 WerFault.exe 84 4240 2176 WerFault.exe 98 -
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-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.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 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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language dfagzmw.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4852 wrote to memory of 2608 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 88 PID 4852 wrote to memory of 2608 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 88 PID 4852 wrote to memory of 2608 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 88 PID 4852 wrote to memory of 3332 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 90 PID 4852 wrote to memory of 3332 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 90 PID 4852 wrote to memory of 3332 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 90 PID 4852 wrote to memory of 1200 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 92 PID 4852 wrote to memory of 1200 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 92 PID 4852 wrote to memory of 1200 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 92 PID 4852 wrote to memory of 2688 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 94 PID 4852 wrote to memory of 2688 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 94 PID 4852 wrote to memory of 2688 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 94 PID 4852 wrote to memory of 2632 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 96 PID 4852 wrote to memory of 2632 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 96 PID 4852 wrote to memory of 2632 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 96 PID 4852 wrote to memory of 4996 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 99 PID 4852 wrote to memory of 4996 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 99 PID 4852 wrote to memory of 4996 4852 2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe 99 PID 2176 wrote to memory of 768 2176 dfagzmw.exe 104 PID 2176 wrote to memory of 768 2176 dfagzmw.exe 104 PID 2176 wrote to memory of 768 2176 dfagzmw.exe 104 PID 2176 wrote to memory of 768 2176 dfagzmw.exe 104 PID 2176 wrote to memory of 768 2176 dfagzmw.exe 104
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4852 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fonlngzd\2⤵
- System Location Discovery: System Language Discovery
PID:2608
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dfagzmw.exe" C:\Windows\SysWOW64\fonlngzd\2⤵
- System Location Discovery: System Language Discovery
PID:3332
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create fonlngzd binPath= "C:\Windows\SysWOW64\fonlngzd\dfagzmw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1200
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description fonlngzd "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2688
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start fonlngzd2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2632
-
-
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:4996
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4852 -s 10482⤵
- Program crash
PID:2064
-
-
C:\Windows\SysWOW64\fonlngzd\dfagzmw.exeC:\Windows\SysWOW64\fonlngzd\dfagzmw.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_f042f43e6fbf7b7fdc1d39b013541d43_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2176 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:768
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2176 -s 5122⤵
- Program crash
PID:4240
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4852 -ip 48521⤵PID:3944
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 2176 -ip 21761⤵PID:4476
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
12.9MB
MD5ee3f05bf53a0c400433fc8cfcfee1bed
SHA1b1d75b494b3d247d19e6bbd6a756a60836a558f4
SHA256f53031c979d932096dd0a831188a651a10fe267b03af2f2ce305aa701e7512a5
SHA5127a0ce253aab9e8b4e5a2892abc779709c477a5f3d8f4954d2ed570714906e1ebd84b7f42b4260c81fd8c18620847e9da9199a1ce01da76bb67adb15f2c8bb3d5