New macOS Malware Campaign Uses Flutter Framework to Evade Detection

CyberSecureFox 🦊

Cybersecurity researchers at Jamf Threat Labs have uncovered a sophisticated malware campaign targeting macOS systems, attributed to North Korean threat actors. The attackers have demonstrated advanced capabilities by leveraging the Flutter framework to create malicious applications that successfully circumvent Apple’s stringent security protocols, including code signing and notarization processes.

Technical Analysis: Flutter Framework Exploitation

The threat actors have engineered a series of malicious applications using Google’s Flutter framework, a popular tool for cross-platform development. The malware’s sophisticated architecture embeds malicious code within dynamic libraries (dylib), which are loaded by the Flutter runtime engine. This innovative approach significantly complicates detection by traditional security solutions, as the malicious components remain dormant until runtime execution.

Deceptive Tactics and Command Infrastructure

The discovered malware exhibits sophisticated social engineering techniques, masquerading as legitimate cryptocurrency-related applications. Upon execution, these programs display benign behavior, such as launching a Minesweeper game interface, while covertly establishing communication channels with command and control (C2) servers. The malware’s capabilities include executing arbitrary AppleScript commands received from the attackers’ infrastructure, potentially enabling full system compromise.

Security Certificate Abuse and Implementation

In a concerning development, the threat actors have successfully obtained legitimate Apple Developer IDs for code signing. Five of the six identified malicious applications were signed using certificates belonging to legitimate organizations: BALTIMORE JEWISH COUNCIL, INC. and FAIRBANKS CURLING CLUB INC. This abuse of authentic credentials enabled the malware to pass Apple’s notarization process, effectively bypassing macOS’s built-in security measures.

Additional Attack Vectors and Variants

Beyond Flutter-based applications, security researchers identified parallel malware strains developed using Golang and Python. These variants demonstrate similar capabilities for network communication with known North Korean infrastructure and remote code execution, indicating a broader, coordinated campaign.

While Apple has responded by revoking the compromised certificates, effectively preventing the malware’s execution on current macOS versions, this incident highlights critical vulnerabilities in application verification processes. The sophistication of this campaign emphasizes the evolving nature of cyber threats and underscores the importance of implementing robust security measures beyond traditional signature-based detection. Organizations and users are advised to maintain updated security solutions, implement application allowlisting, and exercise caution when installing new software, regardless of its apparent legitimacy or security certifications.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.