Analysis
-
max time kernel
150s -
max time network
143s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
04-11-2024 22:19
Static task
static1
Behavioral task
behavioral1
Sample
2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe
-
Size
14.4MB
-
MD5
b29c68e036c667eaa53f1d05250810aa
-
SHA1
e7dd2c9c7126de966d0b6dc0454759dcad7e3184
-
SHA256
3f198854ec2a1e8720d308e6543f507b8313696f4c5a659fafffb0e355f9ebf4
-
SHA512
23a79bfbf7ff53e7b4aaee4b96b78d436d58ae966d6d17184fc39784f03283689f51e8460ace2f98ff92e435721dec49a34fb1122f08aa8cbac8b5b01c02ac4e
-
SSDEEP
49152:eVdrl/8HAzGCbGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGv:eVdrl/9zG
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 2352 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\rjgmtrg\ImagePath = "C:\\Windows\\SysWOW64\\rjgmtrg\\pflefndm.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-4050598569-1597076380-177084960-1000\Control Panel\International\Geo\Nation 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe -
Deletes itself 1 IoCs
pid Process 4948 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3324 pflefndm.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3324 set thread context of 4948 3324 pflefndm.exe 110 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2664 sc.exe 1452 sc.exe 620 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 964 2184 WerFault.exe 83 4960 3324 WerFault.exe 102 -
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 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 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language pflefndm.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2184 wrote to memory of 2676 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 91 PID 2184 wrote to memory of 2676 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 91 PID 2184 wrote to memory of 2676 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 91 PID 2184 wrote to memory of 3680 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 93 PID 2184 wrote to memory of 3680 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 93 PID 2184 wrote to memory of 3680 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 93 PID 2184 wrote to memory of 2664 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 95 PID 2184 wrote to memory of 2664 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 95 PID 2184 wrote to memory of 2664 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 95 PID 2184 wrote to memory of 1452 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 97 PID 2184 wrote to memory of 1452 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 97 PID 2184 wrote to memory of 1452 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 97 PID 2184 wrote to memory of 620 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 100 PID 2184 wrote to memory of 620 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 100 PID 2184 wrote to memory of 620 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 100 PID 2184 wrote to memory of 2352 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 103 PID 2184 wrote to memory of 2352 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 103 PID 2184 wrote to memory of 2352 2184 2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe 103 PID 3324 wrote to memory of 4948 3324 pflefndm.exe 110 PID 3324 wrote to memory of 4948 3324 pflefndm.exe 110 PID 3324 wrote to memory of 4948 3324 pflefndm.exe 110 PID 3324 wrote to memory of 4948 3324 pflefndm.exe 110 PID 3324 wrote to memory of 4948 3324 pflefndm.exe 110
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2184 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rjgmtrg\2⤵
- System Location Discovery: System Language Discovery
PID:2676
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pflefndm.exe" C:\Windows\SysWOW64\rjgmtrg\2⤵
- System Location Discovery: System Language Discovery
PID:3680
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create rjgmtrg binPath= "C:\Windows\SysWOW64\rjgmtrg\pflefndm.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2664
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description rjgmtrg "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1452
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start rjgmtrg2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:620
-
-
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:2352
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 2184 -s 10362⤵
- Program crash
PID:964
-
-
C:\Windows\SysWOW64\rjgmtrg\pflefndm.exeC:\Windows\SysWOW64\rjgmtrg\pflefndm.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3324 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4948
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3324 -s 5202⤵
- Program crash
PID:4960
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2184 -ip 21841⤵PID:3972
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 3324 -ip 33241⤵PID:2320
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
MD5cb9be8913ddc5d26d0319003bcbccf4d
SHA1b5ebaae3ebf0a083453a2aa5052445f3cd17acbd
SHA2567e0ee6d6b5436d186d3d749a7642bf03d7eea2a4e419e3d63129dc37e8b39004
SHA512dd508ec0186e16920a91410e9e11123fad6129de1148b431eb53553048a2424c777fcdbe06c6823ceb277d248eb830081906ac6fd240e47d5383ccba2c713474