Analysis
-
max time kernel
148s -
max time network
149s -
platform
windows10-2004_x64 -
resource
win10v2004-20240611-en -
resource tags
arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system -
submitted
18-06-2024 20:20
Static task
static1
Behavioral task
behavioral1
Sample
2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe
Resource
win7-20240611-en
Behavioral task
behavioral2
Sample
2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe
Resource
win10v2004-20240611-en
General
-
Target
2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe
-
Size
11.8MB
-
MD5
e47cf404094bbac14300b8b6525cc895
-
SHA1
4aa8d94eca6db073799dab29a2995f41451fbf9e
-
SHA256
2b1a7ddd00423c781fb634cc0c0503d497d87d2ea446e6ed5aea5d2519908926
-
SHA512
903f147de2009507effe3a65b91103db46ed659c16ea2f0ee50c48101b1b34edb6f6392591ed367765567acc8e824595637be5a67788018bd80103778370852c
-
SSDEEP
6144:z+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:z+r1IeSXMXc7LlxWV4Ug97GZ+ej
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
Processes:
netsh.exepid process 2244 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\trhazyfh\ImagePath = "C:\\Windows\\SysWOW64\\trhazyfh\\sqxtsbzq.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-3169499791-3545231813-3156325206-1000\Control Panel\International\Geo\Nation 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 916 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
sqxtsbzq.exepid process 4784 sqxtsbzq.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
sqxtsbzq.exedescription pid process target process PID 4784 set thread context of 916 4784 sqxtsbzq.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 2212 sc.exe 2328 sc.exe 1152 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 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 -
Suspicious use of WriteProcessMemory 23 IoCs
Processes:
2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exesqxtsbzq.exedescription pid process target process PID 2184 wrote to memory of 2272 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe cmd.exe PID 2184 wrote to memory of 2272 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe cmd.exe PID 2184 wrote to memory of 2272 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe cmd.exe PID 2184 wrote to memory of 3032 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe cmd.exe PID 2184 wrote to memory of 3032 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe cmd.exe PID 2184 wrote to memory of 3032 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe cmd.exe PID 2184 wrote to memory of 2212 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2184 wrote to memory of 2212 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2184 wrote to memory of 2212 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2184 wrote to memory of 2328 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2184 wrote to memory of 2328 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2184 wrote to memory of 2328 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2184 wrote to memory of 1152 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2184 wrote to memory of 1152 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2184 wrote to memory of 1152 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe sc.exe PID 2184 wrote to memory of 2244 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe netsh.exe PID 2184 wrote to memory of 2244 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe netsh.exe PID 2184 wrote to memory of 2244 2184 2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe netsh.exe PID 4784 wrote to memory of 916 4784 sqxtsbzq.exe svchost.exe PID 4784 wrote to memory of 916 4784 sqxtsbzq.exe svchost.exe PID 4784 wrote to memory of 916 4784 sqxtsbzq.exe svchost.exe PID 4784 wrote to memory of 916 4784 sqxtsbzq.exe svchost.exe PID 4784 wrote to memory of 916 4784 sqxtsbzq.exe svchost.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:2184 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\trhazyfh\2⤵PID:2272
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sqxtsbzq.exe" C:\Windows\SysWOW64\trhazyfh\2⤵PID:3032
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create trhazyfh binPath= "C:\Windows\SysWOW64\trhazyfh\sqxtsbzq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
PID:2212 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description trhazyfh "wifi internet conection"2⤵
- Launches sc.exe
PID:2328 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start trhazyfh2⤵
- Launches sc.exe
PID:1152 -
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
PID:2244
-
C:\Windows\SysWOW64\trhazyfh\sqxtsbzq.exeC:\Windows\SysWOW64\trhazyfh\sqxtsbzq.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:4784 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
PID:916
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
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
10.5MB
MD5a0555bbebc7b275f4ac5f247168e1f08
SHA1fc690e98acbb5340d81c4b90e1dd9e9c81a08136
SHA256a0feaee6566a18783973e1285d980bda45c6dad579469991438c65fa300fd039
SHA51298b029a4748f2b77f24eaed8ab220aad923677366bc9b7b5e6f830c26361669d3232bde6e40126d761bb71005cfa490deea7437a5cb9ecaf90b1a6e96eb20307