Analysis
-
max time kernel
148s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20240508-en -
resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system -
submitted
24-06-2024 20:13
Static task
static1
Behavioral task
behavioral1
Sample
2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe
Resource
win7-20231129-en
Behavioral task
behavioral2
Sample
2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe
Resource
win10v2004-20240508-en
General
-
Target
2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe
-
Size
10.8MB
-
MD5
9b9054b8fa3af489629b5d432c7293bb
-
SHA1
908b4692abe5046dbd8634922d75da4d50dd0756
-
SHA256
77c4f8d22224f19fe811c10c45c71dad6ff55c2b65d2cec7ccd35a94cc63285c
-
SHA512
2b2cb1c2bb5adf7e1590e229dcb39ddca20bbc0fe7d45c48ff432af3d842d8dbaeb053a768e855c1b6d2a74b300c87814b485d4fd5598f5e43071ee5ef5999b3
-
SSDEEP
6144:I+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:I+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 1676 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\tjhvaikg\ImagePath = "C:\\Windows\\SysWOW64\\tjhvaikg\\ddcithor.exe" svchost.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-2539840389-1261165778-1087677076-1000\Control Panel\International\Geo\Nation 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe -
Deletes itself 1 IoCs
Processes:
svchost.exepid process 1300 svchost.exe -
Executes dropped EXE 1 IoCs
Processes:
ddcithor.exepid process 1492 ddcithor.exe -
Suspicious use of SetThreadContext 1 IoCs
Processes:
ddcithor.exedescription pid process target process PID 1492 set thread context of 1300 1492 ddcithor.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 2068 sc.exe 208 sc.exe 856 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-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exeddcithor.exedescription pid process target process PID 4480 wrote to memory of 3612 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe cmd.exe PID 4480 wrote to memory of 3612 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe cmd.exe PID 4480 wrote to memory of 3612 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe cmd.exe PID 4480 wrote to memory of 4616 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe cmd.exe PID 4480 wrote to memory of 4616 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe cmd.exe PID 4480 wrote to memory of 4616 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe cmd.exe PID 4480 wrote to memory of 856 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 4480 wrote to memory of 856 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 4480 wrote to memory of 856 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 4480 wrote to memory of 2068 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 4480 wrote to memory of 2068 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 4480 wrote to memory of 2068 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 4480 wrote to memory of 208 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 4480 wrote to memory of 208 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 4480 wrote to memory of 208 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe sc.exe PID 4480 wrote to memory of 1676 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe netsh.exe PID 4480 wrote to memory of 1676 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe netsh.exe PID 4480 wrote to memory of 1676 4480 2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe netsh.exe PID 1492 wrote to memory of 1300 1492 ddcithor.exe svchost.exe PID 1492 wrote to memory of 1300 1492 ddcithor.exe svchost.exe PID 1492 wrote to memory of 1300 1492 ddcithor.exe svchost.exe PID 1492 wrote to memory of 1300 1492 ddcithor.exe svchost.exe PID 1492 wrote to memory of 1300 1492 ddcithor.exe svchost.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe"C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:4480 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tjhvaikg\2⤵PID:3612
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ddcithor.exe" C:\Windows\SysWOW64\tjhvaikg\2⤵PID:4616
-
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" create tjhvaikg binPath= "C:\Windows\SysWOW64\tjhvaikg\ddcithor.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe\"" type= own start= auto DisplayName= "wifi support"2⤵
- Launches sc.exe
PID:856 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" description tjhvaikg "wifi internet conection"2⤵
- Launches sc.exe
PID:2068 -
C:\Windows\SysWOW64\sc.exe"C:\Windows\System32\sc.exe" start tjhvaikg2⤵
- Launches sc.exe
PID:208 -
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:1676
-
C:\Windows\SysWOW64\tjhvaikg\ddcithor.exeC:\Windows\SysWOW64\tjhvaikg\ddcithor.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe"1⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:1492 -
C:\Windows\SysWOW64\svchost.exesvchost.exe2⤵
- Sets service image path in registry
- Deletes itself
PID:1300
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
-
C:\Users\Admin\AppData\Local\Temp\ddcithor.exeFilesize
13.5MB
MD5e2dfe4be1853e376d5ff920edc1a875d
SHA15b4d18dac05e1cc47b67d4c400fdb32536197933
SHA256a7573d30bfb12c805076dba3c0846e4509c04c37c015660961073f05ee903762
SHA51203a65efee4d76df6813fccb47e2521a3f10141711c5e28af0676df3ea52c5bbc4746e649d25daa73e8ede9337a1021ecb7bd1f0e77f2c7fb178fc2102adc217f
-
memory/1300-13-0x0000000000A70000-0x0000000000A85000-memory.dmpFilesize
84KB
-
memory/1300-9-0x0000000000A70000-0x0000000000A85000-memory.dmpFilesize
84KB
-
memory/1300-15-0x0000000000A70000-0x0000000000A85000-memory.dmpFilesize
84KB
-
memory/1492-12-0x0000000000400000-0x000000000051A000-memory.dmpFilesize
1.1MB
-
memory/1492-10-0x0000000000400000-0x000000000051A000-memory.dmpFilesize
1.1MB
-
memory/4480-1-0x00000000005E0000-0x00000000006E0000-memory.dmpFilesize
1024KB
-
memory/4480-3-0x0000000000400000-0x0000000000415000-memory.dmpFilesize
84KB
-
memory/4480-7-0x0000000000400000-0x0000000000415000-memory.dmpFilesize
84KB
-
memory/4480-6-0x0000000000400000-0x000000000051A000-memory.dmpFilesize
1.1MB