Analysis
-
max time kernel
145s -
max time network
118s -
platform
windows7_x64 -
resource
win7-20240708-en -
resource tags
arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system -
submitted
19-12-2024 16:43
Static task
static1
Behavioral task
behavioral1
Sample
2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe
-
Size
11.3MB
-
MD5
08354967a1a2f5d0c78d5c7d0a80a9bf
-
SHA1
65c97fda58d573ad7aaa0677c7d4323a35bd67ed
-
SHA256
c46a5bf2d8001c12538128dec7dbc3563ee98be85f7403624bf48b9e4725d82e
-
SHA512
66f404ddcba83f7c5514a8c5f00254177a079361bb72fa0c16fa8094c021b231adf9cc9c978db7f00c261b88c86cb5cac24aac6f20b818847943ac80d995d271
-
SSDEEP
3072:LLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:yOMdRQr7OB0ypmMXnl8XEPM3noSWOC
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\zphnwxqu = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2788 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\zphnwxqu\ImagePath = "C:\\Windows\\SysWOW64\\zphnwxqu\\tnnepypr.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2804 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2172 tnnepypr.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2172 set thread context of 2804 2172 tnnepypr.exe 41 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2120 sc.exe 2456 sc.exe 1712 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 svchost.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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language tnnepypr.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2480 wrote to memory of 2320 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 30 PID 2480 wrote to memory of 2320 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 30 PID 2480 wrote to memory of 2320 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 30 PID 2480 wrote to memory of 2320 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 30 PID 2480 wrote to memory of 1228 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 32 PID 2480 wrote to memory of 1228 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 32 PID 2480 wrote to memory of 1228 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 32 PID 2480 wrote to memory of 1228 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 32 PID 2480 wrote to memory of 1712 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 34 PID 2480 wrote to memory of 1712 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 34 PID 2480 wrote to memory of 1712 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 34 PID 2480 wrote to memory of 1712 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 34 PID 2480 wrote to memory of 2120 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 36 PID 2480 wrote to memory of 2120 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 36 PID 2480 wrote to memory of 2120 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 36 PID 2480 wrote to memory of 2120 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 36 PID 2480 wrote to memory of 2456 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 38 PID 2480 wrote to memory of 2456 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 38 PID 2480 wrote to memory of 2456 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 38 PID 2480 wrote to memory of 2456 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 38 PID 2172 wrote to memory of 2804 2172 tnnepypr.exe 41 PID 2172 wrote to memory of 2804 2172 tnnepypr.exe 41 PID 2172 wrote to memory of 2804 2172 tnnepypr.exe 41 PID 2172 wrote to memory of 2804 2172 tnnepypr.exe 41 PID 2172 wrote to memory of 2804 2172 tnnepypr.exe 41 PID 2172 wrote to memory of 2804 2172 tnnepypr.exe 41 PID 2480 wrote to memory of 2788 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 42 PID 2480 wrote to memory of 2788 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 42 PID 2480 wrote to memory of 2788 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 42 PID 2480 wrote to memory of 2788 2480 2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe 42
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2480 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zphnwxqu\2⤵
- System Location Discovery: System Language Discovery
PID:2320
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tnnepypr.exe" C:\Windows\SysWOW64\zphnwxqu\2⤵
- System Location Discovery: System Language Discovery
PID:1228
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create zphnwxqu binPath= "C:\Windows\SysWOW64\zphnwxqu\tnnepypr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1712
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description zphnwxqu "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2120
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start zphnwxqu2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2456
-
-
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:2788
-
-
C:\Windows\SysWOW64\zphnwxqu\tnnepypr.exeC:\Windows\SysWOW64\zphnwxqu\tnnepypr.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2172 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2804
-
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.1MB
MD5866468cdb4e7950fb91b1a19920a033b
SHA1d07b41b4a5f9e97107bde351293a5dbd82024d3f
SHA2564ded9add413cb0f6d6d9291d34349ff10781e543eae1bd23c0d4468c70998827
SHA512e1f43df2c0bb8e0f848dda22ae440a88fee70e6dc35c18557655cc71532b5834566cca9107f530ef481498b2aeae7f076590460e0ff38fed6160993f7be84e5d