Analysis
-
max time kernel
150s -
max time network
117s -
platform
windows7_x64 -
resource
win7-20240704-en -
resource tags
arch:x64arch:x86image:win7-20240704-enlocale:en-usos:windows7-x64system -
submitted
24-08-2024 21:29
Behavioral task
behavioral1
Sample
WinLock.exe
Resource
win7-20240704-en
General
-
Target
WinLock.exe
-
Size
487KB
-
MD5
9f97b58176f9f5139929bcc9b292d776
-
SHA1
cc7409a6a026177a47804ea44aa9cc83007d0747
-
SHA256
cb9c0ac56597de591fb227b399a9e96dbef6ae6269a35070d9fc1f9e16fb5358
-
SHA512
ed2afb424ab8499b71f1ad1dc9ac2e8db040a9afd9664b0145c16ffc426ea461db8b885907ace2146348bedb776a3c4cfce4f0c0fdb980ee99a17cd7ed488e34
-
SSDEEP
12288:+R/y00bzAlvpYq1orkEHck8IzDqY33k0ero5lr:+fMgsvqY3Croj
Malware Config
Signatures
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" WinLock.exe -
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Local\Temp\WinLock.exe = "0" WinLock.exe Key created \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows Defender\Exclusions\Paths WinLock.exe -
Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 2176 powershell.exe -
Event Triggered Execution: Image File Execution Options Injection 1 TTPs 12 IoCs
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cmd.exe WinLock.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\explorer.exe\Debugger = "C:\\Users\\Admin\\AppData\\Local\\Temp\\WinLock.exe" WinLock.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\utilman.exe WinLock.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\utilman.exe\Debugger = "C:\\Users\\Admin\\AppData\\Local\\Temp\\WinLock.exe" WinLock.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\regedit.exe\Debugger = "C:\\Users\\Admin\\AppData\\Local\\Temp\\WinLock.exe" WinLock.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\reg.exe WinLock.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\reg.exe\Debugger = "C:\\Users\\Admin\\AppData\\Local\\Temp\\WinLock.exe" WinLock.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\cmd.exe\Debugger = "\"cmd.exe\",\"C:\\Users\\Admin\\AppData\\Local\\Temp\\WinLock.exe\"" WinLock.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\explorer.exe WinLock.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe WinLock.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe\Debugger = "C:\\Users\\Admin\\AppData\\Local\\Temp\\WinLock.exe" WinLock.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\regedit.exe WinLock.exe -
resource yara_rule behavioral1/memory/2392-0-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2636-18-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2636-19-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-26-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-32-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-51-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-72-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-93-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-114-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/1204-117-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/1204-120-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-138-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-157-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-178-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-199-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-220-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-241-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2420-246-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-263-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-284-0x0000000000400000-0x000000000059A000-memory.dmp upx behavioral1/memory/2392-303-0x0000000000400000-0x000000000059A000-memory.dmp upx -
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows Defender\Exclusions\Paths WinLock.exe Key created \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows Defender\Exclusions WinLock.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows Defender\Exclusions\Paths\C:\Users\Admin\AppData\Local\Temp\WinLock.exe = "0" WinLock.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce\Qwe = "C:\\Users\\Admin\\AppData\\Local\\Temp\\WinLock.exe" WinLock.exe -
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" WinLock.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 4 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language WinLock.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language WinLock.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language WinLock.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language WinLock.exe -
Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 2784 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 64 IoCs
pid Process 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2176 powershell.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe 2392 WinLock.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 2392 WinLock.exe -
Suspicious use of AdjustPrivilegeToken 4 IoCs
description pid Process Token: SeBackupPrivilege 2392 WinLock.exe Token: SeRestorePrivilege 2392 WinLock.exe Token: SeDebugPrivilege 2392 WinLock.exe Token: SeDebugPrivilege 2176 powershell.exe -
Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 2392 wrote to memory of 3044 2392 WinLock.exe 30 PID 2392 wrote to memory of 3044 2392 WinLock.exe 30 PID 2392 wrote to memory of 3044 2392 WinLock.exe 30 PID 2392 wrote to memory of 3044 2392 WinLock.exe 30 PID 2392 wrote to memory of 2176 2392 WinLock.exe 31 PID 2392 wrote to memory of 2176 2392 WinLock.exe 31 PID 2392 wrote to memory of 2176 2392 WinLock.exe 31 PID 2392 wrote to memory of 2176 2392 WinLock.exe 31 PID 3044 wrote to memory of 2784 3044 cmd.exe 34 PID 3044 wrote to memory of 2784 3044 cmd.exe 34 PID 3044 wrote to memory of 2784 3044 cmd.exe 34 PID 1072 wrote to memory of 1204 1072 taskeng.exe 38 PID 1072 wrote to memory of 1204 1072 taskeng.exe 38 PID 1072 wrote to memory of 1204 1072 taskeng.exe 38 PID 1072 wrote to memory of 1204 1072 taskeng.exe 38 PID 1072 wrote to memory of 2420 1072 taskeng.exe 39 PID 1072 wrote to memory of 2420 1072 taskeng.exe 39 PID 1072 wrote to memory of 2420 1072 taskeng.exe 39 PID 1072 wrote to memory of 2420 1072 taskeng.exe 39 -
System policy modification 1 TTPs 3 IoCs
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System WinLock.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" WinLock.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\HideFastUserSwitching = "1" WinLock.exe -
Uses Task Scheduler COM API 1 TTPs
The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.
Processes
-
C:\Users\Admin\AppData\Local\Temp\WinLock.exe"C:\Users\Admin\AppData\Local\Temp\WinLock.exe"1⤵
- UAC bypass
- Windows security bypass
- Event Triggered Execution: Image File Execution Options Injection
- Windows security modification
- Adds Run key to start application
- Checks whether UAC is enabled
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious behavior: GetForegroundWindowSpam
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
- System policy modification
PID:2392 -
C:\Windows\System32\cmd.exe"C:\Windows\System32\cmd.exe" /c schtasks /create /tn "GoogleUpdateTaskMachineUK" /sc MINUTE /mo 1 /tr "C:\Users\Admin\AppData\Local\Temp\WinLock.exe" /rl HIGHEST /f2⤵
- Suspicious use of WriteProcessMemory
PID:3044 -
C:\Windows\system32\schtasks.exeschtasks /create /tn "GoogleUpdateTaskMachineUK" /sc MINUTE /mo 1 /tr "C:\Users\Admin\AppData\Local\Temp\WinLock.exe" /rl HIGHEST /f3⤵
- Scheduled Task/Job: Scheduled Task
PID:2784
-
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Temp\WinLock.exe'"2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2176
-
-
C:\Users\Admin\AppData\Local\Temp\WinLock.exeC:\Users\Admin\AppData\Local\Temp\WinLock.exe explorer.exe1⤵
- System Location Discovery: System Language Discovery
PID:2636
-
C:\Windows\system32\taskeng.exetaskeng.exe {48094800-D533-4363-8DBD-808D7F7A1C72} S-1-5-21-3294248377-1418901787-4083263181-1000:FMEDFXFE\Admin:Interactive:[1]1⤵
- Suspicious use of WriteProcessMemory
PID:1072 -
C:\Users\Admin\AppData\Local\Temp\WinLock.exeC:\Users\Admin\AppData\Local\Temp\WinLock.exe2⤵
- System Location Discovery: System Language Discovery
PID:1204
-
-
C:\Users\Admin\AppData\Local\Temp\WinLock.exeC:\Users\Admin\AppData\Local\Temp\WinLock.exe2⤵
- System Location Discovery: System Language Discovery
PID:2420
-
Network
MITRE ATT&CK Enterprise v15
Execution
Command and Scripting Interpreter
1PowerShell
1Scheduled Task/Job
1Scheduled Task
1Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Event Triggered Execution
1Image File Execution Options Injection
1Scheduled Task/Job
1Scheduled Task
1Privilege Escalation
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Event Triggered Execution
1Image File Execution Options Injection
1Scheduled Task/Job
1Scheduled Task
1Defense Evasion
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Impair Defenses
3Disable or Modify Tools
3Modify Registry
5