Analysis
-
max time kernel
142s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20230831-en -
resource tags
arch:x64arch:x86image:win10v2004-20230831-enlocale:en-usos:windows10-2004-x64system -
submitted
13/09/2023, 17:09
Static task
static1
General
-
Target
KMS.exe
-
Size
1.7MB
-
MD5
0f7ae75bde16c261d817cf6fab4e7770
-
SHA1
030733fd3ed1ad22a1842ee53ffc7ae312652ecd
-
SHA256
6d880189693cf93dd4ca145b0d3cc8e9295da375654d04ea68a5f67c9f62ae87
-
SHA512
51698c963bd829c6875d6d70e4e3f44cd99b87bcb2b589f0a1d268cec008a07cd8d9182a51b0eb7714b8cd0c0261e1e279a0404ef59b5877a6e6d5f1c2f69f67
-
SSDEEP
1536:RbEp4Z40d4I4I4I4I4I4I4I4I4V3424GI5Ac4dONlIKO67gHrc64hUQyOCH1Rog5:Rbnfu
Malware Config
Extracted
netwire
haija.mine.nu:1338
-
activex_autorun
false
-
copy_executable
false
-
delete_original
false
-
host_id
Alien
-
keylogger_dir
%AppData%\Logs\
-
lock_executable
false
-
offline_keylogger
true
-
password
qays1122
-
registry_autorun
false
-
use_mutex
false
Signatures
-
Modifies WinLogon for persistence 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-4078585466-1563564224-3678410669-1000\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\shell = "explorer.exe,\"C:\\Users\\Admin\\AppData\\Local\\Temp\\KMS.exe\"" KMS.exe -
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows Defender\Real-Time Protection\DisableOnAccessProtection = "1" KMS.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows Defender\Real-Time Protection\DisableScanOnRealtimeEnable = "1" KMS.exe Key created \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows Defender\Real-Time Protection KMS.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows Defender\Real-Time Protection\DisableBehaviorMonitoring = "1" KMS.exe -
NetWire RAT payload 3 IoCs
resource yara_rule behavioral1/memory/1472-116-0x0000000000400000-0x0000000000434000-memory.dmp netwire behavioral1/memory/1472-119-0x0000000000400000-0x0000000000434000-memory.dmp netwire behavioral1/memory/1472-127-0x0000000000400000-0x0000000000434000-memory.dmp netwire -
Turns off Windows Defender SpyNet reporting 2 TTPs
-
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Exclusions\Paths KMS.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\KMS.exe = "0" KMS.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Local\Temp\KMS.exe = "0" KMS.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-4078585466-1563564224-3678410669-1000\Control Panel\International\Geo\Nation KMS.exe -
Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\KMS.exe KMS.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\KMS.exe KMS.exe -
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Spynet\SubmitSamplesConsent = "0" KMS.exe Key created \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Features KMS.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Features\TamperProtection = "0" KMS.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\KMS.exe = "0" KMS.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Local\Temp\KMS.exe = "0" KMS.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Real-Time Protection\DisableRealtimeMonitoring = "1" KMS.exe Key created \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Spynet KMS.exe Key created \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Exclusions\Paths KMS.exe Key created \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Exclusions KMS.exe Key created \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Real-Time Protection KMS.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Spynet\SpyNetReporting = "0" KMS.exe -
Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-4078585466-1563564224-3678410669-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\<Unknown> = "C:\\Users\\Admin\\AppData\\Local\\Temp\\KMS.exe" KMS.exe Set value (str) \REGISTRY\USER\S-1-5-21-4078585466-1563564224-3678410669-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\KMS.exe = "C:\\Users\\Admin\\AppData\\Local\\Temp\\KMS.exe" KMS.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs
-
Suspicious use of NtSetInformationThreadHideFromDebugger 14 IoCs
pid Process 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 5104 set thread context of 1472 5104 KMS.exe 111 -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Program crash 1 IoCs
pid pid_target Process procid_target 1184 5104 WerFault.exe 84 -
Delays execution with timeout.exe 2 IoCs
pid Process 1868 timeout.exe 1788 timeout.exe -
Suspicious behavior: EnumeratesProcesses 20 IoCs
pid Process 2200 powershell.exe 2200 powershell.exe 1424 powershell.exe 1424 powershell.exe 4696 powershell.exe 4696 powershell.exe 320 powershell.exe 320 powershell.exe 1424 powershell.exe 2200 powershell.exe 4696 powershell.exe 320 powershell.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe 5104 KMS.exe -
Suspicious use of AdjustPrivilegeToken 5 IoCs
description pid Process Token: SeDebugPrivilege 5104 KMS.exe Token: SeDebugPrivilege 1424 powershell.exe Token: SeDebugPrivilege 2200 powershell.exe Token: SeDebugPrivilege 4696 powershell.exe Token: SeDebugPrivilege 320 powershell.exe -
Suspicious use of WriteProcessMemory 42 IoCs
description pid Process procid_target PID 5104 wrote to memory of 3608 5104 KMS.exe 86 PID 5104 wrote to memory of 3608 5104 KMS.exe 86 PID 5104 wrote to memory of 3608 5104 KMS.exe 86 PID 3608 wrote to memory of 1868 3608 cmd.exe 88 PID 3608 wrote to memory of 1868 3608 cmd.exe 88 PID 3608 wrote to memory of 1868 3608 cmd.exe 88 PID 5104 wrote to memory of 2200 5104 KMS.exe 97 PID 5104 wrote to memory of 2200 5104 KMS.exe 97 PID 5104 wrote to memory of 2200 5104 KMS.exe 97 PID 5104 wrote to memory of 1424 5104 KMS.exe 99 PID 5104 wrote to memory of 1424 5104 KMS.exe 99 PID 5104 wrote to memory of 1424 5104 KMS.exe 99 PID 5104 wrote to memory of 4696 5104 KMS.exe 101 PID 5104 wrote to memory of 4696 5104 KMS.exe 101 PID 5104 wrote to memory of 4696 5104 KMS.exe 101 PID 5104 wrote to memory of 320 5104 KMS.exe 103 PID 5104 wrote to memory of 320 5104 KMS.exe 103 PID 5104 wrote to memory of 320 5104 KMS.exe 103 PID 5104 wrote to memory of 2304 5104 KMS.exe 106 PID 5104 wrote to memory of 2304 5104 KMS.exe 106 PID 5104 wrote to memory of 2304 5104 KMS.exe 106 PID 2304 wrote to memory of 1788 2304 cmd.exe 108 PID 2304 wrote to memory of 1788 2304 cmd.exe 108 PID 2304 wrote to memory of 1788 2304 cmd.exe 108 PID 5104 wrote to memory of 4708 5104 KMS.exe 109 PID 5104 wrote to memory of 4708 5104 KMS.exe 109 PID 5104 wrote to memory of 4708 5104 KMS.exe 109 PID 5104 wrote to memory of 4204 5104 KMS.exe 110 PID 5104 wrote to memory of 4204 5104 KMS.exe 110 PID 5104 wrote to memory of 4204 5104 KMS.exe 110 PID 5104 wrote to memory of 1472 5104 KMS.exe 111 PID 5104 wrote to memory of 1472 5104 KMS.exe 111 PID 5104 wrote to memory of 1472 5104 KMS.exe 111 PID 5104 wrote to memory of 1472 5104 KMS.exe 111 PID 5104 wrote to memory of 1472 5104 KMS.exe 111 PID 5104 wrote to memory of 1472 5104 KMS.exe 111 PID 5104 wrote to memory of 1472 5104 KMS.exe 111 PID 5104 wrote to memory of 1472 5104 KMS.exe 111 PID 5104 wrote to memory of 1472 5104 KMS.exe 111 PID 5104 wrote to memory of 1472 5104 KMS.exe 111 PID 5104 wrote to memory of 1472 5104 KMS.exe 111 PID 5104 wrote to memory of 1472 5104 KMS.exe 111
Processes
-
C:\Users\Admin\AppData\Local\Temp\KMS.exe"C:\Users\Admin\AppData\Local\Temp\KMS.exe"1⤵
- Modifies WinLogon for persistence
- Modifies Windows Defender Real-time Protection settings
- Windows security bypass
- Checks computer location settings
- Drops startup file
- Windows security modification
- Adds Run key to start application
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:5104 -
C:\Windows\SysWOW64\cmd.exe"cmd.exe" /c timeout 52⤵
- Suspicious use of WriteProcessMemory
PID:3608 -
C:\Windows\SysWOW64\timeout.exetimeout 53⤵
- Delays execution with timeout.exe
PID:1868
-
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\KMS.exe" -Force2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2200
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\KMS.exe" -Force2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1424
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\KMS.exe" -Force2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4696
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\KMS.exe" -Force2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:320
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /c timeout 12⤵
- Suspicious use of WriteProcessMemory
PID:2304 -
C:\Windows\SysWOW64\timeout.exetimeout 13⤵
- Delays execution with timeout.exe
PID:1788
-
-
-
C:\Users\Admin\AppData\Local\Temp\KMS.exe"C:\Users\Admin\AppData\Local\Temp\KMS.exe"2⤵PID:4708
-
-
C:\Users\Admin\AppData\Local\Temp\KMS.exe"C:\Users\Admin\AppData\Local\Temp\KMS.exe"2⤵PID:4204
-
-
C:\Users\Admin\AppData\Local\Temp\KMS.exe"C:\Users\Admin\AppData\Local\Temp\KMS.exe"2⤵PID:1472
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 5104 -s 22042⤵
- Program crash
PID:1184
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 5104 -ip 51041⤵PID:2880
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
2Registry Run Keys / Startup Folder
1Winlogon Helper DLL
1Create or Modify System Process
1Windows Service
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
18KB
MD5c10f420b63dc6e7609d5e453e03c1447
SHA194623bca1fb9455c6787d5c94650a1abefa93a61
SHA256856b9a9d4a68021f97978b71b112099422a328b5410350d36eeb243aac93a916
SHA51232b967c1e78f7d0dcb38a4601dc720eb030bfafc00b4062d4025853239e2d02595ed352abaf51cb63426bd0a0086c1bb4453f7a2568be6bbd44bb6d90ab729f7
-
Filesize
18KB
MD5c10f420b63dc6e7609d5e453e03c1447
SHA194623bca1fb9455c6787d5c94650a1abefa93a61
SHA256856b9a9d4a68021f97978b71b112099422a328b5410350d36eeb243aac93a916
SHA51232b967c1e78f7d0dcb38a4601dc720eb030bfafc00b4062d4025853239e2d02595ed352abaf51cb63426bd0a0086c1bb4453f7a2568be6bbd44bb6d90ab729f7
-
Filesize
18KB
MD5c10f420b63dc6e7609d5e453e03c1447
SHA194623bca1fb9455c6787d5c94650a1abefa93a61
SHA256856b9a9d4a68021f97978b71b112099422a328b5410350d36eeb243aac93a916
SHA51232b967c1e78f7d0dcb38a4601dc720eb030bfafc00b4062d4025853239e2d02595ed352abaf51cb63426bd0a0086c1bb4453f7a2568be6bbd44bb6d90ab729f7
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82