「Mac 不會中毒」曾是許多使用者引以為傲的事,但隨著市佔上升,針對 Mac 的惡意程式也開始出現,Flashback 木馬就是其中一例。以下說明如何自查。


檢測方式:
1. 開啟終端機應用(應用程式 → 實用工具 → 終端機.app),執行:
defaults read /Applications/Safari.app/Contents/Info LSEnvironment
2. 若回傳的是「The domain/default pair of (/Applications/Safari.app/Contents/Info, LSEnvironment) does not exist」,請接著執行:
defaults read ~/.MacOSX/environment DYLD_INSERT_LIBRARIES
3. 若這次回傳的是「The domain/default pair of (/Users/你的帳號/.MacOSX/environment, DYLD_INSERT_LIBRARIES) does not exist」,代表你的機器乾淨、並未感染。簡單記法:看到「does not exist」就沒問題。
但如果你看到的是其他訊息,請依 F-Secure 的查殺指南進行排查與清除。
以上就是檢測 Flashback 的方式。由於當時受影響的機器不少,若你有些疑慮,不妨跑一次確認看看。