Analysis
-
max time kernel
145s -
max time network
124s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
29/01/2025, 17:36
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe
-
Size
12.7MB
-
MD5
d843097807b69f23d9e9b92c78a6aef6
-
SHA1
b169759391428e792bf917b88eac0d08a96a2e0d
-
SHA256
71c8fa2e70bca29e60ee2f1dfcf36248aee5b23025b4aec2ecb20e5954a434d7
-
SHA512
76fd4d1f5fb81d17e25ae675b29c5f947ab87c6a26250e29ec07bb821ea0310b7ed1d98d90e56da95968aef0fb821aa9632391d1d33ba05c1823331eaa8d0674
-
SSDEEP
3072:4LBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:1OMdRQr7OB0ypmMXnl8XEPM3noSWOC
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Tofsee family
-
Windows security bypass 2 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Windows\SysWOW64\lexfqmez = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2452 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\lexfqmez\ImagePath = "C:\\Windows\\SysWOW64\\lexfqmez\\dcqsgdew.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 3044 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2584 dcqsgdew.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2584 set thread context of 3044 2584 dcqsgdew.exe 41 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2724 sc.exe 2736 sc.exe 796 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 dcqsgdew.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-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2720 wrote to memory of 2712 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 30 PID 2720 wrote to memory of 2712 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 30 PID 2720 wrote to memory of 2712 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 30 PID 2720 wrote to memory of 2712 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 30 PID 2720 wrote to memory of 2696 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 32 PID 2720 wrote to memory of 2696 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 32 PID 2720 wrote to memory of 2696 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 32 PID 2720 wrote to memory of 2696 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 32 PID 2720 wrote to memory of 2724 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 34 PID 2720 wrote to memory of 2724 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 34 PID 2720 wrote to memory of 2724 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 34 PID 2720 wrote to memory of 2724 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 34 PID 2720 wrote to memory of 2736 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 36 PID 2720 wrote to memory of 2736 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 36 PID 2720 wrote to memory of 2736 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 36 PID 2720 wrote to memory of 2736 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 36 PID 2720 wrote to memory of 796 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 38 PID 2720 wrote to memory of 796 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 38 PID 2720 wrote to memory of 796 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 38 PID 2720 wrote to memory of 796 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 38 PID 2584 wrote to memory of 3044 2584 dcqsgdew.exe 41 PID 2584 wrote to memory of 3044 2584 dcqsgdew.exe 41 PID 2584 wrote to memory of 3044 2584 dcqsgdew.exe 41 PID 2584 wrote to memory of 3044 2584 dcqsgdew.exe 41 PID 2584 wrote to memory of 3044 2584 dcqsgdew.exe 41 PID 2584 wrote to memory of 3044 2584 dcqsgdew.exe 41 PID 2720 wrote to memory of 2452 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 42 PID 2720 wrote to memory of 2452 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 42 PID 2720 wrote to memory of 2452 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 42 PID 2720 wrote to memory of 2452 2720 2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe 42
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2720 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lexfqmez\2⤵
- System Location Discovery: System Language Discovery
PID:2712
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dcqsgdew.exe" C:\Windows\SysWOW64\lexfqmez\2⤵
- System Location Discovery: System Language Discovery
PID:2696
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create lexfqmez binPath= "C:\Windows\SysWOW64\lexfqmez\dcqsgdew.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2724
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description lexfqmez "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2736
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start lexfqmez2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:796
-
-
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:2452
-
-
C:\Windows\SysWOW64\lexfqmez\dcqsgdew.exeC:\Windows\SysWOW64\lexfqmez\dcqsgdew.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2584 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3044
-
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
2Disable or Modify System Firewall
1Disable or Modify Tools
1Modify Registry
2Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
13.7MB
MD58752ea21725d02a08b552e429935a9b0
SHA1f6ccf36c54027ae325824bd47d557450ed991f1e
SHA256a9f1efd49757a648665e18f348e75de9133a423bba18e0cce1cf49f1a7b2f9a0
SHA512b10a27416cce70699733513a36d757623ab77aa3a6e9d5413ff2471d87ec9346529f545d857540fec84995282df2f642b1f470374525a18672788ee706a423a8