KmeX Operation: IMSS Breach Exposes 280M+ Mexican Records
Since September 2026, the SOCRadar Threat Research Unit (STRU) has tracked an intrusion operation targeting public and private sector organizations in Mexico. The operation runs on very limited infrastructure. It exploits known vulnerabilities in legacy environments and uses a custom post-exploitation framework, internally named kx, along with a web-based victim management panel.
The adversary, tracked as KmeX, compromised or reached at least fourteen organizations, including the Mexican Social Security Institute (IMSS), in the insurance, telecommunications, public healthcare, government, and enterprise messaging services sectors.
High-value targets include an enterprise communications provider whose customer database was exfiltrated. KmeX may have used that data in the campaigns covered here or in other operations, which could affect the provider’s downstream supply chain. When the operation was detected, the actor controlled twenty-five beacons active at the same time, and the activity continued for several weeks afterward.
The operation consists of two campaigns that overlapped in time. The first began around September 2026 and targeted an enterprise messaging service provider to reach its corporate customer database and exfiltrate proprietary data. The second ran from September to October 2026 and deployed kx against a wider set of organizations through several initial access vectors:
- exploitation of Oracle WebLogic (CVE-2019-2729)
- compromised VPN credentials
- possibly, information obtained in the first campaign
With victims across public healthcare, government, and insurance, and a high level of technical sophistication, KmeX is one of the most significant incidents detected in Mexico in 2026.

Key Takeaways
- A small number of IP addresses acted as C2 servers, management panels, and exfiltration servers throughout the operation, centralizing control over at least twenty-five simultaneously active beacons
- The actor operated a custom post-exploitation framework (named kx) with beaconing, keylogging, screenshot capture, tunneling, and staged exfiltration capabilities. The comments in most scripts and the way the infrastructure and tools are developed suggest, with low confidence, that AI may have been used in their creation
- The compromise of an enterprise communications provider exposed its corporate customer database, potentially expanding the campaign’s reach to dozens of organizations
- Initial access to an insurance company was obtained by exploiting CVE-2019-2729 in an internet-exposed Oracle WebLogic instance, a 2019 vulnerability that was still present in production at the time of the attack
- The VPN credentials used to access at least one organization in the insurance sector presumably originated from the dataset leaked by the Initial Access Broker Belsen Group in January 2025, suggesting an incubation period of more than one year between the credential leak and its operational use
- Exfiltrated data includes more than 280 million records from IMSS-linked social security, population registry, and tax systems, as well as electoral mapping documents, increasing the political sensitivity of the incident
- The majority of confirmed victims are Mexican organizations, with a sectoral profile consistent with espionage operations, potential subsequent use for criminal activities, extortion, or possible resale of access
KmeX Threat Actor Profile
KmeX demonstrates a level of technical competence that goes beyond the use of publicly available tools. Although the actor relies on documented exploits for initial access, most of its post-exploitation tools are custom-developed, potentially with the assistance of AI.
The kx framework includes a beaconing system, keylogging capabilities, screenshot capture, staged exfiltration, network tunneling, and pivoting, all integrated into a management panel with a web interface.

The development of tools such as kn_listener.py, qvd_upload.py, glpixss_listener.py, and the multiple components of the kx framework that will be discussed below demonstrates the actor’s ability to develop custom software.
The choice of Python as the primary language for the server infrastructure, combined with the implementation of custom communication protocols, suggests an actor with experience in software development and offensive operations.


From an operational perspective, the actor demonstrates the ability to maintain persistent access across multiple networks simultaneously and manage twenty-five active beacons in a coordinated manner. This approach supports exfiltration over extended periods while attempting to avoid triggering security controls.
The observed compartmentalization between the reconnaissance phase, data exfiltration, and deployment of the kx framework suggests mature operational planning.
Geographical and Sectoral Focus
Overall, confirmed victims indicate a focus on Mexico. The actor shows particular interest in sectors with high intelligence or economic value, including public healthcare (IMSS), government (entities with potentially linked electoral infrastructure), telecommunications, insurance, and enterprise communications service providers.
This sectoral concentration, together with the presence of sensitive data such as hospital records and potential electoral data, could indicate motivations that go beyond direct financial gain. Further details are available in the Victimology section.
Language and Cultural Indicators
Several samples from the operation exhibit characteristics suggesting that the actor is Spanish-speaking or has a functional knowledge of Spanish. Script and directory names (kx_cb, fire2, qvd_exfil, Azazel) combine technical English with naming conventions consistent with Latin American developers. Some victim identifiers in the kx framework logs use hostnames that reflect Mexican corporate naming conventions.
Ultimately, up to four independent indicators point to a Spanish-speaking developer, possibly originating from or based in Mexico:
- The HTML source code of the Azazel panel includes the lang=”es” attribute in the <html> tag, and the main container div has the id raíz, instead of the conventional root commonly used by English-speaking developers. These two details are consistent with a potential Spanish-speaking developer generating the frontend using a standard template or an English-language LLM without subsequent customization
- SQLite database scripts found in the OpenDir contain comments written in Spanish, suggesting that the actor naturally writes their own development notes in Spanish rather than as a result of translation
- Finally, the handle rodrigo appears in the bash history of multiple nodes, while the path /mnt/russo/ is used as a mount point on the main server. These are the only available personal identifiers. Although insufficient on their own for individual attribution, they are consistent with the linguistic profile described above
Nevertheless, the STRU team maintains that these indicators are insufficient to establish geographical attribution or a state nexus with reasonable confidence.
Infrastructure & Pivoting
The adversary has operated a small but functionally specialized network of nodes. Each node has a differentiated role: one centralizes C2 and receives exfiltrated data, another manages and normalizes stolen data, a third acts as the actor’s operational pivot, and the remaining nodes cover testing, initial access, or occasional exfiltration functions. This separation of roles suggests a deliberate design intended to compartmentalize the operation.
- :8880kx framework C2
- :8443/8445Exfil receiver
- :4444Reverse shell
- :4646WebLogic callback
- :4647XSS pixel tracking
- :4690Chisel from IMSS
- :1080SOCKS proxy
- :8082Exposed OpenDir
- :53Internal DNS
Main Node: C2 and Exfiltration (N001)
Most of the operation converges on the first node (N001), hosted at 162.35.188.56, an Interserver VPS (AS26666) located in New Jersey with the hostname vps3532757.trouble-free.net. This node centralizes the kx framework C2, tool staging, exfiltration reception, and the entry point for remote shells throughout the analyzed period.
| Port | Function |
|---|---|
| 8880 | kx framework C2 (kn_listener.py) |
| 8443 / 8445 | HTTPS exfiltration receiver (PUT) |
| 4444 | TCP reverse shell (x.ps1, continuous reconnection) |
| 4646 | WebLogic RCE callback receiver (CVE-2019-2729) |
| 4647 | XSS pixel tracking receiver (glpixss_listener.py) |
| 4690 | Chisel reverse SOCKS5 listener (tunnel from the IMSS network) |
| 1080 | Outbound SOCKS proxy for the established Chisel tunnel |
| 8082 | OpenDir, tool staging and distribution |
| 53 | Internal DNS (kxlab.test) |
Three TLS certificates on N001 provide indicators directly linked to the framework: CN kx-cams (unique on the internet), CN nodenms_server (correlates with the .xmc backdoor on the IMSS NMS), and CN chisel (confirms the use of the tunnel documented later). The self-signed certificate containing 162.35.188.56 was issued on September 29, 2026, a date that coincides with the establishment of the first Chisel tunnel from the IMSS infrastructure.

Azazel Panel and TLS Relay (N002)
Another important node is hosted at 162.35.188.166 (the same /24 and ASN as N001, Interserver) and serves a dual purpose: it operates as a TLS relay with N001 (bilateral :443 traffic confirmed in the extracted pcap) and hosts the Azazel panel on port 3000.
Azazel is a system for large-scale identity (individual) resolution and normalization, as its login screen subtitle makes clear: “Mass Data Normalization”. The system implements an automatic classification pipeline across several tiers:
- T0 makes decisions based on metadata without opening the file
- T1 reads only the file signature (first few KB)
- T2 analyzes the header structure (entropy, format), while the gray zone (files whose scores fall between the cold/HOT thresholds) is reserved for resolution by the next tier
- T3 (ML) is suspected to involve manual review. Files above the HOT threshold are sent to active storage, while those below the cold threshold are sent to MinIO (cold object storage)
The underlying stack consists of nginx/1.31.5 serving the frontend on port 3000, FastAPI acting as the backend API on port 8000, Caddy operating as a reverse proxy with HTTPS redirection on port 80, and Ncat on port 443 providing an additional proxy or tunneling layer. The frontend was deployed on September 8, 2026, and the panel remained active in late November 2026.

The system’s core functionality is identity deduplication and consolidation through four main sections: CURP, RFC, email, and phone. Once resolved, the entity is projected into external systems through recipes (configurations that define which fields are sent, in what format, and to which destination).
This projection is performed by the receiving orchestrator, not Azazel. Data transmission is incremental (only new or changed data) and resumable. Machine consumers access the system directly through the POST endpoint using an X-API-Key, without requiring a browser session.

The system defines three roles: reader (search, view dashboards and entities, download originals), operator (all of the above, plus launch runs, reprocess data, and edit filters), and admin (all of the above, plus manage users, API keys, recipes, and resources). The backend combines OpenSearch for indexing, MinIO for cold object storage, and PostgreSQL as a job queue.

A second Azazel instance with identical HTML and JS bundles was identified on a separate node, 205.209.102.101, which also hosts an additional SQLite console panel not present on N002. The actor registered the domain lilith-baseofknowledge.com in September 2026, one day before its Let’s Encrypt certificate was issued, pointing it to N002 as the primary Azazel endpoint.
It followed a structure similar to the one mentioned above, continuing the demon naming theme used for Azazel. This suggests a second deployment by the same actor for another campaign or as a redundancy measure.

Operational Pivot Node (N003)
The third node, hosted at 131.196.248.183, belongs to COEFICIENTE COMUNICACIONES S.A. de C.V. (AS265524), based in Zapopan, Jalisco. C2 logs show this node operating the jit2 testing group (SERVER-JIT2, forti_jit2, recon_jit2, scan_jit2, ppk_jit2), consistent with a workstation used by the actor to validate the framework before deploying it against actual victims, although the available data is not sufficient to confirm this.
SERVER-JIT2 also beaconed to the N001 C2, as confirmed in kx_cb.log on October 11, 2026. This means that the adversary installed its own framework on this node, which could indicate that it uses the same environment for both operations and development, or that it verified beacon behavior from a controlled environment before the large-scale deployment the following day.

The Zapopan-based Mexican ASN associated with SERVER-JIT2 (COEFICIENTE COMUNICACIONES) is the most specific geographic indicator available. However, the presence of a node in that ASN does not imply that the operator is physically located there, as it could be a VPS, a compromised system, or remote access via a proxy.
Kali Testing Machine (N004)
The adversary’s infrastructure also includes 149.88.22.167 and 149.88.22.136 (AS212238 Datacamp), which appear to be the adversary’s Kali workstation. C2 logs record downloads of h.ps1, d.ps1, and kxstage.ps1 from these IP addresses. These are kx framework staging tools, consistent with the operator preparing deployments from their attack machine.

Like N003, this machine geolocates to Mexico.
OpenDir Download Node (N005)
The adversary may also have used machines such as 85.203.21.5 and 85.203.21.53 (VPNs belonging to AS206092 F.n.s Holdings Limited), as records show these IP addresses downloading the complete OpenDir from N001 on October 11, including chisel.exe, kxbt.ps1, and cmd_SERVER-JIT2.ps1. Downloading the entire arsenal before the large-scale deployment could correspond to a second session by the same operator, a testing environment, or a collaborator preparing their environment.
| GET / Client: 85.203.21.5 Host: 162.35.188.56:4647 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Accept-Encoding: gzip |
|---|
Pivoting
The starting point was the N001 OpenDir exposed on port 8082 between October 11 and 12. This exposure revealed the server’s entire filesystem, where the STRU team found scripts containing hardcoded paths, C2 logs, SSH keys (jit-guadalajara.ppk, qualitas_persist, kxhny_rsa), and the kx framework modules ready for distribution.
From there, correlating bash_history across the first node, compromised nodes, and N003 revealed the operational IP addresses. The operator handle (rodrigo, path /mnt/russo) appears across multiple nodes with identical histories, suggesting a single operator or a small team. The correlation was completed using passive traffic data, the discovery of identical files on other servers, and N001 TLS certificates. In particular, Subject Common Names were used to identify the remaining infrastructure mentioned above, as well as the victims reached.

The oast.pro platform (178.128.212.209, DigitalOcean Singapore) appears in the network capture with more than 3,000 packets and 11 DNS callbacks on September 6, 2026. The actor used this public out-of-band (OOB) testing service to verify outbound DNS connectivity on targets before launching exploits, confirming active reconnaissance prior to the documented initial access.


Numerous victims were identified in the logs, some of which were subsequently correlated with victim organizations, while others were classified as testing targets during the stages preceding the attack.
Campaigns
The operation attributed to KmeX is structured around two distinct campaigns which, although sharing exfiltration infrastructure and management tools, rely on different initial access vectors, objectives, and execution methods.
The first campaign focused on compromising an enterprise messaging service provider with the aim of obtaining data from its corporate customer database. The second involved deploying the kx framework against a broader set of targets using multiple initial access vectors, including credential dumps from the IAB known as Belsen Group. Both campaigns overlapped temporally during September and October 2026 and shared the same data management node for exfiltrated information: the Azazel panel hosted at 162.35.188.166 (N002).

The diagram illustrates the actor’s operational structure, with two parallel attack chains converging at a single data normalization and storage point. This architecture suggests that the actor deliberately designed its infrastructure to handle multiple targets simultaneously, separating the access and exfiltration phases from the data processing phase.
Campaign 1: Supply Chain Compromise
The initial focus of KmeX’s first campaign was Auronix, an enterprise messaging and communications service provider whose platform is used by dozens of organizations across the Mexican public and private sectors. The actor identified and compromised a QlikView server within the organization’s environment, thereby gaining access to business intelligence data covering the platform’s corporate customer base.

The first indications of access to the Auronix environment were detected in September 2026, coinciding with the actor’s initial access activities against other infrastructure, which will be covered in subsequent sections.
QlikView Reconnaissance and Extraction
After gaining access, the actor deployed reconnaissance scripts designed to map the server structure and locate data files in QVD (QlikView Data) format. The exploration revealed the path D:\BI_QlikView\, which contained hundreds of QVD files distributed across different subdirectories, each corresponding to a different corporate customer of the platform.


The QVD files contained processed data from the CalixtaSend and CalixtaChat messaging services, including customer identifiers, sending volumes, account configurations, and potentially enterprise communications content. The nature of this data makes this access an ideal starting point for social engineering or targeted fraud operations against Auronix customers, serving as an initial foothold for reaching its customers through a supply chain attack.

Exfiltration
After collecting the data by executing various scripts, the adversary proceeded to exfiltrate the QVD files using the qvd_exfil1.ps1 script, which establishes an HTTPS connection to N001 (162.35.188.56) and transfers the files using HTTP PUT. 190 QVD files were exfiltrated to the actor’s main node, where they could subsequently be processed by the Azazel panel.

Exfiltration was performed over port 8443 using the PUT method, as shown in the previous image. This is consistent with the exfiltration pattern documented in other scripts used by the actor, which relies on its own HTTP servers rather than standard file transfer protocols to avoid traffic inspection.
Azazel
The exfiltrated QVD files were temporarily stored on N001 in the path /root/exfil/qvd/ using qvd_upload.py, which accepted PUT requests and saved each file using the base name of its original path. From there, the files were processed by the Azazel dashboard hosted on N002, which acts as a data platform shared by both campaigns.

Azazel classifies each imported file into tiers T0 to T2 by its actual content rather than its metadata, reading file signatures to determine the data level. Records that exceed the HOT threshold are fed into the entity resolution engine, which deduplicates individuals using the CURP, RFC, email address, and phone number, consolidating records that appear in multiple sources under a single identity.

The dashboard displays the processing counters via a PostgreSQL queue. At the time of detection, this view included entries for SIPARE and RENAPO with counts that matched the figures retrieved from the Oracle extract (260,608,734 and 9,693,494, respectively), confirming that, at least, these two datasets had been processed through the channel.
The QVD files stolen from Auronix were received on N001 (190 files, 1.9 MB, as recorded in the QVD_progress.log file on September 29, 2026, at 23:34 UTC). The connection between the QVD exfiltration chain and the Azazel ingestion is evident from the shared infrastructure, where N001 receives all exfiltrated data, and Azazel on N002 is the sole processing system within that infrastructure. The 16 QVD filenames include client-assigned identifiers (ExtCalixtaSend_clientes, ExtCalixtaChat_Tenants, T1CalixtaSend_Clientes, etc.) that match the multi-client pipeline structure that Azazel is designed to process.
| 2026-09-29 23:34:01 files=190 size=1.9M |
|---|
The resulting data is incrementally projected to the configured external system (AEB), without restarting the process from scratch. The record counters visible in the panel at the time of detection confirm that processing had been completed for at least part of the received data.
Conclusion and Supply Chain Implications
The most significant aspect of this campaign is Auronix’s position within the Mexican business ecosystem, more than the volume of data exfiltrated. By compromising the messaging platform of a provider with dozens of corporate customers, the threat actor obtained access to information that could be used to:
- Identify high-value target organizations among Auronix’s customers
- Facilitate targeted phishing attacks against employees of those organizations using information from internal communications
- Expand access to customer environments through credentials or tokens obtained from intercepted communications
This pattern is consistent with an actor seeking to maximize the impact of a single initial access point by compromising the trusted ecosystem surrounding the target, an approach that scales further through the second campaign.
Campaign 2: KX Framework
The second campaign documents the systematic deployment of the kx framework against multiple organizations during September and October 2026. Unlike the first campaign, where access was concentrated on a single provider, this campaign used heterogeneous initial access vectors, including the exploitation of known vulnerabilities in legacy software, the use of compromised credentials obtained from public sources, and pivoting through internal infrastructure.
The actor’s extensive arsenal supports different activities depending on the campaign. This section first reviews how the kx framework works, then details the most relevant operational phases.
KX Framework
Unlike commercial or publicly available post-exploitation frameworks such as Cobalt Strike, Sliver, and Havoc, kx consists entirely of Python and PowerShell scripts developed by the actor, with no dependencies on third-party projects found. Given the extensive list of scripts and modules used, the remaining indicators can be found in the IOC section. This section focuses on the most relevant components for understanding the operation.
Architecture
The central server-side component is kn_listener.py. Its purpose is to receive beacons from agents deployed on victims and log their activity. The name kn suggests “kx node” or “kx network”. It operates over TCP port 8880 on N001.
The beacon format is structured JSON containing at least four fields:
| { “host”: “<compromised_host_name>”, “ts”: “<timestamp>”, “mod”: “<reporting_kx_module>”, “data”: “<module_payload>” } |
|---|
This compact format is evidenced by the kxdata_HHMMSS__<module>_<HOST>.bin files observed in the OpenDir. The filename encodes the UTC time of reception (HHMMSS), the module that generated the beacon (kxbt, kxkey, kxstage, kxsniff), and the name of the compromised host.

The most direct evidence of the framework’s active operation is the volume and regularity of the kxdata_* files stored in the root directory. Hundreds of files corresponding to multiple captured hosts and modules were observed. The logs and information returned by each module have helped reconstruct the purpose of each component.
Modules and Agent
The kxdata_* files make it possible to identify which modules were operational at the time of capture, along with their respective victim hosts:
kxbt: Persistence
The basic beaconing module. It is deployed on the compromised host and periodically sends a heartbeat packet to the listener. kxbt_*.bin files have been observed for dozens of nodes. Its activity also appears in the C2 log.

kxkey: Keylogger
The keylogging module. The observed kxkey_*.bin files range in size from 50 to 112 bytes, consistent with transmissions of captured keystrokes. The module actively reports from the same hosts where kxbt is detected. Files associated with different victims indicate that the module transmits keystrokes in batches or at timed intervals. Its activity also appears in the C2 log.
kxstage: Staging and Lateral Deployment
The staging module. kxstage_*.bin files were also observed across numerous confirmed victims. The appearance of kxstage files for a host precedes the corresponding kxbt files in the captured data, suggesting that kxstage handles the initial deployment of the beacon on a newly compromised host, probably through lateral movement. Like the other modules, it appears in the C2 log.
Deployment and Persistence on Systems
KmeX also has complementary persistence mechanisms adapted to each compromised environment. Analysis of the modules revealed techniques targeting Windows, Linux, and network equipment, reflecting a redundancy strategy in which losing one access vector does not necessarily result in losing access to the environment.
deploy31d: Agent Installer
The main persistence mechanism for Windows hosts is the deploy31d.py pair (Python orchestrator on the server) and deploy31d.ps1 (PowerShell payload installed on the client). The Python script automates the deployment process by connecting to the compromised host, transferring the PowerShell payload, and installing it as a Windows service or scheduled task.

The staging activity followed immediately by the kxbt beacon recorded in the logs confirms the workflow: staging > installation > active beacon.
x.ps1: Reverse Shell
The x.ps1 file implements a PowerShell reverse shell to port 4444 on N001. Unlike the kx beacon (which reports periodically and waits for instructions), x.ps1 establishes an interactive shell that allows the actor to execute commands in real time. If the connection is interrupted, the script automatically attempts to reconnect to the C2, ensuring persistence of the interactive channel.

kxstage.ps1: PowerShell Staging Module
Complementary to deploy31d.ps1, kxstage.ps1 manages the staging phase prior to the full deployment of the agent. It handles downloading the agent from the attacker’s nodes, verifying its integrity, and preparing the execution environment before invoking the persistence mechanism.
As dozens of files and modules were used during deployment, the framework’s components are summarized in the following figure:

The kx framework represents a significant custom development capability. Its modular design (central listener, lightweight agents, and interchangeable modules), the presence of an alternative DNS-based C2 channel, and its adaptation to multiple platforms (Windows/Linux/IoT) demonstrate operational maturity that goes beyond the opportunistic use of public tools. Evidence of simultaneously compromised hosts at the time the OpenDir was captured, with keylogging active on most of them, indicates that the actor maintained persistent access and continuous credential collection across multiple organizations throughout the campaign.
Phase 0: Reconnaissance and Preparation
With the framework covered, this section examines how infrastructure preparation began for the second campaign, which can be traced back to early August 2026. The first server was registered in May, several months before the operation was carried out. Logs from the main VPS show activity on August 2, 2026, when the actor appears to have configured the exfiltration services, the kn_listener listener, and the TLS certificate system. The self-signed certificate with CN=162.35.188.56 was issued on September 29, 2026, coinciding with the establishment of the Chisel tunnel into the IMSS network.
As part of the preparation, the actor verified the reachability of target systems using the OOB testing platform oast.pro (178.128.212.209). On September 6, 2026, the interactsh payload daeb8c8ca2kk5k7hneggwx3czthbbn91k.oast.pro received 11 DNS callbacks within seconds, originating from multiple resolvers associated with a single target. This pattern, multiple rapid DNS lookups on a single out-of-band (OOB) subdomain, is characteristic of outbound connectivity verification prior to executing an exploit. The available evidence consists of the DNS callbacks documented in the network capture.


One potential source of initial access is the Belsen Group credential dump. The actor stored a copy of the FortiGate VPN credential dump published by Belsen Group in January 2025 on its infrastructure. The dataset included credentials for 15,474 devices across 145 countries, of which 1,603 were located in Mexico. Files containing a random code in their names, in addition to vpn-passwords.txt, were found in the actor’s OpenDir. These files contain the data organized by network ranges, with the marker -=-= Belsen Group -=-= preceding each credential block.

This marker is associated with Belsen Group, which released the dataset for free on a cybercrime forum in January 2025.

The following section provides a graphical overview of how the entire campaign unfolded along the adversary’s timeline and how its infrastructure was used to affect dozens of companies:
KmeX Operation Timeline
- InfrastructureFirst Server RegisteredSet up several months before the operation began.
- InfrastructureN001 ConfiguredExfiltration services, the kn_listener C2 and the TLS certificate system set up on the main VPS.
- Campaign 2Pre-Exploit DNS ChecksAn oast.pro payload receives 11 DNS callbacks within seconds, confirming a target’s outbound connectivity.
- InfrastructureAzazel Panel DeployedThe data normalization frontend goes live on N002.
- Campaign 2IMSS Mass ExfiltrationMore than 280 million SIPARE, RENAPO and RFC/SAT records pulled from IMSS Oracle systems.
- Campaign 2Chisel Tunnel into IMSSReverse SOCKS5 tunnel from an IMSS host to N001 port 4690. N001’s self-signed certificate is issued the same day.
- 23:34 UTCCampaign 1Auronix Data Received190 QVD files (1.9 MB) from the Auronix QlikView server logged on N001.
- Campaign 2SERVER-JIT2 BeaconsThe actor’s own node beacons to the kx C2, and the full OpenDir on N001 is downloaded.
- 04:41 UTCCampaign 2Mass kx DeploymentHosts across at least two organizations compromised within minutes. 25 beacons were active at detection.
- InfrastructureAzazel Still OnlineThe panel remains active in late November 2026.
Initial Access
In addition to the previously mentioned access obtained through credentials acquired by the adversary, three other initial access vectors were identified, based on the exploitation or abuse of other applications.
CVE-2019-2729: Oracle WebLogic
The first intrusion vector involves the exploitation of CVE-2019-2729, a deserialization vulnerability in Oracle WebLogic that allows unauthenticated remote code execution. The exploit2729.py script found on the actor’s infrastructure is configured to target several servers belonging to companies operating in Mexico’s insurance and financial sectors.

The exploit sends a Java deserialization payload to the /wls-wsat/* and /_async/AsyncResponseService endpoints, using a gadget chain generated through ysoserial. The payload embedded in the XML establishes a verification callback to 162.35.188.56:4646 (N001). Data exfiltrated from one of the affected companies after the script was run was also found, confirming that this method was used. From the compromised system, the actor could chain execution with the qc2.sh script, which establishes a reverse shell to the main VPS and can pivot to 172.16.5.139:8001, an additional WebLogic server within the organization’s internal network.

Data exfiltration from the affected companies took place shortly after initial access. The tokenizacion.csv file and the pagos-src/ directory contained tokenized payment data, with a total volume of 1.65 GB subsequently transferred to 201.151.239.113 (Alestra, Mexico).
CVE-2021-35464: ForgeRock AM (OpenAM)
The second vector uses CVE-2021-35464, a Java deserialization vulnerability in the jato.pageSession parameter of ForgeRock Access Management (AM, formerly OpenAM). The target is IMSS (Instituto Mexicano del Seguro Social), where the adversary attacked the centralized authentication server.
The Gen.java script generates the deserialization payload through the PriorityQueue > TemplatesImpl > Column$ColumnComparator chain, compiled in Java 6 for compatibility with the server’s JVM. The payload is injected through the jato.pageSession parameter using a null prefix (0x00). The exec_cmd.py script automates the entire process, including payload generation, submission with the correct F5 session cookie to pin the backend, and in-band retrieval of the results through the _loot.txt file written to disk by the payload.


This vector provides the actor with access to the IMSS internal network infrastructure, which is subsequently exploited during the lateral movement and mass exfiltration phases.

JMX MLet RCE: GlassFish (CGV)
The third vector exploits the JMX (Java Management Extensions) interface of a GlassFish server, with the VM identified at 74.112.250.119. The attack chain follows the classic JMX MLet RCE pattern, in which the actor causes the remote server’s JVM to load an mlet.html file hosted on its infrastructure. This file, in turn, instructs the JVM to download and execute payload5.jar.

The JAR ultimately writes the cgv.jsp webshell to two document roots on the GlassFish server and downloads stage.ps1 to establish the kx beacon, as shown in the previous image. The execution chain follows this sequence:
| JMX MLet > mlet.html > payload5.jar > cgv.jsp (webshell) + stage.ps1 (kxstage) |
|---|
Ultimately, KmeX has several methods and tools in its arsenal to gain access to different types of infrastructure, capabilities it demonstrated on multiple occasions, as detailed below.
Phase 1: Lateral Movement Within the IMSS Infrastructure
One of the most significant intrusions involved the previously mentioned CVE-2021-35464. Following this compromise, the adversary initiated a systematic lateral movement process within the IMSS infrastructure, which continued over the following weeks.
The first documented milestone was the establishment of a Chisel reverse SOCKS5 tunnel in September 2026. A Chisel client was activated from a compromised host within IMSS and connected to the actor’s listener at 162.35.188.56:4690, establishing the proxy. This tunnel provided the actor with transparent access to the entire IMSS internal network from its VPS.
| 2026/09/29 01:33:17 server: session#1: tun: proxy#R:127.0.0.1:1080=>socks: Listening |
|---|
Through the SOCKS proxy, the actor identified and compromised the NMS (Network Management System) at 10.254.217.11, gaining access using the available credentials. From the NMS, the actor escalated privileges to root through the hidden binary /usr/local/bin/.xmc -p and configured a second SOCKS proxy on port :1081, providing a redundant access channel. The actor also accessed the server’s iDRAC using default credentials.

The imss-connect.sh script documents the complete access architecture, as shown in the previous image. It establishes an SSH tunnel to weblogic using the private key /root/.ssh/id_vps, with a ProxyCommand configured over the Chisel SOCKS proxy. This provides access to the Oracle client residing on the compromised server, allowing direct connections to the organization’s production Oracle instances.
In parallel, the actor conducted reconnaissance of the Oracle environment using the exa_*.sql and enum_bdtu_users.sql scripts, which target the production Exadata environment. The queries search for DBLinks to other federal government Oracle systems, grants for Oracle packages with outbound network capabilities (UTL_HTTP, UTL_TCP, DBMS_LDAP), and public synonyms related to healthcare systems (VACUN, CART, COVID, CLIMSS, NSSA).


The actor uses basic obfuscation in SQL queries to evade auditing. One example is avoiding the direct use of USERENV: the function name is constructed through character concatenation: chr(85)||chr(83)||chr(69)||chr(82)||chr(69)||chr(78)||chr(86). Although basic, this technique suggests that the actor is aware of SQL auditing mechanisms within compromised systems.
Phase 2: Mass Exfiltration
Once the required data had been identified, the adversary moved on to exfiltrating data from the IMSS production systems. This phase took place around mid-September 2026 from an IMSS host, using an account with sysdba privileges over the Oracle instances. Access at this stage was apparently obtained by exploiting CVE-2021-35464, before the Chisel pivot was established.
One of the scripts used, dump31d.ps1, establishes multiple parallel TCP streaming connections to the main VPS to extract table contents through SQL queries executed using the local Oracle client.

The data exfiltrated during this phase and its volume included:
- Sistema de Pago Referenciado (SIPARE): 260,608,734 records containing data on Social Security contributions and benefits for IMSS beneficiaries, including the NSS, RFC, full name, and employment information. This count comes from the dump31d.ps1 output on the CSC system, which logged the rows written across seven periods
- Registro Nacional de Población (RENAPO): 9,693,494 records containing the CURP, NSS, and RFC of Mexican citizens, obtained by cross-referencing data from the RENAPO population registry and IMSS internal systems. This count is directly reflected in the statistics from the Oracle data dictionary retrieved from the interactive SQLPlus session logged in the .shell4646.log file
- The same session confirmed the actor’s access to RENAPO through two additional channels: dba_synonyms pointing to a remote ENJM schema via a RENAPO database link, and dba_source entries for stored procedures that referenced RENAPO schemas, confirming that the actor could move from the IMSS Oracle instance to RENAPO data directly via configured database links without the need for a separate intrusion
- RFC/SAT: 11,813,818 tax records, totaling 743 MB. This count is directly reflected in the Oracle data dictionary statistics in the .shell4646.log file


Additionally, the actor exploited a vulnerability in the serviciosdigitales.imss.gob.mx portal through cartilla_pwn.py, which implements a CAPTCHA bypass using OCR to massively enumerate the National Health Card database. The actor feeds the system with the CURP/NSS pairs obtained from the RENAPO dump, performing individual queries for each record.


The resulting PostgreSQL dump of the sis.cartilla_nacional_salud table reached 737 MB of personal data.

KmeX also accessed the SIARHE (vaccination) system, from which approximately 171 MB of data was exfiltrated through 17 parallel streaming channels in less than one hour, adding to the data already obtained from other portals.

The exfiltration used the SOCKS5 proxy at 200.9.184.249:3730 (AITelecom Mérida, Mexico) as the egress node for connections to the IMSS production systems, with 404 packets recorded in the network capture. This egress node, geographically located in Mérida, could be an additional VPS operated by the actor or a commercial proxy used to conceal the actual origin of the connections.
| Egress: SOCKS 127.0.0.1:1083 (exits through 200.9.184.249 MX) |
|---|
With access to the production systems, in this case IMSS, and the exfiltration of more than 280 million records, the adversary could move on to the next phase, deploying its own kx framework against the set of victims identified during the previous phases.
Phase 3: Mass Deployment of the KX Framework
Following exfiltration, the deployment of the kx framework became a crucial step, as it established the actor’s own network of compromised nodes from which it could operate. The mass deployment of the kx framework took place on October 12, 2026, and is documented in detail in the C2 log (kx_cb.log). The persistence and execution capabilities described earlier allow the adversary to perform different tasks on each victim.

Preparation began several days earlier, when KmeX conducted internal tests from 127.0.0.1 and from its Kali testing machine (149.88.22.167, identified as KALI-LX-TEST in the log), which downloaded the h.ps1, d.ps1, and kxstage.ps1 modules. On October 11, the SERVER-JIT2 node (131.196.248.183, AS265524, COEFICIENTE COMUNICACIONES, Zapopan, Jalisco) started beaconing, confirming that the actor had the framework operational on its own workstation.


Mass deployment began on October 12 at 04:41 UTC. Within minutes, the actor had compromised at least 14 hosts distributed across the networks of at least two different organizations (anonymized for security reasons):
- Organization A: Up to 14 confirmed hosts were identified, including servers and workstations across multiple branches: headquarters, the 8 de Julio, Mostrador, Facturación, Recepción, and Super 2 branches, as well as branches in Tepic (Nayarit) and Coyula. The source IP ranges correspond to different internet connections belonging to these branches, confirming that the actor compromised multiple independent networks within the same organization

- Organization B: At least five hosts with generic Windows names (DESKTOP-XXX) were identified across three different IP ranges, suggesting an organization with multiple locations or a segmented corporate network
The infection cycle documented in the logs follows this sequence for each host:
| 1. kxstage → POST /kxstage_<HOST> – confirms implantation 2. kxbt → POST /kxbt_<HOST> – first beacon with sysinfo 3. kxbt → GET /kxbt_cmd_<HOST> (polling every ~5 min) – waits for commands 4. kxkey → POST /kxkey_<HOST> – keylogging in progress 5. kxh → POST /kxh_<HOST> – credential harvesting |
|---|
Additional modules, including kxpb (clipboard and screen capture), kxsniff (network sniffer for lateral discovery), and kxmass (mass deployment), are selectively activated depending on the host. The kxwatch_25 module, running from 127.0.0.1 at intervals of a few minutes, corresponds to the C2’s internal watchdog, monitoring the status of the 25 simultaneously active beacons documented at the time of detection.

Some of these files were not found on any of the analyzed servers, with their existence only confirmed through references in logs or executions triggered by other scripts, which revealed their nature. One example is the beacon count, for which the logs revealed 25 simultaneously active paths:
| POST /kxwatch_25 len=64 path=/kxwatch_25 |
|---|
In addition to the count and frequency of the POST requests, unique active paths were also identified in the C2 log at the time of capture, all indicating 25 simultaneously active sessions.
Additionally, network captures were identified showing traffic distribution. At the time of observation, more than 7,000 packets were directed to N001 (162.35.188.56), 422 to N002 (162.35.188.166), and 102 to N003 (131.196.248.183). This distribution indicates that N001 concentrates active C2 activity, while N002 is used to manage and normalize exfiltrated data.

A command capture was also identified within the pcap, showing the actor conducting internal reconnaissance across the victims’ networks from one of the compromised hosts. The command searched for Oracle WebLogic instances on port :7001, video surveillance management software (Milestone, Genetec, Hanwha, Avigilon, Exacq, Witness, Optix), and internal network ranges (10.0., 10.27., 172.16., 172.18.). The response identified the sntlkeyssrvr.exe process on port 7001 (SafeNet License Server) and VMS software installed under the name “Informes Analíticos de Aranxel”, an ERP system for customs and foreign trade management.
Additionally, analysis of the DNS queries in the previously mentioned network capture revealed two domains of interest in Mexico’s transportation sector, each resolved 32 times to 72.167.133.69 (cPanel server). These domains belong to a company in that sector, potentially indicating an additional reconnaissance target or a victim with kx implanted on a host whose IP address was not identified in the log.
All operations ultimately converge on Azazel, the identity resolution and normalization system deployed on N002. Azazel receives exfiltrated data from both campaigns, including QVDs from Auronix, Oracle dumps from IMSS, and payment records, then consolidates them and projects the resolved entities to the external orchestrator (AEB).

At the time of detection, the panel counters included datasets such as the 260 million SIPARE records and the 9.7 million RENAPO records that had already been processed. The fact that the actor operates multiple Azazel nodes simultaneously points to a normalization infrastructure designed to scale to higher-volume operations.
Victimology
The operation, which was captured while active over several months, affected a heterogeneous set of Mexican organizations across both the public and private sectors. The selection of victims does not follow a single profile, as the actor combined high-value institutional targets, service providers with access to multiple customers, and organizations from various sectors. This suggests a strategy aimed both at obtaining massive volumes of data and gaining access to trusted ecosystems that could facilitate subsequent operations. This section does not account for potential access obtained through credentials from the Belsen Group dump, so the actual impact and number of accesses are likely greater than described here.
Organizations Affected by KmeX
Public Sector
5 institutions- IMSSHealthcare and social security260.6 million SIPARE records and 11.8 million RFC/SAT tax records, plus health card and vaccination data.Data exfiltrated
- RENAPONational population registry9.7 million identity records with CURP, NSS and RFC, reached through IMSS database links.Data exfiltrated
- INEElectoral institution8,884 AMGE2023 electoral mapping documents taken from a publicly accessible Firebase bucket.Data exfiltrated
- Secretaría de BienestarFederal governmentWelfare Program tables with more than 65 million beneficiary records reached through DBLinks.Access confirmed
- Secretaría de SaludHealthNational Health Card and SIARHE vaccination data exposed through shared IMSS infrastructure.Collateral victim
Private Sector
9 companies- QuálitasAutomobile insurance1.65 GB of tokenized payment data exfiltrated after CVE-2019-2729 exploitation, with persistent SSH access.Data exfiltratedReported
- Auronix / CalixtaEnterprise messaging190 QVD files with data on corporate customers, including TotalPlay. Supply chain risk for its client base.Data exfiltratedReported
- Santander OneTradeBanking, online tradingManagement endpoints accessed and configuration obtained from DEV, PRE and PROD environments.Access confirmedReported
- CAGSARetail and distributionWorkstations and servers across multiple branches running the kx framework, the most hosts of any victim.Access confirmed
- Caja Gonzalo Vega (CGV)Financial servicesGlassFish server compromised through JMX MLet RCE, followed by a web shell and kx staging.Access confirmed
- SeguritechPhysical security, video surveillanceIoT gateway credentials giving access to video platforms tied to a government surveillance center.Access confirmed
- CervantechTechnology integrationCRM accessed with an active session cookie. No data exfiltration documented.Access confirmed
- BillpocketFintech and paymentsTargeted through a pre-authentication IDOR. A 402 MB file was identified; full scope unconfirmed.Scope unconfirmed
- ABG CamionesTransportationCompany domains resolved at a rate consistent with kx beaconing. Compromise or active reconnaissance.Scope unconfirmed
For the purposes of this analysis, victims are classified according to the documented status of the compromise, including confirmed access with data exfiltration, confirmed access without identified exfiltrated data, and targets in the active reconnaissance phase at the time of detection.
Public Sector
Within the public sector, victims can be differentiated according to the government institution or body to which they belong, as the affected systems include social security, government, and even electoral institutions.
Healthcare and Social Security (IMSS)
IMSS is the victim with the greatest documented impact across the entire operation. The actor gained initial access by exploiting CVE-2021-35464, as mentioned in the Campaigns section, reaching the centralized authentication server and progressively expanding that access until multiple systems were compromised.
The bulk of the exfiltrated data was found in:
- SIPARE: 260,608,734 records containing contribution and entitlement data, including NSS, RFC, names, and employment information
- RENAPO (through cross-referencing with IMSS systems): 9,693,494 records containing CURP, NSS, and RFC data belonging to Mexican citizens
- RFC/SAT: 11,813,818 tax records (743 MB)
- National Health Card: PostgreSQL dump of the sis.cartilla_nacional_salud table, totaling 737 MB
- SIARHE (vaccination): approximately 171 MB exfiltrated through 17 parallel streaming channels
RENAPO was both a data source accessed through IMSS systems and a source identified in the recovered Oracle connection strings. The exfiltrated records, which included cross-referenced CURP, NSS, and RFC data, were used by the actor as input for the mass enumeration of the National Health Card database.
In parallel, the SIARHE and National Health Card data link the Ministry of Health to the incident as a collateral victim of the access obtained through IMSS, given that both systems share database infrastructure with the social security entitlement systems.
Federal Government
The compromised Exadata environment mentioned earlier contained DBLinks to schemas belonging to the Welfare Program, with tables containing data on social program beneficiaries. The bienestar_1.sql and bienestar_2.sql files recovered from the OpenDir document access to these tables. The number of records in the referenced tables exceeds 65 million.
Electoral Institutions
The bucket_dump.sh script targeted the Firebase bucket ine-carto-next, which was publicly accessible at the time of extraction. However, it is not possible to determine whether this accessibility was intentional or the result of a misconfiguration. A total of 8,884 electoral mapping documents corresponding to the AMGE2023 redistricting process were documented as having been exfiltrated. Although access was technically public, the systematic extraction and storage of this data on the actor’s infrastructure indicate an interest in this data, regardless of its public nature.
Private Sector
The impact on the private sector follows a different pattern. The actor did not limit its activities to a single subsector, instead simultaneously targeting service providers, payment companies, security infrastructure, and distributors. This potentially points to an effort to build an access base combining identity data, financial information, and control over private critical infrastructure.
- Enterprise Messaging and Communications: Auronix, a provider of enterprise messaging and omnichannel communications services with operations in Mexico and other Latin American markets, was compromised during the first campaign. The adversary accessed their business intelligence server and exfiltrated 190 QVD data files distributed across customer subdirectories, containing operational data from their CalixtaSend and CalixtaChat messaging platforms, including client identifiers, tenant configurations, and account data for corporate customers including other companies. As noted earlier, this access represents a potential supply chain attack vector against Auronix’s client ecosystem
- Insurance: Quálitas, a leading company in the Mexican automobile insurance market, was compromised through the exploitation of CVE-2019-2729 against their Oracle WebLogic server. The actor pivoted from the exposed server to an additional node within the internal network and exfiltrated payment data totaling 1.65 GB. The SSH key qualitas_persist recovered from the actor’s OpenDir indicates that access remained active through installed persistence mechanisms
- Financial Services: CGV (Caja Gonzalo Vega), a Mexican financial institution operating a branch network, was compromised through a JMX MLet RCE attack against their GlassFish application server, delivered via mlet.html and payload5.jar, which deployed the cgv.jsp web shell and initiated the kx staging chain
- Retail and Distribution: CAGSA, a distribution chain with multiple branches across Mexico, was the victim with the highest number of hosts compromised through the kx framework, with more than 14 confirmed workstations and servers distributed across different branches. Reconnaissance conducted from the compromised hosts suggests that the initial compromise was an entry point toward higher-value targets within the organization’s network
- Fintech and Payments: Billpocket, a payment processor operating in Mexico, was targeted through a pre-authentication IDOR exploit. The transaction records included payment data containing PAN information. The total volume of potentially accessed records has not been fully confirmed. A 402 MB file associated with this victim was identified
- Banking: Santander OneTrade, the online trading platform of an international banking institution with operations in Mexico, was subjected to active reconnaissance. The actor accessed management endpoints and obtained configuration information from DEV, PRE, and PROD environments. The execution of at least one action against the system was documented. The full scope of access and the data potentially obtained cannot be fully determined
- Technology and Integration: Cervantech, a Mexican technology integrator, was accessed using an active CRM session cookie. No data exfiltration was documented beyond the initial access. However, the nature of a technology integrator’s CRM implies potential exposure of its corporate customers’ data
- Physical Security and Video Surveillance: Seguritech, a private security services provider with operations linked to public sector monitoring infrastructure, was targeted by the video exfiltration module of the kx framework. The actor obtained credentials for the organization’s IoT gateway, allowing access to the NxWitness and AXXON video surveillance platforms associated with a government video surveillance control center
- Transportation: DNS queries and the network capture include domains belonging to Grupo ABG, a company in the transportation and truck distribution sector, resolved at a frequency consistent with the kx framework’s beaconing pattern. The organization may have compromised hosts that were never registered in the C2 log under their own identifiers, or it may have been a target undergoing active reconnaissance at the time of capture
The victim set is highly diverse, indicating that the adversary adopted a regional rather than a sector-specific focus, as discussed below.
Geographical Scope
The operation is geographically concentrated in Mexico. All confirmed targets operate within Mexican territory, and Mexico accounts for 1,603 of the 15,474 devices (about 10%) in the Belsen Group FortiGate dump, the largest share of any country in the dataset. Exploits against Mexican federal government systems and the deployment of the kx framework against Mexican corporate networks are consistently oriented toward the country’s digital ecosystem.
The only documented exception is the international banking institution, whose headquarters are located in Spain but whose compromised infrastructure belongs to its local operations. There is no evidence that the actor expanded its targets beyond the Mexican market during the analyzed period. However, further lateral movement using the information obtained from this target and the others remains a possibility.

This geographical focus, combined with the linguistic indicators described in the Actor Profile section, reinforces the hypothesis of an actor with in-depth knowledge of the Mexican technological and regulatory ecosystem. The selection of targets such as SIPARE, RENAPO, and the National Health Card requires prior knowledge of which systems exist, what data they contain, and how they are interconnected, going beyond what an external actor could obtain through passive reconnaissance.
Conclusion
Operation KmeX is one of the most extensive intrusion operations documented against Mexican infrastructure, in which at least fourteen organizations were compromised or reached, more than 280 million citizen records were exfiltrated, and an actor developed its own C2 framework and a data normalization platform designed to deliver the stolen data to an as-yet-unidentified external recipient.
The combination of mature techniques, exploitation of years-old CVEs in critical production environments, sustained internal pivoting, and silent persistence reveals patterns that point to an actor more capable than its public profile might suggest.
The impact extends beyond the organizations directly affected. Cross-referencing IMSS, RENAPO, and SAT records with financial data from the simultaneously compromised private sector creates a national identity repository with long-term exploitation potential for tax fraud, identity theft, and large-scale banking fraud.
The actor has remained operational for months, and the C2 infrastructure has proven resilient, making coordinated notification and mitigation efforts toward victims and potential future targets necessary to contain and prevent the damage.
KmeX MITRE ATT&CK TTPs
| Tactic | Technique | Procedure |
|---|---|---|
| TA0001 Initial Access | T1190 Exploit Public-Facing Application | Exploitation of CVE-2021-35464 on imss.gob.mx to achieve remote code execution |
| TA0001 Initial Access | T1190 Exploit Public-Facing Application | Exploitation of CVE-2019-2729 using exploit2729.py with a payload and callback to 162.35.188.56:4646 |
| TA0002 Execution | T1059.001 PowerShell | Execution of dump31d.ps1, qvd_exfil1.ps1, qvd_recon.ps1, stage.ps1, kxstage.ps1, and other kx framework modules via PowerShell on compromised hosts |
| TA0002 Execution | T1059.006 Python | Execution of kn_listener.py, qvd_upload.py, cartilla_pwn.py, cartilla_oracle.py, and other Python-based server-side components used by the threat actor |
| TA0003 Persistence | T1505.003 Web Shell | Deployment of cgv.jsp on a GlassFish server as a post-exploitation web shell following JMX MLet RCE |
| TA0006 Credential Access | T1056.001 Keylogging | The kxkey module of the kx framework captures keystrokes on compromised hosts and periodically transmits them to the C2 server (162.35.188.56:8880) |
| TA0006 Credential Access | T1555 Credentials from Password Stores | The kxh module of the kx framework harvests credentials stored on compromised hosts |
| TA0007 Discovery | T1046 Network Service Discovery | Use of the dnsbrute.py script for internal DNS brute-forcing within imss.gob.mx domains, and a reconnaissance command issued via C2 to identify Oracle WebLogic (:7001) and VMS software across internal network ranges |
| TA0009 Collection | T1119 Automated Collection | dump31d.ps1 performs automated data extraction through multiple parallel TCP connections to Oracle using SYSDBA privileges, while cartilla_pwn.py performs automated mass enumeration of National Health Card records with CAPTCHA bypass |
| TA0009 Collection | T1113 Screen Capture | The kxpb module of the kx framework captures screenshots on compromised hosts |
| TA0009 Collection | T1115 Clipboard Data | The kxpb module of the kx framework captures clipboard data on compromised hosts |
| TA0009 Collection | T1125 Video Capture | The kxsniff module of the kx framework acts as a network sniffer for lateral discovery, while the zspray.sh and kxconf.py scripts target CCTV cameras (Dahua, Hikvision) and Cassia IoT gateways |
| TA0010 Exfiltration | T1041 Exfiltration Over C2 Channel | Exfiltration of Auronix QVD files using qvd_exfil1.ps1 via HTTPS PUT requests to 162.35.188.56:8443, along with other data exfiltration activities, including Oracle database dumps via TCP streaming to N001 |
| TA0010 Exfiltration | T1048.002 Exfiltration Over Asymmetric Encrypted Non-C2 Protocol | Use of HTTPS (port 8445 using qvd_upload.py) with a self-signed certificate as an exfiltration channel for QVD files from Auronix |
| TA0011 Command and Control | T1071.001 Web Protocols | The kx framework uses HTTP/HTTPS for beaconing: POST /kxbt_<HOST>, GET /kxbt_cmd_<HOST>, POST /kxkey_<HOST>, etc., with a User-Agent impersonating PowerShell, communicating with 162.35.188.56:8880 |
| TA0011 Command and Control | T1105 Ingress Tool Transfer | Use of mlet.html referencing payload5.jar via JMX MLet to remotely load a web shell (cgv.jsp) and stage.ps1 onto the compromised host |
| TA0011 Command and Control | T1090.001 Internal Proxy | Chisel reverse SOCKS5 tunnel on port 4690 from a compromised IMSS host to N001 (162.35.188.56) |
| TA0011 Command and Control | T1090.003 Multi-hop Proxy | Use of SOCKS5 node 200.9.184.249:3730 as an egress node to conceal the actual origin of exfiltration connections, with 404 packets observed in cap_agent.pcap |
KmeX Arsenal and IOCs
The remaining indicators are available on the SOCRadar platform.
IP Addresses
| Indicator | Role | ASN / Organization |
|---|---|---|
| 162.35.188.56 | N001: Primary C2 server, exfiltration receiver, and open directory | AS26666, InterServer, New Jersey, US |
| 162.35.188.166 | N002: Azazel panel and TLS relay for N001 | AS26666, InterServer, New Jersey, US (same /24 subnet as N001) |
| 131.196.248.183 | N003: Threat actor’s operational workstation and testing pivot | AS265524, Coeficiente Comunicaciones, Zapopan/Tlaquepaque, MX |
| 149.88.22.167 | N004: Threat actor’s Kali Linux workstation | AS212238, Datacamp |
| 149.88.22.136 | N004: Threat actor’s Kali Linux workstation (alternate IP) | AS212238, Datacamp |
| 85.203.21.5 | N005: Toolset download node | AS206092, F.n.s Holdings Limited |
| 85.203.21.53 | N005: Toolset download node (alternate IP) | AS206092, F.n.s Holdings Limited |
| 205.209.102.101 | Secondary Azazel instance and Lilith panel | AS19318, InterServer |
| 178.128.212.209 | Out-of-band (OOB) testing infrastructure | DigitalOcean, Singapore |
Scripts
| Script | MD5 | Description |
|---|---|---|
| _mysql_greet.py | f403daf32817f8627e991edc2737f34d | MySQL connection testing and basic enumeration |
| _mysql_recon.py | 3a67ee4b6a063e334d2121bfb118b0e2 | Comprehensive MySQL reconnaissance, including databases, tables, and configuration |
| cartilla_confirm.py | 3bb8fa3fb099d59f84ebb567cc2a73e3 | Verification of previously enumerated National Health Card records |
| cartilla_full.py | 1fbdfa846b926900f04ab138235e200c | Full enumeration of National Health Card records across the entire RENAPO dataset |
| cartilla_oracle.py | 762b78675e6d4e57c49b63c5703e88ef | Direct extraction of National Health Card records from Oracle |
| cartilla_pwn.py | 9a673d9ea0edcdf2b4060bc862371ee1 | OCR-based CAPTCHA bypass for mass enumeration of National Health Card records (v1) |
| cartilla_pwn3.py | 58b0b0d4ef3b2ce6e0b9bbd7490880e1 | National Health Card CAPTCHA bypass with improved reliability and retry mechanisms (v3) |
| cartilla_tight.py | b5a655d1a1e67494ae4772c788dee52c | National Health Card record enumeration optimized for low latency |
| cartilla_vps.py | c7a13606349030759ee82b0adf9d6d58 | National Health Card record enumeration orchestrated from the threat actor’s VPS (v1) |
| cartilla_vps2.py | 08f50e4d981fe1083fdb46a4b7c5c142 | National Health Card record enumeration from a VPS (v2) |
| dnsbrute.py | 8b60a2ba5b6a3a4a4d7b45a998a8d8fb | DNS brute-force enumeration of imss.gob.mx subdomains |
| exfil_listener.py | ca32f0fbdc3c3c33658446cb8bc71d40 | Generic TCP exfiltration listener hosted on N001 |
| exploit2729.py | f075fdc37e9403b2fba5e8ac985c6e2e | Exploit for CVE-2019-2729 (Oracle WebLogic XMLDecoder RCE). Uses a ysoserial Jdk7u21 payload with a reverse shell callback to 162.35.188.56:4646 |
| kn_listener.py | 09aac3c1a3c252a9f7d6b3053d4ff640 | kx C2 server listening on 162.35.188.56:8880 and receiving JSON beacons containing host, ts, mod, and data fields |
| kxbyp.py | 960bfc5db27f2132f78504d8250a2023 | SQL injection and WAF bypass testing against the Seguritech platform |
| kxbyhost.py | 8951a725cfacaf9a71d6ae9192eb5899 | Queries the status of kx beacons by hostname on the C2 server |
| kxclip.py | 6074daf52c6ee51bf537e9f07c5c2f19 | kx module for clipboard data collection and screen capture |
| kxconf.py | c69fc4a550f389042a8988c655bb3f75 | Exploitation of Cassia IoT Gateway targeting Seguritech infrastructure |
| qvd_upload.py | cf0c340a9a91b9b5b132ddf91a36f848 | HTTPS receiver hosted on N001 (port 8445). Stores files in /root/exfil/qvd/ and uses /root/exfil.crt for TLS |
| _esctest.ps1 | 6ea5bdd301dcc5348019f7e8c1804c46 | Privilege escalation testing on a compromised Windows host |
| _finalcheck.ps1 | 4a6c59e7ab2c326df109f5d8bd547d15 | Final verification of the kx implant status before large-scale deployment |
| _finalclean.ps1 | 2e3ef07de4fdb5d724b2d58a58378748 | Removal of kx artifacts following operations |
| _iusr_cleanup.ps1 | 910be9e298c7b1fb63d311cc7563f470 | Removal of artifacts under the IIS IUSR account |
| _iusr_recon.ps1 | 9d3008b9cc104a60c961451f0f2ac811 | Reconnaissance from the IIS IUSR security context |
| _iusr_run_fv.ps1 | 7176b207baece0d6b1e4cf3944ffec66 | Execution of kx modules within the IIS web server context |
| _manual_start.ps1 | e0a1170bafe3348bcd9c7e72b849a5fe | Manual startup of the kx framework as a fallback persistence mechanism |
| _qvw_extract.ps1 | 6c41de18cdade3e3ef673f7089eb03bd | Extraction of QlikView project files (.qvw) from the Auronix server |
| _qvw_recon1.ps1 | 648658af4e85ff578d924c46542b10ab | Initial QlikView reconnaissance and mapping of project files (.qvw) |
| dump31d.ps1 | 8af376667eb1d40e4ae60c1b26497825 | Bulk Oracle data extraction via parallel TCP streaming using SYSDBA privileges (SPSBDPR1). Source of the SIPARE/SPES data dump |
| qvd_exfil1.ps1 | 0770fb09877f8a6a873d32d411ca1b8f | Exfiltration of 16 selected QVD files via HTTPS PUT requests to 162.35.188.56:8443 |
| qvd_recon.ps1 | e0d5d82911c6389bd2de768e93cde0d0 | QlikView reconnaissance within Auronix. Maps D:\BI_QlikView\, counts QVD files, and exfiltrates the results to N001 on port 8443 |
| bienestar_desc_run.sh | 500f89b475a1c3bdc7c128d3311e5ded | Wrapper script for executing bienestar_desc.sql |
| bucket_dump.sh | 2502b28ee7cda7394c8ab61a0d90622c | Data extraction from the Firebase bucket ine-carto-next, containing 8,884 AMGE2023 electoral mapping documents |
| cartilla_evidence.sh | fb9fd72b50d34855fd26ef7a39d3a375 | Collection and aggregation of evidence from the enumeration process |
| cartilla_loop.sh | 12e04769f6d7cacf1d1675e52dbecaf4 | Continuous National Health Card record enumeration loop (v1) |
| exfil_driver.sh | 7a91005e46091239eb1392590e037a66 | Data exfiltration orchestration script (v1) |
| kx.sh | c9f16fc94e8c8bb3a10f3e5d9ea60f0f | Launcher and wrapper script for the kx framework (v1) |
