Analysis
-
max time kernel
146s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
18-01-2025 20:30
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe
-
Size
11.8MB
-
MD5
991f4a42ff851f8b3363db9251d39ea2
-
SHA1
cfc4f31a7e136b93081c4ce0c7eb013e3b56a8b7
-
SHA256
9965d42357361bba917eeeaaefc632514b424626b965ea69d8c2523c70de681b
-
SHA512
87d7c5cc0a3897674950a0c0ded324cf8b61cff5ecb1419e295f8081c7e660e8a82832ae0e30ceaf1a9b11630e1b706697291c1c9f63d3b1200147934b118585
-
SSDEEP
49152:lqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:lqtYc3
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 4132 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\sxpjlnpf\ImagePath = "C:\\Windows\\SysWOW64\\sxpjlnpf\\joytnzwy.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-4050598569-1597076380-177084960-1000\Control Panel\International\Geo\Nation 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe -
Deletes itself 1 IoCs
pid Process 64 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3188 joytnzwy.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3188 set thread context of 64 3188 joytnzwy.exe 94 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 348 sc.exe 3060 sc.exe 3168 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 2744 3188 WerFault.exe 92 4052 3596 WerFault.exe 81 -
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 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 joytnzwy.exe 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-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3596 wrote to memory of 1160 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 82 PID 3596 wrote to memory of 1160 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 82 PID 3596 wrote to memory of 1160 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 82 PID 3596 wrote to memory of 4584 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 84 PID 3596 wrote to memory of 4584 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 84 PID 3596 wrote to memory of 4584 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 84 PID 3596 wrote to memory of 3060 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 86 PID 3596 wrote to memory of 3060 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 86 PID 3596 wrote to memory of 3060 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 86 PID 3596 wrote to memory of 3168 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 88 PID 3596 wrote to memory of 3168 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 88 PID 3596 wrote to memory of 3168 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 88 PID 3596 wrote to memory of 348 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 90 PID 3596 wrote to memory of 348 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 90 PID 3596 wrote to memory of 348 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 90 PID 3596 wrote to memory of 4132 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 93 PID 3596 wrote to memory of 4132 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 93 PID 3596 wrote to memory of 4132 3596 2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe 93 PID 3188 wrote to memory of 64 3188 joytnzwy.exe 94 PID 3188 wrote to memory of 64 3188 joytnzwy.exe 94 PID 3188 wrote to memory of 64 3188 joytnzwy.exe 94 PID 3188 wrote to memory of 64 3188 joytnzwy.exe 94 PID 3188 wrote to memory of 64 3188 joytnzwy.exe 94
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3596 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sxpjlnpf\2⤵
- System Location Discovery: System Language Discovery
PID:1160
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\joytnzwy.exe" C:\Windows\SysWOW64\sxpjlnpf\2⤵
- System Location Discovery: System Language Discovery
PID:4584
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create sxpjlnpf binPath= "C:\Windows\SysWOW64\sxpjlnpf\joytnzwy.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3060
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description sxpjlnpf "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3168
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start sxpjlnpf2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:348
-
-
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:4132
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3596 -s 13442⤵
- Program crash
PID:4052
-
-
C:\Windows\SysWOW64\sxpjlnpf\joytnzwy.exeC:\Windows\SysWOW64\sxpjlnpf\joytnzwy.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-18_991f4a42ff851f8b3363db9251d39ea2_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3188 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:64
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3188 -s 5122⤵
- Program crash
PID:2744
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3596 -ip 35961⤵PID:2104
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 3188 -ip 31881⤵PID:4296
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.1MB
MD5a9ce847290d0ce3e35acc77dd5ecd2a6
SHA1392ad31d336d00af3d8dc494a26fa618fe171949
SHA256c6255e0b0607a346bc1014ab7e2d092a720271180c3fd8b16d47c35f4ac1930d
SHA5125cdd3286673724308560940ed2b3223b9994b016d28b76c8e0fbd38bc53b77272f5a33cb04181f5496564263eac7ab768613541589eb519f48f71a17ee296596