Analysis
-
max time kernel
142s -
max time network
141s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
24-08-2024 21:08
Static task
static1
Behavioral task
behavioral1
Sample
2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe
Resource
win7-20240704-en
Behavioral task
behavioral2
Sample
2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe
Resource
win10v2004-20240802-en
General
-
Target
2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe
-
Size
12.0MB
-
MD5
2b01b8549776e835eb9764a447a8a8c6
-
SHA1
30bebb315c168df16508f91dca22891de9860c7e
-
SHA256
dd5b575cf505ec7b9589b110df66c9c7f508cce7241086eff387040beeab65da
-
SHA512
1f9d77fb159f52651f3adc504ea921ff90c2371cd1d100ddcca7e6f107e483e7afc74197655e418b8ff6fa01ca47215da3e85699bdef0f09ea24a52df48422f5
-
SSDEEP
6144:o+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:o+r1IeSXMXc7LlxWV4Ug97GZ+ej
Malware Config
Extracted
tofsee
43.231.4.7
lazystax.ru
Signatures
-
Creates new service(s) 2 TTPs
-
Modifies Windows Firewall 2 TTPs 1 IoCs
pid Process 440 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\yxbftxdv\ImagePath = "C:\\Windows\\SysWOW64\\yxbftxdv\\ehppnlpy.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-1194130065-3471212556-1656947724-1000\Control Panel\International\Geo\Nation 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe -
Deletes itself 1 IoCs
pid Process 3460 svchost.exe -
Executes dropped EXE 1 IoCs
pid Process 3352 ehppnlpy.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3352 set thread context of 3460 3352 ehppnlpy.exe 102 -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
pid Process 3784 sc.exe 388 sc.exe 2388 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-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language sc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language ehppnlpy.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 -
Suspicious use of WriteProcessMemory 23 IoCs
description pid Process procid_target PID 2596 wrote to memory of 5060 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 89 PID 2596 wrote to memory of 5060 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 89 PID 2596 wrote to memory of 5060 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 89 PID 2596 wrote to memory of 312 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 91 PID 2596 wrote to memory of 312 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 91 PID 2596 wrote to memory of 312 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 91 PID 2596 wrote to memory of 3784 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 93 PID 2596 wrote to memory of 3784 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 93 PID 2596 wrote to memory of 3784 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 93 PID 2596 wrote to memory of 388 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 95 PID 2596 wrote to memory of 388 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 95 PID 2596 wrote to memory of 388 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 95 PID 2596 wrote to memory of 2388 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 97 PID 2596 wrote to memory of 2388 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 97 PID 2596 wrote to memory of 2388 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 97 PID 2596 wrote to memory of 440 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 100 PID 2596 wrote to memory of 440 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 100 PID 2596 wrote to memory of 440 2596 2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe 100 PID 3352 wrote to memory of 3460 3352 ehppnlpy.exe 102 PID 3352 wrote to memory of 3460 3352 ehppnlpy.exe 102 PID 3352 wrote to memory of 3460 3352 ehppnlpy.exe 102 PID 3352 wrote to memory of 3460 3352 ehppnlpy.exe 102 PID 3352 wrote to memory of 3460 3352 ehppnlpy.exe 102
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe"1⤵
- Checks computer location settings
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2596 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yxbftxdv\2⤵
- System Location Discovery: System Language Discovery
PID:5060
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ehppnlpy.exe" C:\Windows\SysWOW64\yxbftxdv\2⤵
- System Location Discovery: System Language Discovery
PID:312
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create yxbftxdv binPath= "C:\Windows\SysWOW64\yxbftxdv\ehppnlpy.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:3784
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description yxbftxdv "wifi internet conection"2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:388
-
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start yxbftxdv2⤵
- Launches sc.exe
- System Location Discovery: System Language Discovery
PID:2388
-
-
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:440
-
-
C:\Windows\SysWOW64\yxbftxdv\ehppnlpy.exeC:\Windows\SysWOW64\yxbftxdv\ehppnlpy.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3352 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
- System Location Discovery: System Language Discovery
PID:3460
-
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
12.1MB
MD56659c641a50ea325c3b1cef6b7f04b7f
SHA174bb3b4a0c89c2a4171149f2734042733e4b8fb2
SHA25664b400fca43fb53b0e90bc839a444289513fc2191d5ebeae51519f44c20a4cff
SHA512fc69dc864719c62d233b0739bfa19d4c4e2740d3020cd1c1dfdedee98a56c7aefc7892ba2bad727f92aaae6ad879f0c37638cf62177a1e1f8a3a731715d5a61d