LIVE · cybersecurity feed
Live wire
security

Researchers replace downloaded macOS apps with evil twins, Apple shrugs

Security researchers have identified a method to replace legitimate macOS applications downloaded from the internet with malicious versions, even after Apple's Gatekeeper security feature has initially validated them. This technique, detailed by Talal Haj Bakry and Tommy Mysk, exploits a gap in Gatekeeper and associated code signing protocols, allowing an attacker to silently substitute an…

ZeroDay News ·

Source: The Register — Security

Security researchers have identified a method to replace legitimate macOS applications downloaded from the internet with malicious versions, even after Apple's Gatekeeper security feature has initially validated them. This technique, detailed by Talal Haj Bakry and Tommy Mysk, exploits a gap in Gatekeeper and associated code signing protocols, allowing an attacker to silently substitute an application's main executable without requiring elevated privileges.

Gatekeeper is designed to verify that software from outside the App Store originates from an identified developer, has been notarized by Apple as free of known malicious content, and has not been altered. However, the researchers demonstrated that once a web-downloaded macOS application has been run at least once, an attacker with user-level code execution capabilities can archive the application bundle, delete the original, and replace it with a malicious version. macOS then fails to re-authenticate the modified application.

This vulnerability does not affect applications downloaded from the Mac App Store, as these are owned by the root user, preventing modification by processes running with current user privileges. However, many popular applications downloaded directly from the web, such as Brave, Slack, Signal, and Visual Studio Code, could be susceptible.

The attack scenario requires an initial execution of the legitimate, web-downloaded application to allow Gatekeeper to complete its first validation. Subsequently, an attacker needs a means to execute user-scoped code, which could be achieved through various methods including malicious scripts, command-line tools, or supply chain attacks via package managers like npm or Homebrew. Once a malicious doppelganger app is in place, it could present deceptive prompts that users might trust, believing they originate from a legitimate application.

The researchers speculate that the issue might stem from cached trust values. After an application passes initial validation, macOS marks it as trusted and saves this data. When the executable is later modified, macOS attempts to revalidate its integrity, but the cached trust value appears to cause the validation to pass despite the bundle having changed.

Bakry and Mysk reported their findings to Apple. According to the researchers, Apple closed the issue, stating that the archiving and restoring process overwrites the entire application bundle, effectively making it a "locally built" application. Apple's position is that locally built app bundles are not covered by macOS security guards, and that any subsequent prompts for system authorization (e.g., access to Keychain or TCC-protected directories) would be a matter of social engineering, which Apple considers outside the scope of this particular security concern.

ShareXLinkedInWhatsAppFacebook

More News

view all →
security

Canadian cybersecurity executive arrested in federal extortion case

A Canadian cybersecurity executive was arrested in Pennsylvania on Thursday, facing federal charges of conspiracy to commit extortion. Edward Dubrovsky, 54, a co-founder and former Chief Operating Officer of CYPFER, a firm specializing in ransomware negotiation, is charged with conspiring to threaten the confidentiality of information for extortion and conspiring to commit Hobbs Act extortion,…

breach

Criminal IP Introduces AITEM as the Next Evolution of Attack Surface Management

AI SPERA, the company behind the cyber threat intelligence platform Criminal IP, has announced AITEM (AI-Powered Threat Exposure Management), an expansion of its Attack Surface Management (ASM) offerings. AITEM aims to move beyond traditional asset discovery to provide a more comprehensive approach to understanding, prioritizing, and responding to security exposures. The platform is scheduled…

ai

AI Is Getting Really Good at Messing With Cybercriminals

Anti-cybercrime initiatives are increasingly deploying artificial intelligence to disrupt scammers by engaging them with lifelike bots, which the criminals mistake for genuine victims. This strategy aims to waste scammers' time and resources while gathering intelligence on their operations.

ransomware

FBI Arrests Ransomware Negotiation Firm Co-Founder in ShinyHunters Probe

The Federal Bureau of Investigation (FBI) has reportedly arrested Edward Dubrovsky, a co-founder of the ransomware negotiation firm Cypfer and currently associated with CyberSteward. The arrest is said to be part of the ongoing ShinyHunters investigation, specifically in connection with an incident involving FBI job applicant data.

ai

The Third-Party Agent Problem: Why Security Built for AI You Chose Misses the Agents You Didn't

A new report highlights a significant blind spot in enterprise security architectures concerning the proliferation of third-party AI agents. The forthcoming 2026 State of Agent Security Report indicates that current security models, often designed to protect AI systems directly chosen and deployed by an organization, frequently fail to account for AI capabilities embedded within third-party…

security

Insider Cyber Extortion Plot Against Industrial Firm Lands Engineer in Prison

A former core infrastructure engineer has been sentenced to prison for an attempted cyber extortion plot against an industrial firm. The engineer reportedly deleted administrative accounts and reset hundreds of user passwords, subsequently demanding a ransom of 20 Bitcoin to prevent further disruption to the company's servers.