Analysis
-
max time kernel
144s -
max time network
123s -
platform
windows7_x64 -
resource
win7-20240708-en -
resource tags
arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system -
submitted
31/01/2025, 05:25 UTC
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe
Resource
win10v2004-20250129-en
General
-
Target
2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe
-
Size
13.6MB
-
MD5
a115c76529a4790992d6585ccc323b5d
-
SHA1
d55d060919f5bde9f5d420f4f9162fd48df1914d
-
SHA256
843a04f3e1acdd78a036dd537c4840daed7f2b3e8b7f8472c3c20af5a888092b
-
SHA512
5b006c4ea6b3355561ab5bfd5b2225d39c610f55b2005e816c74f884ba04e896ce091a8a6e1071732fcb4dc41c3d1f8ca1f320897bf2c72135b57f5a468eb275
-
SSDEEP
24576:XEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZJ:0fotP
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Tofsee family
-
Windows security bypass 2 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths\C:\Windows\SysWOW64\qmaketwg = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2816 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\qmaketwg\ImagePath = "C:\\Windows\\SysWOW64\\qmaketwg\\prmslyi.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 2776 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3020 prmslyi.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3020 set thread context of 2776 3020 prmslyi.exe 43 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2880 sc.exe 1424 sc.exe 2744 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 prmslyi.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 2025-01-31_a115c76529a4790992d6585ccc323b5d_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 -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2416 wrote to memory of 2192 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 30 PID 2416 wrote to memory of 2192 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 30 PID 2416 wrote to memory of 2192 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 30 PID 2416 wrote to memory of 2192 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 30 PID 2416 wrote to memory of 2312 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 32 PID 2416 wrote to memory of 2312 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 32 PID 2416 wrote to memory of 2312 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 32 PID 2416 wrote to memory of 2312 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 32 PID 2416 wrote to memory of 1424 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 34 PID 2416 wrote to memory of 1424 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 34 PID 2416 wrote to memory of 1424 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 34 PID 2416 wrote to memory of 1424 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 34 PID 2416 wrote to memory of 2744 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 36 PID 2416 wrote to memory of 2744 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 36 PID 2416 wrote to memory of 2744 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 36 PID 2416 wrote to memory of 2744 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 36 PID 2416 wrote to memory of 2880 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 38 PID 2416 wrote to memory of 2880 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 38 PID 2416 wrote to memory of 2880 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 38 PID 2416 wrote to memory of 2880 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 38 PID 2416 wrote to memory of 2816 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 41 PID 2416 wrote to memory of 2816 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 41 PID 2416 wrote to memory of 2816 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 41 PID 2416 wrote to memory of 2816 2416 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 41 PID 3020 wrote to memory of 2776 3020 prmslyi.exe 43 PID 3020 wrote to memory of 2776 3020 prmslyi.exe 43 PID 3020 wrote to memory of 2776 3020 prmslyi.exe 43 PID 3020 wrote to memory of 2776 3020 prmslyi.exe 43 PID 3020 wrote to memory of 2776 3020 prmslyi.exe 43 PID 3020 wrote to memory of 2776 3020 prmslyi.exe 43
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2416 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qmaketwg\2⤵
- System Location Discovery: System Language Discovery
PID:2192
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\prmslyi.exe" C:\Windows\SysWOW64\qmaketwg\2⤵
- System Location Discovery: System Language Discovery
PID:2312
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create qmaketwg binPath= "C:\Windows\SysWOW64\qmaketwg\prmslyi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:1424
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description qmaketwg "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2744
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start qmaketwg2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2880
-
-
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:2816
-
-
C:\Windows\SysWOW64\qmaketwg\prmslyi.exeC:\Windows\SysWOW64\qmaketwg\prmslyi.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3020 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:2776
-
Network
-
Remote address:8.8.8.8:53Requestmicrosoft.comIN AResponsemicrosoft.comIN A20.76.201.171microsoft.comIN A20.231.239.246microsoft.comIN A20.112.250.133microsoft.comIN A20.70.246.20microsoft.comIN A20.236.44.162
-
Remote address:8.8.8.8:53Requestmicrosoft.comIN MXResponsemicrosoft.comIN MXmicrosoft-commail protectionoutlook�
-
Remote address:8.8.8.8:53Requestmicrosoft-com.mail.protection.outlook.comIN AResponsemicrosoft-com.mail.protection.outlook.comIN A52.101.8.49microsoft-com.mail.protection.outlook.comIN A52.101.11.0microsoft-com.mail.protection.outlook.comIN A52.101.40.26microsoft-com.mail.protection.outlook.comIN A52.101.42.0
-
Remote address:8.8.8.8:53Requestyahoo.comIN MXResponseyahoo.comIN MXmta5am0yahoodnsnetyahoo.comIN MXmta6�.yahoo.comIN MXmta7�.
-
Remote address:8.8.8.8:53Requestmta5.am0.yahoodns.netIN AResponsemta5.am0.yahoodns.netIN A67.195.204.74mta5.am0.yahoodns.netIN A67.195.228.106mta5.am0.yahoodns.netIN A67.195.204.72mta5.am0.yahoodns.netIN A67.195.228.111mta5.am0.yahoodns.netIN A98.136.96.74mta5.am0.yahoodns.netIN A67.195.204.77mta5.am0.yahoodns.netIN A67.195.204.73mta5.am0.yahoodns.netIN A98.136.96.75
-
Remote address:8.8.8.8:53Requestgoogle.comIN MXResponsegoogle.comIN MXsmtp�
-
Remote address:8.8.8.8:53Requestsmtp.google.comIN AResponsesmtp.google.comIN A74.125.133.26smtp.google.comIN A64.233.166.27smtp.google.comIN A64.233.166.26smtp.google.comIN A74.125.71.26smtp.google.comIN A74.125.71.27
-
Remote address:8.8.8.8:53Requestmail.ruIN MXResponsemail.ruIN MXmxs�
-
Remote address:8.8.8.8:53Requestmxs.mail.ruIN AResponsemxs.mail.ruIN A94.100.180.31mxs.mail.ruIN A217.69.139.150
-
190 B 92 B 4 2
-
152 B 3
-
152 B 3
-
152 B 3
-
152 B 3
-
152 B 3
-
152 B 3
-
152 B 3
-
59 B 139 B 1 1
DNS Request
microsoft.com
DNS Response
20.76.201.17120.231.239.24620.112.250.13320.70.246.2020.236.44.162
-
59 B 113 B 1 1
DNS Request
microsoft.com
-
87 B 151 B 1 1
DNS Request
microsoft-com.mail.protection.outlook.com
DNS Response
52.101.8.4952.101.11.052.101.40.2652.101.42.0
-
55 B 134 B 1 1
DNS Request
yahoo.com
-
67 B 195 B 1 1
DNS Request
mta5.am0.yahoodns.net
DNS Response
67.195.204.7467.195.228.10667.195.204.7267.195.228.11198.136.96.7467.195.204.7767.195.204.7398.136.96.75
-
56 B 77 B 1 1
DNS Request
google.com
-
61 B 141 B 1 1
DNS Request
smtp.google.com
DNS Response
74.125.133.2664.233.166.2764.233.166.2674.125.71.2674.125.71.27
-
53 B 73 B 1 1
DNS Request
mail.ru
-
57 B 89 B 1 1
DNS Request
mxs.mail.ru
DNS Response
94.100.180.31217.69.139.150
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
13.6MB
MD558e12e924842d22de7e9fb890705e046
SHA15091e24a76cc28bbe0c05cd19539aff91a8c6f30
SHA25686a8ef794061e7d124a6fd0bf7f292f9aa036a137be7fa8010602f48aad1b3b7
SHA512c4c83710f2461c85e121d683a8825623311ca9664747f4943e4496613c4df2f272c55ca73ffbfe2b4ee09a6bdc6ad9d4ebaf9ecc92040377c796919aaf650703