Skip to content
.ca
6 minhigh

From Fake Amazon Security Alert to HarborWatch Agent: ClickFix Delivery of a Custom Monitoring RAT

A recent phishing campaign impersonates Amazon security alerts to deliver a custom remote access trojan (RAT) dubbed HarborWatch Agent. The attack leverages the ClickFix technique, using a fake CAPTCHA page to socially engineer victims into manually executing a malicious PowerShell command via the Windows Run dialog. Once executed, the script downloads the RAT, which collects system information and communicates with a C2 infrastructure managed via a panel called Harbor Sentinel.

Sens:▲ 24hConf:highAnalyzed:2026-06-08models

Authors: Dylan Main, Cofense Phishing Defense Center

ActorsHarborWatch AgentHarbor SentinelClickFix

Source:Cofense

Indicators of Compromise17
4domain4url3ip3md53sha256
Improve this report

Send corrections, useful missing information, or quality feedback. It is private and will not appear as a comment.

Feedback type

Detection / Huntermodels

What Happened

Cybercriminals are sending fake Amazon security emails claiming the recipient's account is locked. When users click the link, they are taken to a fake security check page that tricks them into copying and pasting a hidden, malicious command into their computer. This command secretly installs a custom monitoring tool called HarborWatch Agent, which steals system information and gives the attackers remote access. Users should be wary of any website asking them to copy and paste commands into their computer's Run dialog. Organizations should ensure their security tools can detect unusual PowerShell activity and block known malicious websites.

Key Takeaways

  • Threat actors are using fake Amazon security alerts to trick users into self-infecting via the ClickFix technique.
  • The attack uses a fake CAPTCHA page that instructs users to paste a malicious PowerShell command into the Windows Run dialog.
  • The PowerShell command downloads and executes a custom RAT named HarborWatch Agent, disguised as mysql.exe.
  • HarborWatch Agent requires a specific command-line argument (--pass=JHSgfsa2652) to execute, likely to hinder automated analysis.
  • The malware communicates with a C2 server featuring a Chinese-language admin panel named Harbor Sentinel.

Affected Systems

  • Windows OS

Attack Chain

The attack begins with a phishing email impersonating Amazon security, prompting the user to verify their account. Clicking the link redirects the victim to a fake CAPTCHA page that uses the ClickFix technique, instructing them to open the Windows Run dialog and paste a copied command. This command executes a hidden PowerShell script that decodes a base64 payload, which in turn downloads a secondary script from a remote server. The secondary script downloads the HarborWatch Agent (named mysql.exe) to the Temp folder and executes it with a specific password argument. Once running, the agent collects system information and establishes communication with a C2 server managed via the Harbor Sentinel panel.

Detection Engineering Assessment

Required Log Sources

  • Process Creation (Event ID 4688)
  • PowerShell Operational Logs (Event ID 4104)
  • Network Connection Logs

Hunting Hypotheses

copy:
HypothesisTelemetryATT&CK StageFP Risk
Consider hunting for PowerShell executions containing '-nop -w hidden' combined with base64 decoding commands, especially if spawned shortly after web browser activity.Process Creation, PowerShell Script Block LoggingExecutionLow
Consider hunting for processes named 'mysql.exe' executing from the AppData\Local\Temp directory, particularly with unusual command-line arguments like '--pass='.Process CreationExecutionLow

Control Gaps

  • Email gateways may miss the initial phishing link if the lookalike domain is newly registered and uncategorized.
  • Standard AV might not flag the initial clipboard payload since it relies on manual user execution via the Run dialog.

Key Behavioral Indicators

  • PowerShell executing with '-nop -w hidden'
  • Execution of 'mysql.exe' from the Temp directory
  • Network connections to API endpoints like '/api/agent/tasks/claim'

False Positive Assessment

  • Low

Recommendations

Immediate Mitigation

  • Verify against your organization's incident response runbook and team escalation paths before acting.
  • Consider blocking the identified IP addresses and domains at the perimeter firewall or web proxy.
  • Evaluate whether to search endpoint telemetry for the execution of 'mysql.exe' from the Temp directory or the specific PowerShell command fragments.

Infrastructure Hardening

  • If supported by your environment, consider restricting the execution of PowerShell scripts from standard users.
  • Evaluate implementing application control policies to prevent the execution of unapproved binaries from the AppData\Local\Temp directory.

User Protection

  • Consider deploying endpoint protection rules that flag or block hidden PowerShell executions.
  • If applicable, ensure web filtering is configured to block newly registered or uncategorized domains.

Security Awareness

  • Consider updating security awareness training to educate users on the 'ClickFix' technique, emphasizing that legitimate services will never ask users to copy and paste commands into the Windows Run dialog.
  • Evaluate reminding employees to scrutinize sender email addresses, even if the email branding appears legitimate.

MITRE ATT&CK Mapping

  • T1566.002 - Phishing: Spearphishing Link
  • T1204.001 - User Execution: Malicious Link
  • T1059.001 - Command and Scripting Interpreter: PowerShell
  • T1140 - Deobfuscate/Decode Files or Information
  • T1105 - Ingress Tool Transfer
  • T1071.001 - Application Layer Protocol: Web Protocols
  • T1082 - System Information Discovery
IOCs · 17
.txt.json
Showing defanged values