Analysis
-
max time kernel
145s -
max time network
121s -
platform
windows7_x64 -
resource
win7-20241023-en -
resource tags
arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system -
submitted
30-01-2025 20:04
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe
Resource
win7-20241023-en
Behavioral task
behavioral2
Sample
2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe
-
Size
11.5MB
-
MD5
91db8558eace068815dcf94fe9d7120d
-
SHA1
b74cc681cce044dca82a8c87fa5fee2f56a1157c
-
SHA256
7cdc6699ebba552973ec083185ad2f4fdb9b7c3917cc459f5e9013ca62a5b813
-
SHA512
2f2579188eebb85eea26334b8c1eb0ecc581846c61faeccf0e2132e4ad93627f423abf92dacfb16047c0a74535a09468582ba8563958a99e28d768365711d858
-
SSDEEP
3072:mLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/T:POMdRQr7OB0ypmMXnl8XEPM3noSWOCa
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Tofsee family
-
Windows security bypass 2 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Windows\SysWOW64\apnrhxgn = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2176 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\apnrhxgn\ImagePath = "C:\\Windows\\SysWOW64\\apnrhxgn\\tcwbtsnj.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2828 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2760 tcwbtsnj.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2760 set thread context of 2828 2760 tcwbtsnj.exe 41 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1256 sc.exe 2272 sc.exe 2820 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 2025-01-30_91db8558eace068815dcf94fe9d7120d_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 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 tcwbtsnj.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 1576 wrote to memory of 2280 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 30 PID 1576 wrote to memory of 2280 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 30 PID 1576 wrote to memory of 2280 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 30 PID 1576 wrote to memory of 2280 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 30 PID 1576 wrote to memory of 2200 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 32 PID 1576 wrote to memory of 2200 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 32 PID 1576 wrote to memory of 2200 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 32 PID 1576 wrote to memory of 2200 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 32 PID 1576 wrote to memory of 2272 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 34 PID 1576 wrote to memory of 2272 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 34 PID 1576 wrote to memory of 2272 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 34 PID 1576 wrote to memory of 2272 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 34 PID 1576 wrote to memory of 2820 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 36 PID 1576 wrote to memory of 2820 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 36 PID 1576 wrote to memory of 2820 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 36 PID 1576 wrote to memory of 2820 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 36 PID 1576 wrote to memory of 1256 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 38 PID 1576 wrote to memory of 1256 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 38 PID 1576 wrote to memory of 1256 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 38 PID 1576 wrote to memory of 1256 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 38 PID 2760 wrote to memory of 2828 2760 tcwbtsnj.exe 41 PID 2760 wrote to memory of 2828 2760 tcwbtsnj.exe 41 PID 2760 wrote to memory of 2828 2760 tcwbtsnj.exe 41 PID 2760 wrote to memory of 2828 2760 tcwbtsnj.exe 41 PID 2760 wrote to memory of 2828 2760 tcwbtsnj.exe 41 PID 2760 wrote to memory of 2828 2760 tcwbtsnj.exe 41 PID 1576 wrote to memory of 2176 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 43 PID 1576 wrote to memory of 2176 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 43 PID 1576 wrote to memory of 2176 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 43 PID 1576 wrote to memory of 2176 1576 2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe 43
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1576 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\apnrhxgn\2⤵
- System Location Discovery: System Language Discovery
PID:2280
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tcwbtsnj.exe" C:\Windows\SysWOW64\apnrhxgn\2⤵
- System Location Discovery: System Language Discovery
PID:2200
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create apnrhxgn binPath= "C:\Windows\SysWOW64\apnrhxgn\tcwbtsnj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2272
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description apnrhxgn "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2820
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start apnrhxgn2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1256
-
-
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:2176
-
-
C:\Windows\SysWOW64\apnrhxgn\tcwbtsnj.exeC:\Windows\SysWOW64\apnrhxgn\tcwbtsnj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2760 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2828
-
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
11.3MB
MD5ecb2495a59026138d05d4ebe23b34aca
SHA178e742bca3bdca3fffd9fced4a40601277712026
SHA256fbb94795848a504cacaaa7623d6e65d6ecb9e8f587359e7c86bd8c549b3ffd1b
SHA512d45e3a787f855a160c82885ca76ca6b985528927c745f8398a85121d4cdfbc2fc3bcb337efe07f668c594e5f04c3bd7b5ed5f714e7a47de41adb6d9db8af202c