Analysis
-
max time kernel
147s -
max time network
148s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
26-01-2025 18:52
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe
Resource
win7-20240729-en
Behavioral task
behavioral2
Sample
2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe
-
Size
11.9MB
-
MD5
cf1ee4c0d22d48ebd7ba5de6d28e37ff
-
SHA1
feffa2b1e47bb1770e61c0f1b76b37cb4ee4ad1d
-
SHA256
5cdda5a30dfac65c765ddba79a5eb58eea819a818347e6b9a15e138a553e9c1c
-
SHA512
6fd0cf200d338613a6eabfe20d12576572c73d12f99e01a7e1b2d431d3b692b6fbb2149e9a48463ee9235bb2e1dfefae692c1e11f9cdf20e970624841b3892b1
-
SSDEEP
49152:OqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:OqtYc3
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 3568 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\lyinilei\ImagePath = "C:\\Windows\\SysWOW64\\lyinilei\\eyypajac.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-493223053-2004649691-1575712786-1000\Control Panel\International\Geo\Nation 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe -
Deletes itself 1 IoCs
pid Process 4356 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4932 eyypajac.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4932 set thread context of 4356 4932 eyypajac.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3504 sc.exe 1852 sc.exe 5056 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 3648 4932 WerFault.exe 97 3660 412 WerFault.exe 82 -
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-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_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 eyypajac.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.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 svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 412 wrote to memory of 3616 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 83 PID 412 wrote to memory of 3616 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 83 PID 412 wrote to memory of 3616 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 83 PID 412 wrote to memory of 5096 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 87 PID 412 wrote to memory of 5096 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 87 PID 412 wrote to memory of 5096 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 87 PID 412 wrote to memory of 3504 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 89 PID 412 wrote to memory of 3504 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 89 PID 412 wrote to memory of 3504 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 89 PID 412 wrote to memory of 1852 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 93 PID 412 wrote to memory of 1852 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 93 PID 412 wrote to memory of 1852 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 93 PID 412 wrote to memory of 5056 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 95 PID 412 wrote to memory of 5056 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 95 PID 412 wrote to memory of 5056 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 95 PID 412 wrote to memory of 3568 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 98 PID 412 wrote to memory of 3568 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 98 PID 412 wrote to memory of 3568 412 2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe 98 PID 4932 wrote to memory of 4356 4932 eyypajac.exe 102 PID 4932 wrote to memory of 4356 4932 eyypajac.exe 102 PID 4932 wrote to memory of 4356 4932 eyypajac.exe 102 PID 4932 wrote to memory of 4356 4932 eyypajac.exe 102 PID 4932 wrote to memory of 4356 4932 eyypajac.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:412 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lyinilei\2⤵
- System Location Discovery: System Language Discovery
PID:3616
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eyypajac.exe" C:\Windows\SysWOW64\lyinilei\2⤵
- System Location Discovery: System Language Discovery
PID:5096
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create lyinilei binPath= "C:\Windows\SysWOW64\lyinilei\eyypajac.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3504
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description lyinilei "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1852
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start lyinilei2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:5056
-
-
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:3568
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 412 -s 10322⤵
- Program crash
PID:3660
-
-
C:\Windows\SysWOW64\lyinilei\eyypajac.exeC:\Windows\SysWOW64\lyinilei\eyypajac.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4932 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4356
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4932 -s 5162⤵
- Program crash
PID:3648
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 412 -ip 4121⤵PID:4868
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 4932 -ip 49321⤵PID:4760
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
14.5MB
MD52249cef1333eff73514f42adad7ea019
SHA1775d2a02ca747114f0d30692ed77d880dc7d755d
SHA25689eead8658c825bdcb6f4ea1b7fc47658fb6b96d906d266068a8a2e9f61cf2e1
SHA512c0e99990e8718a9e906e142e72a5b0ba2dcdc367f88f5f9300a021e28a614d3cec5e40c6c411bea08a4b6692e8b82d399e32ccdebe13eda705ea6ac7b9f7abca