Analysis
-
max time kernel
150s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
27-01-2025 11:06
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe
-
Size
14.5MB
-
MD5
a026d18ee3a43efeb3bb6cf62627fb60
-
SHA1
001bdf3769b61ec1043b594945ce524229c243c1
-
SHA256
a725c7f09a266056b3599ff0d8531a1145a243808b48eefaefa805ec00c62af0
-
SHA512
87ab5827d7bb9ae67fa754e6d1fa32e6d89c221f15bb13dec112299d35c0e4bf98d155122d5357aba6223e97a3ded11dc91720de8a6e19a678b07bbbcabdc923
-
SSDEEP
24576:6EfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZJ:Tfot
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 4292 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\bzdmwpup\ImagePath = "C:\\Windows\\SysWOW64\\bzdmwpup\\ayhirncy.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-3350944739-639801879-157714471-1000\Control Panel\International\Geo\Nation 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe -
Deletes itself 1 IoCs
pid Process 1580 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1300 ayhirncy.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1300 set thread context of 1580 1300 ayhirncy.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4644 sc.exe 5028 sc.exe 4028 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 -
Program crash 2 IoCs
pid pid_target Process procid_target 4364 4776 WerFault.exe 83 1032 1300 WerFault.exe 95 -
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 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 ayhirncy.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.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 svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 4776 wrote to memory of 4944 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 85 PID 4776 wrote to memory of 4944 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 85 PID 4776 wrote to memory of 4944 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 85 PID 4776 wrote to memory of 1608 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 87 PID 4776 wrote to memory of 1608 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 87 PID 4776 wrote to memory of 1608 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 87 PID 4776 wrote to memory of 4644 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 89 PID 4776 wrote to memory of 4644 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 89 PID 4776 wrote to memory of 4644 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 89 PID 4776 wrote to memory of 5028 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 91 PID 4776 wrote to memory of 5028 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 91 PID 4776 wrote to memory of 5028 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 91 PID 4776 wrote to memory of 4028 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 93 PID 4776 wrote to memory of 4028 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 93 PID 4776 wrote to memory of 4028 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 93 PID 4776 wrote to memory of 4292 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 96 PID 4776 wrote to memory of 4292 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 96 PID 4776 wrote to memory of 4292 4776 2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe 96 PID 1300 wrote to memory of 1580 1300 ayhirncy.exe 102 PID 1300 wrote to memory of 1580 1300 ayhirncy.exe 102 PID 1300 wrote to memory of 1580 1300 ayhirncy.exe 102 PID 1300 wrote to memory of 1580 1300 ayhirncy.exe 102 PID 1300 wrote to memory of 1580 1300 ayhirncy.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4776 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bzdmwpup\2⤵
- System Location Discovery: System Language Discovery
PID:4944
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ayhirncy.exe" C:\Windows\SysWOW64\bzdmwpup\2⤵
- System Location Discovery: System Language Discovery
PID:1608
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create bzdmwpup binPath= "C:\Windows\SysWOW64\bzdmwpup\ayhirncy.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4644
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description bzdmwpup "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:5028
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start bzdmwpup2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4028
-
-
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:4292
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4776 -s 10362⤵
- Program crash
PID:4364
-
-
C:\Windows\SysWOW64\bzdmwpup\ayhirncy.exeC:\Windows\SysWOW64\bzdmwpup\ayhirncy.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1300 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1580
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1300 -s 5362⤵
- Program crash
PID:1032
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4776 -ip 47761⤵PID:4908
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 1300 -ip 13001⤵PID:1328
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.7MB
MD50788409917b738394553baf9774b8dc7
SHA10e28ba1213edb5fd8e8ff225d0ca08fe62dc68f4
SHA256023d5c4ae2166abd9719e88849631a141d8736f4e3953b1ea9c591652a571f29
SHA51236e6e649856c54ba1c91db0326cf31aba2e178c38d7dc425b3fcbab73d4a8317acb0cd0582e5bc8fb9dce46fd41d9afb5f683c7f5635d5ce091fa31d87919055