Analysis
-
max time kernel
146s -
max time network
148s -
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 14:46
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe
-
Size
14.5MB
-
MD5
1b7b67be0014a6822a1f26889820f99f
-
SHA1
d01ecab8311fc9567575b568138773c08ccade22
-
SHA256
7a0d089d8abbfc6489a7ec957a02f9809ea55347ef9a7d67e881df16278f9aec
-
SHA512
3563b4a21702e43b25d934755f2759ae386bb67de91f1512dc8a99f23e51490cb1068a5a4f876f114d6be29857e3e96f1fad8aac9e47b44c35c04cd74424d6d5
-
SSDEEP
393216:NXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXL:5
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 656 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\mcsmzlae\ImagePath = "C:\\Windows\\SysWOW64\\mcsmzlae\\dfyjqymc.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-2089655958-977706906-1981639424-1000\Control Panel\International\Geo\Nation 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe -
Deletes itself 1 IoCs
pid Process 4172 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4108 dfyjqymc.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4108 set thread context of 4172 4108 dfyjqymc.exe 106 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2988 sc.exe 1476 sc.exe 4356 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 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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-06_1b7b67be0014a6822a1f26889820f99f_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 dfyjqymc.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4896 wrote to memory of 3084 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 89 PID 4896 wrote to memory of 3084 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 89 PID 4896 wrote to memory of 3084 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 89 PID 4896 wrote to memory of 832 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 91 PID 4896 wrote to memory of 832 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 91 PID 4896 wrote to memory of 832 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 91 PID 4896 wrote to memory of 2988 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 93 PID 4896 wrote to memory of 2988 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 93 PID 4896 wrote to memory of 2988 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 93 PID 4896 wrote to memory of 1476 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 98 PID 4896 wrote to memory of 1476 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 98 PID 4896 wrote to memory of 1476 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 98 PID 4896 wrote to memory of 4356 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 101 PID 4896 wrote to memory of 4356 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 101 PID 4896 wrote to memory of 4356 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 101 PID 4108 wrote to memory of 4172 4108 dfyjqymc.exe 106 PID 4108 wrote to memory of 4172 4108 dfyjqymc.exe 106 PID 4108 wrote to memory of 4172 4108 dfyjqymc.exe 106 PID 4108 wrote to memory of 4172 4108 dfyjqymc.exe 106 PID 4108 wrote to memory of 4172 4108 dfyjqymc.exe 106 PID 4896 wrote to memory of 656 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 107 PID 4896 wrote to memory of 656 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 107 PID 4896 wrote to memory of 656 4896 2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe 107
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4896 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mcsmzlae\2⤵
- System Location Discovery: System Language Discovery
PID:3084
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dfyjqymc.exe" C:\Windows\SysWOW64\mcsmzlae\2⤵
- System Location Discovery: System Language Discovery
PID:832
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create mcsmzlae binPath= "C:\Windows\SysWOW64\mcsmzlae\dfyjqymc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2988
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description mcsmzlae "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1476
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start mcsmzlae2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4356
-
-
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:656
-
-
C:\Windows\SysWOW64\mcsmzlae\dfyjqymc.exeC:\Windows\SysWOW64\mcsmzlae\dfyjqymc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-06_1b7b67be0014a6822a1f26889820f99f_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4108 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4172
-
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.6MB
MD5f459bea29e6b053f0579414f1567e7f5
SHA1b3c21498ac4bf3e3f92b5b9b8e46abf8d0f8491f
SHA25607cd63a39bc7e39cc04f8ae3833efba10b921cf741fd1b73ab2fbdd2499a639d
SHA51240ad31fc9bb62d32b61f9dda1efce44d4194c3c23edfc6bc33798a65f4cfc77015f1b2bfbc660d310d3cbcf8cde9ac6c7fffca02a8db1bb3202dfcb64251f66b