Attack flow chart | Image: Fortinet
The FortiMail Workspace Security team has uncovered a targeted intrusion campaign against multiple Israeli organizations, exploiting compromised internal email systems to distribute phishing messages. The operation, which the team says βrelied entirely on PowerShellβ for both delivery and execution, used no external executablesβmaking detection significantly more challenging.
The attack began with convincing phishing emails disguised as invitations to βa mentoring session on handling wartime conditions and the use of medical and pharmaceutical supplies.β By urging recipients to share the information internally, the attackers increased the likelihood of rapid lateral spread.
Clicking the embedded link led victims to a spoofed Microsoft Teams landing page. From there, they were instructed to press Windows + R, paste a copied string, and hit Enterβa form of social engineering designed to execute an obfuscated PowerShell command without arousing suspicion.
The initial payload, dubbed ClickFix, was Base64-encoded and split across three strings within the phishing pageβs HTML. Once decoded, it executed:
This triggered the download of a secondary PowerShell script, which reconstructed the final payloadβa Remote Access Trojan (RAT)βfrom binary-encoded chunks hidden in an HTML file.
Once deployed, the RAT connected to its hardcoded C2 server (hxxps[:]//pharmacynod[.]com/), registering each victim with compressed and obfuscated system details. It then entered a persistent polling loopβsleeping for random intervals to evade detectionβwhile awaiting commands.
The C2 instruction set included:
- 7979 β Reinitialize and re-register the victim.
- 5322 β Download and save remote payloads.
- 4622 β Adjust C2 polling intervals.
- 2474 β Execute arbitrary PowerShell commands, compressing and exfiltrating the output.
While the campaignβs regional focus, lateral movement tactics, and scripting style suggest a link to the Iranian-aligned MuddyWater group, the FortiMail team stops short of firm attribution. As the report notes, βThis new activity is just a single pointβ¦ it might fit the square holeβbut it could easily belong to another actor.β Deviations include avoiding Remote Management Tools (RMMs) and relying exclusively on PowerShell-based tooling.
The attackers employed layered obfuscationβGZip compression, Base64 encoding, and string reversalβto hinder analysis. On the network side, they used native .NET HTTP requests, set a legitimate User-Agent, leveraged default Windows credentials, and respected system proxy settings to blend in with normal traffic.
Organizations should:
- Enforce strict PowerShell logging and execution policies.
- Deploy behavior-based detection to spot unusual PowerShell activity.
- Conduct phishing awareness training to counter social engineering tactics like ClickFix.
As FortiMail warns, βContinued monitoring of similar patterns and proactive use of detection signatures is essential for organizations in high-risk sectors.β
Related Posts:
- Israel suffers largest DDoS attack ever: Many government websites go offline
- Israeli cyber security is among the top five in the world
- Iranian APT hacker organisation falsifies Israeli security companies official website to implement phishing activities
- Microsoft released the PowerShell Core that support MacOS/Linux OS
- Microsoft is Removing PowerShell 2.0 from Windows 11
Support Our Threat Intelligence
If you find our CVE report and cybersecurity news helpful, consider supporting our work.