Analysis
-
max time kernel
142s -
max time network
149s -
platform
windows10-2004_x64 -
resource
win10v2004-20230915-en -
resource tags
arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system -
submitted
09/10/2023, 19:27
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-1574508946-349927670-1185736483-1000\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\shell = "explorer.exe,\"C:\\Users\\Admin\\AppData\\Local\\Temp\\KMS.exe\"" KMS.exe -
description ioc Process 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 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 -
NetWire RAT payload 4 IoCs
resource yara_rule behavioral1/memory/2220-68-0x0000000000400000-0x0000000000434000-memory.dmp netwire behavioral1/memory/2220-70-0x0000000000400000-0x0000000000434000-memory.dmp netwire behavioral1/memory/2220-118-0x0000000000400000-0x0000000000434000-memory.dmp netwire behavioral1/memory/2220-148-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-1574508946-349927670-1185736483-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 Key created \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Exclusions 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 Key created \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Real-Time Protection KMS.exe Key created \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Spynet KMS.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Spynet\SubmitSamplesConsent = "0" KMS.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Features\TamperProtection = "0" KMS.exe 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\Real-Time Protection\DisableRealtimeMonitoring = "1" KMS.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Spynet\SpyNetReporting = "0" KMS.exe Key created \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Defender\Features KMS.exe -
Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1574508946-349927670-1185736483-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-1574508946-349927670-1185736483-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 3108 KMS.exe 3108 KMS.exe 3108 KMS.exe 3108 KMS.exe 3108 KMS.exe 3108 KMS.exe 3108 KMS.exe 3108 KMS.exe 3108 KMS.exe 3108 KMS.exe 3108 KMS.exe 3108 KMS.exe 3108 KMS.exe 3108 KMS.exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3108 set thread context of 2220 3108 KMS.exe 107 -
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 2432 3108 WerFault.exe 86 -
Delays execution with timeout.exe 2 IoCs
pid Process 1636 timeout.exe 4792 timeout.exe -
Suspicious behavior: EnumeratesProcesses 16 IoCs
pid Process 1728 powershell.exe 1188 powershell.exe 3204 powershell.exe 3928 powershell.exe 3928 powershell.exe 3928 powershell.exe 1188 powershell.exe 1188 powershell.exe 1728 powershell.exe 1728 powershell.exe 3204 powershell.exe 3204 powershell.exe 3108 KMS.exe 3108 KMS.exe 3108 KMS.exe 3108 KMS.exe -
Suspicious use of AdjustPrivilegeToken 5 IoCs
description pid Process Token: SeDebugPrivilege 3108 KMS.exe Token: SeDebugPrivilege 1188 powershell.exe Token: SeDebugPrivilege 3204 powershell.exe Token: SeDebugPrivilege 3928 powershell.exe Token: SeDebugPrivilege 1728 powershell.exe -
Suspicious use of WriteProcessMemory 36 IoCs
description pid Process procid_target PID 3108 wrote to memory of 3960 3108 KMS.exe 90 PID 3108 wrote to memory of 3960 3108 KMS.exe 90 PID 3108 wrote to memory of 3960 3108 KMS.exe 90 PID 3960 wrote to memory of 4792 3960 cmd.exe 92 PID 3960 wrote to memory of 4792 3960 cmd.exe 92 PID 3960 wrote to memory of 4792 3960 cmd.exe 92 PID 3108 wrote to memory of 1728 3108 KMS.exe 93 PID 3108 wrote to memory of 1728 3108 KMS.exe 93 PID 3108 wrote to memory of 1728 3108 KMS.exe 93 PID 3108 wrote to memory of 3928 3108 KMS.exe 95 PID 3108 wrote to memory of 3928 3108 KMS.exe 95 PID 3108 wrote to memory of 3928 3108 KMS.exe 95 PID 3108 wrote to memory of 3204 3108 KMS.exe 97 PID 3108 wrote to memory of 3204 3108 KMS.exe 97 PID 3108 wrote to memory of 3204 3108 KMS.exe 97 PID 3108 wrote to memory of 1188 3108 KMS.exe 99 PID 3108 wrote to memory of 1188 3108 KMS.exe 99 PID 3108 wrote to memory of 1188 3108 KMS.exe 99 PID 3108 wrote to memory of 3104 3108 KMS.exe 101 PID 3108 wrote to memory of 3104 3108 KMS.exe 101 PID 3108 wrote to memory of 3104 3108 KMS.exe 101 PID 3104 wrote to memory of 1636 3104 cmd.exe 103 PID 3104 wrote to memory of 1636 3104 cmd.exe 103 PID 3104 wrote to memory of 1636 3104 cmd.exe 103 PID 3108 wrote to memory of 2220 3108 KMS.exe 107 PID 3108 wrote to memory of 2220 3108 KMS.exe 107 PID 3108 wrote to memory of 2220 3108 KMS.exe 107 PID 3108 wrote to memory of 2220 3108 KMS.exe 107 PID 3108 wrote to memory of 2220 3108 KMS.exe 107 PID 3108 wrote to memory of 2220 3108 KMS.exe 107 PID 3108 wrote to memory of 2220 3108 KMS.exe 107 PID 3108 wrote to memory of 2220 3108 KMS.exe 107 PID 3108 wrote to memory of 2220 3108 KMS.exe 107 PID 3108 wrote to memory of 2220 3108 KMS.exe 107 PID 3108 wrote to memory of 2220 3108 KMS.exe 107 PID 3108 wrote to memory of 2220 3108 KMS.exe 107
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:3108 -
C:\Windows\SysWOW64\cmd.exe"cmd.exe" /c timeout 52⤵
- Suspicious use of WriteProcessMemory
PID:3960 -
C:\Windows\SysWOW64\timeout.exetimeout 53⤵
- Delays execution with timeout.exe
PID:4792
-
-
-
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:1728
-
-
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:3928
-
-
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:3204
-
-
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:1188
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /c timeout 12⤵
- Suspicious use of WriteProcessMemory
PID:3104 -
C:\Windows\SysWOW64\timeout.exetimeout 13⤵
- Delays execution with timeout.exe
PID:1636
-
-
-
C:\Users\Admin\AppData\Local\Temp\KMS.exe"C:\Users\Admin\AppData\Local\Temp\KMS.exe"2⤵PID:2220
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 3108 -s 22442⤵
- Program crash
PID:2432
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 3108 -ip 31081⤵PID:4464
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
2KB
MD5968cb9309758126772781b83adb8a28f
SHA18da30e71accf186b2ba11da1797cf67f8f78b47c
SHA25692099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
SHA5124bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3
-
Filesize
2KB
MD5968cb9309758126772781b83adb8a28f
SHA18da30e71accf186b2ba11da1797cf67f8f78b47c
SHA25692099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
SHA5124bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3
-
Filesize
18KB
MD57186a555eb7d39d33905e9375ee560b4
SHA1c7e4de3ef3d60d1a07f3608ec9a9f55fc62081ad
SHA256eac654157f70c9cf5dc363ad064d3f0c90e6aa8f98583165937a48f217f615da
SHA51219dcacf9d2fb348e3fc38ce31ba0743d3acc62c91cacb028aa3f76c265aaba22fb4a6c25559eb23b8a940c7d4862bb86866681c918e1a080eb5ad7dd9752e19b
-
Filesize
18KB
MD57186a555eb7d39d33905e9375ee560b4
SHA1c7e4de3ef3d60d1a07f3608ec9a9f55fc62081ad
SHA256eac654157f70c9cf5dc363ad064d3f0c90e6aa8f98583165937a48f217f615da
SHA51219dcacf9d2fb348e3fc38ce31ba0743d3acc62c91cacb028aa3f76c265aaba22fb4a6c25559eb23b8a940c7d4862bb86866681c918e1a080eb5ad7dd9752e19b
-
Filesize
18KB
MD50a25edaa27d535e857d3a700df9435f6
SHA1370f53509862d9381a045523e9f47b153fefcb6b
SHA2567c20ef9d623455bba431ed46c37ed4264c74652190040ef93f9a54ef6cabe3a6
SHA512e7a352405f8a79a6440f14753ca1138a48ca32a0827ac851761a4bb02b1ffbbfcfae5d9af8ca8bd1d94db7731a7a479dad7818aa4bf7f3c43376d5b0f4811723
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82