Analysis
-
max time kernel
148s -
max time network
146s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
22-12-2024 20:03
Static task
static1
Behavioral task
behavioral1
Sample
2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe
-
Size
14.8MB
-
MD5
b82fd7f8c53a08352f6a9b9334e91beb
-
SHA1
1706f756e43a88d305fa8ef491e5d71b8505c3cc
-
SHA256
d7fe9f760dfce3b7a6b53e5159d3b7af53cf7c1041af9bbb9f1e335d9946d74e
-
SHA512
3e0abd797ac7aaef9861a7ff397d1370956fafc51839bc98aaea524d4c9853d13e91119ee24ce2eb9b6a99d2b476defa1a0995bd655b3468a20aab713604002d
-
SSDEEP
3072:wLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:NOMdRQr7OB0ypmMXnl8XEPM3noSWOC
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 4824 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\xnadccm\ImagePath = "C:\\Windows\\SysWOW64\\xnadccm\\ofbizycg.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-3227495264-2217614367-4027411560-1000\Control Panel\International\Geo\Nation 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe -
Deletes itself 1 IoCs
pid Process 1136 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4192 ofbizycg.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4192 set thread context of 1136 4192 ofbizycg.exe 98 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 1560 sc.exe 3640 sc.exe 1628 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 -
Program crash 2 IoCs
pid pid_target Process procid_target 3708 1184 WerFault.exe 81 552 4192 WerFault.exe 92 -
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-12-22_b82fd7f8c53a08352f6a9b9334e91beb_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 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 ofbizycg.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1184 wrote to memory of 4616 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 82 PID 1184 wrote to memory of 4616 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 82 PID 1184 wrote to memory of 4616 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 82 PID 1184 wrote to memory of 2972 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 84 PID 1184 wrote to memory of 2972 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 84 PID 1184 wrote to memory of 2972 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 84 PID 1184 wrote to memory of 1560 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 86 PID 1184 wrote to memory of 1560 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 86 PID 1184 wrote to memory of 1560 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 86 PID 1184 wrote to memory of 3640 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 88 PID 1184 wrote to memory of 3640 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 88 PID 1184 wrote to memory of 3640 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 88 PID 1184 wrote to memory of 1628 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 90 PID 1184 wrote to memory of 1628 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 90 PID 1184 wrote to memory of 1628 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 90 PID 1184 wrote to memory of 4824 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 93 PID 1184 wrote to memory of 4824 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 93 PID 1184 wrote to memory of 4824 1184 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 93 PID 4192 wrote to memory of 1136 4192 ofbizycg.exe 98 PID 4192 wrote to memory of 1136 4192 ofbizycg.exe 98 PID 4192 wrote to memory of 1136 4192 ofbizycg.exe 98 PID 4192 wrote to memory of 1136 4192 ofbizycg.exe 98 PID 4192 wrote to memory of 1136 4192 ofbizycg.exe 98
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1184 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xnadccm\2⤵
- System Location Discovery: System Language Discovery
PID:4616
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ofbizycg.exe" C:\Windows\SysWOW64\xnadccm\2⤵
- System Location Discovery: System Language Discovery
PID:2972
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create xnadccm binPath= "C:\Windows\SysWOW64\xnadccm\ofbizycg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1560
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description xnadccm "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3640
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start xnadccm2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1628
-
-
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:4824
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1184 -s 10362⤵
- Program crash
PID:3708
-
-
C:\Windows\SysWOW64\xnadccm\ofbizycg.exeC:\Windows\SysWOW64\xnadccm\ofbizycg.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4192 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1136
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4192 -s 5082⤵
- Program crash
PID:552
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 1184 -ip 11841⤵PID:4708
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4192 -ip 41921⤵PID:2912
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
10.0MB
MD56281f5a39c1d8c6b9ea09052b489b25c
SHA1c0fa6f5c96b7af64797f67903bf73330450d5437
SHA256ce6f198ade18423e7a2858cb487c955f02cb62459225e45310042a43ff65eee7
SHA51249271ae5240a494d16a896537b6f63bcbae8c9ad26906da9ff459f17f8c2a86b303cbedf48922eca47227d97d34e8ae4502a033cc2631a4695bde443d5be1924