Mantis protects against LLM cyberattacks

Mantis Defense
Mantis Defense

Researchers from George Mason University have developed an experimental system called Mantis that aims to defend against cyber attackers by leveraging large language models (LLMs) and generative AI. Mantis employs deceptive techniques to emulate targeted services and, upon detecting a potential automated attacker, sends back a payload with a prompt injection attack. This method is invisible to human attackers and does not impact legitimate users.

Evgenios Kornaropoulos, an assistant professor of computer science at GMU and one of the authors, explains that LLMs used in penetration testing relentlessly focus on exploiting targets, making them easily manipulated. Dan Grant, principal data scientist at threat-defense firm GreyNoise Intelligence, highlights that while LLM-enabled automation and discovery represent new challenges, the underlying attack methods remain the same. The GMU team tested Mantis by creating a game scenario between an attacking LLM and Mantis, using prompt injection to impact the attacker.

Mantis used a decoy FTP server to send prompt injection attacks back to the LLM agent.

Mantis deflects AI-driven threats

By embedding commands in responses, Mantis misdirected the attacking AI’s strategies.

The researchers focused on passive defenses to slow attackers and active defenses to hack back and potentially run commands on the attacker’s system. The strategies were effective, with over a 95% success rate using prompt injection. The lead author, Dario Pasquini, expressed surprise at the ease of redirecting attacking LLMs.

Giuseppe Ateniese, a professor at GMU, notes that prompt injection remains a difficult challenge to counter. The only solution for now is to put a human in the loop, which negates the efficiency of using LLMs. As long as prompt injection attacks remain effective, Mantis will continue to be a valuable tool in turning attacking AIs into prey. The findings provide valuable insights into state-sponsored hackers’ tactics, techniques, and procedures, aiding in profiling threat actors and enhancing cybersecurity measures.

See also  Seattle Startup Program Adds Tokyo Power Firm
Rashan Dixon

Rashan Dixon is the founder and CEO of DevX, a technology media and education company covering software development, programming languages, artificial intelligence, and emerging technologies. He is also the founder and CEO of Techincon, a technology consulting business focused on technology implementation, analytics, and emerging technology trends.

Rashan brings nearly three decades of experience across enterprise technology, business systems, and consulting. He served as a Senior Business Systems Analyst at Microsoft from 2011 to 2026, following earlier experience as a Systems Analyst and Business Advisor at Kronos Incorporated. These roles inform his practical perspective on the opportunities and operational challenges of adopting new technology.
At DevX, Rashan connects enterprise technology experience with accessible coverage for developers, entrepreneurs, and business decision-makers. His areas of interest include software engineering, AI, technology strategy, digital transformation, and the intersection of emerging tools and business outcomes.

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.