Analysis
-
max time kernel
141s -
max time network
140s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
03-11-2024 19:58
Static task
static1
Behavioral task
behavioral1
Sample
2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe
-
Size
14.1MB
-
MD5
8af6002a981252a165b5d1e4922816b5
-
SHA1
c0123dc3b19fdc3946afc95876956980e46357c7
-
SHA256
a0abc9943a508f9fe58aa49a3d90f88359c97cad7da5e3879dcd5ad86f65a98f
-
SHA512
56d900a15734a32fbece3831ca9cf0c1a887a3831d11c67fa758cd10681272cbdf4c315ce76c175e304c31328fd35504abb55a45d1d4350280f183a41ea0a2ad
-
SSDEEP
49152:vVdrl/8HAzGCbGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGW:vVdrl/9zG
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
Processes:
netsh.exepid process 3852 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
Processes:
svchost.exedescription ioc process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\uniydix\ImagePath = "C:\\Windows\\SysWOW64\\uniydix\\hcjgfcyz.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-4050598569-1597076380-177084960-1000\Control Panel\International\Geo\Nation 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 556 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
hcjgfcyz.exepid process 3788 hcjgfcyz.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
hcjgfcyz.exedescription pid process target process PID 3788 set thread context of 556 3788 hcjgfcyz.exe svchost.exe -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
Processes:
sc.exesc.exesc.exepid process 1728 sc.exe 2080 sc.exe 2924 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.
Processes:
netsh.exedescription 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
Processes:
WerFault.exeWerFault.exepid pid_target process target process 1928 2812 WerFault.exe 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe 1228 3788 WerFault.exe hcjgfcyz.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.
Processes:
cmd.exesc.exenetsh.exesvchost.exe2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.execmd.exesc.exesc.exehcjgfcyz.exedescription ioc process 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 Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2024-11-03_8af6002a981252a165b5d1e4922816b5_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 hcjgfcyz.exe -
Suspicious use of WriteProcessMemory 23 IoCs
Processes:
2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exehcjgfcyz.exedescription pid process target process PID 2812 wrote to memory of 2192 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe cmd.exe PID 2812 wrote to memory of 2192 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe cmd.exe PID 2812 wrote to memory of 2192 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe cmd.exe PID 2812 wrote to memory of 3732 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe cmd.exe PID 2812 wrote to memory of 3732 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe cmd.exe PID 2812 wrote to memory of 3732 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe cmd.exe PID 2812 wrote to memory of 1728 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe sc.exe PID 2812 wrote to memory of 1728 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe sc.exe PID 2812 wrote to memory of 1728 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe sc.exe PID 2812 wrote to memory of 2080 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe sc.exe PID 2812 wrote to memory of 2080 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe sc.exe PID 2812 wrote to memory of 2080 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe sc.exe PID 2812 wrote to memory of 2924 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe sc.exe PID 2812 wrote to memory of 2924 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe sc.exe PID 2812 wrote to memory of 2924 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe sc.exe PID 2812 wrote to memory of 3852 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe netsh.exe PID 2812 wrote to memory of 3852 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe netsh.exe PID 2812 wrote to memory of 3852 2812 2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe netsh.exe PID 3788 wrote to memory of 556 3788 hcjgfcyz.exe svchost.exe PID 3788 wrote to memory of 556 3788 hcjgfcyz.exe svchost.exe PID 3788 wrote to memory of 556 3788 hcjgfcyz.exe svchost.exe PID 3788 wrote to memory of 556 3788 hcjgfcyz.exe svchost.exe PID 3788 wrote to memory of 556 3788 hcjgfcyz.exe svchost.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2812 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uniydix\2⤵
- System Location Discovery: System Language Discovery
PID:2192
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hcjgfcyz.exe" C:\Windows\SysWOW64\uniydix\2⤵
- System Location Discovery: System Language Discovery
PID:3732
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create uniydix binPath= "C:\Windows\SysWOW64\uniydix\hcjgfcyz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1728
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description uniydix "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2080
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start uniydix2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2924
-
-
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:3852
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2812 -s 7882⤵
- Program crash
PID:1928
-
-
C:\Windows\SysWOW64\uniydix\hcjgfcyz.exeC:\Windows\SysWOW64\uniydix\hcjgfcyz.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-03_8af6002a981252a165b5d1e4922816b5_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3788 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:556
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3788 -s 5122⤵
- Program crash
PID:1228
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2812 -ip 28121⤵PID:3160
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3788 -ip 37881⤵PID:1708
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
MD5ac35a404dafba0f53a5845bf2dd78c2d
SHA1e17a8f13d4fef40640302246235395a96c3bc6ac
SHA256ac7a3e3a6d2faa4da2eb9f75662b3f9c7340f66e4781252626ef9918106f5d88
SHA512f3405322a2ae9bee75350a85bd11adda29322e836e997f483d3c8b3863e33c3308cedbd80b29a06fa10e7f50d82086d2702fb1ff63e5414c5ddd4e4dc7872522