Analysis
-
max time kernel
148s -
max time network
145s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
22-01-2025 21:36
Static task
static1
Behavioral task
behavioral1
Sample
2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe
Resource
win10v2004-20241007-en
General
-
Target
2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe
-
Size
10.5MB
-
MD5
eb5cb62cc6ff9b511f81f8973631ee20
-
SHA1
460b9ff5faa8e98cd9769811a5a22e0c3184022a
-
SHA256
4dc819b30f24d4d53171df29aa0b62c3c44c4f8f0d172c076b463becfc98bb53
-
SHA512
ba6f96587f647a0552beb964fecd5d04864d2e0986bed898f7be5595f7e902c3e14debaf2bd919c18bf8a2e73c9241fd53603a386c87561ee71550f8d92f96af
-
SSDEEP
24576:SEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZh:rfot
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 228 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\jbsagkwg\ImagePath = "C:\\Windows\\SysWOW64\\jbsagkwg\\eefqlmks.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-1045960512-3948844814-3059691613-1000\Control Panel\International\Geo\Nation 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe -
Deletes itself 1 IoCs
pid Process 4360 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 5060 eefqlmks.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 5060 set thread context of 4360 5060 eefqlmks.exe 103 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 2920 sc.exe 2328 sc.exe 2984 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 4352 1476 WerFault.exe 82 4532 5060 WerFault.exe 94 -
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-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.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 sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language netsh.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language eefqlmks.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language svchost.exe -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 1476 wrote to memory of 1232 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 84 PID 1476 wrote to memory of 1232 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 84 PID 1476 wrote to memory of 1232 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 84 PID 1476 wrote to memory of 3064 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 86 PID 1476 wrote to memory of 3064 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 86 PID 1476 wrote to memory of 3064 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 86 PID 1476 wrote to memory of 2920 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 88 PID 1476 wrote to memory of 2920 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 88 PID 1476 wrote to memory of 2920 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 88 PID 1476 wrote to memory of 2328 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 90 PID 1476 wrote to memory of 2328 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 90 PID 1476 wrote to memory of 2328 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 90 PID 1476 wrote to memory of 2984 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 92 PID 1476 wrote to memory of 2984 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 92 PID 1476 wrote to memory of 2984 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 92 PID 1476 wrote to memory of 228 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 95 PID 1476 wrote to memory of 228 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 95 PID 1476 wrote to memory of 228 1476 2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe 95 PID 5060 wrote to memory of 4360 5060 eefqlmks.exe 103 PID 5060 wrote to memory of 4360 5060 eefqlmks.exe 103 PID 5060 wrote to memory of 4360 5060 eefqlmks.exe 103 PID 5060 wrote to memory of 4360 5060 eefqlmks.exe 103 PID 5060 wrote to memory of 4360 5060 eefqlmks.exe 103
Processes
-
C:\Users\Admin\AppData\Local\Temp\2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:1476 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jbsagkwg\2⤵
- System Location Discovery: System Language Discovery
PID:1232
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eefqlmks.exe" C:\Windows\SysWOW64\jbsagkwg\2⤵
- System Location Discovery: System Language Discovery
PID:3064
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create jbsagkwg binPath= "C:\Windows\SysWOW64\jbsagkwg\eefqlmks.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2920
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description jbsagkwg "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2328
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start jbsagkwg2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2984
-
-
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:228
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 1476 -s 12202⤵
- Program crash
PID:4352
-
-
C:\Windows\SysWOW64\jbsagkwg\eefqlmks.exeC:\Windows\SysWOW64\jbsagkwg\eefqlmks.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-22_eb5cb62cc6ff9b511f81f8973631ee20_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:5060 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:4360
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 5060 -s 5322⤵
- Program crash
PID:4532
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 1476 -ip 14761⤵PID:3108
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 5060 -ip 50601⤵PID:3560
Network
-
Remote address:8.8.8.8:53Request133.211.185.52.in-addr.arpaIN PTRResponse
-
Remote address:8.8.8.8:53Request172.210.232.199.in-addr.arpaIN PTRResponse
-
Remote address:8.8.8.8:53Request4.159.190.20.in-addr.arpaIN PTRResponse
-
Remote address:8.8.8.8:53Request7.98.51.23.in-addr.arpaIN PTRResponse7.98.51.23.in-addr.arpaIN PTRa23-51-98-7deploystaticakamaitechnologiescom
-
Remote address:8.8.8.8:53Requestmicrosoft.comIN AResponsemicrosoft.comIN A20.112.250.133microsoft.comIN A20.236.44.162microsoft.comIN A20.231.239.246microsoft.comIN A20.76.201.171microsoft.comIN A20.70.246.20
-
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.11.0microsoft-com.mail.protection.outlook.comIN A52.101.40.26microsoft-com.mail.protection.outlook.comIN A52.101.8.49
-
Remote address:8.8.8.8:53Request133.250.112.20.in-addr.arpaIN PTRResponse
-
Remote address:8.8.8.8:53Requestyahoo.comIN MXResponseyahoo.comIN MXmta7am0yahoodnsnetyahoo.comIN MXmta5�.yahoo.comIN MXmta6�.
-
Remote address:8.8.8.8:53Requestmta7.am0.yahoodns.netIN AResponsemta7.am0.yahoodns.netIN A67.195.228.109mta7.am0.yahoodns.netIN A98.136.96.76mta7.am0.yahoodns.netIN A67.195.204.77mta7.am0.yahoodns.netIN A67.195.204.79mta7.am0.yahoodns.netIN A67.195.228.111mta7.am0.yahoodns.netIN A67.195.228.110mta7.am0.yahoodns.netIN A67.195.228.94mta7.am0.yahoodns.netIN A67.195.204.74
-
Remote address:8.8.8.8:53Request197.87.175.4.in-addr.arpaIN PTRResponse
-
Remote address:8.8.8.8:53Request18.31.95.13.in-addr.arpaIN PTRResponse
-
Remote address:8.8.8.8:53Request181.129.81.91.in-addr.arpaIN PTRResponse
-
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.184.27smtp.google.comIN A142.251.168.26smtp.google.comIN A142.251.168.27smtp.google.comIN A64.233.184.26smtp.google.comIN A142.251.173.27
-
Remote address:8.8.8.8:53Request86.49.80.91.in-addr.arpaIN PTRResponse
-
Remote address:8.8.8.8:53Requestmail.ruIN MXResponsemail.ruIN MXmxs�
-
Remote address:8.8.8.8:53Requestmxs.mail.ruIN AResponsemxs.mail.ruIN A217.69.139.150mxs.mail.ruIN A94.100.180.31
-
Remote address:8.8.8.8:53Request35.77.123.92.in-addr.arpaIN PTRResponse35.77.123.92.in-addr.arpaIN PTRa92-123-77-35deploystaticakamaitechnologiescom
-
190 B 92 B 4 2
-
260 B 5
-
260 B 5
-
260 B 5
-
260 B 5
-
260 B 5
-
260 B 5
-
260 B 5
-
73 B 147 B 1 1
DNS Request
133.211.185.52.in-addr.arpa
-
71 B 157 B 1 1
DNS Request
4.159.190.20.in-addr.arpa
-
74 B 128 B 1 1
DNS Request
172.210.232.199.in-addr.arpa
-
69 B 131 B 1 1
DNS Request
7.98.51.23.in-addr.arpa
-
59 B 139 B 1 1
DNS Request
microsoft.com
DNS Response
20.112.250.13320.236.44.16220.231.239.24620.76.201.17120.70.246.20
-
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.11.052.101.40.2652.101.8.49
-
73 B 159 B 1 1
DNS Request
133.250.112.20.in-addr.arpa
-
55 B 134 B 1 1
DNS Request
yahoo.com
-
67 B 195 B 1 1
DNS Request
mta7.am0.yahoodns.net
DNS Response
67.195.228.10998.136.96.7667.195.204.7767.195.204.7967.195.228.11167.195.228.11067.195.228.9467.195.204.74
-
71 B 157 B 1 1
DNS Request
197.87.175.4.in-addr.arpa
-
70 B 144 B 1 1
DNS Request
18.31.95.13.in-addr.arpa
-
72 B 147 B 1 1
DNS Request
181.129.81.91.in-addr.arpa
-
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.184.27142.251.168.26142.251.168.2764.233.184.26142.251.173.27
-
70 B 145 B 1 1
DNS Request
86.49.80.91.in-addr.arpa
-
53 B 73 B 1 1
DNS Request
mail.ru
-
57 B 89 B 1 1
DNS Request
mxs.mail.ru
DNS Response
217.69.139.15094.100.180.31
-
71 B 135 B 1 1
DNS Request
35.77.123.92.in-addr.arpa
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.3MB
MD54fec939e5beebcf4be2ecd3084d727a6
SHA1419692a48425a8dfe2087f9aa246a23b6a494dc1
SHA25623b5240a72b63e5cf1ce3ae1019f43b78e283fb0c52bfb6d72e64cee63520663
SHA512652c045ea449c4905827457de6c67add9fc6b71062d557cd71aafb38ecba786bc32ebc2395facf579cc3c376d1da17dee6ea0d2dc480139a03258682d0948c3c