Analysis
-
max time kernel
145s -
max time network
142s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
29/01/2025, 17:42
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe
-
Size
12.4MB
-
MD5
cf2e3c0be26450cbab80b728d8789650
-
SHA1
58f4d81c6127d6da8dfde18fdfaa433aba54af12
-
SHA256
dc7c95788c1c469180356c18a99f3ad1b71f609eabbd51a85966f83f245c252b
-
SHA512
3f8222faa36a11ab4d0344cc475902d5a482dd58ef4b2922cf536dcc62c076a678fa6ffc34ffbc3b3215709032c790d19ca613b138b09a174756dce656cb974c
-
SSDEEP
49152:zqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:zqtYc3
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 4484 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\sxmvarro\ImagePath = "C:\\Windows\\SysWOW64\\sxmvarro\\xwkmaxyq.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-4089630652-1596403869-279772308-1000\Control Panel\International\Geo\Nation 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe -
Deletes itself 1 IoCs
pid Process 2344 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3820 xwkmaxyq.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3820 set thread context of 2344 3820 xwkmaxyq.exe 95 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2584 sc.exe 4924 sc.exe 748 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 3960 3712 WerFault.exe 83 2616 3820 WerFault.exe 94 -
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 svchost.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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language xwkmaxyq.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3712 wrote to memory of 1312 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 84 PID 3712 wrote to memory of 1312 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 84 PID 3712 wrote to memory of 1312 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 84 PID 3712 wrote to memory of 4332 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 86 PID 3712 wrote to memory of 4332 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 86 PID 3712 wrote to memory of 4332 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 86 PID 3712 wrote to memory of 748 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 88 PID 3712 wrote to memory of 748 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 88 PID 3712 wrote to memory of 748 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 88 PID 3712 wrote to memory of 2584 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 90 PID 3712 wrote to memory of 2584 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 90 PID 3712 wrote to memory of 2584 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 90 PID 3712 wrote to memory of 4924 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 92 PID 3712 wrote to memory of 4924 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 92 PID 3712 wrote to memory of 4924 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 92 PID 3820 wrote to memory of 2344 3820 xwkmaxyq.exe 95 PID 3820 wrote to memory of 2344 3820 xwkmaxyq.exe 95 PID 3820 wrote to memory of 2344 3820 xwkmaxyq.exe 95 PID 3820 wrote to memory of 2344 3820 xwkmaxyq.exe 95 PID 3820 wrote to memory of 2344 3820 xwkmaxyq.exe 95 PID 3712 wrote to memory of 4484 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 97 PID 3712 wrote to memory of 4484 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 97 PID 3712 wrote to memory of 4484 3712 2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe 97
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3712 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sxmvarro\2⤵
- System Location Discovery: System Language Discovery
PID:1312
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xwkmaxyq.exe" C:\Windows\SysWOW64\sxmvarro\2⤵
- System Location Discovery: System Language Discovery
PID:4332
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create sxmvarro binPath= "C:\Windows\SysWOW64\sxmvarro\xwkmaxyq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:748
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description sxmvarro "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2584
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start sxmvarro2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4924
-
-
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:4484
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3712 -s 12642⤵
- Program crash
PID:3960
-
-
C:\Windows\SysWOW64\sxmvarro\xwkmaxyq.exeC:\Windows\SysWOW64\sxmvarro\xwkmaxyq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_cf2e3c0be26450cbab80b728d8789650_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3820 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2344
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3820 -s 5122⤵
- Program crash
PID:2616
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 3712 -ip 37121⤵PID:4716
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3820 -ip 38201⤵PID:4744
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
12.8MB
MD58bdbca894376b8c9a864ac11879ddb58
SHA18edf0912d7a6574770ec52d56d89ced568d5c5ab
SHA2560fa9658a9944e2a5fd88eb5fa7b9bd44cd065257f3aeaac1e645566f0fecd131
SHA512974fbcdeaf2219b4fe8fcb4e95e740dbb705c6f8460147fd8f73f073fd387c0d70127a2bc9ed989310ddee9d21e2a1c4b1d319435dd73ce0c1ca364386a6690f