Analysis
-
max time kernel
146s -
max time network
122s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
28-11-2024 14:52
Static task
static1
Behavioral task
behavioral1
Sample
2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe
-
Size
13.0MB
-
MD5
bd0b9ca3ef9979fe7bf7267264ffe05d
-
SHA1
d60a683d1143e12197bc593153480af7a6398de1
-
SHA256
651e2ea48089fe2457bc7d88d4df485139a1277b5cfc9126124caea1ba51520a
-
SHA512
11ac0b1debaf38aee96c49ad16ff75440ebf5636cf0a997dd9654caa62f65d4059921b65b8972231d7ea1171dbc6c677f9c292881a75d77a4691e87b52063f45
-
SSDEEP
6144:eXxZs2EcxJ8GD96ySzTVaFRFX53ncNnUUMMMMMMMMb5:eXzuKJ8GD96ySzTcANnQMMMMMMMb
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\nmmosqsf = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 3036 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\nmmosqsf\ImagePath = "C:\\Windows\\SysWOW64\\nmmosqsf\\ffekvjqt.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2676 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2868 ffekvjqt.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2868 set thread context of 2676 2868 ffekvjqt.exe 43 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2480 sc.exe 2884 sc.exe 2800 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 cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language ffekvjqt.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2612 wrote to memory of 2080 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 30 PID 2612 wrote to memory of 2080 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 30 PID 2612 wrote to memory of 2080 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 30 PID 2612 wrote to memory of 2080 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 30 PID 2612 wrote to memory of 2268 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 32 PID 2612 wrote to memory of 2268 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 32 PID 2612 wrote to memory of 2268 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 32 PID 2612 wrote to memory of 2268 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 32 PID 2612 wrote to memory of 2480 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 34 PID 2612 wrote to memory of 2480 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 34 PID 2612 wrote to memory of 2480 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 34 PID 2612 wrote to memory of 2480 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 34 PID 2612 wrote to memory of 2884 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 36 PID 2612 wrote to memory of 2884 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 36 PID 2612 wrote to memory of 2884 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 36 PID 2612 wrote to memory of 2884 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 36 PID 2612 wrote to memory of 2800 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 38 PID 2612 wrote to memory of 2800 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 38 PID 2612 wrote to memory of 2800 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 38 PID 2612 wrote to memory of 2800 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 38 PID 2612 wrote to memory of 3036 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 41 PID 2612 wrote to memory of 3036 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 41 PID 2612 wrote to memory of 3036 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 41 PID 2612 wrote to memory of 3036 2612 2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe 41 PID 2868 wrote to memory of 2676 2868 ffekvjqt.exe 43 PID 2868 wrote to memory of 2676 2868 ffekvjqt.exe 43 PID 2868 wrote to memory of 2676 2868 ffekvjqt.exe 43 PID 2868 wrote to memory of 2676 2868 ffekvjqt.exe 43 PID 2868 wrote to memory of 2676 2868 ffekvjqt.exe 43 PID 2868 wrote to memory of 2676 2868 ffekvjqt.exe 43
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2612 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nmmosqsf\2⤵
- System Location Discovery: System Language Discovery
PID:2080
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ffekvjqt.exe" C:\Windows\SysWOW64\nmmosqsf\2⤵
- System Location Discovery: System Language Discovery
PID:2268
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create nmmosqsf binPath= "C:\Windows\SysWOW64\nmmosqsf\ffekvjqt.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2480
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description nmmosqsf "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2884
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start nmmosqsf2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2800
-
-
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:3036
-
-
C:\Windows\SysWOW64\nmmosqsf\ffekvjqt.exeC:\Windows\SysWOW64\nmmosqsf\ffekvjqt.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-28_bd0b9ca3ef9979fe7bf7267264ffe05d_karagany_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2868 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2676
-
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
11.7MB
MD5efffa475ea19a6b5c47f2a0141e008a4
SHA193a9c075c23d66ddaf6a10679a5ce3189223b311
SHA256b636c5d698bd85563b350d83234ab1d1639896b5ce682123cc9679b4918d441e
SHA5129b3faf17db77d325732a764371d990ca84cd2c7cfee2d87c611a65c9963f3d58c98a1c80c3ee380f0f7471d022fa65811490b73070c33155661a9e61b3ac0f07