Analysis
- max time kernel
145s - max time network
139s - platform
windows10-2004_x64 - resource
win10v2004-20240802-en - resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system - submitted
09/08/2024, 21:24
Static task
static1
Behavioral task
behavioral1
Sample
2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe
Resource
win7-20240704-en
Behavioral task
behavioral2
Sample
2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe
Resource
win10v2004-20240802-en
General
- Target 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe
- Size 13.8MB
- Sample240809-z8z12azcmp
- SHA256 338f38a62bbe7ea0f03035bf9bd71e1edd504b46556fa3a620b1123dc330e663
- MD5 d676e54dfc6015bf44238f90c92c7bbd
- SHA1 f14710585e6fcf5ab09cf9d9c4e910c0fca78560
- SHA512 f2426826f9de60c102ac3db652350b100b8c66b12eb53fb643543ecd5776b6d5eb7a21ffdd8c55f564c93da8c4433729565bcbd9b15e5294ed39a94c63fade27
- SSDEEP 6144:i+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:i+r1IeSXMXc7LlxWV4Ug97GZ+ej
- 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 4596 netsh.exe - Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\psjmjstj\ImagePath = "C:\\Windows\\SysWOW64\\psjmjstj\\fwpszmyx.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-1194130065-3471212556-1656947724-1000\Control Panel\International\Geo\Nation 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe - Deletes itself 1 IoCs
pid Process 1652 svchost.exe - Executes dropped EXE 1 IoCs
pid Process 1944 fwpszmyx.exe - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1944 set thread context of 1652 1944 fwpszmyx.exe 106 - Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1080 sc.exe 3812 sc.exe 440 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 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_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 fwpszmyx.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 Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe - Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4484 wrote to memory of 3040 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 88 PID 4484 wrote to memory of 3040 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 88 PID 4484 wrote to memory of 3040 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 88 PID 4484 wrote to memory of 4020 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 91 PID 4484 wrote to memory of 4020 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 91 PID 4484 wrote to memory of 4020 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 91 PID 4484 wrote to memory of 1080 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 93 PID 4484 wrote to memory of 1080 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 93 PID 4484 wrote to memory of 1080 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 93 PID 4484 wrote to memory of 3812 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 97 PID 4484 wrote to memory of 3812 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 97 PID 4484 wrote to memory of 3812 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 97 PID 4484 wrote to memory of 440 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 99 PID 4484 wrote to memory of 440 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 99 PID 4484 wrote to memory of 440 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 99 PID 4484 wrote to memory of 4596 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 103 PID 4484 wrote to memory of 4596 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 103 PID 4484 wrote to memory of 4596 4484 2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe 103 PID 1944 wrote to memory of 1652 1944 fwpszmyx.exe 106 PID 1944 wrote to memory of 1652 1944 fwpszmyx.exe 106 PID 1944 wrote to memory of 1652 1944 fwpszmyx.exe 106 PID 1944 wrote to memory of 1652 1944 fwpszmyx.exe 106 PID 1944 wrote to memory of 1652 1944 fwpszmyx.exe 106
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4484 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\psjmjstj\2⤵
- System Location Discovery: System Language Discovery
PID:3040
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fwpszmyx.exe" C:\Windows\SysWOW64\psjmjstj\2⤵
- System Location Discovery: System Language Discovery
PID:4020
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create psjmjstj binPath= "C:\Windows\SysWOW64\psjmjstj\fwpszmyx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1080
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description psjmjstj "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3812
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start psjmjstj2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:440
-
-
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:4596
-
-
C:\Windows\SysWOW64\psjmjstj\fwpszmyx.exeC:\Windows\SysWOW64\psjmjstj\fwpszmyx.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-08-09_d676e54dfc6015bf44238f90c92c7bbd_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1944 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1652
-
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
- Path C:\Users\Admin\AppData\Local\Temp\fwpszmyx.exe
- Size 11.9MB
- SHA256 167ab315cc8d1a16908208a61cb352b87dcbd85d7ec4188e7d3c5789f02fc780
- MD5 4dbac7c86aa4fdc432ac24c43ded480c
- SHA1 de038761af9a725437f1efe1b111fcd635ce27ea
- SHA512 4ce8a883f65d5fb7fba5c7052948759a2d552eb7a714df669f8c26f69d5922c4facc69143063e30e9908dd877100f2c9e4fae9782f91a238b892db9edffde50b
- SSDEEP 6144:D+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:D+r1IeSXMXc7LlxWV4Ug97GZ+ej
- MD5 SHA1 SHA512 SSDEEP