Analysis
-
max time kernel
149s -
max time network
153s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
03-11-2024 09:58
Static task
static1
Behavioral task
behavioral1
Sample
2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe
-
Size
13.2MB
-
MD5
7805744de467df9742263b9b6bad88db
-
SHA1
f65a57962202de0ab0264ea1c5d5193a2f4bd349
-
SHA256
dce5b9da95d9d01aa4be5091d9cdcc52456d04f5e52385b79bc7887410eeea7e
-
SHA512
b15550cc947017eec88d2fb8ad96fed34f48fd998dca4c7f5efbc789889aefb78264908e054a35b63d47d9c3e6eb2eee2fb7e9e41bf7fb5c5af20f0a9d84298e
-
SSDEEP
196608:H3aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa+:H
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 3548 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\xegzljsp\ImagePath = "C:\\Windows\\SysWOW64\\xegzljsp\\nmyuzjtg.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-2045521122-590294423-3465680274-1000\Control Panel\International\Geo\Nation 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe -
Deletes itself 1 IoCs
pid Process 636 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 4812 nmyuzjtg.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4812 set thread context of 636 4812 nmyuzjtg.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2228 sc.exe 1396 sc.exe 428 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 2024-11-03_7805744de467df9742263b9b6bad88db_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 netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language nmyuzjtg.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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1556 wrote to memory of 1044 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 86 PID 1556 wrote to memory of 1044 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 86 PID 1556 wrote to memory of 1044 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 86 PID 1556 wrote to memory of 3228 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 89 PID 1556 wrote to memory of 3228 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 89 PID 1556 wrote to memory of 3228 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 89 PID 1556 wrote to memory of 428 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 91 PID 1556 wrote to memory of 428 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 91 PID 1556 wrote to memory of 428 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 91 PID 1556 wrote to memory of 2228 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 93 PID 1556 wrote to memory of 2228 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 93 PID 1556 wrote to memory of 2228 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 93 PID 1556 wrote to memory of 1396 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 95 PID 1556 wrote to memory of 1396 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 95 PID 1556 wrote to memory of 1396 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 95 PID 1556 wrote to memory of 3548 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 98 PID 1556 wrote to memory of 3548 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 98 PID 1556 wrote to memory of 3548 1556 2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe 98 PID 4812 wrote to memory of 636 4812 nmyuzjtg.exe 102 PID 4812 wrote to memory of 636 4812 nmyuzjtg.exe 102 PID 4812 wrote to memory of 636 4812 nmyuzjtg.exe 102 PID 4812 wrote to memory of 636 4812 nmyuzjtg.exe 102 PID 4812 wrote to memory of 636 4812 nmyuzjtg.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1556 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xegzljsp\2⤵
- System Location Discovery: System Language Discovery
PID:1044
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nmyuzjtg.exe" C:\Windows\SysWOW64\xegzljsp\2⤵
- System Location Discovery: System Language Discovery
PID:3228
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create xegzljsp binPath= "C:\Windows\SysWOW64\xegzljsp\nmyuzjtg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:428
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description xegzljsp "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2228
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start xegzljsp2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1396
-
-
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:3548
-
-
C:\Windows\SysWOW64\xegzljsp\nmyuzjtg.exeC:\Windows\SysWOW64\xegzljsp\nmyuzjtg.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4812 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:636
-
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
14.4MB
MD539cae388d82d4c6c9b0442fbb8964681
SHA1e8ef78d25c087ddb798f43d2b8fcfcf7f9133620
SHA2567c319932458d5d50f23aad386d5ef803bfc11304aa999ac3d78f5b98292dc5fd
SHA51262f07723c463346dd3c8b7228c52d182efccf5615c0052325556235d9d1de00e1c68a52cbfd525c1f12a4eb8905f5d4210bdf771df0847d2c2179f39d4f04dd3