Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons

Social Media

Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons
Search the Site
Popular Searches:
technology Amazon AI
Recent Posts
Firefox 152 Flaws Allow Remote Code Multiple Vulnerabilities
June 18, 2026
Hackers Abuse Claude.ai Shared Chat for Feature Host
June 18, 2026
Hackers Can Leverage SQL Server 2025 AI Features to Exfiltrate
June 18, 2026
Home/CyberSecurity News/Hackers Can Leverage SQL Server 2025 AI Features to Exfiltrate
CyberSecurity News

Hackers Can Leverage SQL Server 2025 AI Features to Exfiltrate

Hackers are consistently finding new avenues to exploit legitimate enterprise features. Microsoft SQL Server 2025’s newly introduced AI capabilities, in particular, are now fueling serious...

Marcus Rodriguez
Marcus Rodriguez
June 18, 2026 3 Min Read
2 0

Hackers are consistently finding new avenues to exploit legitimate enterprise features. Microsoft SQL Server 2025’s newly introduced AI capabilities, in particular, are now fueling serious security concerns.

SpecterOps researchers have demonstrated that these built-in features can be leveraged for stealthy data exfiltration and even command-and-control (C2) communication, all from within the database engine itself.

Microsoft introduced SQL Server 2025 with native AI integration to support modern workloads such as Retrieval-Augmented Generation (RAG). However, these same capabilities are now being repurposed by attackers as powerful post-exploitation tools.

The research, along with proof-of-concept (PoC) code, has been publicly released on GitHub, highlighting the real-world risks of these features.

One of the most critical additions is the stored procedure sp_invoke_external_rest_endpoint. This function enables SQL Server to send HTTPS requests to external endpoints directly, without relying on traditional methods such as xp_cmdshell or PowerShell.

While designed for legitimate API communication, it effectively enables attackers to exfiltrate sensitive data over encrypted channels.

SQL Server 2025 AI Features Enable Data Theft

The feature supports payloads up to 100 MB, making it highly efficient for transferring large datasets such as user credentials or database records.

In a demonstrated attack scenario, a compromised SQL Server instance with sysadmin privileges can query sensitive tables, convert the data to JSON, and transmit it to an attacker-controlled server using this procedure.

Data Exfiltration (Source: specterops)
Data Exfiltration (Source: specterops)

Because the traffic originates from the database engine and uses HTTPS, it can bypass traditional monitoring tools that rely on detecting suspicious command execution or unusual outbound connections.

Another major feature, CREATE EXTERNAL MODEL, allows SQL Server to integrate with external AI models. This is complemented by AI_GENERATE_EMBEDDINGS, which sends data to these models and receives structured responses.

While intended for AI-driven applications, researchers showed that these functions can be abused to establish covert communication channels.

successful NTLM SMB auth coercion (Source: specterops)
successful NTLM SMB auth coercion (Source: specterops)

Attackers can encode commands and responses within AI embedding data, making the traffic appear legitimate and difficult to detect. This capability enables a new form of C2 infrastructure operating entirely within SQL queries.

By combining external model calls with periodic check-ins, attackers can create persistent backdoors that execute commands and return results without deploying traditional malware.

In more advanced scenarios, attackers can load malicious .NET CLR assemblies directly into SQL Server memory, eliminating the need for disk-based payloads and further reducing detection risk.

The research also highlights a technique involving UNC paths in AI model configurations, which can trigger NTLM authentication attempts over SMB.

This allows attackers to capture or relay authentication hashes within a network. Although reported to Microsoft, this behavior was not classified as a security vulnerability, meaning it remains exploitable in current deployments.

Persistence is another concern. Attackers can create database triggers that automatically exfiltrate newly inserted or updated data.

For example, any new user credentials added to a table can be immediately sent to an external server without additional interaction. This turns the database into a continuous data leakage point.

From a defensive standpoint, these developments challenge traditional security assumptions. Historically, outbound web traffic from a database server was considered suspicious.

Defensive Considerations (Source: specterops)
Defensive Considerations (Source: specterops)

With SQL Server 2025 normalizing HTTPS communication for AI workloads, distinguishing between legitimate and malicious activity becomes significantly harder.

SpecterOps recommends enforcing strict controls over database privileges, particularly sysadmin accounts, and closely monitoring features such as external REST endpoints and AI model integrations for potential abuse.

Network-level controls, such as restricting outbound connections from database servers, can also help mitigate risk. Additionally, organizations must baseline normal AI-related traffic patterns to detect anomalies effectively.

As AI capabilities continue to be embedded in enterprise software, this case highlights a growing trend in which legitimate features can be weaponized.

SQL Server 2025 demonstrates how innovation without corresponding security controls can expand the attack surface, forcing defenders to adapt to an evolving threat landscape rapidly.

Disclaimer: HackersRadar reports on cybersecurity threats and incidents for informational and awareness purposes only. We do not engage in hacking activities, data exfiltration, or the hosting or distribution of stolen or leaked information. All content is based on publicly available sources.

Tags:

AttackExploitHackerMalwareSecurityThreatVulnerability

Share Article

Marcus Rodriguez

Marcus Rodriguez

Marcus is a security researcher and investigative journalist with expertise in vulnerability research, bug bounties, and cloud security. Since 2017, Marcus has been breaking stories on critical vulnerabilities affecting major platforms. His investigative work has led to the disclosure of numerous security flaws and improved defenses across the industry. Marcus is an active participant in bug bounty programs and has been recognized for responsible disclosure practices. He holds multiple security certifications and regularly speaks at industry events.

Previous Post

Hackers Exploit RMM Tools for Persistent Access Abuse Legitimate

Next Post

Hackers Abuse Claude.ai Shared Chat for Feature Host

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Posts
Critical Cisco ISE Flaw Enables Remote Code Execution
June 18, 2026
F5 Patches NGINX Vulnerability That Enables Code Execution and DoS
June 18, 2026
Evilginx AiTM Attack Captures Microsoft Cred Credentials Tokens
June 18, 2026
Top Authors
Marcus Rodriguez
Marcus Rodriguez
Jennifer sherman
Jennifer sherman
Emy Elsamnoudy
Emy Elsamnoudy
Let's Connect
156k
2.25m
285k

Related Posts

Jennifer sherman
By Jennifer sherman
Threats

GlassWorm Attacks macOS via Malicious VS Code…

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Attacks

ClickFix Attack Hides Malicious Code via Stegan Security

January 1, 2026
Sarah simpson
By Sarah simpson
Vulnerabilities

MongoBleed Detector Tool Detects Critical MongoDB CVE-

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Breaches

Conti Ransomware Gang Leaders & Infrastructure Exposed

January 1, 2026
Hackers News Hackers News
  • [email protected]

Quick Links

  • Contact Us
  • Privacy Policy
  • Terms of service

Categories

Attacks
Breaches
Comparisons
CyberSecurity News
Threats
Vulnerabilities

Let's keep in touch

receive fresh updates and breaking cyber news every day and week!

All Rights Reserved by HackersRadar ©2026

Follow Us