Analysis
-
max time kernel
144s -
max time network
118s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
25-01-2025 18:43
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe
-
Size
10.3MB
-
MD5
5349a8ef8ca967bde36d9261ed712f15
-
SHA1
cb38207ee1430bc4781a7b2f0d25c3605bea3fa2
-
SHA256
4788a7c613284b815b02b29660d175a940ed28822171bf0b4f145404b35a8dd2
-
SHA512
9e558a7835df822e240f690fbfacc7bf94bf94602d43419c3afa6a903d08ec2d0a7985e5537338636bf2950344b5f646cf6fc4c698b2f42b08e5c6ee6d1ec440
-
SSDEEP
24576:UEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZb:xfot
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\caowxosb = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 1740 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\caowxosb\ImagePath = "C:\\Windows\\SysWOW64\\caowxosb\\ulhofeim.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 1012 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2988 ulhofeim.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2988 set thread context of 1012 2988 ulhofeim.exe 43 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2504 sc.exe 2640 sc.exe 2540 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 value enumerated \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\NetSh netsh.exe Key opened \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\NetSh netsh.exe Key queried \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-01-25_5349a8ef8ca967bde36d9261ed712f15_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 ulhofeim.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2916 wrote to memory of 2688 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 30 PID 2916 wrote to memory of 2688 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 30 PID 2916 wrote to memory of 2688 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 30 PID 2916 wrote to memory of 2688 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 30 PID 2916 wrote to memory of 2780 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 32 PID 2916 wrote to memory of 2780 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 32 PID 2916 wrote to memory of 2780 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 32 PID 2916 wrote to memory of 2780 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 32 PID 2916 wrote to memory of 2640 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 34 PID 2916 wrote to memory of 2640 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 34 PID 2916 wrote to memory of 2640 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 34 PID 2916 wrote to memory of 2640 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 34 PID 2916 wrote to memory of 2540 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 36 PID 2916 wrote to memory of 2540 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 36 PID 2916 wrote to memory of 2540 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 36 PID 2916 wrote to memory of 2540 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 36 PID 2916 wrote to memory of 2504 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 38 PID 2916 wrote to memory of 2504 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 38 PID 2916 wrote to memory of 2504 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 38 PID 2916 wrote to memory of 2504 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 38 PID 2916 wrote to memory of 1740 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 41 PID 2916 wrote to memory of 1740 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 41 PID 2916 wrote to memory of 1740 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 41 PID 2916 wrote to memory of 1740 2916 2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe 41 PID 2988 wrote to memory of 1012 2988 ulhofeim.exe 43 PID 2988 wrote to memory of 1012 2988 ulhofeim.exe 43 PID 2988 wrote to memory of 1012 2988 ulhofeim.exe 43 PID 2988 wrote to memory of 1012 2988 ulhofeim.exe 43 PID 2988 wrote to memory of 1012 2988 ulhofeim.exe 43 PID 2988 wrote to memory of 1012 2988 ulhofeim.exe 43
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2916 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\caowxosb\2⤵
- System Location Discovery: System Language Discovery
PID:2688
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ulhofeim.exe" C:\Windows\SysWOW64\caowxosb\2⤵
- System Location Discovery: System Language Discovery
PID:2780
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create caowxosb binPath= "C:\Windows\SysWOW64\caowxosb\ulhofeim.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2640
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description caowxosb "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2540
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start caowxosb2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2504
-
-
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:1740
-
-
C:\Windows\SysWOW64\caowxosb\ulhofeim.exeC:\Windows\SysWOW64\caowxosb\ulhofeim.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2988 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1012
-
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
11.6MB
MD52d84a5bcbb63bc4fae4780597869d1f0
SHA197b79d13aff357d552a8141943ae413c9443baaa
SHA25618528d246b869238917223e676695f919aeced6118582a933734961c060797da
SHA5127087493942c3f05105506b30dc5090a559998cad1e33e0d2f8ab12cfc20b7e8a275fb2b6a7e7ffba00af486fa7033a2cec89eadfed43316c9b5143a401f869dd