Security

Agentic AI Secret Scanning Drives Azure Credential Abuse

3 min read

Summary

Microsoft reports threat actors are using agentic AI tools to scan public GitHub repositories for exposed secrets and rapidly turn them into cloud compromise. The campaign highlights how leaked application credentials, service principals, and API keys can lead to fast access to Azure, Entra ID, Microsoft 365, and AI resources, making secret rotation and stronger workload identity controls urgent priorities.

Need help with Security?Talk to an Expert

Introduction

Microsoft has identified threat actors using agentic AI tooling to automate one of the oldest cloud attack paths: finding exposed secrets in public code repositories and abusing them at scale. For IT and security teams, this matters because the time from secret exposure to active compromise is shrinking dramatically.

In one observed case, an AI agent moved from scanning GitHub for secrets to exfiltrating data from Azure Key Vault in just five minutes.

What’s new

Microsoft says attackers are using an offensive agentic AI framework to:

  • Search public GitHub repositories for exposed credentials, application secrets, and AI-related API keys
  • Analyze discovered secrets automatically and launch follow-on attacks with minimal human interaction
  • Abuse valid application credentials and service principals to access Entra ID, Azure, and Microsoft 365 resources
  • Enumerate subscriptions, resource groups, permissions, AI model deployments, and service configurations
  • Target sensitive assets such as Azure Key Vault, Storage Accounts, App Service settings, AKS credentials, SharePoint, and OneDrive

Microsoft also observed suspicious sign-ins and activity tied to IP addresses including 199.19.77[.]84, 199.19.77[.]18, 65.87.223[.]26, and 157.22.126[.]128.

Why this matters for administrators

The key takeaway is that exposed secrets should now be treated as immediately actionable by attackers. Removing a secret from a repository is not enough if the credential remains valid.

This campaign also shows the broader risk of compromised multitenant applications and vendor-owned credentials. A single exposed application secret can potentially provide access across multiple downstream tenants, increasing the blast radius for customers and partners alike.

For organizations using Azure AI services, the report is especially relevant because attackers were seen probing and potentially abusing AI resources as part of the attack chain.

Administrators should prioritize the following actions:

  • Scan GitHub and Azure DevOps repositories for exposed secrets
  • Immediately rotate any leaked keys, client secrets, connection strings, or publishing credentials
  • Enable GitHub secret scanning, public monitoring, and push protection where available
  • Use GitHub Advanced Security for Azure DevOps or GitHub Secret Protection for Azure DevOps
  • Review service principal sign-ins and application activity in Entra ID and Azure
  • Enforce least privilege for workload identities and application permissions
  • Migrate applications away from secret-based authentication to managed identities where possible
  • Enable Microsoft Defender for Cloud protections, including AI threat protection

Bottom line

Microsoft’s findings reinforce that agentic AI is accelerating credential theft and cloud compromise. Defenders need to assume exposed secrets are already compromised, respond quickly with rotation and investigation, and reduce long-term risk by replacing secrets with managed identities.

Need help with Security?

Our experts can help you implement and optimize your Microsoft solutions.

Talk to an Expert

Stay updated on Microsoft technologies

SecurityAzureEntra IDGitHub secretscredential abuse

Related Posts

Security

Microsoft Security November 2026: Key Updates

Microsoft’s November 2026 security updates introduce new controls for AI agents, expanded least-privilege management in Intune, improved Defender Experts visibility, and simpler SQL Server protection in Azure Government. These changes help security and IT teams reduce risk, tighten access, and streamline operations across endpoints, identities, and AI workloads.

Security

Email Threat Landscape Q3 2026: Key Microsoft Trends

Microsoft reported 7.3 billion email-based phishing threats in Q3 2026, with September alone reaching nearly 3 billion detections. The latest threat data shows shifting attacker tactics across spoofed sender domains, CAPTCHA-gated phishing, QR code lures, and Microsoft Teams social engineering, giving IT teams clear areas to review in their defenses.

Security

On-Premises Security Initiative: Microsoft Hardens Servers

Microsoft has announced a new on-premises security initiative focused on reducing risk for server workloads that must remain outside the cloud. The effort combines migration guidance, Secure Now recommendations, and product changes such as Baseline Security Mode, faster patching, hardened defaults, and expanded emergency mitigations for Exchange, SharePoint, and Skype for Business Server.

Security

Fake Download Campaign Delivers Trojanized Installers

Microsoft Threat Intelligence detailed a fake-download campaign that uses trojanized Inno Setup-style installers to silently deliver multiple monetization payloads in a single session. The activity matters to IT and security teams because it can turn devices into proxy, compute, or adware assets without informed user consent, increasing privacy, performance, and security risk.

Security

Microsoft Agent 365 Named Leader in Gartner 2026

Microsoft has been named a Leader in Gartner’s inaugural 2026 Magic Quadrant for AI Agent Management Platforms, highlighting momentum behind Microsoft Agent 365. For IT and security teams, the news underscores Microsoft’s push to bring identity, governance, discovery, and risk-based controls to enterprise AI agents across Microsoft and third-party ecosystems.

Security

Exploited Vulnerabilities: Key Patterns Defenders Must Know

Microsoft Security’s latest analysis shows that only about 0.5% of disclosed CVEs are exploited in the wild, but attackers consistently favor high-impact flaws such as remote code execution, privilege escalation, and authentication bypass. The findings matter for defenders because patching critical systems often takes weeks or longer, while weaponization can happen within days of disclosure.