Analysis
-
max time kernel
148s -
max time network
152s -
platform
windows10-2004_x64 -
resource
win10v2004-20240426-en -
resource tags
arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system -
submitted
23-05-2024 21:07
Static task
static1
Behavioral task
behavioral1
Sample
2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe
Resource
win7-20240221-en
Behavioral task
behavioral2
Sample
2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe
Resource
win10v2004-20240426-en
General
-
Target
2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe
-
Size
12.6MB
-
MD5
5756d11a99b650ab3936a31831582bb6
-
SHA1
5ecaa88c1ec46d05b8e6a6423d1c553372035aad
-
SHA256
fb05f62c977f9e9fd53ea0a129de87e4e1052824735d38b02af55332cbedae29
-
SHA512
8b1a6fcc61d0e8db24032a68394b305c096b166948218a9b25f2103412f8845b429043156a4f524e90a8d81915e350bbe9245943e913e9bea8250802f8585f8a
-
SSDEEP
6144:DqXbY+SAjhUEzmPy0jhM7o8cMp/sP9gdiw1fagj1x2EqqqqqqqqqqqqqqqqqqqqD:DqLY+4oAfj2o8X/U9gdjj
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 4720 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\axwjyuhz\ImagePath = "C:\\Windows\\SysWOW64\\axwjyuhz\\kegdxtdi.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-1162180587-977231257-2194346871-1000\Control Panel\International\Geo\Nation 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 4400 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
kegdxtdi.exepid process 4244 kegdxtdi.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
kegdxtdi.exedescription pid process target process PID 4244 set thread context of 4400 4244 kegdxtdi.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 360 sc.exe 4716 sc.exe 1936 sc.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious use of WriteProcessMemory 23 IoCs
Processes:
2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exekegdxtdi.exedescription pid process target process PID 728 wrote to memory of 1320 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe cmd.exe PID 728 wrote to memory of 1320 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe cmd.exe PID 728 wrote to memory of 1320 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe cmd.exe PID 728 wrote to memory of 2572 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe cmd.exe PID 728 wrote to memory of 2572 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe cmd.exe PID 728 wrote to memory of 2572 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe cmd.exe PID 728 wrote to memory of 360 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe sc.exe PID 728 wrote to memory of 360 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe sc.exe PID 728 wrote to memory of 360 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe sc.exe PID 728 wrote to memory of 4716 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe sc.exe PID 728 wrote to memory of 4716 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe sc.exe PID 728 wrote to memory of 4716 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe sc.exe PID 728 wrote to memory of 1936 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe sc.exe PID 728 wrote to memory of 1936 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe sc.exe PID 728 wrote to memory of 1936 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe sc.exe PID 728 wrote to memory of 4720 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe netsh.exe PID 728 wrote to memory of 4720 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe netsh.exe PID 728 wrote to memory of 4720 728 2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe netsh.exe PID 4244 wrote to memory of 4400 4244 kegdxtdi.exe svchost.exe PID 4244 wrote to memory of 4400 4244 kegdxtdi.exe svchost.exe PID 4244 wrote to memory of 4400 4244 kegdxtdi.exe svchost.exe PID 4244 wrote to memory of 4400 4244 kegdxtdi.exe svchost.exe PID 4244 wrote to memory of 4400 4244 kegdxtdi.exe svchost.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:728 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\axwjyuhz\2⤵PID:1320
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kegdxtdi.exe" C:\Windows\SysWOW64\axwjyuhz\2⤵PID:2572
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create axwjyuhz binPath= "C:\Windows\SysWOW64\axwjyuhz\kegdxtdi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
PID:360 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description axwjyuhz "wifi internet conection"2⤵
- Launches sc.exe
PID:4716 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start axwjyuhz2⤵
- Launches sc.exe
PID:1936 -
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
PID:4720
-
C:\Windows\SysWOW64\axwjyuhz\kegdxtdi.exeC:\Windows\SysWOW64\axwjyuhz\kegdxtdi.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:4244 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
PID:4400
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
2Windows Service
2Privilege Escalation
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Create or Modify System Process
2Windows Service
2Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
12.6MB
MD5b9718d960592d5593844f516f31dfb81
SHA1461fbf17dca02fbfe3ac9b8634b8c315fb42e83d
SHA2562d90c86ab09e28b2106b1c2b435254fa36e836cf0f395c176dfca0a2d4e8be85
SHA5121ba60af3ad2c082b7fa7e9053aa98bcf5a5896378ce7fdcc1959e85d2a9066b4d5009f4237b38fa18537f2ef5868cc91a29060831695178111e10cd2b8bdc414