Analysis
-
max time kernel
144s -
max time network
121s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
17-01-2025 19:03
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe
-
Size
12.1MB
-
MD5
85271b69eb731a256374c604127c5523
-
SHA1
1da1e2ff84c623c8d9df0e368fb618389ad2a567
-
SHA256
ba13a02f9ea114abf19218e4462e2cac876e3cf111493d70074fcf127cea0480
-
SHA512
eb810ee705d67ee7dce3d71bf2097e3de448c3e6ccd2dce61c81f28bcb5bee77f7ed310d18a8bd0daab114662ecd2359547355db42386a814ca7a18fdcdf16b9
-
SSDEEP
24576:LpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttV:doo
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Tofsee family
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Windows\SysWOW64\bevwcmqz = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2976 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\bevwcmqz\ImagePath = "C:\\Windows\\SysWOW64\\bevwcmqz\\sunyfnbr.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2888 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2828 sunyfnbr.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2828 set thread context of 2888 2828 sunyfnbr.exe 41 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2764 sc.exe 2708 sc.exe 2832 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 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 sunyfnbr.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-17_85271b69eb731a256374c604127c5523_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 1200 wrote to memory of 3048 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 30 PID 1200 wrote to memory of 3048 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 30 PID 1200 wrote to memory of 3048 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 30 PID 1200 wrote to memory of 3048 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 30 PID 1200 wrote to memory of 1892 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 32 PID 1200 wrote to memory of 1892 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 32 PID 1200 wrote to memory of 1892 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 32 PID 1200 wrote to memory of 1892 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 32 PID 1200 wrote to memory of 2764 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 34 PID 1200 wrote to memory of 2764 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 34 PID 1200 wrote to memory of 2764 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 34 PID 1200 wrote to memory of 2764 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 34 PID 1200 wrote to memory of 2708 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 36 PID 1200 wrote to memory of 2708 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 36 PID 1200 wrote to memory of 2708 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 36 PID 1200 wrote to memory of 2708 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 36 PID 1200 wrote to memory of 2832 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 38 PID 1200 wrote to memory of 2832 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 38 PID 1200 wrote to memory of 2832 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 38 PID 1200 wrote to memory of 2832 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 38 PID 2828 wrote to memory of 2888 2828 sunyfnbr.exe 41 PID 2828 wrote to memory of 2888 2828 sunyfnbr.exe 41 PID 2828 wrote to memory of 2888 2828 sunyfnbr.exe 41 PID 2828 wrote to memory of 2888 2828 sunyfnbr.exe 41 PID 2828 wrote to memory of 2888 2828 sunyfnbr.exe 41 PID 2828 wrote to memory of 2888 2828 sunyfnbr.exe 41 PID 1200 wrote to memory of 2976 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 42 PID 1200 wrote to memory of 2976 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 42 PID 1200 wrote to memory of 2976 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 42 PID 1200 wrote to memory of 2976 1200 2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe 42
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1200 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bevwcmqz\2⤵
- System Location Discovery: System Language Discovery
PID:3048
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sunyfnbr.exe" C:\Windows\SysWOW64\bevwcmqz\2⤵
- System Location Discovery: System Language Discovery
PID:1892
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create bevwcmqz binPath= "C:\Windows\SysWOW64\bevwcmqz\sunyfnbr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2764
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description bevwcmqz "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2708
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start bevwcmqz2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2832
-
-
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:2976
-
-
C:\Windows\SysWOW64\bevwcmqz\sunyfnbr.exeC:\Windows\SysWOW64\bevwcmqz\sunyfnbr.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-17_85271b69eb731a256374c604127c5523_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2828 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2888
-
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
10.2MB
MD53be38eac37eef838d607ec7d03ca7f8d
SHA1a47e0bc0ae659f5bdc65b54802c3f3dd57d58f53
SHA256dea358fd4fdf8a10aaf4f7c89ecd2ffb18fd9d284046cf527971b6901ed44829
SHA5120080e335632ecdc73b726f009ec71218ded30bb2b66ab8b69edc722758582bbe6e3d1374618515e2131d6eacabae86dbabdc4d9c8198d48c05c3cf07e3d584af