Analysis
-
max time kernel
146s -
max time network
128s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
31-01-2025 22:29
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe
-
Size
15.0MB
-
MD5
8fa61cfc9f7112ed8d491983c8ee7a47
-
SHA1
4b2b603c311985f0ac3878392c9098c1d5206e63
-
SHA256
eda99cc167fa5b9a559ec9b56994e951836c4b40e348286c2724aa94cdfe25fc
-
SHA512
7d2f3c88fc6f8cedcea43359c8958f40a05c744577a87c53c815cfc7f48a62171de610ddbc7f5fc551b742c6c7e4fcb23300fe1b93bdf1b074ec17a839863bf9
-
SSDEEP
393216:HXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:
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 2020 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\cfenjvaa\ImagePath = "C:\\Windows\\SysWOW64\\cfenjvaa\\ofnlvqxl.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-2089655958-977706906-1981639424-1000\Control Panel\International\Geo\Nation 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe -
Deletes itself 1 IoCs
pid Process 5076 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 5004 ofnlvqxl.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 5004 set thread context of 5076 5004 ofnlvqxl.exe 97 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4660 sc.exe 4340 sc.exe 4956 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 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.
description ioc Process 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 ofnlvqxl.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1032 wrote to memory of 1940 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 86 PID 1032 wrote to memory of 1940 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 86 PID 1032 wrote to memory of 1940 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 86 PID 1032 wrote to memory of 4236 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 88 PID 1032 wrote to memory of 4236 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 88 PID 1032 wrote to memory of 4236 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 88 PID 1032 wrote to memory of 4660 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 90 PID 1032 wrote to memory of 4660 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 90 PID 1032 wrote to memory of 4660 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 90 PID 1032 wrote to memory of 4340 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 92 PID 1032 wrote to memory of 4340 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 92 PID 1032 wrote to memory of 4340 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 92 PID 1032 wrote to memory of 4956 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 94 PID 1032 wrote to memory of 4956 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 94 PID 1032 wrote to memory of 4956 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 94 PID 5004 wrote to memory of 5076 5004 ofnlvqxl.exe 97 PID 5004 wrote to memory of 5076 5004 ofnlvqxl.exe 97 PID 5004 wrote to memory of 5076 5004 ofnlvqxl.exe 97 PID 5004 wrote to memory of 5076 5004 ofnlvqxl.exe 97 PID 5004 wrote to memory of 5076 5004 ofnlvqxl.exe 97 PID 1032 wrote to memory of 2020 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 98 PID 1032 wrote to memory of 2020 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 98 PID 1032 wrote to memory of 2020 1032 2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1032 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cfenjvaa\2⤵
- System Location Discovery: System Language Discovery
PID:1940
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ofnlvqxl.exe" C:\Windows\SysWOW64\cfenjvaa\2⤵
- System Location Discovery: System Language Discovery
PID:4236
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create cfenjvaa binPath= "C:\Windows\SysWOW64\cfenjvaa\ofnlvqxl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4660
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description cfenjvaa "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4340
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start cfenjvaa2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4956
-
-
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:2020
-
-
C:\Windows\SysWOW64\cfenjvaa\ofnlvqxl.exeC:\Windows\SysWOW64\cfenjvaa\ofnlvqxl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_8fa61cfc9f7112ed8d491983c8ee7a47_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:5004 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:5076
-
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.2MB
MD5aaaf36b3e25857800948318423041b4a
SHA18c042bbe10f0cea479f96ed76e1cdbc9dab0db46
SHA2569e11bb39bfddcc5724c8e110a9500db71c2b6d8cc44ab7127e4bc3bf0d32392b
SHA5125f125f15fefa9b2dc2a325a567ee3df00c6606fcd4497d9e26f718c032bd11f029f2b8f5f85715584efeb0d8d4b7acd0e80abc7d0ae51accdaf161955e1c8526