Analysis
-
max time kernel
144s -
max time network
117s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
11-01-2025 10:48
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe
-
Size
13.9MB
-
MD5
5d4530f4539414ec9edc8c7af562a62a
-
SHA1
bf6c1885985e624fa874eb3b7f6ba0ee7a8d786d
-
SHA256
85e53d805fdc69c8dedafa896ceb421bd636a3d94652671768af4fbca7e89ca0
-
SHA512
716ef912db4aff47256ae0922ce8e9377feac7336187d511c4c0d1de99a591a97b5e185ab1ac5670cc0be7fe56d083e2c9f3408562fc5d75e2b43f8a1bed3501
-
SSDEEP
393216:+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3:
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\kkgjuqzg = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2484 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\kkgjuqzg\ImagePath = "C:\\Windows\\SysWOW64\\kkgjuqzg\\keevgpgi.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2608 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2452 keevgpgi.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2452 set thread context of 2608 2452 keevgpgi.exe 40 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2564 sc.exe 2636 sc.exe 2616 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 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 svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.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 keevgpgi.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2812 wrote to memory of 1308 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 29 PID 2812 wrote to memory of 1308 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 29 PID 2812 wrote to memory of 1308 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 29 PID 2812 wrote to memory of 1308 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 29 PID 2812 wrote to memory of 2664 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 31 PID 2812 wrote to memory of 2664 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 31 PID 2812 wrote to memory of 2664 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 31 PID 2812 wrote to memory of 2664 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 31 PID 2812 wrote to memory of 2564 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 33 PID 2812 wrote to memory of 2564 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 33 PID 2812 wrote to memory of 2564 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 33 PID 2812 wrote to memory of 2564 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 33 PID 2812 wrote to memory of 2636 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 35 PID 2812 wrote to memory of 2636 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 35 PID 2812 wrote to memory of 2636 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 35 PID 2812 wrote to memory of 2636 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 35 PID 2812 wrote to memory of 2616 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 37 PID 2812 wrote to memory of 2616 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 37 PID 2812 wrote to memory of 2616 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 37 PID 2812 wrote to memory of 2616 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 37 PID 2452 wrote to memory of 2608 2452 keevgpgi.exe 40 PID 2452 wrote to memory of 2608 2452 keevgpgi.exe 40 PID 2452 wrote to memory of 2608 2452 keevgpgi.exe 40 PID 2452 wrote to memory of 2608 2452 keevgpgi.exe 40 PID 2452 wrote to memory of 2608 2452 keevgpgi.exe 40 PID 2452 wrote to memory of 2608 2452 keevgpgi.exe 40 PID 2812 wrote to memory of 2484 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 41 PID 2812 wrote to memory of 2484 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 41 PID 2812 wrote to memory of 2484 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 41 PID 2812 wrote to memory of 2484 2812 2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe 41
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2812 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kkgjuqzg\2⤵
- System Location Discovery: System Language Discovery
PID:1308
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\keevgpgi.exe" C:\Windows\SysWOW64\kkgjuqzg\2⤵
- System Location Discovery: System Language Discovery
PID:2664
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create kkgjuqzg binPath= "C:\Windows\SysWOW64\kkgjuqzg\keevgpgi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2564
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description kkgjuqzg "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2636
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start kkgjuqzg2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2616
-
-
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:2484
-
-
C:\Windows\SysWOW64\kkgjuqzg\keevgpgi.exeC:\Windows\SysWOW64\kkgjuqzg\keevgpgi.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2452 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2608
-
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
12.5MB
MD56ba70e3df4f8135021e47aa7beaf2951
SHA1d1491192cabb9bd0d5346878ef54c9b95729125f
SHA256b050dc30736930b5ca057e946778baa612ca8d97470dc4a1358204a6df987301
SHA512c57ab497666b651459c4df07a3d1cec7962c03afbb21a659a934a4e8bccd2ae7b8928589c30ade8c242fabe680931fc9a9de24235f5c75395516695f961afdb9