Analysis
-
max time kernel
146s -
max time network
146s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
06-02-2025 06:03
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe
-
Size
12.6MB
-
MD5
1a38a6e71e99568d0f9066b44bc890cf
-
SHA1
a8741156acc3a1baf0d04783c5931b3df15763cc
-
SHA256
474e7f88aac0629335683b2066e36ae4e9fb015cec2ddc47483948ab8c1aa8ec
-
SHA512
6c093c7648f10abb220dfacd9c786e20daedde6a16b5a9f7e96c55b29bac9993354294f3cfac84bdd8884d79974e448a3e8e4321e171e9d5ce264011d6f212a7
-
SSDEEP
393216:cXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXE:7
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
pid Process 1020 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\kcoabraz\ImagePath = "C:\\Windows\\SysWOW64\\kcoabraz\\hcgyozbz.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-4003209913-3868522715-854928974-1000\Control Panel\International\Geo\Nation 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe -
Deletes itself 1 IoCs
pid Process 2716 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3376 hcgyozbz.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3376 set thread context of 2716 3376 hcgyozbz.exe 100 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1556 sc.exe 2236 sc.exe 3860 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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language hcgyozbz.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1116 wrote to memory of 4668 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 85 PID 1116 wrote to memory of 4668 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 85 PID 1116 wrote to memory of 4668 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 85 PID 1116 wrote to memory of 1764 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 89 PID 1116 wrote to memory of 1764 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 89 PID 1116 wrote to memory of 1764 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 89 PID 1116 wrote to memory of 3860 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 91 PID 1116 wrote to memory of 3860 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 91 PID 1116 wrote to memory of 3860 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 91 PID 1116 wrote to memory of 1556 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 94 PID 1116 wrote to memory of 1556 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 94 PID 1116 wrote to memory of 1556 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 94 PID 1116 wrote to memory of 2236 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 96 PID 1116 wrote to memory of 2236 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 96 PID 1116 wrote to memory of 2236 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 96 PID 3376 wrote to memory of 2716 3376 hcgyozbz.exe 100 PID 3376 wrote to memory of 2716 3376 hcgyozbz.exe 100 PID 3376 wrote to memory of 2716 3376 hcgyozbz.exe 100 PID 3376 wrote to memory of 2716 3376 hcgyozbz.exe 100 PID 3376 wrote to memory of 2716 3376 hcgyozbz.exe 100 PID 1116 wrote to memory of 1020 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 103 PID 1116 wrote to memory of 1020 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 103 PID 1116 wrote to memory of 1020 1116 2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe 103
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1116 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kcoabraz\2⤵
- System Location Discovery: System Language Discovery
PID:4668
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hcgyozbz.exe" C:\Windows\SysWOW64\kcoabraz\2⤵
- System Location Discovery: System Language Discovery
PID:1764
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create kcoabraz binPath= "C:\Windows\SysWOW64\kcoabraz\hcgyozbz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3860
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description kcoabraz "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1556
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start kcoabraz2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2236
-
-
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:1020
-
-
C:\Windows\SysWOW64\kcoabraz\hcgyozbz.exeC:\Windows\SysWOW64\kcoabraz\hcgyozbz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-06_1a38a6e71e99568d0f9066b44bc890cf_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3376 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2716
-
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
14.8MB
MD5e63cfe357089c232ec9ec2279b427741
SHA1067e92a765691c0a8bd427b3b337ee2d0e949742
SHA25619b2c80671cdb348b9a49acbe64d49d6cf5908eeb3723d2ef617c11811cf4eb1
SHA512aaad01288616228674841b7703a9792c87b7a47f8909a571e1c98d43253ec095eccb4e7eb756cd4b9cbce5a0b062e7c4084c0f8e8f1f623da9f4afe4239eb8e4