Analysis
-
max time kernel
145s -
max time network
121s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
22-12-2024 20:08
Static task
static1
Behavioral task
behavioral1
Sample
2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe
-
Size
14.8MB
-
MD5
b82fd7f8c53a08352f6a9b9334e91beb
-
SHA1
1706f756e43a88d305fa8ef491e5d71b8505c3cc
-
SHA256
d7fe9f760dfce3b7a6b53e5159d3b7af53cf7c1041af9bbb9f1e335d9946d74e
-
SHA512
3e0abd797ac7aaef9861a7ff397d1370956fafc51839bc98aaea524d4c9853d13e91119ee24ce2eb9b6a99d2b476defa1a0995bd655b3468a20aab713604002d
-
SSDEEP
3072:wLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:NOMdRQr7OB0ypmMXnl8XEPM3noSWOC
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\ygydmxsr = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2908 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\ygydmxsr\ImagePath = "C:\\Windows\\SysWOW64\\ygydmxsr\\bkejbavr.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2956 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2756 bkejbavr.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2756 set thread context of 2956 2756 bkejbavr.exe 41 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2484 sc.exe 2732 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 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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language bkejbavr.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2352 wrote to memory of 1600 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 30 PID 2352 wrote to memory of 1600 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 30 PID 2352 wrote to memory of 1600 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 30 PID 2352 wrote to memory of 1600 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 30 PID 2352 wrote to memory of 2556 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 32 PID 2352 wrote to memory of 2556 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 32 PID 2352 wrote to memory of 2556 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 32 PID 2352 wrote to memory of 2556 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 32 PID 2352 wrote to memory of 2484 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 34 PID 2352 wrote to memory of 2484 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 34 PID 2352 wrote to memory of 2484 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 34 PID 2352 wrote to memory of 2484 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 34 PID 2352 wrote to memory of 2732 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 36 PID 2352 wrote to memory of 2732 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 36 PID 2352 wrote to memory of 2732 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 36 PID 2352 wrote to memory of 2732 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 36 PID 2352 wrote to memory of 2832 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 38 PID 2352 wrote to memory of 2832 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 38 PID 2352 wrote to memory of 2832 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 38 PID 2352 wrote to memory of 2832 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 38 PID 2756 wrote to memory of 2956 2756 bkejbavr.exe 41 PID 2756 wrote to memory of 2956 2756 bkejbavr.exe 41 PID 2756 wrote to memory of 2956 2756 bkejbavr.exe 41 PID 2756 wrote to memory of 2956 2756 bkejbavr.exe 41 PID 2756 wrote to memory of 2956 2756 bkejbavr.exe 41 PID 2756 wrote to memory of 2956 2756 bkejbavr.exe 41 PID 2352 wrote to memory of 2908 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 42 PID 2352 wrote to memory of 2908 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 42 PID 2352 wrote to memory of 2908 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 42 PID 2352 wrote to memory of 2908 2352 2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe 42
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2352 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ygydmxsr\2⤵
- System Location Discovery: System Language Discovery
PID:1600
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bkejbavr.exe" C:\Windows\SysWOW64\ygydmxsr\2⤵
- System Location Discovery: System Language Discovery
PID:2556
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create ygydmxsr binPath= "C:\Windows\SysWOW64\ygydmxsr\bkejbavr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2484
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description ygydmxsr "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2732
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start ygydmxsr2⤵
- 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:2908
-
-
C:\Windows\SysWOW64\ygydmxsr\bkejbavr.exeC:\Windows\SysWOW64\ygydmxsr\bkejbavr.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2756 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2956
-
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.4MB
MD5cb3721569c16ee2e86f25b292c2712e3
SHA1f207b515e5a27be73d0232479d8ca894de09edd7
SHA256c0322d1e6a2f7a627545575301ad777bd8b476ea791c6bac85f9f1035e09dbd6
SHA5129f8559bb8cbaa275cf1f9649b6f9a2fae86190ce0ce8a72c85cf34e2bb64699430af8eb3afc3d8cc76fb831f49983beff12f953d51c21003b30152a58b41d84b