Analysis
-
max time kernel
149s -
max time network
145s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
28-01-2025 14:33
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe
-
Size
12.7MB
-
MD5
97f05b514a867f29502c66a18573b6e1
-
SHA1
e3ad4e5ebb38ef6c1808e33ba73a8f94593748c6
-
SHA256
88363bf0c273a65c292dc131c24538ffa519d2ba016d287c4d9be0d921a4d949
-
SHA512
d4e00ff51b2dbeed0d3b9890d41c0ada4557488375f52484d5319264334c63f55d150f80383593f5d68ca076a30d92cf7b1a1c8f6e118f2c08e742f21d510a50
-
SSDEEP
24576:GEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZR:/fotj
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 4152 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\gmbxexvz\ImagePath = "C:\\Windows\\SysWOW64\\gmbxexvz\\lniohue.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-4050598569-1597076380-177084960-1000\Control Panel\International\Geo\Nation 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe -
Deletes itself 1 IoCs
pid Process 4364 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1644 lniohue.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1644 set thread context of 4364 1644 lniohue.exe 98 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4468 sc.exe 432 sc.exe 4188 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 value enumerated \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe Key queried \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\NetSh netsh.exe -
Program crash 2 IoCs
pid pid_target Process procid_target 4904 3596 WerFault.exe 81 3476 1644 WerFault.exe 92 -
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 lniohue.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-28_97f05b514a867f29502c66a18573b6e1_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 -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3596 wrote to memory of 2848 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 82 PID 3596 wrote to memory of 2848 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 82 PID 3596 wrote to memory of 2848 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 82 PID 3596 wrote to memory of 2400 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 84 PID 3596 wrote to memory of 2400 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 84 PID 3596 wrote to memory of 2400 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 84 PID 3596 wrote to memory of 4468 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 86 PID 3596 wrote to memory of 4468 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 86 PID 3596 wrote to memory of 4468 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 86 PID 3596 wrote to memory of 432 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 88 PID 3596 wrote to memory of 432 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 88 PID 3596 wrote to memory of 432 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 88 PID 3596 wrote to memory of 4188 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 90 PID 3596 wrote to memory of 4188 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 90 PID 3596 wrote to memory of 4188 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 90 PID 3596 wrote to memory of 4152 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 93 PID 3596 wrote to memory of 4152 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 93 PID 3596 wrote to memory of 4152 3596 2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe 93 PID 1644 wrote to memory of 4364 1644 lniohue.exe 98 PID 1644 wrote to memory of 4364 1644 lniohue.exe 98 PID 1644 wrote to memory of 4364 1644 lniohue.exe 98 PID 1644 wrote to memory of 4364 1644 lniohue.exe 98 PID 1644 wrote to memory of 4364 1644 lniohue.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3596 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gmbxexvz\2⤵
- System Location Discovery: System Language Discovery
PID:2848
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lniohue.exe" C:\Windows\SysWOW64\gmbxexvz\2⤵
- System Location Discovery: System Language Discovery
PID:2400
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create gmbxexvz binPath= "C:\Windows\SysWOW64\gmbxexvz\lniohue.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4468
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description gmbxexvz "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:432
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start gmbxexvz2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4188
-
-
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:4152
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3596 -s 10442⤵
- Program crash
PID:4904
-
-
C:\Windows\SysWOW64\gmbxexvz\lniohue.exeC:\Windows\SysWOW64\gmbxexvz\lniohue.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_97f05b514a867f29502c66a18573b6e1_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1644 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4364
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1644 -s 5602⤵
- Program crash
PID:3476
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3596 -ip 35961⤵PID:244
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 556 -p 1644 -ip 16441⤵PID:428
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.8MB
MD521888bbd791fef8ae20f6c0e3ca52b5e
SHA101e1a242675ede8bec2cf8afff4952d3cd379877
SHA2568ed7880b30ef554dec0564d767e098085a793e80dddec91d88646a88dab00a8e
SHA512a608fd1b0b8d2d644a4cff3860c2e9c2550f25563d7502fbc1497c74736e16e2832516700ad970fc238711baccde3222202866314d7d70d9f45e49538cf69a26