Cyber Security News

AmnesiaStealer macOS Malware Hijacks Browser Sessions via Fake GitHub Lure

A newly identified macOS infostealer called AmnesiaStealer is spreading via a convincing fake GitHub download page, tricking Mac users into pasting a malicious Terminal command that silently installs malware and can later grant attackers live, hidden control of the victim’s browser session.

Security researchers at Jamf Threat Labs discovered the campaign after spotting a counterfeit site at github.aoitour[.]com that near-perfectly copies GitHub’s dark theme, Octocat logo, and “Verified Publisher” badge.

Instead of offering a real download, the page displays a “Terminal installation” box with a one-click copy button and step-by-step instructions telling visitors to open Terminal, paste the command, press Return, and enter their device password.

This social-engineering technique, known as ClickFix, has also been used to spread other Mac malware families like Atomic (AMOS) and MacSync, showing that criminal groups are reusing the same deceptive template across campaigns.

Counterfeit GitHub ClickFix Terminal Lure (Image Source: .jamf.com)

Once a victim pastes the command, a hidden shell script quietly downloads a password-protected ZIP archive, extracts a disguised binary into the /tmp folder, strips Apple’s quarantine flag, and launches the payload before deleting its own tracks.

This is followed by a Rust-based infostealer that profiles the machine, displays a fake native “Installer” password prompt to capture the login credential, and uses it to unlock the keychain, Apple Notes, Telegram sessions, browser data, and documents.

The malware is named after the “Amnesia Panel” backend it communicates with, and its embedded configuration is unlocked with the key 4mn3s1a_2o26!xK.

Spoofed macOS System Password Prompt (Image Source: .jamf.com)

The most concerning capability arrives in a third component called stream_module. Fetched only on command from the attacker’s panel, this stage clones the victim’s browser profile, launches it in headless mode, and connects to the Chrome DevTools Protocol.

This gives the attacker a live screencast of the session along with full mouse, keyboard, and navigation control, effectively letting them operate the victim’s logged-in browser sessions, email, banking, and social media without the victim ever seeing anything change on their own screen, reads the Jamf Threat Labs report shared with Cyber Security News.

Interestingly, several of the malware’s attempts to sidestep Apple’s privacy protections rely on techniques Apple patched years ago, including a 2020 APFS snapshot bypass.

On modern macOS versions like macOS 26, these attempts largely fail, and the malware’s own debug logs record the failures. However, its core credential and browser-session theft still works effectively, especially against advanced users who may already have granted broader system permissions.

AmnesiaStealer illustrates a growing trend where attackers combine believable phishing pages with staged, remotely triggered payloads rather than a single static malware file.

Because the initial infection relies entirely on tricking a user into running a Terminal command, the most effective defense is simple: never paste unknown commands into Terminal, especially ones sourced from unsolicited download prompts.

Keeping macOS updated, enabling browser and endpoint threat protection, and treating any password prompt tied to a “software installer” with suspicion are essential precautions as this campaign continues to evolve.

 Strengthen Your SOC by Accelerating Threat Detection & Rapid Investigations. -> Integrate ANY.RUN With Your SOC Now.

Guru Baran

Gurubaran KS is a cybersecurity analyst, and Journalist with a strong focus on emerging threats and digital defense strategies. He is the Co-Founder and Editor-in-Chief of Cyber Security News, where he leads editorial coverage on global cybersecurity developments.

Recent Posts

Google Chrome 153 Update Fixes 42 Security Flaws, Including 3 Critical Ones

Google has released an important Chrome 153 security update that fixes 42 vulnerabilities across the…

2 hours ago

CISA and NIST Release Technical Checklist for Safeguarding Identity Tokens From Theft and Misuse

The Cybersecurity and Infrastructure Security Agency (CISA) and the National Institute of Standards and Technology…

12 hours ago

CISA Shares 17 Techniques Used by Hackers to Compromise Active Directory Environments

CISA and five international cybersecurity agencies have released detailed guidance describing 17 common techniques hackers…

13 hours ago

Apple Rolls Out Massive Security Update Fixing 273 Vulnerabilities Across Its Devices

Apple has released one of its largest coordinated security rollouts, addressing 273 distinct critical vulnerabilities…

13 hours ago

How to Keep Malware’s Rotating Infrastructure From Becoming a Detection Gap

You can’t detect today's attacks with yesterday’s threat intelligence; that’s how you could briefly formulate…

14 hours ago

Microsoft Bans Its AI Models From Launching Cyberattacks or Escalating Their Own Access

Microsoft has published a draft Humanist AI Code of Conduct that would prohibit its in-house…

14 hours ago