Analysis
-
max time kernel
145s -
max time network
127s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
01-02-2025 19:23
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe
Resource
win7-20240729-en
Behavioral task
behavioral2
Sample
2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe
-
Size
10.8MB
-
MD5
4693eebab2f0d0905d6bc962b3243ff7
-
SHA1
e516672eddb46d806493e9c917d5a30f52603cc6
-
SHA256
6f22c8dc2465a76e36a0c03c271309309c86d009dfe2d5158229a52c9ecd8401
-
SHA512
e91d1b2c07a8aaf6743addd740ecb9a662df8a037763c02fac2ed84e778609c43981acd7a3190e7b3702c0ec1bbee4bf87c0faecfb02937f519f4f501881f2ab
-
SSDEEP
196608:pyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXH:kXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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 4792 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\nlqncmgi\ImagePath = "C:\\Windows\\SysWOW64\\nlqncmgi\\fwecmhoc.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-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe -
Deletes itself 1 IoCs
pid Process 4396 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2976 fwecmhoc.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2976 set thread context of 4396 2976 fwecmhoc.exe 97 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3492 sc.exe 320 sc.exe 2904 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 svchost.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 fwecmhoc.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 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3516 wrote to memory of 1056 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 86 PID 3516 wrote to memory of 1056 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 86 PID 3516 wrote to memory of 1056 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 86 PID 3516 wrote to memory of 4824 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 88 PID 3516 wrote to memory of 4824 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 88 PID 3516 wrote to memory of 4824 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 88 PID 3516 wrote to memory of 3492 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 90 PID 3516 wrote to memory of 3492 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 90 PID 3516 wrote to memory of 3492 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 90 PID 3516 wrote to memory of 320 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 92 PID 3516 wrote to memory of 320 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 92 PID 3516 wrote to memory of 320 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 92 PID 3516 wrote to memory of 2904 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 94 PID 3516 wrote to memory of 2904 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 94 PID 3516 wrote to memory of 2904 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 94 PID 2976 wrote to memory of 4396 2976 fwecmhoc.exe 97 PID 2976 wrote to memory of 4396 2976 fwecmhoc.exe 97 PID 2976 wrote to memory of 4396 2976 fwecmhoc.exe 97 PID 2976 wrote to memory of 4396 2976 fwecmhoc.exe 97 PID 2976 wrote to memory of 4396 2976 fwecmhoc.exe 97 PID 3516 wrote to memory of 4792 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 98 PID 3516 wrote to memory of 4792 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 98 PID 3516 wrote to memory of 4792 3516 2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3516 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nlqncmgi\2⤵
- System Location Discovery: System Language Discovery
PID:1056
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fwecmhoc.exe" C:\Windows\SysWOW64\nlqncmgi\2⤵
- System Location Discovery: System Language Discovery
PID:4824
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create nlqncmgi binPath= "C:\Windows\SysWOW64\nlqncmgi\fwecmhoc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3492
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description nlqncmgi "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:320
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start nlqncmgi2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2904
-
-
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:4792
-
-
C:\Windows\SysWOW64\nlqncmgi\fwecmhoc.exeC:\Windows\SysWOW64\nlqncmgi\fwecmhoc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_4693eebab2f0d0905d6bc962b3243ff7_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2976 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4396
-
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.6MB
MD58df264fedf3dd6f211f897aa6d897c8f
SHA1b96a4f0027c0f4c6a21629506194520860c2a041
SHA256cd40561af6f6d28ef82ab7ec5d49add6453984a17b17a600a88d2d24e79b060e
SHA512a6768330663f09c202907c4662b06a905cb5b6a91b9cc3aa385f508ea5bfc80898a703052299b247949caf8ee352f742d485a5d3ed177cfe8135f55a6c50b6f4