Analysis
-
max time kernel
149s -
max time network
153s -
platform
windows10-2004_x64 -
resource
win10v2004-20240508-en -
resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system -
submitted
27-06-2024 20:12
Static task
static1
Behavioral task
behavioral1
Sample
2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe
Resource
win7-20240419-en
Behavioral task
behavioral2
Sample
2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe
Resource
win10v2004-20240508-en
General
-
Target
2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe
-
Size
10.9MB
-
MD5
79107b8f2a87e29fe22233956a06ca34
-
SHA1
4fd98cd60afecb84cf75907aafc319e5675f469b
-
SHA256
4a8d24d9016364ce702217b56eb1e7699ffb7e7f574083f480b016fc36f655aa
-
SHA512
34709fc5dd038640b9cc38bfb46c79d8df5f1ee093734592606257ebeaaa9fe1a1aceb7c99c79664ac7fdbac7e3f3a1384009b6478a58f872d2be179b4055c0e
-
SSDEEP
6144:b+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:b+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
Processes:
netsh.exepid process 4648 netsh.exe -
Sets service image path in registry 2 TTPs 1 IoCs
Processes:
svchost.exedescription ioc process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\eeutsdis\ImagePath = "C:\\Windows\\SysWOW64\\eeutsdis\\gelhgpne.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-4124900551-4068476067-3491212533-1000\Control Panel\International\Geo\Nation 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 3664 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
gelhgpne.exepid process 872 gelhgpne.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
gelhgpne.exedescription pid process target process PID 872 set thread context of 3664 872 gelhgpne.exe svchost.exe -
Launches sc.exe 3 IoCs
Sc.exe is a Windows utlilty to control services on the system.
Processes:
sc.exesc.exesc.exepid process 2448 sc.exe 4788 sc.exe 3052 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.
Processes:
netsh.exedescription 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 -
Suspicious use of WriteProcessMemory 23 IoCs
Processes:
2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exegelhgpne.exedescription pid process target process PID 2600 wrote to memory of 4820 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe cmd.exe PID 2600 wrote to memory of 4820 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe cmd.exe PID 2600 wrote to memory of 4820 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe cmd.exe PID 2600 wrote to memory of 3020 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe cmd.exe PID 2600 wrote to memory of 3020 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe cmd.exe PID 2600 wrote to memory of 3020 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe cmd.exe PID 2600 wrote to memory of 4788 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe sc.exe PID 2600 wrote to memory of 4788 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe sc.exe PID 2600 wrote to memory of 4788 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe sc.exe PID 2600 wrote to memory of 3052 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe sc.exe PID 2600 wrote to memory of 3052 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe sc.exe PID 2600 wrote to memory of 3052 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe sc.exe PID 2600 wrote to memory of 2448 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe sc.exe PID 2600 wrote to memory of 2448 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe sc.exe PID 2600 wrote to memory of 2448 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe sc.exe PID 2600 wrote to memory of 4648 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe netsh.exe PID 2600 wrote to memory of 4648 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe netsh.exe PID 2600 wrote to memory of 4648 2600 2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe netsh.exe PID 872 wrote to memory of 3664 872 gelhgpne.exe svchost.exe PID 872 wrote to memory of 3664 872 gelhgpne.exe svchost.exe PID 872 wrote to memory of 3664 872 gelhgpne.exe svchost.exe PID 872 wrote to memory of 3664 872 gelhgpne.exe svchost.exe PID 872 wrote to memory of 3664 872 gelhgpne.exe svchost.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:2600 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eeutsdis\2⤵PID:4820
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gelhgpne.exe" C:\Windows\SysWOW64\eeutsdis\2⤵PID:3020
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create eeutsdis binPath= "C:\Windows\SysWOW64\eeutsdis\gelhgpne.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
PID:4788 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description eeutsdis "wifi internet conection"2⤵
- Launches sc.exe
PID:3052 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start eeutsdis2⤵
- Launches sc.exe
PID:2448 -
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
PID:4648
-
C:\Windows\SysWOW64\eeutsdis\gelhgpne.exeC:\Windows\SysWOW64\eeutsdis\gelhgpne.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-27_79107b8f2a87e29fe22233956a06ca34_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:872 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
PID:3664
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
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
14.1MB
MD5818b963dce1ce4708eda0e2859641b7d
SHA16da48a7e8690202a37725013f3ac254d5947ef20
SHA2567d0023a2f443b8eb33c6ee168a1fc616fe529df117f92061b0e8760eddf7a555
SHA5128e46be9f4a3e06f3f52684fc0a14ab427696f0a7addb2ae94cb9bc71bf1f79bafd03f8d6d5f8e9bb3fcdfabf69419ad27657ca5976c56d42ea3e82aba0eb3a64