Skip to main content
Mallory
← Back to News
remote-access-implantdefense-evasion-methodcommand-and-control-methodloader-delivery-mechanism

PyInstaller Abuse Conceals XWorm RAT With AMSI Patching and Anti-Analysis

Malware Intelligence · 2 sources · Updated 5mo ago · First seen May 15, 2026

PyInstaller Abuse Conceals XWorm RAT With AMSI Patching and Anti-Analysis

Researchers at Point Wild reported a malware campaign that abuses the legitimate packaging tool PyInstaller to disguise and deliver XWorm RAT v7.4 inside files presented as benign software or updates. The infection chain uses obfuscation and anti-analysis techniques, including a routine identified as _IAT_PHANTOM_FIX, then patches AMSI in memory to weaken Windows scanning before unpacking an encrypted payload. The malware is then dropped into %LOCALAPPDATA% as the hidden system file Win.Kernel_Svc_AJ8iOw.exe, helping it evade user notice and endpoint defenses.

Once installed, the payload connects to command-and-control infrastructure at 68.219.64.89:4444 using an AES key and enables a broad set of remote-access capabilities. Point Wild said XWorm can steal passwords, access files, activate webcams, launch DDoS attacks, and provide full remote control; researchers also observed deployment of an additional file, afacan313131.exe, as part of the intrusion. The findings show how attackers are combining trusted developer tools with memory patching and encrypted payload delivery to make a well-known malware family harder to detect.

Why it matters

Impact assessment

This campaign targets Windows users through phishing emails and fake software updates, making exposure relevant across most industries rather than a single vertical. The payload is XWorm RAT v7.4, which supports credential theft, file access, webcam surveillance, DDoS activity, and full remote control, creating high risk of data loss, operational disruption, and follow-on compromise.

The scope appears broad and opportunistic because delivery relies on common social-engineering lures and abuse of a legitimate packaging tool rather than a niche product vulnerability. Researchers reported an active campaign and described observed command-and-control infrastructure, indicating real-world malicious use rather than a purely theoretical technique.

Affected populations

  • Windows endpoint users exposed to phishing attachments or fake software-update lures
  • Organizations that allow execution of unsigned or user-delivered packaged executables
  • Security teams relying heavily on AMSI-backed inspection for script-based malware detection

Severity and business risk

  • Credential theft can enable account takeover and lateral movement
  • Remote access can lead to data exfiltration, surveillance, ransomware staging, or destructive actions
  • DDoS capability can conscript infected hosts into botnet activity, increasing legal and reputational risk
  • Hidden persistence in user-local paths can delay discovery and extend dwell time

Scope and exploitation status

  • Delivery method suggests potentially widespread targeting
  • No victim count was provided in the source material
  • Exploitation in the wild is indicated by Point Wild's reporting on an observed campaign
Hunt this familyPull IOCs and campaign context straight into your stack.
Get the IOCs
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · May 15, 2026
  1. May 15, 20267mo ago

    Researchers reveal XWorm V7.4 payload behavior and infrastructure

    The researchers reported that the payload drops as a hidden file named "Win.Kernel_Svc_AJ8iOw.exe" in %LOCALAPPDATA% and connects to command-and-control server 68.219.64.89 on port 4444 using an AES key. They said the XWorm V7.4 infection enables password theft, file access, webcam spying, DDoS activity, and full remote control, including deployment of an additional file named afacan313131.exe.

  2. May 15, 20267mo ago

    Point Wild identifies PyInstaller-based XWorm delivery campaign

    Point Wild researchers uncovered a malware campaign that abuses the legitimate PyInstaller packaging tool to disguise and deliver XWorm RAT through deceptive emails or fake software updates. The attack chain uses obfuscation, anti-analysis routines, AMSI memory patching, and encrypted payload unpacking to evade detection.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Affected products

1 linked
Pyinstaller

Observables

1 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Pull the IOCs, campaigns, and victimology behind this family, ready to push into your SIEM and EDR.
Hunt This Malware
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.