Microsoft warns 'Skeleton Key' can crack popular AI models for dangerous outputs
Microsoft says threat actors can bypass guardrails built into some of the most popular LLMs using this simple technique
Microsoft has published threat intelligence warning users of a new jailbreaking method which can prompt AI models into disclosing harmful information.
The technique is able to force LLMs to totally disregard behavioral guidelines built into the models by the AI vendor, earning it the name Skeleton Key.
In a report published on 26 June, Microsoft detailed the attack flow through which Skeleton Key is able to force models into responding to illicit requests and revealing harmful information.
“Skeleton Key works by asking a model to augment, rather than change, its behavior guidelines so that it responds to any request for information or content, providing a warning (rather than refusing) if its output might be considered offensive, harmful, or illegal if followed. This attack type is known as Explicit: forced instruction-following.”
In an example provided by Microsoft, a model was convinced into providing instructions for making a molotov cocktail using a prompt that insisted its request was being made in “a safe educational context”.
The prompt instructed the model to update its behavior to supply the illicit information, only telling it to prefix it with a warning.
If the jailbreak is successful, the model will acknowledge that it has updated its guardrails and will, “subsequently comply with instructions to produce any content, no matter how much it violates its original responsible AI guidelines.”
Sign up today and you will receive a free copy of our Future Focus 2026 report - the leading resource for IT decision-maker insight on priorities and investment areas in AI, security and more.
Microsoft tested the technique between April and May 2024, and found it was effective when used on Meta LLama3-70b, Google Gemini Pro, GPT 3.5 and 4o, Mistral Large, Anthropic Claude 3 Opus, and Cohere Commander R Plus, but added the attacker would need to have legitimate access to the model to carry out the attack.
Microsoft's disclosure marks the latest LLM jailbreaking issue
Microsoft said it has addressed the issue in its Azure AI-managed models using prompt shields to detect and block the Skeleton Key technique, but because it affects a wide range generative AI models it tested, the firm has also shared its findings with other AI providers.
Microsoft added it has also made software updates to its other AI offerings, including its Copilot AI assistants, to mitigate the impact of the guardrail bypass.
The explosion in interest and adoption of generative AI tools has precipitated an accompanying wave of attempts to break these models for malicious purposes.
In April 2024, Anthropic researchers warned of a jailbreaking technique that could be used to force models into providing detailed instructions on constructing explosives.
They explained the latest generation of models with larger context windows are vulnerable to exploitation due to their improved performance. The researchers were able to exploit models’ ‘in-context learning’ capabilities which helps it improve its answers based on the prompts.
Earlier this year, three researchers at Brown University discovered a cross-lingual vulnerability in OpenAI’s GPT-4.
The researchers found they could induce prohibited behavior from the model by translating their malicious queries into one of a number of ‘low resource’ languages.
The results of the investigation showed the models are more likely to follow prompts encouraging harmful behaviors when promoted using languages such as Zulu, Scots Gaelic, Hmong, and Guarani.
Solomon Klappholz is a former staff writer for ITPro and ChannelPro. He has experience writing about the technologies that facilitate industrial manufacturing, which led to him developing a particular interest in cybersecurity, IT regulation, industrial infrastructure applications, and machine learning.
-
Analysts dispel ‘conspiracy theories’ surrounding recent tech outagesNews Forrester researchers say the cause of major disruptions is “considerably less exciting”
-
‘This will be a major revamp of almost everything we do in security’: How AI is impacting security risk and governanceIn-Depth With AI speeding up attacks, undermining trust, and racing ahead of governance controls, experts warn that the biggest gaps are in the basics
-
Cyber firm claims Microsoft refused to remove malware-infected app from storeNews eSentire said it discovered the trojan, but its report was dismissed by Microsoft
-
Microsoft says small tweaks to model weights could create AI ‘sleeper agents’News Microsoft Research shows technique could work to create a backdoor in AI systems, but says it hasn't yet been spotted in use in the wild
-
Microsoft wants to tackle the biggest issue for UK AI adoption: confidenceNews UK and Ireland CEO Darren Hardman says it's our responsibility to get AI into every corner of the UK
-
Microsoft says AI is causing a workforce rupture among British businesses – leaders are backing the technology, but workers still aren’t soldNews New Microsoft research shows a huge disconnect between leadership and employees when it comes to confidence in the UK leading in AI
-
Microsoft takes down ‘EvilTokens’ hacker service that used AI to ‘decide who to target, who to impersonate, and how to most effectively exploit’ victimsNews In just six months, the EvilTokens phishing as a service platform hit thousands of organizations worldwide
-
Microsoft forks out record-breaking sums with expanded bug bounty programNews Hundreds of security researchers won a share of $20 million after the tech giant expanded its bug hunting scheme
-
‘We are now seeing MAI models outperform general-purpose frontier models’: Microsoft CEO Satya Nadella touts in-house models to cut spiralling AI costs – and reduce growing reliance on frontier labsNews The Microsoft chief says pricey frontier models don't have to be used for every task, and its own in-house MAI models could be the key to reducing costs.
-
Microsoft and Databricks target AI business context gains in partnership expansionNews Deeper integration of Databricks Genie within Azure aims to build more context-aware AI