木馬最大特徵:必須隨系統啟動而啟動,否則失去意義。以下為五大主流掛載手法:
重點監控含「Run」字眼的鍵值:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesHKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunHKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceWin.ini、system.ini、Autoexec.bat、Config.sys 會隨系統載入,木馬常植入其中。用記事本開啟 C:\Windows\system.ini 檢查。
路徑:
C:\Documents and Settings\用戶名\「開始」功能表\程式集\啟動C:\WINDOWS\Start Menu\Programs\啟動對應註冊表:HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders。
例:正常 .txt 關聯 Notepad,中毒後雙擊 .txt 卻啟動木馬。
解決:
HKEY_CLASSES_ROOT\exefile\shell\open\command、HKLM\Software\CLASSES\exefile\shell\open\command 恢復預設。控制面板 →「管理工具」→「服務」。木馬透過 net start 服務名 實現開機自啟。檢查不明服務並停用/刪除。