Analysis
-
max time kernel
143s -
max time network
118s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
31/01/2025, 05:28 UTC
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe
Resource
win7-20240903-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\bzedbalp = "0" svchost.exe -
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 2832 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\bzedbalp\ImagePath = "C:\\Windows\\SysWOW64\\bzedbalp\\ybhbqbms.exe" svchost.exe -
Deletes itself 1 IoCs
pid Process 1860 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 2736 ybhbqbms.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2736 set thread context of 1860 2736 ybhbqbms.exe 44 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2600 sc.exe 2896 sc.exe 2288 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 queried \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\NetSh netsh.exe Key value enumerated \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\NetSh netsh.exe Key opened \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 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language ybhbqbms.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2436 wrote to memory of 2764 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 31 PID 2436 wrote to memory of 2764 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 31 PID 2436 wrote to memory of 2764 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 31 PID 2436 wrote to memory of 2764 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 31 PID 2436 wrote to memory of 2792 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 33 PID 2436 wrote to memory of 2792 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 33 PID 2436 wrote to memory of 2792 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 33 PID 2436 wrote to memory of 2792 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 33 PID 2436 wrote to memory of 2288 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 35 PID 2436 wrote to memory of 2288 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 35 PID 2436 wrote to memory of 2288 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 35 PID 2436 wrote to memory of 2288 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 35 PID 2436 wrote to memory of 2600 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 37 PID 2436 wrote to memory of 2600 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 37 PID 2436 wrote to memory of 2600 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 37 PID 2436 wrote to memory of 2600 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 37 PID 2436 wrote to memory of 2896 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 39 PID 2436 wrote to memory of 2896 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 39 PID 2436 wrote to memory of 2896 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 39 PID 2436 wrote to memory of 2896 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 39 PID 2436 wrote to memory of 2832 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 42 PID 2436 wrote to memory of 2832 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 42 PID 2436 wrote to memory of 2832 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 42 PID 2436 wrote to memory of 2832 2436 2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe 42 PID 2736 wrote to memory of 1860 2736 ybhbqbms.exe 44 PID 2736 wrote to memory of 1860 2736 ybhbqbms.exe 44 PID 2736 wrote to memory of 1860 2736 ybhbqbms.exe 44 PID 2736 wrote to memory of 1860 2736 ybhbqbms.exe 44 PID 2736 wrote to memory of 1860 2736 ybhbqbms.exe 44 PID 2736 wrote to memory of 1860 2736 ybhbqbms.exe 44
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:2436 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bzedbalp\2⤵
- System Location Discovery: System Language Discovery
PID:2764
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ybhbqbms.exe" C:\Windows\SysWOW64\bzedbalp\2⤵
- System Location Discovery: System Language Discovery
PID:2792
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create bzedbalp binPath= "C:\Windows\SysWOW64\bzedbalp\ybhbqbms.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:2288
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description bzedbalp "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2600
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start bzedbalp2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2896
-
-
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:2832
-
-
C:\Windows\SysWOW64\bzedbalp\ybhbqbms.exeC:\Windows\SysWOW64\bzedbalp\ybhbqbms.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:2736 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Windows security bypass
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:1860
-
Network
-
Remote address:8.8.8.8:53Requestmicrosoft.comIN AResponsemicrosoft.comIN A20.236.44.162microsoft.comIN A20.76.201.171microsoft.comIN A20.112.250.133microsoft.comIN A20.70.246.20microsoft.comIN A20.231.239.246
-
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.42.0microsoft-com.mail.protection.outlook.comIN A52.101.40.26microsoft-com.mail.protection.outlook.comIN A52.101.11.0microsoft-com.mail.protection.outlook.comIN A52.101.8.49
-
Remote address:8.8.8.8:53Requestyahoo.comIN MXResponseyahoo.comIN MXmta7am0yahoodnsnetyahoo.comIN MXmta6�.yahoo.comIN MXmta5�.
-
Remote address:8.8.8.8:53Requestmta7.am0.yahoodns.netIN AResponsemta7.am0.yahoodns.netIN A98.136.96.77mta7.am0.yahoodns.netIN A98.136.96.76mta7.am0.yahoodns.netIN A67.195.228.94mta7.am0.yahoodns.netIN A67.195.204.77mta7.am0.yahoodns.netIN A67.195.228.109mta7.am0.yahoodns.netIN A67.195.204.74mta7.am0.yahoodns.netIN A67.195.228.110mta7.am0.yahoodns.netIN A67.195.228.111
-
Remote address:8.8.8.8:53Requestgoogle.comIN MXResponsegoogle.comIN MXsmtp�
-
Remote address:8.8.8.8:53Requestsmtp.google.comIN AResponsesmtp.google.comIN A64.233.166.27smtp.google.comIN A74.125.71.26smtp.google.comIN A74.125.71.27smtp.google.comIN A74.125.133.26smtp.google.comIN A64.233.166.26
-
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.236.44.16220.76.201.17120.112.250.13320.70.246.2020.231.239.246
-
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.42.052.101.40.2652.101.11.052.101.8.49
-
55 B 134 B 1 1
DNS Request
yahoo.com
-
67 B 195 B 1 1
DNS Request
mta7.am0.yahoodns.net
DNS Response
98.136.96.7798.136.96.7667.195.228.9467.195.204.7767.195.228.10967.195.204.7467.195.228.11067.195.228.111
-
56 B 77 B 1 1
DNS Request
google.com
-
61 B 141 B 1 1
DNS Request
smtp.google.com
DNS Response
64.233.166.2774.125.71.2674.125.71.2774.125.133.2664.233.166.26
-
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
12.6MB
MD5ac5c80ecf0b219d948033d7369997d4b
SHA1a807a85a1ed921ea409849a84fa3b8903519a207
SHA256ef8ab70df598386e34bd274540fb7253573ec68725ab80f22decd595d4384b3d
SHA5120f2e23c02a0186818e1d85e817a808cc43258c7604ad487f621ae005516c68ed02efcce46924b866b84ae566d9dcf6794465d60a27f1c5bb2a216bca34292db9