Shota Shinogi

Cybersecurity Researcher

Macnica Inc

Biography

Shota Shinogi is a distinguished security researcher at Macnica, a renowned cyber firm based in Japan, with over a decade of experience in the field of cyber security. He is widely recognized for his expertise in testing security solutions, including antivirus, sandbox, EDR, and other technologies, through the development of his malware simulators – ShinoBOT and ShinoLocker. Shota is passionate about exploring new ways to bypass security solutions, a pursuit that has become a hobby of his. In addition to his impressive work in the field, Shota is a sought-after speaker, having presented at several prestigious security conferences such as Black Hat USA, Asia, DEFCON, and BSides Austin and Tokyo. His expertise and insights into the latest security threats and trends have been invaluable to the community.

Topic Name & Synopsis

Hacking and Protecting LLM Applications

In this talk, we cover how to securing Large Language Model (LLM) applications, a crucial topic in today’s AI-driven landscape. With LLMs being increasingly integrated into various sectors, from customer support to content generation, their security vulnerabilities present significant risks.

 

The presentation begins with an overview of LLMs, highlighting their potential and the associated threats, such as data privacy issues, prompt injection attacks, and model manipulation. To illustrate these threats, we present a realistic scenario involving a customer service chatbot for a financial institution, demonstrating how easily it can be manipulated through a crafted input.

 

A live demonstration of a prompt injection attack showcases the potential harm, where a seemingly benign request results in the LLM revealing sensitive information. This highlights the urgent need for robust security measures.

 

We then transition to practical strategies for mitigating these risks:

 

Input Sanitization: Implementing thorough input validation to neutralize malicious prompts.

Context Management: Ensuring the LLM processes inputs in a controlled manner.

Access Controls: Limiting the LLM’s access to sensitive information.

Continuous Monitoring: Regularly auditing interactions for abnormal behavior.

The talk concludes with best practices and tools for securing LLM applications, emphasizing secure coding practices, red teaming, and the adoption of security frameworks tailored for AI.

 

This comprehensive approach equips developers and organizations with the knowledge to harness the power of LLMs while safeguarding against potential threats, ensuring the secure deployment of these advanced technologies.