Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

利用 Shift 鍵五下漏洞破解 Vista 忘記密碼(雙系統環境)

編輯:Windows Vista 教學

Vista 登入驗證比 XP 嚴格,忘記密碼很難進入系統。但登入介面存在「沾滯鍵」漏洞:按五下 Shift 會啟動 sethc.exe。利用雙系統環境,可在 XP 下將 Vista 的 sethc.exe 替換為 cmd.exe,進而重設密碼。

前提條件

  • 雙系統環境:C 槽為 XP,D 槽為 Vista(均為 NTFS 格式)。
  • 需在 XP 下取得 Vista 系統檔案的完整控制權限。

詳細步驟

  1. 進入 XP,開啟 D:\Windows\System32,右鍵 sethc.exe →「內容」→「安全性」→「進階」→「擁有者」分頁,將擁有者改為目前 XP 登入帳號。
  2. 若無「安全性」分頁,請在總管「工具」→「資料夾選項」→「檢視」取消勾選「使用簡單檔案共用」。
  3. 回到 sethc.exe 屬性「安全性」分頁,點「新增」將 XP 帳號加入並給予「完全控制」權限。
  4. 開啟命令提示字元執行替換指令:
    rename D:\Windows\System32\sethc.exe sethc1.exe
    copy D:\Windows\System32\cmd.exe D:\Windows\System32\sethc.exe
  5. 重啟電腦進入 Vista 登入介面,連按五下 Shift,即啟動命令提示字元(以 SYSTEM 權限執行)。
  6. 輸入 explorer.exe 載入桌面,即可在開始選單看到系統內建 Administrator 帳號,進而重設或建立新帳號密碼。

安全性提醒

  • 此漏洞利用了無障礙功能在登入介面的高權限執行特性。
  • 修復密碼後,建議將 sethc.exe 恢復原狀,避免安全隱患。
  • 單一系統環境可使用 Vista 安裝光碟進入修復模式執行類似操作。
Copyright © Windows教程網 All Rights Reserved