Analysis
-
max time kernel
149s -
max time network
161s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
08-10-2024 12:12
Static task
static1
Behavioral task
behavioral1
Sample
2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe
-
Size
13.1MB
-
MD5
cbe4039a430cd860ed47cdb1d3e0401a
-
SHA1
4fc93cbda5f8e8b69547b1ebc3ef3ff544bbc977
-
SHA256
8caaa77edf1243eec9a766ad37679232215994a8d7f9d2d45d1778f4577f9a26
-
SHA512
a0e587337edc018e39a5d5f518504f2d153738595590e1ae1b8eb75912502308dc89914393d990ead4d0b9a68d1e6ca5fbbe08bbfc9b20c34738dff7713d0fc0
-
SSDEEP
12288:TVbj7zJB99tzBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBv:TJzXd
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 4952 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\xlrqahsm\ImagePath = "C:\\Windows\\SysWOW64\\xlrqahsm\\hjcnucqg.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-3442511616-637977696-3186306149-1000\Control Panel\International\Geo\Nation 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe -
Deletes itself 1 IoCs
pid Process 4884 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2436 hjcnucqg.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2436 set thread context of 4884 2436 hjcnucqg.exe 98 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 988 sc.exe 4120 sc.exe 4220 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 -
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 hjcnucqg.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_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 2116 wrote to memory of 4196 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 85 PID 2116 wrote to memory of 4196 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 85 PID 2116 wrote to memory of 4196 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 85 PID 2116 wrote to memory of 2296 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 87 PID 2116 wrote to memory of 2296 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 87 PID 2116 wrote to memory of 2296 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 87 PID 2116 wrote to memory of 988 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 89 PID 2116 wrote to memory of 988 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 89 PID 2116 wrote to memory of 988 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 89 PID 2116 wrote to memory of 4120 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 91 PID 2116 wrote to memory of 4120 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 91 PID 2116 wrote to memory of 4120 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 91 PID 2116 wrote to memory of 4220 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 93 PID 2116 wrote to memory of 4220 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 93 PID 2116 wrote to memory of 4220 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 93 PID 2116 wrote to memory of 4952 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 96 PID 2116 wrote to memory of 4952 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 96 PID 2116 wrote to memory of 4952 2116 2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe 96 PID 2436 wrote to memory of 4884 2436 hjcnucqg.exe 98 PID 2436 wrote to memory of 4884 2436 hjcnucqg.exe 98 PID 2436 wrote to memory of 4884 2436 hjcnucqg.exe 98 PID 2436 wrote to memory of 4884 2436 hjcnucqg.exe 98 PID 2436 wrote to memory of 4884 2436 hjcnucqg.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2116 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xlrqahsm\2⤵
- System Location Discovery: System Language Discovery
PID:4196
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hjcnucqg.exe" C:\Windows\SysWOW64\xlrqahsm\2⤵
- System Location Discovery: System Language Discovery
PID:2296
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create xlrqahsm binPath= "C:\Windows\SysWOW64\xlrqahsm\hjcnucqg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:988
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description xlrqahsm "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4120
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start xlrqahsm2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4220
-
-
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:4952
-
-
C:\Windows\SysWOW64\xlrqahsm\hjcnucqg.exeC:\Windows\SysWOW64\xlrqahsm\hjcnucqg.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2436 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4884
-
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
MD5ac3f66e94dcb83ceb7f8024909336a2b
SHA111365810fb913a74ab5a620ce206535e9b4e6e48
SHA256258cd507895d397ae15c0b580f3598ded8e3e4aa7b24a229e00c9f62c1df22a4
SHA512b77ad03d80ce74b933f4bdce63d16cd5e559f8f5d60533859fd6decb6c0ea430858ea8b4b02a0bb423b1188273ab4aa367c74767cdfa29f98fd6c43e7d0199ea