Analysis
-
max time kernel
150s -
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
03-02-2025 21:08
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe
Resource
win7-20241023-en
Behavioral task
behavioral2
Sample
2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe
-
Size
13.4MB
-
MD5
4858645e5dfe2b3c29b52ad93c9a0167
-
SHA1
3a33f59845824f55e75501dcc58fe9db7510bb21
-
SHA256
03dcd9a4ca3d6cbe61a3cdf5684649233e6036a584ed389739088adf58530998
-
SHA512
591a17c10b1dd9563f8d0d9372cd3a575196b8f84738a4b0087e78e62f3f704364132e2aeee1bd2fab494ca09b3a131835e369ab3b214edee3f2e6996083d23d
-
SSDEEP
3072:NLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:QOMdRQr7OB0ypmMXnl8XEPM3noSWOC
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 4068 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\vhnxmsrq\ImagePath = "C:\\Windows\\SysWOW64\\vhnxmsrq\\jaigqlsg.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-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe -
Deletes itself 1 IoCs
pid Process 3272 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3968 jaigqlsg.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3968 set thread context of 3272 3968 jaigqlsg.exe 105 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 956 sc.exe 2188 sc.exe 1884 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 3228 2892 WerFault.exe 82 2384 3968 WerFault.exe 99 -
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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language jaigqlsg.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2892 wrote to memory of 2700 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 89 PID 2892 wrote to memory of 2700 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 89 PID 2892 wrote to memory of 2700 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 89 PID 2892 wrote to memory of 4036 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 91 PID 2892 wrote to memory of 4036 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 91 PID 2892 wrote to memory of 4036 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 91 PID 2892 wrote to memory of 956 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 93 PID 2892 wrote to memory of 956 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 93 PID 2892 wrote to memory of 956 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 93 PID 2892 wrote to memory of 2188 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 95 PID 2892 wrote to memory of 2188 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 95 PID 2892 wrote to memory of 2188 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 95 PID 2892 wrote to memory of 1884 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 97 PID 2892 wrote to memory of 1884 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 97 PID 2892 wrote to memory of 1884 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 97 PID 2892 wrote to memory of 4068 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 100 PID 2892 wrote to memory of 4068 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 100 PID 2892 wrote to memory of 4068 2892 2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe 100 PID 3968 wrote to memory of 3272 3968 jaigqlsg.exe 105 PID 3968 wrote to memory of 3272 3968 jaigqlsg.exe 105 PID 3968 wrote to memory of 3272 3968 jaigqlsg.exe 105 PID 3968 wrote to memory of 3272 3968 jaigqlsg.exe 105 PID 3968 wrote to memory of 3272 3968 jaigqlsg.exe 105
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2892 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vhnxmsrq\2⤵
- System Location Discovery: System Language Discovery
PID:2700
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jaigqlsg.exe" C:\Windows\SysWOW64\vhnxmsrq\2⤵
- System Location Discovery: System Language Discovery
PID:4036
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create vhnxmsrq binPath= "C:\Windows\SysWOW64\vhnxmsrq\jaigqlsg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:956
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description vhnxmsrq "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2188
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start vhnxmsrq2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1884
-
-
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:4068
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2892 -s 11922⤵
- Program crash
PID:3228
-
-
C:\Windows\SysWOW64\vhnxmsrq\jaigqlsg.exeC:\Windows\SysWOW64\vhnxmsrq\jaigqlsg.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_4858645e5dfe2b3c29b52ad93c9a0167_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3968 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3272
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3968 -s 5122⤵
- Program crash
PID:2384
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 2892 -ip 28921⤵PID:1528
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 3968 -ip 39681⤵PID:4460
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
13.9MB
MD5cf97622a7a6a5b037e2001a61fff643d
SHA108e0bb60f09aff2eadc07adeaa9910c3fc6c46bb
SHA25650cde2309c4b1d1f44160d8f9d9b67bb0111d0a588de63a4f638d31022ffacef
SHA5125ab125f2eff0f50e13cea2130136b543b56b05044da19a352c53b15a3660bea9ca18c7e7c36d774f2b75073e8450cb4067e365f023ad1c640afeed3987b23ba4