字号·· | 护眼
福克斯新闻网

Mac恶意软件可以在你的iCloud日历中隐藏命令Mac malware can hide commands in your iCloud calendar

点「原文对照」整页切到原文,或双击某段只看那段的原文。

您可能使用日历来记录约会、生日以及那些您立即选择“稍后提醒”的偶尔提醒事项。黑客显然看到了另一种可能性。安全研究人员发现了一种新版本的 MacSync 恶意软件,它可以利用公共 iCloud 日历事件作为其感染链的一部分。隐藏在日历数据中的命令有助于将更多恶意软件下载到 Mac 上。

You probably use your calendar to keep track of appointments, birthdays and the occasional reminder you immediately snooze. Hackers apparently see another possibility. Security researchers have uncovered a new version of MacSync malware that can use a public iCloud calendar event as part of its infection chain. Hidden inside the calendar data are commands that help download more malware onto a Mac.

日历本身不会因为有人发送了邀请就突然感染您的电脑。攻击通常更早开始,往往是在某人下载并运行了恶意应用程序之后。尽管如此,iCloud 这一技巧展示了攻击者如何将攻击的部分环节隐藏在我们许多人信任的熟悉服务背后。一旦 MacSync 潜入系统,它窃取的目标远不止您的日历。以下是 MacSync 的运作原理、它能窃取的内容以及您可以采取哪些措施来保护您的 Mac。

The calendar itself does not suddenly infect your computer because someone sent you an invitation. The attack starts earlier, usually after someone downloads and runs a malicious app. Still, the iCloud trick shows how attackers can hide parts of an attack behind familiar services many of us trust. Once MacSync gets inside, it can go after a lot more than your calendar. Here's how MacSync works, what it can steal and the steps you can take to protect your Mac.

错过了 CyberGuy 直播?观看回放,了解 AI 助您获得更好医疗服务的 5 种方式。

Our free CyberGuy LIVE class Get Better Healthcare with AI has ended, but you can still watch the full replay.

我们的免费 CyberGuy 直播课程“AI 助您获得更好医疗服务”已结束,但您仍可观看完整回放。Kurt "CyberGuy" Knutsson 将为您演示 AI 协助您备诊、记录重要细节、理解复杂医疗信息、研究处方问题以及规划后续步骤的五种实用方法。无需任何技术经验。

Kurt "CyberGuy" Knutsson walks you through five practical ways AI can help you prepare for appointments, remember important details, understand complicated medical information, research prescription questions and organize your next steps. No technical experience is needed.

此外,我们所有过往课程的录像均可观看,包括“如何阻止垃圾邮件”、“手机安全”和“财务保护”,每门课程均附赠免费可下载的清单。数千个被入侵网站诱骗你安装恶意软件MacSync 是一款针对 macOS 的信息窃取型恶意软件家族。早期版本与 Atomic macOS Stealer(更广为人知的名称是 AMOS)存在相似之处。研究人员表示,MacSync 此后又发展出了自身特有的更多功能。

Plus, recordings of all our past classes are available, including How to Stop Spam, Phone Security and Financial Protection, each with a free downloadable checklist. THOUSANDS OF HACKED SITES TRICK YOU INTO INSTALLING MALWARE MacSync is an information-stealing malware family targeting macOS. Earlier versions shared similarities with the Atomic macOS Stealer, better known as AMOS. Researchers say MacSync has since developed additional capabilities of its own.

卡巴斯基表示,这款恶意软件于 2025 年以 Mac.c 的名称首次出现在暗网上。其创建者后来将其更名为 MacSync。研究人员于 2026 年 9 月首次在真实环境中发现这一最新版本。

Kaspersky says the malware first appeared on the dark web in 2025 under the name Mac.c. Its creators later renamed it MacSync. Researchers first spotted this newest version in the wild in September 2026.

MacSync 采用恶意软件即服务模式。这意味着不同犯罪分子可以使用该恶意软件,同时自行选择将其植入他人 Mac 的方式。攻击者此前曾通过社会工程和 ClickFix 风格攻击传播 MacSync,这类攻击会通过虚假信息诱使受害者复制并运行一条命令。犯罪分子还将其伪装成免费软件、破解应用和用户不熟悉的新应用。我们以前见过类似手法。在一次针对 Mac 的攻击活动中,伪造的验证码说明诱使用户将命令粘贴到“终端”中,终端随后安装了信息窃取型恶意软件。

MacSync operates under a malware-as-a-service model. That means different criminals can use the malware while choosing their own methods for getting it onto someone's Mac. Attackers have previously spread MacSync through social engineering and ClickFix-style attacks, where a bogus message tells someone to copy and run a command. Criminals have also disguised it as free software, cracked applications and unfamiliar new apps. We've seen similar tricks before. In one Mac campaign, fake CAPTCHA instructions convinced users to paste commands into Terminal, which then installed information-stealing malware.

最新版本尤其狡猾之处就在这里。卡巴斯基发现了一条 MacSync 感染链,其中一个下载器会连接到一个公开的 iCloud 日历。攻击者没有利用该日历安排任何事项,而是将恶意命令放入日程说明中。随后,该恶意软件会将日历信息输入 Mac 的 Zsh 命令行 Shell。

Here's where this latest version gets particularly sneaky. Kaspersky found one MacSync infection chain where a downloader connected to a public iCloud calendar. Instead of using the calendar to schedule anything, the attackers placed malicious commands inside the event description. The malware then feeds that calendar information into the Mac's Zsh command-line shell.

虚假 Chrome 更新骗局可能感染你的电脑。由于 Mac 不会将正常的日历信息识别为命令,因此大部分日历文本都会引发错误。但当程序运行到日程说明字段之后设置的恶意指令时,这些命令就可能执行。这些命令最终会从 iCloud 下载一个压缩包,其中还包含另一个恶意应用。该应用随后会启动感染过程的下一阶段。

FAKE CHROME UPDATE SCAM COULD INFECT YOUR COMPUTER Most of the calendar text produces errors because the Mac does not recognize normal calendar information as commands. However, when it reaches the malicious instructions placed after the event's description field, those commands can run. They ultimately download a compressed archive from iCloud containing another malicious app. That app then starts another stage of the infection.

可以把日历看作藏匿指令的场所。攻击者仍需先让恶意软件在 Mac 上运行。不过,在感染链中使用苹果的基础设施,可能让相关活动显得没那么可疑。重要的是,卡巴斯基表示,至少有一个样本指向一个公开的 iCloud 日历。另一些样本则使用攻击者控制的服务器。

Think of the calendar as a hiding place for instructions. The attacker still needs to get malicious software running on the Mac first. However, using Apple's infrastructure during the infection chain can make the activity look less suspicious. Importantly, Kaspersky says at least one sample pointed to a public iCloud calendar. Other samples used attacker-controlled servers instead.

研究人员还发现,攻击者将 MacSync 伪装成一款名为 Toria 的虚假加密货币钱包。不法分子所做的不只是创建一个下载页面。卡巴斯基称,他们还为这款根本不存在的钱包搭建了一个专用网站,并在 X 和 Telegram 上推广。

Researchers also found attackers disguising MacSync as a fake cryptocurrency wallet called Toria. The criminals went beyond creating a download page. Kaspersky says they built a dedicated website for the nonexistent wallet and promoted it on X and Telegram.

这提醒我们,网站制作精良或社交媒体账号活跃,几乎不能说明软件是否值得信任。加密货币持有者似乎是格外理想的目标,因为窃取钱包数据或浏览器扩展信息可能很快导致资金被盗。不过,即便你不持有加密货币,也可能有 MacSync 想要获取的东西。

That is a good reminder that a polished website or active social media account tells you very little about whether software deserves your trust. Crypto owners appear to be an especially attractive target because stealing wallet data or browser extension information can quickly lead to stolen funds. However, you do not need to own cryptocurrency to have something MacSync wants.

安装后,MacSync 的信息窃取模块会搜索种类广泛的敏感数据研究人员表示,它可针对浏览器历史记录、Cookie、保存的数据和密码。它还会搜索加密货币钱包扩展数据、加密货币钱包应用以及 Telegram 相关信息。

Once installed, the information-stealing portion of MacSync searches through a wide range of sensitive data. Researchers say it can target browser history, cookies, saveds and passwords. It also searches for crypto wallet extension data, cryptocurrency wallet applications and Telegram information.

MacSync 可以收集 Mac 用户的信息和钥匙串文件。它还会收集系统详细信息,包括已安装的应用、正在运行的进程、硬件信息和设备型号。开发者和高级用户面临的风险更高,因为该恶意软件会搜索配置文件中的 SSH、ZSH、AWS、Kubernetes 和 Git 信息。它还可以收集 Zsh 和 Bash 命令历史。对于普通 Mac 用户来说,需要记住的要点更简单:如果恶意软件获取了保存的密码或浏览器数据,攻击者可能因此找到另一条进入你在线账户的途径。

MacSync can collect the Mac user's information and Keychain file. It also gathers system details including installed apps, running processes, hardware information and the device model. Developers and more advanced users face additional exposure because the malware searches configuration files for SSH, ZSH, AWS, Kubernetes and Git. It can also collect Zsh and Bash command histories. For the average Mac owner, the takeaway is simpler. If malware gets access to saved passwords or browser data, an attacker may gain another route into your online accounts.

卡巴斯基还发现了一个用 Objective-C 编写的独立后门组件。该组件伪装成 macOS 内置的文件管理应用 Finder。这种恶意软件会尝试多种方法,在 Mac 重启后仍保持运行。这些方法包括使用 LaunchAgent、修改 .zshrc 配置文件以及更改全局 Git 钩子。它还可以终止多个 macOS 通知进程。卡巴斯基表示,此举可防止系统向用户通知新出现的 LaunchAgent。由此,攻击者便可向受感染的设备发送指令。

Kaspersky also discovered a separate backdoor component written in Objective-C. It disguises itself as Finder, the file-management app built into macOS. The malware tries several methods to stay on the Mac after a restart. These include a LaunchAgent, changes to the .zshrc configuration file and modifications to global Git hooks. It can also terminate several macOS notification processes. Kaspersky says this prevents the system from notifying the user about the new LaunchAgent. From there, attackers can send instructions to the infected machine.

研究人员发现了一些用于部署浏览器扩展、替换已安装的 Ledger 钱包应用,以及收集更多系统信息或文件的命令。这些命令最终大多会执行由攻击者命令与控制服务器提供的 AppleScript。由于研究人员并未掌握实际的 AppleScript 负载内容,因此只能根据命令名称及其发送的状态信息推测各条命令的具体功能。这一局限性至关重要:研究人员能够看出该后门的设计目的,但并未观察到服务器可能发送的所有脚本。

Researchers found commands designed to deploy a browser extension, replace an installed Ledger wallet app and collect additional system information or files. Most of those commands ultimately execute AppleScript supplied by the attacker's command-and-control server. Kaspersky inferred what the individual commands do from their names and the status messages they send because researchers did not have the AppleScript payloads themselves. That limitation is important. Researchers can see what the backdoor appears designed to accomplish, but they did not observe every possible server-delivered script.

研究人员还发现了一条名为 live_browser 的命令。该命令会下载并执行一个名为 sn_relay 的组件。卡巴斯基表示,其具体内容和用途仍不清楚。根据该命令的名称以及返回服务器的信息,研究人员推测攻击者可能利用它针对浏览器流量实施某种中间人攻击。卡巴斯基尚未确认该功能的确切运作方式。这一未解之谜也表明,随着调查人员获取更多样本,恶意软件研究往往会不断发生变化。

Researchers also found a command called live_browser. That command downloads and executes a component called sn_relay. Kaspersky says its exact contents and purpose remain unknown. Based on the command's name and messages sent back to the server, researchers suspect attackers may use it for some form of man-in-the-middle attack against browser traffic. Kaspersky has not confirmed exactly how that function works. That unanswered question shows why malware research often changes as investigators obtain more samples.

Mac 内置了安全防护机制,但近期许多攻击的重点在于诱骗坐在屏幕前的人绕过这些保护。ClickFix 攻击就是一个典型的例子。某个网站可能会告诉你出现了问题,并提供一条据称能解决问题的命令。实际上,你可能会因此自行启动恶意软件。我们此前曾报道过 Shamos 恶意软件,这是另一种 Mac 威胁,它利用虚假的故障排除说明诱骗用户在终端中运行命令。这里的基本教训是相同的。每当网站要求你打开终端、粘贴命令或输入 Mac 管理员密码以安装陌生程序时,都应保持警惕。

Macs include built-in security protections, but many recent attacks focus on persuading the person sitting in front of the screen to bypass those protections. ClickFix attacks are a perfect example. A website may tell you something went wrong and provide a command that supposedly fixes the problem. In reality, you may end up launching malware yourself. We've previously reported on Shamos malware another Mac threat that used bogus troubleshooting instructions to trick people into running commands in Terminal. The same basic lesson applies here. Be suspicious whenever a website asks you to open Terminal, paste a command or enter your Mac administrator password to install an unfamiliar program.

MacSync 符合我们一段时间以来一直在追踪的模式。攻击者常常将恶意软件伪装成有用或熟悉的东西,无论是虚假的应用程序、伪造的工具,还是通过社交媒体推广的软件。在这种情况下,研究人员发现了一条利用苹果 iCloud 基础设施来协助投递额外恶意软件的感染链。这并不意味着打开 iCloud 日历就会让你的 Mac 面临风险。更大的警告来自攻击的早期阶段。当陌生的应用程序要求你的管理员密码,或者网站告诉你打开终端并运行命令时,请务必谨慎。

MacSync fits a pattern we've been tracking for a while. Attackers often disguise malicious software as something useful or familiar, whether that means a fake app, a bogus utility or software promoted through social media. In this case, researchers found one infection chain that used Apple's iCloud infrastructure to help deliver additional malware. That does not mean opening iCloud Calendar puts your Mac at risk. The bigger warning comes earlier in the attack. Be cautious when an unfamiliar app asks for your administrator password or a website tells you to open Terminal and run a command.

据苹果称,macOS 包含多层设计,旨在帮助防止恶意软件运行,包括 Gatekeeper、XProtect 以及针对从 Mac App Store 之外下载的软件实施的苹果公证系统。苹果推荐 Mac App Store 作为获取 Mac 软件最安全的途径。对于从其他渠道下载的应用程序,苹果表示 macOS 会使用公证和 XProtect 等保护机制来检测已知恶意软件并阻止其运行。

According to Apple, macOS includes several layers designed to help prevent malicious software from running, including Gatekeeper, XProtect and Apple's notarization system for software downloaded outside the Mac App Store. Apple recommends the Mac App Store as the safest place to get Mac software. For apps downloaded elsewhere, Apple says macOS uses protections such as notarization and XProtect to detect known malware and block it from running.

在 macOS 26.4 及更高版本中,Apple 增加了更直接针对此类攻击的保护措施:攻击者试图诱骗用户在终端(Terminal)中粘贴命令。终端粘贴保护功能可以在从常见攻击来源(如网页浏览器、消息应用和其他通信软件)向终端粘贴文本时显示警告。Apple 表示,XProtect 还可以检查由粘贴命令引发的活动,包括第三方终端应用中的操作。它能够将相关的网络活动与 Apple 的安全浏览服务进行比对,并阻止与已知恶意软件技术相关的行为。

On macOS 26.4 and later, Apple added protections aimed more directly at attacks that try to trick people into pasting commands into Terminal. Terminal paste protection can show a warning when text is pasted into Terminal from common attack sources such as web browsers, messaging apps and other communication software. Apple says XProtect can also inspect activity that starts from pasted commands, including in third-party terminal apps. It can check related network activity against Apple's Safe Browsing Service and block behavior associated with known malware techniques.

Apple 还表示,macOS 26.4 及更高版本可以通过 XProtect 扫描 AppleScript 和 JavaScript 中的自动化脚本。如果某个脚本匹配已知的恶意签名,macOS 可以将其拦截并提醒用户。Safari 也增加了另一层保护。据 Apple 称,“欺诈网站警告”功能可以在网站涉嫌钓鱼或分发恶意软件时提醒用户,而 Apple 安全浏览功能则旨在拦截与攻击相关的恶意域名。

Apple also says macOS 26.4 and later can scan AppleScript and JavaScript for Automation scripts using XProtect. If a script matches a known malicious signature, macOS can block it and alert the user. Safari adds another layer of protection. According to Apple, Fraudulent Website Warning can alert users when a website is suspected of phishing or distributing malware, while Apple Safe Browsing is designed to block malicious domains associated with attacks.

Apple 同时强调,社会工程学仍然是此类攻击的重要组成部分。诈骗者可能会试图说服用户自行下载软件或粘贴恶意命令。Apple 建议仅从可信赖的来源下载软件,并确保 Mac 已更新到最新的可用软件和安全补丁。

Apple also stresses that social engineering remains a major part of attacks like these. Scammers may try to persuade people to download software or paste malicious commands themselves. Apple recommends downloading software only from sources you trust and keeping your Mac updated with the latest available software and security fixes.

MacSync 的攻击在很大程度上依赖于在攻击初期诱使用户运行恶意应用。这为用户提供了多个阻止攻击的机会。

MacSync relies heavily on getting someone to run a malicious app at the beginning of the attack. That gives you several opportunities to stop it.

一个合法的网站通常很少需要用户将不熟悉的命令复制到终端中,以证明自己是真人、修复浏览器问题或完成下载。Apple 表示,macOS 26.4 及更高版本可以在用户从网站、消息或电子邮件等来源复制命令并粘贴到终端时,向部分用户发出警告。XProtect 还可以拦截与已知恶意命令和技术相关的活动。

A legitimate website rarely needs you to copy an unfamiliar command into Terminal to prove you're human, repair a browser problem or complete a download. Apple says macOS 26.4 and later can warn some users when commands copied from places such as websites, messages or email are pasted into Terminal. XProtect can also block activity associated with known malicious commands and techniques.

尽可能通过 Mac App Store 或开发者的官方网站获取软件。苹果推荐 Mac App Store 作为获取 Mac 软件最安全的途径。对于从其他渠道下载的应用,macOS 会使用包括“门神”(Gatekeeper)、公证(Notarization)和 XProtect 在内的保护机制,以帮助识别并拦截恶意软件。请特别警惕破解软件、付费应用的免费副本,以及通过社交媒体推广的陌生程序。

Whenever possible, get software through the Mac App Store or directly from a developer's official website. Apple recommends the Mac App Store as the safest place to get Mac software. For apps downloaded elsewhere, macOS uses protections including Gatekeeper, notarization and XProtect to help identify and block malicious software. Be especially cautious with cracked software, free copies of paid apps and unfamiliar programs promoted through social media.

MacSync 信息窃取木马会要求用户提供管理员密码,并调整其提示界面以匹配其伪装的软件。如果某个陌生应用意外地要求您输入密码,请暂停操作,并在输入任何内容之前核实原因。

MacSync's infostealer asks the user for an administrator password and adapts its prompt to match the app it is impersonating. If an unfamiliar app unexpectedly asks for your password, stop and verify why before entering anything.

强大的防病毒软件有助于在恶意下载和已知恶意软件损害您的 Mac 之前检测出它们。当具有欺骗性的骗局突破了您的第一道防线时,它还能为您提供另一层保护。请访问 Cyberguy.com 获取我们为 Windows、Mac、Android 和 iOS 设备精选的 2026 年最佳防病毒保护方案。在苹果发布 macOS 更新时及时安装。更新可以修补安全漏洞,并改进内置保护机制,而恶意软件开发者会不断尝试规避这些机制。

Strong antivirus software can help detect malicious downloads and known malware before they compromise your Mac. It can also give you another layer of protection when a convincing scam gets past your first line of defense. Get my picks for the best 2026 antivirus protection winners for your Windows, Mac, Android & iOS devices at Cyberguy.com Install macOS updates when Apple releases them. Updates can patch security weaknesses and improve built-in protections that malware developers continually try to evade.

移除您不再使用的扩展程序,并调查任何您不认识的扩展。MacSync 的后门包含一个命令,旨在部署由攻击者服务器提供的浏览器扩展。

Remove extensions you no longer use and investigate anything you do not recognize. MacSync's backdoor includes a command designed to deploy a browser extension supplied by the attacker's server.

在所有可用的地方开启双因素认证(2FA)。如果恶意软件窃取了密码,这一额外的验证步骤可以增加未经授权访问账户的难度。

Turn on two-factor authentication (2FA) wherever it is available. If malware steals a password, that extra verification step can make unauthorized account access harder.

从您的电子邮件、金融账户和其他敏感服务开始。如果可能,请使用另一台受信任的设备。使用密码管理器创建强大且唯一的密码,然后检查活跃会话,以便您可以注销您不认识的登录设备。

Start with your email, financial accounts and other sensitive services. Use a separate trusted device if possible. Create strong, unique passwords with a password manager then check active sessions so you can sign out devices you do not recognize.

MacSync 是一个很好的例子,说明攻击者如何将 Mac 中熟悉的元素变成伪装。无论是 iCloud 日历、访达,还是看起来很熟悉的密码提示,都能让危险事物显得像日常操作的一部分。这种攻击仍需你先运行恶意软件,之后才能真正生效,这意味着你的谨慎选择可以提前阻止它。如果某个网站要求你将某些内容粘贴到“终端”中,或者某个陌生应用突然索要你的管理员密码,请停下来问问自己为什么。

MacSync is a good example of how attackers can turn familiar parts of your Mac into camouflage. An iCloud calendar, Finder and a familiar-looking password prompt can all make something dangerous seem routine. This attack still needs you to run malicious software before it can really get to work, which means your choices can stop it early. If a website tells you to paste something into Terminal or an unfamiliar app suddenly asks for your administrator password, stop and ask yourself why.

那几秒钟的怀疑,可能能避免你交出密码、私人文件以及账户访问权限。看到 iCloud 地址或其他熟悉的 Apple 服务,是否会更容易让你相信正在下载的内容?或者,只要网站要求你在 Mac 上运行命令,你就会心生警惕?欢迎注册领取免费的《CyberGuy 报告》,并向我们留言。

Those few seconds of skepticism could save you from handing over passwords, private files and access to your accounts. Would seeing an iCloud address or another familiar Apple service make you more likely to trust what you're downloading, or are you suspicious anytime a website asks you to run commands on your Mac? Let us know by writing to us at