Analysis
- max time kernel
149s - max time network
150s - platform
windows10-2004_x64 - resource
win10v2004-20240508-en - resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system - submitted
02/06/2024, 13:56
Static task
static1
Behavioral task
behavioral1
Sample
2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe
Resource
win7-20240221-en
Behavioral task
behavioral2
Sample
2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe
Resource
win10v2004-20240508-en
General
- Target 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe
- Size 11.8MB
- Sample240602-q8t1cafa27
- SHA256 e2174b13537dc8234e6c932a9120ab6d5eb004dd091857a181ae9eb3df542497
- MD5 ade63dc75ea4fa564bf4e22305ed117d
- SHA1 7f82f3e44665fc2c7c5700199f12660147d715ac
- SHA512 8fcf2d0bb49fad3c74047339f2c34b5dfffba5646141385715466c09f2dd3dbadefff0c8af2aab16944e6bc19ddaeda079e2c0bc86f1fd1383408e4e26806690
- SSDEEP 6144:0mi0ogaXSQeSb79dvDUqpTOZ2mGs2839FLP+oUe5mjXFt0/DAooooooooooooooH:S0oRXSQeE79dvDUqlOUkP9F21pt
- MD5 SHA1 SHA512 SSDEEP
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 704 netsh.exe - Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\cxqndugt\ImagePath = "C:\\Windows\\SysWOW64\\cxqndugt\\hkssqosb.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-1337824034-2731376981-3755436523-1000\Control Panel\International\Geo\Nation 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe - Deletes itself 1 IoCs
pid Process 1256 svchost.exe - Executes dropped EXE 1 IoCs
pid Process 3260 hkssqosb.exe - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3260 set thread context of 1256 3260 hkssqosb.exe 108 - Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 216 sc.exe 1292 sc.exe 2904 sc.exe - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Program crash 2 IoCs
pid pid_target Process procid_target 2168 3160 WerFault.exe 83 568 3260 WerFault.exe 101 - Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3160 wrote to memory of 4108 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 90 PID 3160 wrote to memory of 4108 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 90 PID 3160 wrote to memory of 4108 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 90 PID 3160 wrote to memory of 1716 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 93 PID 3160 wrote to memory of 1716 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 93 PID 3160 wrote to memory of 1716 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 93 PID 3160 wrote to memory of 216 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 95 PID 3160 wrote to memory of 216 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 95 PID 3160 wrote to memory of 216 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 95 PID 3160 wrote to memory of 1292 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 97 PID 3160 wrote to memory of 1292 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 97 PID 3160 wrote to memory of 1292 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 97 PID 3160 wrote to memory of 2904 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 99 PID 3160 wrote to memory of 2904 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 99 PID 3160 wrote to memory of 2904 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 99 PID 3160 wrote to memory of 704 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 102 PID 3160 wrote to memory of 704 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 102 PID 3160 wrote to memory of 704 3160 2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe 102 PID 3260 wrote to memory of 1256 3260 hkssqosb.exe 108 PID 3260 wrote to memory of 1256 3260 hkssqosb.exe 108 PID 3260 wrote to memory of 1256 3260 hkssqosb.exe 108 PID 3260 wrote to memory of 1256 3260 hkssqosb.exe 108 PID 3260 wrote to memory of 1256 3260 hkssqosb.exe 108
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:3160 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cxqndugt\2⤵PID:4108
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hkssqosb.exe" C:\Windows\SysWOW64\cxqndugt\2⤵PID:1716
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create cxqndugt binPath= "C:\Windows\SysWOW64\cxqndugt\hkssqosb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
PID:216
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description cxqndugt "wifi internet conection"2⤵
- Launches sc.exe
PID:1292
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start cxqndugt2⤵
- Launches sc.exe
PID:2904
-
-
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
PID:704
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3160 -s 12602⤵
- Program crash
PID:2168
-
-
C:\Windows\SysWOW64\cxqndugt\hkssqosb.exeC:\Windows\SysWOW64\cxqndugt\hkssqosb.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-02_ade63dc75ea4fa564bf4e22305ed117d_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:3260 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
PID:1256
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3260 -s 5322⤵
- Program crash
PID:568
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3160 -ip 31601⤵PID:2052
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3260 -ip 32601⤵PID:2812
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
2Windows Service
2Privilege Escalation
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
2Windows Service
2Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\hkssqosb.exe
- Size 14.8MB
- SHA256 36cac52489208bfa2ee73d3abf1f6aa248349b65a765c89bcdfaa3bca646035b
- MD5 ca5ccaeff628f85a0dc361272c19a14d
- SHA1 d8e9b00b8ce9c67a964ca9bb2a41dbd039498b0b
- SHA512 fb56a5610fddc55a1a7af461882cf229e8703103b039344eb779b7003a8b4015b15a1d195809adb13da3983c190d81ceb43dcc436ca1b4f9ce41393da566d17d
- SSDEEP 6144:Ymi0ogaXSQeSb79dvDUqpTOZ2mGs2839FLP+oUe5mjXFt0/DAooooooooooooooo:W0oRXSQeE79dvDUqlOUkP9F21pt
- MD5 SHA1 SHA512 SSDEEP