Skip to main content
QUICK REVIEW

[논문 리뷰] RatGPT: Turning online LLMs into Proxies for Malware Attacks

Mika Beckerich, Laura Plein|arXiv (Cornell University)|2023. 08. 17.
Advanced Malware Detection TechniquesComputer Science인용 수 15
한 줄 요약

본 논문은 웹 플러그인이 있는 ChatGPT를 피해자와 악성 C2 서버 사이의 프록시로 사용하여 피해자의 기기를 무장화하고 명령하게 하며, 메모리상 맬웨어를 생성하고 탐지를 회피하는 방식을 입증한다.

ABSTRACT

The evolution of Generative AI and the capabilities of the newly released Large Language Models (LLMs) open new opportunities in software engineering. However, they also lead to new challenges in cybersecurity. Recently, researchers have shown the possibilities of using LLMs such as ChatGPT to generate malicious content that can directly be exploited or guide inexperienced hackers to weaponize tools and code. These studies covered scenarios that still require the attacker to be in the middle of the loop. In this study, we leverage openly available plugins and use an LLM as proxy between the attacker and the victim. We deliver a proof-of-concept where ChatGPT is used for the dissemination of malicious software while evading detection, alongside establishing the communication to a command and control (C2) server to receive commands to interact with a victim's system. Finally, we present the general approach as well as essential elements in order to stay undetected and make the attack a success. This proof-of-concept highlights significant cybersecurity issues with openly available plugins and LLMs, which require the development of security guidelines, controls, and mitigation strategies.

연구 동기 및 목표

  • 널리 이용 가능한 LLM과 그 플러그인이 공격 표면으로 악용될 수 있는 방법에 대한 인식을 높인다.
  • LLMs를 C2 통신의 프록시로 사용하는 완전 자동화되고 실행 가능한 파이프라인을 시연한다.
  • 공격자가 호스트에 직접 흔적을 남기지 않고 원격으로 피해자의 기기를 제어할 수 있음을 보여준다.
  • 이러한 공격 표면에 대한 한계, 안전장치, 완화 전략을 논의한다.

제안 방법

  • 웹을 탐색하고 임의의 URL에 접근할 수 있는 취약한 플러그인을 정의한다.
  • 제약을 우회하고 LLM을 통해 실행 가능한 코드를 생성하기 위해 탈옥된 프롬프트를 사용한다.
  • LLM에 프롬프트를 통해 C2 서버 IP 주소와 페이로드 코드를 동적으로 생성한다.
  • 메모리에서 평가되는 LLM 생성 코드를 삽입하여 무해한 실행 파일을 무장화한다.
  • LLM이 활성화된 웹 플러그인을 통해 공격자의 C2 서버와 페이로드 통신을 조정한다.
  • 페이로드 생성, C2 폴링 및 데이터 탈취를 포함하는 개념 증명(Proof-of-Concept) 워크플로를 기술한다.

실험 결과

연구 질문

  • RQ1플러그인을 제공하는 OpenAI-스타일의 온라인 LLM이 은밀한 프록시로 작동하여 명령 및 제어(C2) 채널을 구축하고 유지할 수 있는가?
  • RQ2LLM 생성 코드와 웹 이용 플러그인을 통해 무해한 실행 파일을 무장화하는 가능한 엔드투엔드 워크플로우는 무엇인가?
  • RQ3플러그인을 이용한 LLM 기반 프록시 맬웨어를 억제하거나 탐지할 수 있는 완화 전략과 안전장치는 무엇인가?

주요 결과

  • 완전 실행 가능하고 자동화된 파이프라인은 공개적으로 이용 가능한 LLM과 플러그인을 사용하여 C2 통신 채널을 구성할 수 있다.
  • 개념 증명은 피해자의 기기를 침해하고 LLM 생성 페이로드를 통해 셸 명령을 실행하는 가능성을 보여준다.
  • 공격은 피해자에게 수동적이며 실행 후 사용자로부터의 프롬프트를 필요로 하지 않는다.
  • 페이로드와 IP 주소는 LLM에 의해 즉시 생성될 수 있어 맬웨어 스캐너와 정적 분석의 회피를 돕는다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.