Analysis
-
max time kernel
146s -
max time network
143s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
13-01-2025 19:06
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe
-
Size
11.2MB
-
MD5
3b455b31246b8a9a6548681d39c5fb5d
-
SHA1
822afd920a826ff81013822285e6e82fe81bf076
-
SHA256
c878285d30d32d75b6ed5a17f5ef3ce3fd264ac4ad367264e32b81dab57ee549
-
SHA512
83290f9a90590015df1f3e0a3643cc98e02998ea38ba2f3dbfd3c9832bbb19465e7503a98cdaab13c1c866796cc2ef5fe870f8961043825194f391bc20750df3
-
SSDEEP
6144:nLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQw:MTYe+D2jFu+iZoUFhAz
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 2824 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\frvtcacb\ImagePath = "C:\\Windows\\SysWOW64\\frvtcacb\\saptgenn.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-2878641211-696417878-3864914810-1000\Control Panel\International\Geo\Nation 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe -
Deletes itself 1 IoCs
pid Process 3084 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4404 saptgenn.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4404 set thread context of 3084 4404 saptgenn.exe 100 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4388 sc.exe 3240 sc.exe 4932 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 3924 4580 WerFault.exe 82 1644 4404 WerFault.exe 94 -
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 svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language saptgenn.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4580 wrote to memory of 1132 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 83 PID 4580 wrote to memory of 1132 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 83 PID 4580 wrote to memory of 1132 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 83 PID 4580 wrote to memory of 5112 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 85 PID 4580 wrote to memory of 5112 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 85 PID 4580 wrote to memory of 5112 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 85 PID 4580 wrote to memory of 4388 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 87 PID 4580 wrote to memory of 4388 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 87 PID 4580 wrote to memory of 4388 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 87 PID 4580 wrote to memory of 3240 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 89 PID 4580 wrote to memory of 3240 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 89 PID 4580 wrote to memory of 3240 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 89 PID 4580 wrote to memory of 4932 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 92 PID 4580 wrote to memory of 4932 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 92 PID 4580 wrote to memory of 4932 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 92 PID 4580 wrote to memory of 2824 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 95 PID 4580 wrote to memory of 2824 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 95 PID 4580 wrote to memory of 2824 4580 2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe 95 PID 4404 wrote to memory of 3084 4404 saptgenn.exe 100 PID 4404 wrote to memory of 3084 4404 saptgenn.exe 100 PID 4404 wrote to memory of 3084 4404 saptgenn.exe 100 PID 4404 wrote to memory of 3084 4404 saptgenn.exe 100 PID 4404 wrote to memory of 3084 4404 saptgenn.exe 100
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4580 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\frvtcacb\2⤵
- System Location Discovery: System Language Discovery
PID:1132
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\saptgenn.exe" C:\Windows\SysWOW64\frvtcacb\2⤵
- System Location Discovery: System Language Discovery
PID:5112
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create frvtcacb binPath= "C:\Windows\SysWOW64\frvtcacb\saptgenn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4388
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description frvtcacb "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3240
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start frvtcacb2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4932
-
-
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:2824
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4580 -s 10362⤵
- Program crash
PID:3924
-
-
C:\Windows\SysWOW64\frvtcacb\saptgenn.exeC:\Windows\SysWOW64\frvtcacb\saptgenn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_3b455b31246b8a9a6548681d39c5fb5d_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4404 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3084
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4404 -s 5122⤵
- Program crash
PID:1644
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4580 -ip 45801⤵PID:3316
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 4404 -ip 44041⤵PID:3636
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.7MB
MD5816049af1ccc345c6e45014a30723e1d
SHA131c1c18d8717f40824179219514f6d9306e4e9c2
SHA25686bd0897ee02490ddd204355b4b86a9e6960dc409bbe7b0a5216c785b3783dea
SHA512ab8412667232c774baee3417fb04bfb947fd7de94d4fc2779fc75a624ec4aba4c49cb7f24905b37e0d91c03dd94f3149627ae55f61202d9c0a5efafbf43276a7