Analysis
-
max time kernel
149s -
max time network
152s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
07-02-2025 14:29
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe
-
Size
11.6MB
-
MD5
baa3d4ecef961095880f238de0e0be22
-
SHA1
c59ca1d96a298bb7cd32d8e74b5f0e6b9a8ec2c3
-
SHA256
3731776b9bb93158e5eeaf11d9d13588fd9509d0879fad0fc6aff8a20c6ce6d2
-
SHA512
9967fd6125d449931142378d77af25f8ef3edf7eab6341ecdef79ed6cb7c7395b216aa59768471dcd105150615e4f78239be45e4a7ba4dbed4ec2b524df08c75
-
SSDEEP
49152:GqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:GqtYc3
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 2000 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\hpfxfhfz\ImagePath = "C:\\Windows\\SysWOW64\\hpfxfhfz\\hjekdqa.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-4174397412-4125106315-2776226590-1000\Control Panel\International\Geo\Nation 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe -
Deletes itself 1 IoCs
pid Process 2728 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1108 hjekdqa.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1108 set thread context of 2728 1108 hjekdqa.exe 101 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4872 sc.exe 2500 sc.exe 4044 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 1880 412 WerFault.exe 83 1208 1108 WerFault.exe 97 -
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-02-07_baa3d4ecef961095880f238de0e0be22_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 cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language hjekdqa.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 412 wrote to memory of 3548 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 87 PID 412 wrote to memory of 3548 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 87 PID 412 wrote to memory of 3548 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 87 PID 412 wrote to memory of 1896 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 89 PID 412 wrote to memory of 1896 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 89 PID 412 wrote to memory of 1896 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 89 PID 412 wrote to memory of 2500 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 91 PID 412 wrote to memory of 2500 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 91 PID 412 wrote to memory of 2500 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 91 PID 412 wrote to memory of 4044 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 93 PID 412 wrote to memory of 4044 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 93 PID 412 wrote to memory of 4044 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 93 PID 412 wrote to memory of 4872 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 95 PID 412 wrote to memory of 4872 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 95 PID 412 wrote to memory of 4872 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 95 PID 412 wrote to memory of 2000 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 98 PID 412 wrote to memory of 2000 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 98 PID 412 wrote to memory of 2000 412 2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe 98 PID 1108 wrote to memory of 2728 1108 hjekdqa.exe 101 PID 1108 wrote to memory of 2728 1108 hjekdqa.exe 101 PID 1108 wrote to memory of 2728 1108 hjekdqa.exe 101 PID 1108 wrote to memory of 2728 1108 hjekdqa.exe 101 PID 1108 wrote to memory of 2728 1108 hjekdqa.exe 101
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-07_baa3d4ecef961095880f238de0e0be22_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\hpfxfhfz\2⤵
- System Location Discovery: System Language Discovery
PID:3548
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hjekdqa.exe" C:\Windows\SysWOW64\hpfxfhfz\2⤵
- System Location Discovery: System Language Discovery
PID:1896
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create hpfxfhfz binPath= "C:\Windows\SysWOW64\hpfxfhfz\hjekdqa.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2500
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description hpfxfhfz "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4044
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start hpfxfhfz2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4872
-
-
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:2000
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 412 -s 12322⤵
- Program crash
PID:1880
-
-
C:\Windows\SysWOW64\hpfxfhfz\hjekdqa.exeC:\Windows\SysWOW64\hpfxfhfz\hjekdqa.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1108 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2728
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1108 -s 5322⤵
- Program crash
PID:1208
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 412 -ip 4121⤵PID:1348
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 1108 -ip 11081⤵PID:1212
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.2MB
MD502577feabbae5a6cced18fe55be24b83
SHA1375768302cfbf7082178ba7f02cb1589d4c52667
SHA256ddf834663f80601bbcb921d17ef5904d405a28ff68fbf21ce521794c0f4a34f4
SHA51277c634c4b339387c0c16bc69f3c49dc1b2fbae3bc1a2ef78153d2b316710f285345692b646a9da1f0e6da7c7f8d33c421134a8b6cfefca7c239f74ffbaf025e8