macOS Backdoor Uses Prompt Injection to Evade AI Triage
A macOS backdoor uses prompt injection to trick AI tools used by malware analysts, avoiding detection by sandboxing.
Overview
A North Korea-linked macOS backdoorA hidden way into a computer or program that skips the normal login check named macOS.Gaslight was discovered using a prompt injectionHiding instructions inside text or data so an AI model ignores its rules and obeys the attacker to evade AI triageSorting incoming security alerts or bug reports by urgency so the worst problems get handled first tools. The malwareSoftware built to steal data, spy on users, lock files, or take control of a computer embedded 38 fabricated system messages to derail AI-assisted analysis by researchers. It targeted the analyst's AI tools rather than the sandboxAn isolated test environment where a program can run without touching the rest of the computer analyzing the code. The implantCustom spyware or backdoor code secretly placed on a target device or router for long-term access acted as a stealer and backdoor, grabbing browser data, terminal histories, and a copy of the macOS login keychain. It used a hardened Telegram channel to stay hidden in transit. The implant was built to scrub its own Telegram botAn automated program that performs repetitive tasks over a network, either for legitimate indexing or malicious attacks tokenA short-lived digital pass that a server gives a logged-in user or app from any logsTimestamped records that servers and apps write whenever someone signs in, changes a setting, or makes a request or crash output.
Terms in this story
- Backdoor
- A hidden way into a computer or program that skips the normal login check. Attackers plant a backdoor on a compromised server so they can return later even if the administrator changes passwords or fixes the original flaw. Security+ objective 2.4 lists the term
- Prompt Injection
- Hiding instructions inside text or data so an AI model ignores its rules and obeys the attacker. An attacker might hide invisible text on a web page or inside an email so that when an AI assistant summarizes it, the assistant forwards private data to the attacker.
- prompt
- The text instruction or question a user or program sends to an artificial intelligence model. In AI security news, a prompt includes both the visible question typed by a user and the hidden instructions that an attacker might embed in a web page.
- Triage
- Sorting incoming security alerts or bug reports by urgency so the worst problems get handled first. A security team receives thousands of automated alerts a day and uses triage to separate harmless noise from an active break-in that needs attention right away.
- malware
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
- sandbox
- An isolated test environment where a program can run without touching the rest of the computer. Web browsers run each tab inside a sandbox so a malicious page cannot read your personal files, and analysts detonate suspicious attachments in a sandbox to watch what they do. Security+ objective 4.1 lists the term
- implant
- Custom spyware or backdoor code secretly placed on a target device or router for long-term access. Government espionage reports often describe an implant hidden inside a network appliance or phone that quietly relays traffic back to its handlers for months.
- key
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- Bot
- An automated program that performs repetitive tasks over a network, either for legitimate indexing or malicious attacks. Search engines use benign bots to index web pages, while criminals deploy malicious bots to scrape prices, buy up tickets, or test stolen passwords.
- token
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
- logs
- Timestamped records that servers and apps write whenever someone signs in, changes a setting, or makes a request. During an investigation, responders examine security logs to trace when an attacker first logged in and which internal machines they accessed. Security+ objective 4.4 lists the term
- virtual machine
- A software-emulated computer that runs its own operating system inside a shared physical server. Cloud providers run dozens of customer virtual machines on one physical server, and security researchers run malware samples inside a disposable virtual machine that they can reset afterward. Security+ objective 3.1 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Infosecurity Magazine website. Cite the article, not this page.
Read the full article on Infosecurity Magazine (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"...researchers said the implant offered an operator an interactive shell..." Found by reading the article; these exact words are in it - Who is affected: "...malware analysts ai tools..."
Copied word for word from the article - Security+ 2.1 Compare and contrast common threat actors and motivations.
"SentinelLabs found a North Korea-linked macOS backdoor using prompt injection on AI..." Found in the opening sentences - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"...macOS Backdoor Uses Prompt Injection to Evade AI Triage..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"...macOS Backdoor Uses Prompt Injection to Evade AI Triage..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"...macOS Backdoor Uses Prompt Injection to Evade AI..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"...macOS Backdoor Uses Prompt Injection to Evade AI Triage..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of malware triage.
"Malware has long tried to detect when it is running inside a sandbox..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role