Analysis
-
max time kernel
144s -
max time network
139s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
21-01-2025 23:15
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe
-
Size
11.1MB
-
MD5
c8478f4f5d94b9ac131ff2d84e5d3909
-
SHA1
4b7ca3f00711ea4a9c8b5aeef648044fc7e85255
-
SHA256
8aeb2c30634da05e2c33aec859f61d05a3b0f69d41e76562fe37cc784fc1566c
-
SHA512
a63d72342ad22ceba03c11a4ffe3e08c37bd9fc62ba34b0fec10bf4df22958638f54b37e2f9e3d3e0f59e2220045488b2ae7025e12d4480c13c7391b8a8a4199
-
SSDEEP
196608:WyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXn
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 2388 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\kekqklnb\ImagePath = "C:\\Windows\\SysWOW64\\kekqklnb\\gibmtbpf.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-2437139445-1151884604-3026847218-1000\Control Panel\International\Geo\Nation 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe -
Deletes itself 1 IoCs
pid Process 3528 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1284 gibmtbpf.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1284 set thread context of 3528 1284 gibmtbpf.exe 97 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 316 sc.exe 2720 sc.exe 3972 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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language gibmtbpf.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_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 svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2664 wrote to memory of 2572 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 83 PID 2664 wrote to memory of 2572 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 83 PID 2664 wrote to memory of 2572 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 83 PID 2664 wrote to memory of 3420 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 85 PID 2664 wrote to memory of 3420 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 85 PID 2664 wrote to memory of 3420 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 85 PID 2664 wrote to memory of 316 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 87 PID 2664 wrote to memory of 316 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 87 PID 2664 wrote to memory of 316 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 87 PID 2664 wrote to memory of 2720 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 89 PID 2664 wrote to memory of 2720 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 89 PID 2664 wrote to memory of 2720 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 89 PID 2664 wrote to memory of 3972 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 92 PID 2664 wrote to memory of 3972 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 92 PID 2664 wrote to memory of 3972 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 92 PID 2664 wrote to memory of 2388 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 95 PID 2664 wrote to memory of 2388 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 95 PID 2664 wrote to memory of 2388 2664 2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe 95 PID 1284 wrote to memory of 3528 1284 gibmtbpf.exe 97 PID 1284 wrote to memory of 3528 1284 gibmtbpf.exe 97 PID 1284 wrote to memory of 3528 1284 gibmtbpf.exe 97 PID 1284 wrote to memory of 3528 1284 gibmtbpf.exe 97 PID 1284 wrote to memory of 3528 1284 gibmtbpf.exe 97
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2664 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kekqklnb\2⤵
- System Location Discovery: System Language Discovery
PID:2572
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gibmtbpf.exe" C:\Windows\SysWOW64\kekqklnb\2⤵
- System Location Discovery: System Language Discovery
PID:3420
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create kekqklnb binPath= "C:\Windows\SysWOW64\kekqklnb\gibmtbpf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:316
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description kekqklnb "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2720
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start kekqklnb2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3972
-
-
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:2388
-
-
C:\Windows\SysWOW64\kekqklnb\gibmtbpf.exeC:\Windows\SysWOW64\kekqklnb\gibmtbpf.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1284 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3528
-
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.1MB
MD53066c5b92a450805186130e453b44db4
SHA1e5bdf09697d3deec9088b3034d0a1656a61f1ade
SHA25684c30591dff71b8da717c8b7958317bbabe2022f0a302a6de392c9984fe47d84
SHA51225a8d7e5f7bc56b6fa1969e0d446eb3982c95719c329f86741c06dec328e19c688fd5c53afc3f30988a403a67ca95fdcc408c391c1148a6c3f0f34047d923788