The images in this article were generated with artificial intelligence. How we publish
A recent analysis of the sandboxing platform ANY.RUN He revealed a sophisticated operation that turned more than twenty Brazilian government sites into malware delivery channels. Far from being a simple mass phishing, the attackers took advantage of legitimate links and mailboxes to validate reliable logic and thus slide a malicious installer that then loads a modular backdoor built on modern technologies such as Electron and Node.js.
The initial vector was a luring that imitated official communications - police offices, digital procures and documents with QR codes - and in many cases the mail came from committed accounts passing the SPF, DKIM and DMARC checks. This combination of official appearance and redirection routes through compromised .gov.br domains drastically reduced the suspicions of both users and automatic controls, allowing the legitimate but patched installer to run an index.js with the ability to persevere and deliver subsequent payloads.

From the technical point of view, the most relevant thing was not just a download but a modular architecture: a backdoor written to evaluate and run JavaScript by eval (), create persistent machine identifiers, question commands at regular intervals and launch other malware - stealers, loaders, remote management tools - as appropriate to the operator. This design allows to change the subsequent damage without altering the first chain of infection, which complicates signature-based detection and containment after an initial infection.
The implications for banks and public entities are profound: confidence in a .gov.br URL or an authenticated mail no longer guarantees security. A compromised point can serve as a trampoline for the theft of credentials, side movements, financial fraud and exfiltration of sensitive data. In addition, the use of legitimate infrastructure fragments signals and reduces the visibility of security equipment, which can receive dispersed alerts rather than a clear pattern.
To reduce operational risk, security teams must complement traditional defences with behavior detections and threat hunting focused on the entire chain. It is critical to monitor installer loads and binary to detect modifications, correlate sandboxing sessions and web access records, and look for JavaScript performance indicators in unexpected contexts (e.g., electron apps that load external index.js). EDR solutions and threat hunting processes should prioritize process telemetry, called to eval () in JavaScript runtimes and outgoing connections to rotary infrastructure.
In the area of mail and prevention, in addition to maintaining SPF / DKIM / DMARC properly implemented, it is necessary to monitor the legitimate, delegable use of domains and have a secure corporate channel to validate critical communications. Organizations should enable simple and anonymous reports for employees to send suspicious messages, and response teams should analyse those reports beyond the initial verdict of a gateway, including inspection of links and intermediate readdresses.
At the containment and incident response level, act on early signals: isolate endpoints with unverified installers, revoke account credentials with unusual activity, force passwords and sessions rotation, and apply minimum access controls. The identification of government hosts engaged in the chain should be communicated to national authorities and response teams for coordinated mediation and blockade actions.

Specific technical recommendations should include application of white software lists, standard user-based execution block, monitoring of the integrity of common applications (especially Electron customers and their packages), and network rules for detecting beaconing patterns and unusual downloads. It is also essential that the teams maintain playbooks to respond to commitments that include the remediation of JavaScript back doors and the forensic evaluation of hidden persistences.
To deepen tactics and techniques related to phishing and persistence campaigns, see public resources that help map these threats, such as MITRE's ATT & CK matrix in phishing https: / / attack.mitre.org / techniques / T1566 / and national response teams such as CERT.br which facilitate coordination and reporting when public infrastructure is abused. In addition, ANY.RUN's interactive analysis report provides technical details and IoC that teams can use as a starting point for their hunting.
In conclusion, the campaign shows that adversaries gain advantage by combining highly credible social engineering with abuse of reliable infrastructure and modular backdoors. Effective defence requires full-cycle visibility, human validation of sensitive communications and rapid and coordinated response capacities both within the organisations concerned and with the entities responsible for protecting the public digital ecosystem.
Related
More news on the same subject.

Drago detects prompts exfiltration in three IA suppliers; OpenRouter withdraws three suppliers
This week the research of the firm Dragos revealed a data exfiltration pattern that affected at least three suppliers offering inference of IA models: sustained attacks for mont...

NebuSec reveals chain of exploitation in Muse that could steal chats and user memories
Researchers at the NebuSec security firm demonstrated in the laboratory a chain of exploitation that allowed a malicious website, opened by Meta's personal assistant called Muse...

Meta fixes three WhatsApp vulnerabilities on Android, iOS and Mac; CVE-2026-23871 exposes IP
Meta has patched three vulnerabilities in WhatsApp that affect Android, iOS and Mac customers, including a failure in the Android application that the company itself links to a ...

KVM AMD Vulnerability with nested virtualization allows you to read host memory; patch applied
A vulnerability in KVM, the hyperviewer integrated into the Linux kernel, allowed researchers to read large portions of the physical memory of the host server from within a virt...

ROMULUS delivers a RAT with DLL sideloading and DoH using ClickFix
Security researchers have identified a malware distribution platform called "ROMULUS" which is serving as a delivery point for a remote access Trojan (RAT) so far undocumented, ...

The IA potentiates social engineering attacks and abuse of supplier credentials
The scene is not spectacular: an email that looks like human resources, a service cut-off notification that matches the time you're in a hurry, a pop-up window of an application...

CVE-2026-123890: VMware vmdir authentication bypass; patches available
A critical failure at VMware vCenter allows an attacker with network access to avoid authentication and obtain unauthorized access to the system, according to a notice published...