Analysis
-
max time kernel
140s -
max time network
132s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
06-11-2024 18:58
Static task
static1
Behavioral task
behavioral1
Sample
2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe
-
Size
12.0MB
-
MD5
67e1f186a1b891f22c2e76e7427fd639
-
SHA1
bbc15cb6b68329ad3de7040b8b68a684d6aa2320
-
SHA256
ea9c33f87addc3ca9c0ee0c510a022c879a81863b3c6966e8b398a588a549b86
-
SHA512
3b26c6053b35b44d84a2e9fb5ee50f643a1e9c8dd1562b854cf5fad655aac4cb7ed0d1496cca2cc7d7887825c0ac9a47dcbb92a65187f13048cb4a959557b620
-
SSDEEP
49152:wVdrl/8HAzGCbGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGu:wVdrl/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 4604 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\xwrrcehm\ImagePath = "C:\\Windows\\SysWOW64\\xwrrcehm\\gjrrpnra.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-4050598569-1597076380-177084960-1000\Control Panel\International\Geo\Nation 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 3392 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
gjrrpnra.exepid process 1760 gjrrpnra.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
gjrrpnra.exedescription pid process target process PID 1760 set thread context of 3392 1760 gjrrpnra.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 1204 sc.exe 4280 sc.exe 4892 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 4120 448 WerFault.exe 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe 2500 1760 WerFault.exe gjrrpnra.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:
sc.exesvchost.exe2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.execmd.exesc.exesc.exenetsh.exegjrrpnra.execmd.exedescription ioc process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language gjrrpnra.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe -
Suspicious use of WriteProcessMemory 23 IoCs
Processes:
2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exegjrrpnra.exedescription pid process target process PID 448 wrote to memory of 3644 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe cmd.exe PID 448 wrote to memory of 3644 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe cmd.exe PID 448 wrote to memory of 3644 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe cmd.exe PID 448 wrote to memory of 1976 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe cmd.exe PID 448 wrote to memory of 1976 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe cmd.exe PID 448 wrote to memory of 1976 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe cmd.exe PID 448 wrote to memory of 1204 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe sc.exe PID 448 wrote to memory of 1204 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe sc.exe PID 448 wrote to memory of 1204 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe sc.exe PID 448 wrote to memory of 4280 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe sc.exe PID 448 wrote to memory of 4280 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe sc.exe PID 448 wrote to memory of 4280 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe sc.exe PID 448 wrote to memory of 4892 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe sc.exe PID 448 wrote to memory of 4892 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe sc.exe PID 448 wrote to memory of 4892 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe sc.exe PID 448 wrote to memory of 4604 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe netsh.exe PID 448 wrote to memory of 4604 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe netsh.exe PID 448 wrote to memory of 4604 448 2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe netsh.exe PID 1760 wrote to memory of 3392 1760 gjrrpnra.exe svchost.exe PID 1760 wrote to memory of 3392 1760 gjrrpnra.exe svchost.exe PID 1760 wrote to memory of 3392 1760 gjrrpnra.exe svchost.exe PID 1760 wrote to memory of 3392 1760 gjrrpnra.exe svchost.exe PID 1760 wrote to memory of 3392 1760 gjrrpnra.exe svchost.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:448 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xwrrcehm\2⤵
- System Location Discovery: System Language Discovery
PID:3644
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gjrrpnra.exe" C:\Windows\SysWOW64\xwrrcehm\2⤵
- System Location Discovery: System Language Discovery
PID:1976
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create xwrrcehm binPath= "C:\Windows\SysWOW64\xwrrcehm\gjrrpnra.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1204
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description xwrrcehm "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4280
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start xwrrcehm2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4892
-
-
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:4604
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 448 -s 12682⤵
- Program crash
PID:4120
-
-
C:\Windows\SysWOW64\xwrrcehm\gjrrpnra.exeC:\Windows\SysWOW64\xwrrcehm\gjrrpnra.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1760 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3392
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1760 -s 5122⤵
- Program crash
PID:2500
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 448 -ip 4481⤵PID:5088
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1760 -ip 17601⤵PID:2036
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
11.4MB
MD582ddfe28050958289c242f672a3b8497
SHA117ea894415e2e07fb1d95d95ba3f1a9bbe59a570
SHA256c06bf081db47073c7e0ee8ffc6d8d2b4daf4439032727c557fb048635a74a980
SHA512266964eac552408f6cc907c4c84f0a41850ebe991b6c6aed1d4ed43c73d6c55f35f8bdca136bc169b1a62e100265d13904f3d725b29ae74b346af566eed294e8