Analysis
-
max time kernel
146s -
max time network
124s -
platform
windows7_x64 -
resource
win7-20241010-en -
resource tags
arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system -
submitted
18-01-2025 20:13
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe
-
Size
10.6MB
-
MD5
29f3585d9260d749255f000a5606a59a
-
SHA1
d7607e6da036975ba242320436b1150d4eec2444
-
SHA256
ec181835a2f616a354e8c8e4b9610e57acab521e9c0c7e2b9654d2b659d0f938
-
SHA512
ce4bd5341e6d525c86d12c1e3af03512d64eb38b8aad6d8033bc2678730195607816e44815790d48242e5abb9770bb8370adc74fe77b5673fc3d7b2954a97f61
-
SSDEEP
6144:ULQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQV:JTYe+D2jFu+iZoUFhAz
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Tofsee family
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Windows\SysWOW64\tnptbrfn = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2880 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\tnptbrfn\ImagePath = "C:\\Windows\\SysWOW64\\tnptbrfn\\xwkmaxyq.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2908 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2884 xwkmaxyq.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2884 set thread context of 2908 2884 xwkmaxyq.exe 44 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2964 sc.exe 516 sc.exe 2648 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 -
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 netsh.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 cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language xwkmaxyq.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2324 wrote to memory of 2084 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 30 PID 2324 wrote to memory of 2084 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 30 PID 2324 wrote to memory of 2084 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 30 PID 2324 wrote to memory of 2084 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 30 PID 2324 wrote to memory of 2388 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 32 PID 2324 wrote to memory of 2388 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 32 PID 2324 wrote to memory of 2388 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 32 PID 2324 wrote to memory of 2388 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 32 PID 2324 wrote to memory of 2648 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 34 PID 2324 wrote to memory of 2648 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 34 PID 2324 wrote to memory of 2648 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 34 PID 2324 wrote to memory of 2648 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 34 PID 2324 wrote to memory of 2964 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 36 PID 2324 wrote to memory of 2964 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 36 PID 2324 wrote to memory of 2964 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 36 PID 2324 wrote to memory of 2964 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 36 PID 2324 wrote to memory of 516 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 38 PID 2324 wrote to memory of 516 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 38 PID 2324 wrote to memory of 516 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 38 PID 2324 wrote to memory of 516 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 38 PID 2324 wrote to memory of 2880 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 40 PID 2324 wrote to memory of 2880 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 40 PID 2324 wrote to memory of 2880 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 40 PID 2324 wrote to memory of 2880 2324 2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe 40 PID 2884 wrote to memory of 2908 2884 xwkmaxyq.exe 44 PID 2884 wrote to memory of 2908 2884 xwkmaxyq.exe 44 PID 2884 wrote to memory of 2908 2884 xwkmaxyq.exe 44 PID 2884 wrote to memory of 2908 2884 xwkmaxyq.exe 44 PID 2884 wrote to memory of 2908 2884 xwkmaxyq.exe 44 PID 2884 wrote to memory of 2908 2884 xwkmaxyq.exe 44
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2324 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tnptbrfn\2⤵
- System Location Discovery: System Language Discovery
PID:2084
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xwkmaxyq.exe" C:\Windows\SysWOW64\tnptbrfn\2⤵
- System Location Discovery: System Language Discovery
PID:2388
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create tnptbrfn binPath= "C:\Windows\SysWOW64\tnptbrfn\xwkmaxyq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2648
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description tnptbrfn "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2964
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start tnptbrfn2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:516
-
-
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:2880
-
-
C:\Windows\SysWOW64\tnptbrfn\xwkmaxyq.exeC:\Windows\SysWOW64\tnptbrfn\xwkmaxyq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-18_29f3585d9260d749255f000a5606a59a_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2884 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2908
-
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
2Disable or Modify System Firewall
1Disable or Modify Tools
1Modify Registry
2Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
10.9MB
MD5f6e048e4e0e1b665ec5fafd88a7aa913
SHA1d5111b092a7901e7416559290065b88ab7daeda8
SHA256bb8e787d9e2380463600940db749d08ce6fbae40c65370c2a297fa688ee8ba85
SHA512fd94eeee64b3ef3ce60454d2cf7191c418623737ec5db96e576c348be1d4362559c6110d496fcfb75c3cdcb66f9d1d49da5f691ea5ef416f7486e9b507c9730b