Analysis
-
max time kernel
149s -
max time network
152s -
platform
windows10-2004_x64 -
resource
win10v2004-20250207-en -
resource tags
arch:x64arch:x86image:win10v2004-20250207-enlocale:en-usos:windows10-2004-x64system -
submitted
07-02-2025 18:26
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe
Resource
win7-20241010-en
Behavioral task
behavioral2
Sample
2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe
Resource
win10v2004-20250207-en
General
-
Target
2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe
-
Size
11.5MB
-
MD5
a7cf68ead4343052bd4898ee3a507bb6
-
SHA1
e56c4db1b90a42e099280911a3707037c7ce7dc1
-
SHA256
52bc79b83bbd36dc3ff01ac8b59d89fcff153709c38a2fd3230a79e39b208666
-
SHA512
043df7fecb6ac4d8e98893e4f9ece710b120529ffd8f43cbb874dca949b1d8b7187e6201fc55bf9a121e8ffd94456ce0ac211cb04a6441f7617883e1d5c1670f
-
SSDEEP
196608:MyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXB:RXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXR
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 3140 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\vapzahgp\ImagePath = "C:\\Windows\\SysWOW64\\vapzahgp\\kbjhrmth.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-2499155680-3253481302-763015360-1000\Control Panel\International\Geo\Nation 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe -
Deletes itself 1 IoCs
pid Process 4224 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 1504 kbjhrmth.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1504 set thread context of 4224 1504 kbjhrmth.exe 92 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 4632 sc.exe 2084 sc.exe 4828 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 10 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 kbjhrmth.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_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 MicrosoftEdgeUpdate.exe -
Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 4572 MicrosoftEdgeUpdate.exe 4572 MicrosoftEdgeUpdate.exe 4572 MicrosoftEdgeUpdate.exe 4572 MicrosoftEdgeUpdate.exe -
Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 4572 MicrosoftEdgeUpdate.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 3632 wrote to memory of 4220 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 79 PID 3632 wrote to memory of 4220 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 79 PID 3632 wrote to memory of 4220 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 79 PID 3632 wrote to memory of 3932 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 81 PID 3632 wrote to memory of 3932 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 81 PID 3632 wrote to memory of 3932 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 81 PID 3632 wrote to memory of 2084 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 83 PID 3632 wrote to memory of 2084 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 83 PID 3632 wrote to memory of 2084 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 83 PID 3632 wrote to memory of 4828 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 85 PID 3632 wrote to memory of 4828 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 85 PID 3632 wrote to memory of 4828 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 85 PID 3632 wrote to memory of 4632 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 87 PID 3632 wrote to memory of 4632 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 87 PID 3632 wrote to memory of 4632 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 87 PID 3632 wrote to memory of 3140 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 90 PID 3632 wrote to memory of 3140 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 90 PID 3632 wrote to memory of 3140 3632 2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe 90 PID 1504 wrote to memory of 4224 1504 kbjhrmth.exe 92 PID 1504 wrote to memory of 4224 1504 kbjhrmth.exe 92 PID 1504 wrote to memory of 4224 1504 kbjhrmth.exe 92 PID 1504 wrote to memory of 4224 1504 kbjhrmth.exe 92 PID 1504 wrote to memory of 4224 1504 kbjhrmth.exe 92
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3632 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vapzahgp\2⤵
- System Location Discovery: System Language Discovery
PID:4220
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kbjhrmth.exe" C:\Windows\SysWOW64\vapzahgp\2⤵
- System Location Discovery: System Language Discovery
PID:3932
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create vapzahgp binPath= "C:\Windows\SysWOW64\vapzahgp\kbjhrmth.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2084
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description vapzahgp "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4828
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start vapzahgp2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:4632
-
-
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:3140
-
-
C:\Windows\SysWOW64\vapzahgp\kbjhrmth.exeC:\Windows\SysWOW64\vapzahgp\kbjhrmth.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_a7cf68ead4343052bd4898ee3a507bb6_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1504 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4224
-
-
C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe"C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe" /ua /installsource scheduler1⤵
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4572
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
12.7MB
MD5bb8b5e3cb19f20f2b489bc3f6d156aa1
SHA102563b4b4157c66d20075499bc01cc9eb092da77
SHA2568b58f3ed617d148686cc72af2c61a4f167bacd8894dc64a8d1ad46a13d15de81
SHA512c9cc5aea77b5c0241c44414a5c9cca6978f67439efa04661fcfcd069d26f8a867d6b4cc8c2f5b6bf93088389a3c8ae6e16ea31be6ef86020467789c518bae116