Misconfigured Adversary Server Reveals Deep MSSQL Post-Exploitation Operation

An attacker-controlled server left exposed to the public internet has revealed a detailed post-exploitation toolkit used in an intrusion linked to an environment associated with Mexican airline Viva Aerobus.


Threat intelligence firm ThreatMon discovered the unauthenticated infrastructure at 151.243.232.123, where attackers had stored offensive tools, credential-dumping output and apparently collected victim material.


The findings provide an unusually detailed view of an operation centered on Microsoft SQL Server execution, credential harvesting, data staging and preparation for lateral movement.


MSSQL Became the Execution Channel

The intrusion appears to have relied heavily on SQL Server's powerful xp_cmdshell functionality.


PowerShell Commands Ran Through the Database

On September 25, a victim-side MSSQL server retrieved a payload from the attacker-controlled infrastructure.


Recovered scripts indicate that xp_cmdshell was used to launch Windows commands and Base64-encoded PowerShell, likely under the SQL Server service account.


This approach is particularly dangerous because a compromised database can become an operating-system execution channel without requiring a traditional remote-access implant.


SQL Queries Could Carry Stolen Files

The recovered tooling could read local files, divide them into Base64 chunks and return the content through MSSQL query output.


That technique allows attackers to move information through an existing database channel rather than establishing an obvious new exfiltration connection.


Exposed Server Reveals the Attacker's Arsenal

Researchers identified 17 named post-exploitation tools and related artifacts on the staging system.


Credentials Were a Primary Objective

Scripts including chrome_dump.ps1, cred_dump.ps1 and cred_enum.ps1 targeted browser credentials, Windows credential stores and other locally available authentication material.


Additional tooling used Mimikatz and attempted to recover Windows Credential Manager, Vault and DPAPI-protected information.


Stolen Access Could Support Further Compromise

Tools such as sqlspray.ps1 and mssqltest.ps1 were designed to test credentials against additional SQL Server systems.


Attackers also examined SMB administrative-share access and collected SQL Server Management Studio configuration data, potentially revealing previously accessed databases, usernames and connection information.


Source Code Exposed Additional Intelligence

Recovered material reportedly contained source code and configuration references involving SQL, OAuth, email, SFTP, payment and reporting integrations.


Configuration Files Can Map Internal Trust Relationships

Even without immediately usable passwords, development files can expose service names, authentication mechanisms and infrastructure relationships.


That information can help an attacker identify where stolen credentials should be tested and which systems may provide the highest-value path deeper into an environment.


Attackers Exposed Their Own Operation

The most unusual part of the incident was the attacker's failure to secure the staging server.


Third Parties Accessed the Loot Repository

Within minutes of the victim-side payload retrieval, an unrelated external host began enumerating the exposed infrastructure. Additional internet hosts later accessed its tools and loot directories.


The mistake effectively created a secondary exposure event, because victim-derived material stored by the original attackers may have become accessible to other parties.


Evidence Does Not Confirm a Wider Airline Breach

The available evidence supports credential harvesting and preparation for lateral movement, but it does not establish successful compromise of additional systems or confirmed theft of sensitive passenger or payment information.


That distinction matters when describing the incident.


For defenders, the case reinforces the importance of disabling xp_cmdshell when unnecessary, tightly restricting SQL Server service-account privileges, rotating potentially exposed credentials and investigating any database process spawning cmd.exe or powershell.exe.


The broader lesson is significant: a compromised database server can become far more than a stolen-data source—it can function as an execution, credential-access and covert data-transfer platform for the wider intrusion.