Analysis
-
max time kernel
146s -
max time network
125s -
platform
windows10-2004_x64 -
resource
win10v2004-20250129-en -
resource tags
arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system -
submitted
02-02-2025 20:06
Static task
static1
Behavioral task
behavioral1
Sample
2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe
-
Size
12.1MB
-
MD5
0622524f0e26a6bfe6ca542938b1a04e
-
SHA1
8d134385afd883331538bf88d563445dd7a89072
-
SHA256
7e070b79eb7d7857b5bcd1d356b387e7e24292e096035e22938f5e24e6182e48
-
SHA512
b56e30fd1b2261006e8ddbd6d5f6629f5429beb3df0f82874053ee96fa44e607ae67a7ae6d18b2a6765104a06d588175c100e1088afe7d69149a0b709965237b
-
SSDEEP
6144:9LQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQN:uTYe+D2jFu+iZoUFhAz
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 2704 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\cgbcsdiq\ImagePath = "C:\\Windows\\SysWOW64\\cgbcsdiq\\zhwanluu.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-4174397412-4125106315-2776226590-1000\Control Panel\International\Geo\Nation 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe -
Deletes itself 1 IoCs
pid Process 4104 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 388 zhwanluu.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 388 set thread context of 4104 388 zhwanluu.exe 100 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 320 sc.exe 688 sc.exe 1608 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 3576 388 WerFault.exe 96 3900 5100 WerFault.exe 82 -
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 zhwanluu.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_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 netsh.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 -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 5100 wrote to memory of 4628 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 86 PID 5100 wrote to memory of 4628 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 86 PID 5100 wrote to memory of 4628 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 86 PID 5100 wrote to memory of 4660 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 88 PID 5100 wrote to memory of 4660 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 88 PID 5100 wrote to memory of 4660 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 88 PID 5100 wrote to memory of 320 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 90 PID 5100 wrote to memory of 320 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 90 PID 5100 wrote to memory of 320 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 90 PID 5100 wrote to memory of 688 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 92 PID 5100 wrote to memory of 688 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 92 PID 5100 wrote to memory of 688 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 92 PID 5100 wrote to memory of 1608 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 94 PID 5100 wrote to memory of 1608 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 94 PID 5100 wrote to memory of 1608 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 94 PID 5100 wrote to memory of 2704 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 97 PID 5100 wrote to memory of 2704 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 97 PID 5100 wrote to memory of 2704 5100 2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe 97 PID 388 wrote to memory of 4104 388 zhwanluu.exe 100 PID 388 wrote to memory of 4104 388 zhwanluu.exe 100 PID 388 wrote to memory of 4104 388 zhwanluu.exe 100 PID 388 wrote to memory of 4104 388 zhwanluu.exe 100 PID 388 wrote to memory of 4104 388 zhwanluu.exe 100
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:5100 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cgbcsdiq\2⤵
- System Location Discovery: System Language Discovery
PID:4628
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zhwanluu.exe" C:\Windows\SysWOW64\cgbcsdiq\2⤵
- System Location Discovery: System Language Discovery
PID:4660
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create cgbcsdiq binPath= "C:\Windows\SysWOW64\cgbcsdiq\zhwanluu.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:320
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description cgbcsdiq "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:688
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start cgbcsdiq2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1608
-
-
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:2704
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 5100 -s 11802⤵
- Program crash
PID:3900
-
-
C:\Windows\SysWOW64\cgbcsdiq\zhwanluu.exeC:\Windows\SysWOW64\cgbcsdiq\zhwanluu.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_0622524f0e26a6bfe6ca542938b1a04e_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:388 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4104
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 388 -s 5122⤵
- Program crash
PID:3576
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 5100 -ip 51001⤵PID:4428
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 388 -ip 3881⤵PID:1392
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.0MB
MD5a5cdca3f5ec8eaf26ff23874143a2702
SHA12314a189862fd2f16fd1d65e280398f5b784c15b
SHA25695e8fd660551ab34902448b12aa853c2cfc4f790a3e003321c17df12b38fde0c
SHA512498f974a79618529d4152f186215f643f1791ffbb80c2c0cbeaa43818071ea59371caab0b50702359805dde9b6296b975ecb2f6de4de3742d4871dd7f94acb9b