{"id":5746,"date":"2025-07-30T10:08:26","date_gmt":"2025-07-30T10:08:26","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2025\/07\/30\/microsoft-details-defence-techniques-against-indirect-prompt-injection-attacks\/"},"modified":"2025-07-30T10:08:26","modified_gmt":"2025-07-30T10:08:26","slug":"microsoft-details-defence-techniques-against-indirect-prompt-injection-attacks","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2025\/07\/30\/microsoft-details-defence-techniques-against-indirect-prompt-injection-attacks\/","title":{"rendered":"Microsoft Details Defence Techniques Against Indirect Prompt Injection Attacks"},"content":{"rendered":"<p>    Microsoft Details Defence Techniques Against Indirect Prompt Injection Attacks<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>Microsoft has unveiled a comprehensive defense-in-depth strategy to combat indirect prompt injection attacks, one of the most significant security threats facing large language model (LLM) implementations in enterprise environments.\u00a0<\/p>\n<p>The company\u2019s multi-layered approach combines preventative techniques, detection tools, and impact mitigation strategies to protect against attackers who embed malicious instructions within external data sources that LLMs process.<\/p>\n<pre class=\"wp-block-preformatted\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">Key Takeaways<\/mark><\/strong><br>1. Microsoft uses advanced tools and strict controls to stop prompt injection in AI.<br>2. User consent and strong data policies help prevent data leaks.<br>3. Ongoing research keeps Microsoft ahead in AI security.<\/pre>\n<h2 class=\"wp-block-heading\"><strong>Multi-Layered Prevention and Detection Framework<\/strong><\/h2>\n<p>Microsoft\u2019s defensive strategy centers on three primary categories of protection mechanisms.\u00a0<\/p>\n<p>The company has implemented hardened system prompts and developed an innovative technique called <a href=\"https:\/\/cybersecuritynews.com\/prompt-injection-attacks-llmail-inject\/\" target=\"_blank\" rel=\"noreferrer noopener\">Spotlighting<\/a>, which helps LLMs distinguish between legitimate user instructions and potentially malicious external content.\u00a0<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdSXXVCduyzljcPiU0A0HN_doo3uybO5PURql6g8f_yTbI9qg9cD-maPXV_MfGPPNf3_NB0uI4EQ852YegtKjftBfraCfUyoPoKJQzJzSE_KlJ2yp68k1GwW1qQSZx3tRR7kwf6ug?key=1uGkzGcxOYmHlbFsjMJZpQ\" alt=\"Prompt injection\"><figcaption class=\"wp-element-caption\">Prompt injection<\/figcaption><\/figure>\n<\/div>\n<p>Spotlighting operates in three distinct modes: delimiting (using randomized text delimiters like &lt;&lt; {{text}} &gt;&gt;), datamarking (inserting special characters such as \u02c6 between words), and encoding (transforming untrusted text using algorithms like base64 or ROT13).<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXd1EqXpiQGPqoAmFIorKFk1EOsB9eVzo7ageqF8emJA2Vn-6vdzXZLQcMgRPTb9MUV8bcK91tPC0rl_TQ1PnkE1417kmumQz1eMisLPblDA5m8kVKclF50XMug5-1MVQaWskU_9?key=1uGkzGcxOYmHlbFsjMJZpQ\" alt=\"\"><\/figure>\n<\/div>\n<p>For detection capabilities, Microsoft has deployed Microsoft Prompt Shields, a probabilistic classifier-based system that identifies prompt injection attacks from external content in multiple languages.\u00a0<\/p>\n<p>This detection tool integrates seamlessly with Defender for Cloud as part of its threat protection for AI workloads, enabling security teams to monitor and correlate AI-related security incidents through the Defender XDR portal.\u00a0<\/p>\n<p>The system provides enterprise-wide visibility into potential attacks targeting LLM-based applications across organizational infrastructure.<\/p>\n<p>Microsoft\u2019s <a href=\"https:\/\/msrc.microsoft.com\/blog\/2025\/07\/how-microsoft-defends-against-indirect-prompt-injection-attacks\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">research initiatives<\/a> include the development of TaskTracker, a novel detection technique that analyzes internal LLM states (activations) during inference rather than examining textual inputs and outputs.\u00a0<\/p>\n<p>The company has also conducted the first public Adaptive Prompt Injection Challenge called LLMail-Inject, which attracted over 800 participants and generated a dataset of more than 370,000 prompts for further research.<\/p>\n<h2 class=\"wp-block-heading\"><strong>Mitigations<\/strong><\/h2>\n<p>To mitigate potential security impacts, Microsoft employs deterministic blocking mechanisms against known data exfiltration methods, including HTML image injection and malicious link generation.\u00a0<\/p>\n<p>The company implements fine-grained data governance controls, exemplified by <a href=\"https:\/\/cybersecuritynews.com\/microsoft-365-copilot\/\" target=\"_blank\" rel=\"noreferrer noopener\">Microsoft 365 Copilot\u2019s<\/a> integration with sensitivity labels and Microsoft Purview Data Loss Protection policies.\u00a0<\/p>\n<p>Additionally, human-in-the-loop (HitL) patterns require explicit user consent for potentially risky actions, as demonstrated in Copilot for Outlook\u2019s \u201cDraft with Copilot\u201d feature.<\/p>\n<p>This comprehensive approach addresses the fundamental challenge that indirect <a href=\"https:\/\/cybersecuritynews.com\/tag\/prompt-injection-attacks\/\" target=\"_blank\" rel=\"noreferrer noopener\">prompt injection<\/a> represents an inherent risk arising from the probabilistic nature and linguistic flexibility of modern LLMs, positioning Microsoft at the forefront of AI security innovation.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 92%,rgb(169,184,195) 100%)\"><code><strong>Integrate <strong>ANY.RUN TI Lookup<\/strong> with your SIEM or SOAR To Analyses Advanced Threats<\/strong> -&gt; <strong><a href=\"https:\/\/intelligence.any.run\/plans?utm_source=csn_jul&amp;utm_medium=atricle&amp;utm_campaign=want-to-detect-incidents-before&amp;utm_content=plans1&amp;utm_term=290725\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Try 50 Free Trial Searches<\/a> <\/strong><\/code><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/indirect-prompt-injection-mitigations\/\">Microsoft Details Defence Techniques Against Indirect Prompt Injection Attacks<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Florence Nightingale<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/indirect-prompt-injection-mitigations\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft Details Defence Techniques Against Indirect Prompt Injection Attacks Microsoft has unveiled a comprehensive defense-in-depth strategy to combat indirect prompt injection attacks, one of the most significant security threats facing large language model (LLM) implementations in enterprise environments.\u00a0 The company\u2019s multi-layered approach combines preventative techniques, detection tools, and impact mitigation strategies to protect against attackers [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63],"tags":[130],"class_list":["post-5746","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/5746"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=5746"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/5746\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=5746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=5746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=5746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}