Windows ユーザーアカウント制御(UAC)を、組み込みの Windows AutoElevate バックドアを悪用して回避します。このプロジェクトはさまざまな UAC バイパス手法を示し、Windows セキュリティメカニズムを理解するための教育リソースとして機能します。
⚠️ 警告: このツールは悪意を持って悪用される可能性のあるセキュリティ脆弱性を示しています。責任を持ち、管理された環境でのみ使用してください。
コマンドラインから次の構文で実行ファイルを起動します:``` akagi32.exe [Method_Number] [Optional_Command]
または```
akagi64.exe [Method_Number] [Optional_Command]
akagi32.exe 23 akagi64.exe 61 akagi32.exe 23 c:\windows\system32\calc.exe akagi64.exe 61 c:\windows\system32\charmap.exe
> **注記**: バージョン3.5.0以降、以前「修正済み」とされたメソッドはすべて非推奨となり削除されました。必要な場合は、[v3.2.xブランチ](https://github.com/hfiref0x/UACME/tree/v3.2.x)を使用してください。
> **注記**: バージョン3.7.0時点で、3.5.0から3.7.0の間に「修正済み」となったメソッドはUACMeのメソッド一覧から削除されました。必要な場合は、[v3.6.x_plusブランチ](https://github.com/hfiref0x/UACME/tree/v3.6.x_plus)を使用してください。これらのメソッドのコードは、歴史的な目的で現在のブランチでも引き続き利用可能です。
<details>
<summary>キー(クリックで展開/折りたたみ)</summary>1. Author: Leo Davidson
* Type: DLLハイジャック
* Method: IFileOperation
* Target(s): \system32\sysprep\sysprep.exe
* Component(s): cryptbase.dll
* Implementation: ucmStandardAutoElevation
* Works from: Windows 7 (7600)
* Fixed in: Windows 8.1 (9600)
* How: sysprep.exe の LoadFrom マニフェスト要素が強化された
* Code status: v3.5.0から削除 :tractor:
2. Author: Leo Davidson derivative
* Type: DLLハイジャック
* Method: IFileOperation
* Target(s): \system32\sysprep\sysprep.exe
* Component(s): ShCore.dll
* Implementation: ucmStandardAutoElevation
* Works from: Windows 8.1 (9600)
* Fixed in: Windows 10 TP (> 9600)
* How: ShCore.dll が \KnownDlls に移動した副作用
* Code status: v3.5.0から削除 :tractor:
3. Author: Leo Davidson derivative by WinNT/Pitou
* Type: DLLハイジャック
* Method: IFileOperation
* Target(s): \system32\oobe\setupsqm.exe
* Component(s): WdsCore.dll
* Implementation: ucmStandardAutoElevation
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 TH2 (10558)
* How: OOBEの再設計の副作用
* Code status: v3.5.0から削除 :tractor:
4. Author: Jon Ericson, WinNT/Gootkit, mzH
* Type: AppCompat
* Method: RedirectEXE Shim
* Target(s): \system32\cliconfg.exe
* Component(s): -
* Implementation: ucmShimRedirectEXE
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 TP (> 9600)
* How: Sdbinst.exe の自動昇格が削除され、その他のWindowsバージョンには KB3045645/KB3048097
* Code status: v3.5.0から削除 :tractor:
5. Author: WinNT/Simda
* Type: 昇格COMインターフェース
* Method: ISecurityEditor
* Target(s): HKLM レジストリキー
* Component(s): -
* Implementation: ucmSimdaTurnOffUac
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 TH1 (10147)
* How: ISecurityEditor インターフェースのメソッドが変更された
* Code status: v3.5.0から削除 :tractor:
6. Author: Win32/Carberp
* Type: DLLハイジャック
* Method: WUSA
* Target(s): \ehome\mcx2prov.exe, \system32\migwiz\migwiz.exe
* Component(s): WdsCore.dll, CryptBase.dll, CryptSP.dll
* Implementation: ucmWusaMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 TH1 (10147)
* How: WUSA /extract オプションが削除された
* Code status: v3.5.0から削除 :tractor:
7. Author: Win32/Carberp derivative
* Type: DLLハイジャック
* Method: WUSA
* Target(s): \system32\cliconfg.exe
* Component(s): ntwdblib.dll
* Implementation: ucmWusaMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 TH1 (10147)
* How: WUSA /extract オプションが削除された
* Code status: v3.5.0から削除 :tractor:
8. Author: Leo Davidson derivative by Win32/Tilon
* Type: DLLハイジャック
* Method: IFileOperation
* Target(s): \system32\sysprep\sysprep.exe
* Component(s): Actionqueue.dll
* Implementation: ucmStandardAutoElevation
* Works from: Windows 7 (7600)
* Fixed in: Windows 8.1 (9600)
* How: sysprep.exe の LoadFrom マニフェストが強化された
* Code status: v3.5.0から削除 :tractor:
9. Author: Leo Davidson, WinNT/Simda, Win32/Carberp derivative
* Type: DLLハイジャック
* Method: IFileOperation, ISecurityEditor, WUSA
* Target(s): IFEO レジストリキー, \system32\cliconfg.exe
* Component(s): 攻撃者定義の Application Verifier Dll
* Implementation: ucmAvrfMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 TH1 (10147)
* How: WUSA /extract オプションが削除され、ISecurityEditor インターフェースのメソッドが変更された
* Code status: v3.5.0から削除 :tractor:
10. Author: WinNT/Pitou, Win32/Carberp derivative
* Type: DLLハイジャック
* Method: IFileOperation, WUSA
* Target(s): \system32\\{New}or{Existing}\\{autoelevated}.exe, 例: winsat.exe
* Component(s): 攻撃者定義の dll, 例: PowProf.dll, DevObj.dll
* Implementation: ucmWinSATMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 TH2 (10548)
* How: AppInfo の昇格アプリケーションパス制御の強化
* Code status: v3.5.0から削除 :tractor:
11. Author: Jon Ericson, WinNT/Gootkit, mzH
* Type: AppCompat
* Method: Shim Memory Patch
* Target(s): \system32\iscsicli.exe
* Component(s): 攻撃者準備のシェルコード
* Implementation: ucmShimPatch
* Works from: Windows 7 (7600)
* Fixed in: Windows 8.1 (9600)
* How: Sdbinst.exe の自動昇格が削除され、その他のWindowsバージョンには KB3045645/KB3048097
* Code status: v3.5.0から削除 :tractor:
12. Author: Leo Davidson derivative
* Type: DLLハイジャック
* Method: IFileOperation
* Target(s): \system32\sysprep\sysprep.exe
* Component(s): dbgcore.dll
* Implementation: ucmStandardAutoElevation
* Works from: Windows 10 TH1 (10240)
* Fixed in: Windows 10 TH2 (10565)
* How: sysprep.exe のマニフェストが更新された
* Code status: v3.5.0から削除 :tractor:
13. Author: Leo Davidson derivative
* Type: DLLハイジャック
* Method: IFileOperation
* Target(s): \system32\mmc.exe EventVwr.msc
* Component(s): elsext.dll
* Implementation: ucmMMCMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS1 (14316)
* How: 必須依存関係が削除された
* Code status: v3.5.0から削除 :tractor:
14. Author: Leo Davidson, WinNT/Sirefef derivative
* Type: DLLハイジャック
* Method: IFileOperation
* Target(s): \system\credwiz.exe, \system32\wbem\oobe.exe
* Component(s): netutils.dll
* Implementation: ucmSirefefMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 TH2 (10548)
* How: AppInfo の昇格アプリケーションパス制御の強化
* Code status: v3.5.0から削除 :tractor:
15. Author: Leo Davidson, Win32/Addrop, Metasploit derivative
* Type: DLLハイジャック
* Method: IFileOperation
* Target(s): \system32\cliconfg.exe
* Component(s): ntwdblib.dll
* Implementation: ucmGenericAutoelevation
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS1 (14316)
* How: Cliconfg.exe の自動昇格が削除された
* Code status: v3.5.0から削除 :tractor:
16. Author: Leo Davidson derivative
* Type: DLLハイジャック
* Method: IFileOperation
* Target(s): \system32\GWX\GWXUXWorker.exe, \system32\inetsrv\inetmgr.exe
* Component(s): SLC.dll
* Implementation: ucmGWX
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS1 (14316)
* How: AppInfo の昇格アプリケーションパス制御と inetmgr 実行ファイルの強化
* Code status: v3.5.0から削除 :tractor:
17. Author: Leo Davidson derivative
* Type: DLLハイジャック (Import forwarding)
* Method: IFileOperation
* Target(s): \system32\sysprep\sysprep.exe
* Component(s): unbcl.dll
* Implementation: ucmStandardAutoElevation2
* Works from: Windows 8.1 (9600)
* Fixed in: Windows 10 RS1 (14371)
* How: sysprep.exe のマニフェストが更新された
* Code status: v3.5.0から削除 :tractor:
18. Author: Leo Davidson derivative
* Type: DLLハイジャック (マニフェスト)
* Method: IFileOperation
* Target(s): \system32\taskhost.exe, \system32\tzsync.exe (マニフェストのない任意のms exe)
* Component(s): 攻撃者定義
* Implementation: ucmAutoElevateManifest
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS1 (14371)
* How: マニフェスト解析ロジックが見直された
* Code status: v3.5.0から削除 :tractor:
19. Author: Leo Davidson derivative
* Type: DLLハイジャック
* Method: IFileOperation
* Target(s): \system32\inetsrv\inetmgr.exe
* Component(s): MsCoree.dll
* Implementation: ucmInetMgrMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS1 (14376)
* How: inetmgr.exe の実行ファイルマニフェスト強化、MitigationPolicy->ProcessImageLoadPolicy->PreferSystem32Images
* Code status: v3.5.0から削除 :tractor:
20. Author: Leo Davidson derivative
* Type: DLLハイジャック
* Method: IFileOperation
* Target(s): \system32\mmc.exe, Rsop.msc
* Component(s): WbemComn.dll
* Implementation: ucmMMCMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS3 (16232)
* How: ターゲットは wbemcomn.dll が MS によって署名されている必要がある
* Code status: v3.5.0から削除 :tractor:
21. Author: Leo Davidson derivative
* Type: DLLハイジャック
* Method: IFileOperation, SxS DotLocal
* Target(s): \system32\sysprep\sysprep.exe
* Component(s): comctl32.dll
* Implementation: ucmSXSMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS3 (16232)
* How: MitigationPolicy->ProcessImageLoadPolicy->PreferSystem32Images
* Code status: v3.5.0から削除 :tractor:
22. Author: Leo Davidson derivative
* Type: DLLハイジャック
* Method: IFileOperation, SxS DotLocal
* Target(s): \system32\consent.exe
* Component(s): comctl32.dll
* Implementation: ucmSXSMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 11 24H2/25H2 (26100/26200)
* How: 内部Windowsローダーの変更、consent!MitigationPolicy->ProcessSignaturePolicy->MicrosoftSignedOnly
* Code status: v3.7.0から削除 :tractor:
23. Author: Leo Davidson derivative
* Type: DLLハイジャック
* Method: IFileOperation
* Target(s): \system32\pkgmgr.exe
* Component(s): DismCore.dll
* Implementation: ucmDismMethod
* Works from: Windows 7 (7600)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v2.5.1で追加
24. Author: BreakingMalware
* Type: Shell API
* Method: 環境変数展開
* Target(s): \system32\CompMgmtLauncher.exe
* Component(s): 攻撃者定義
* Implementation: ucmCometMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS2 (15031)
* How: CompMgmtLauncher.exe の自動昇格が削除された
* Code status: v3.5.0から削除 :tractor:
25. Author: Enigma0x3
* Type: Shell API
* Method: レジストリキー操作
* Target(s): \system32\EventVwr.exe, \system32\CompMgmtLauncher.exe
* Component(s): 攻撃者定義
* Implementation: ucmHijackShellCommandMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS2 (15031)
* How: EventVwr.exe が再設計され、CompMgmtLauncher.exe の自動昇格が削除された
* Code status: v3.5.0から削除 :tractor:
26. Author: Enigma0x3
* Type: 競合状態
* Method: ファイル上書き
* Target(s): %temp%\GUID\dismhost.exe
* Component(s): LogProvider.dll
* Implementation: ucmDiskCleanupRaceCondition
* Works from: Windows 10 TH1 (10240)
* AlwaysNotify 互換
* Fixed in: Windows 10 RS2 (15031)
* How: ファイルのセキュリティアクセス許可が変更された
* Code status: v3.5.0から削除 :tractor:
27. Author: ExpLife
* Type: 昇格COMインターフェース
* Method: IARPUninstallStringLauncher
* Target(s): 攻撃者定義
* Component(s): 攻撃者定義
* Implementation: ucmUninstallLauncherMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS3 (16199)
* How: UninstallStringLauncher インターフェースが COMAutoApprovalList から削除された
* Code status: v3.5.0から削除 :tractor:
28. Author: Exploit/Sandworm
* Type: ホワイトリスト済みコンポーネント
* Method: InfDefaultInstall
* Target(s): 攻撃者定義
* Component(s): 攻撃者定義
* Implementation: ucmSandwormMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 8.1 (9600)
* How: InfDefaultInstall.exe が g_lpAutoApproveEXEList から削除された (MS14-060)
* Code status: v3.5.0から削除 :tractor:
29. Author: Enigma0x3
* Type: Shell API
* Method: レジストリキー操作
* Target(s): \system32\sdclt.exe
* Component(s): 攻撃者定義
* Implementation: ucmAppPathMethod
* Works from: Windows 10 TH1 (10240)
* Fixed in: Windows 10 RS3 (16215)
* How: Shell API の更新
* Code status: v3.5.0から削除 :tractor:
30. Author: Leo Davidson derivative, lhc645
* Type: DLLハイジャック
* Method: WOW64 ロガー
* Target(s): \syswow64\\{任意の昇格exe, 例: wusa.exe}
* Component(s): wow64log.dll
* Implementation: ucmWow64LoggerMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 11 24H2/25H2 (26100/26200)
* How: 内部Windowsローダーの変更
* Code status: v3.7.0から削除 :tractor:
31. Author: Enigma0x3
* Type: Shell API
* Method: レジストリキー操作
* Target(s): \system32\sdclt.exe
* Component(s): 攻撃者定義
* Implementation: ucmSdcltIsolatedCommandMethod
* Works from: Windows 10 TH1 (10240)
* Fixed in: Windows 10 RS4 (17025)
* How: Shell API / Windows コンポーネントの更新
* Code status: v3.5.0から削除 :tractor:
32. Author: xi-tauw
* Type: DLLハイジャック
* Method: uiAccess アプリケーションによる UIPI バイパス
* Target(s): \Program Files\Windows Media Player\osk.exe, \system32\EventVwr.exe, \system32\mmc.exe
* Component(s): duser.dll, osksupport.dll
* Implementation: ucmUiAccessMethod
* Works from: Windows 7 (7600)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v2.7.1で追加
33. Author: winscripting.blog
* Type: Shell API
* Method: レジストリキー操作
* Target(s): \system32\fodhelper.exe
* Component(s): 攻撃者定義
* Implementation: ucmShellRegModMethod
* Works from: Windows 10 TH1 (10240)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v2.7.2で追加
34. Author: James Forshaw
* Type: Shell API
* Method: 環境変数展開
* Target(s): \system32\svchost.exe via \system32\schtasks.exe
* Component(s): 攻撃者定義
* Implementation: ucmDiskCleanupEnvironmentVariable
* Works from: Windows 8.1 (9600)
* AlwaysNotify 互換
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v2.7.2で追加
35. Author: CIA & James Forshaw
* Type: 偽装
* Method: トークン操作
* Target(s): 自動昇格アプリケーション
* Component(s): 攻撃者定義
* Implementation: ucmTokenModification
* Works from: Windows 7 (7600)
* AlwaysNotify 互換、注記参照
* Fixed in: Windows 10 RS5 (17686)
* How: ntoskrnl.exe->SeTokenCanImpersonate に追加のアクセストークンチェックが追加された
* Code status: v3.5.0から削除 :tractor:
36. Author: Thomas Vanhoutte aka SandboxEscaper
* Type: 競合状態
* Method: NTFS 再解析ポイント & DLLハイジャック
* Target(s): wusa.exe, pkgmgr.exe
* Component(s): 攻撃者定義
* Implementation: ucmJunctionMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 11 24H2/25H2 (26100/26200)
* How: WUSA の変更
* Code status: v3.7.0から削除 :tractor:
37. Author: Ernesto Fernandez, Thomas Vanhoutte
* Type: DLLハイジャック
* Method: SxS DotLocal, NTFS 再解析ポイント
* Target(s): \system32\dccw.exe
* Component(s): GdiPlus.dll
* Implementation: ucmSXSDccwMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 11 24H2/25H2 (26100/26200)
* How: 内部Windowsローダーの変更、WUSA の変更
* Code status: v3.7.0から削除 :tractor:
38. Author: Clement Rouault
* Type: ホワイトリスト済みコンポーネント
* Method: APPINFO コマンドラインスプーフィング
* Target(s): \system32\mmc.exe
* Component(s): 攻撃者定義
* Implementation: ucmHakrilMethod
* Works from: Windows 7 (7600)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v2.7.6で追加
39. Author: Stefan Kanthak
* Type: DLLハイジャック
* Method: .NET Code Profiler
* Target(s): \system32\mmc.exe
* Component(s): 攻撃者定義
* Implementation: ucmCorProfilerMethod
* Works from: Windows 7 (7600)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v2.7.7で追加
40. Author: Ruben Boonen
* Type: COM ハンドラーハイジャック
* Method: レジストリキー操作
* Target(s): \system32\mmc.exe, \system32\recdisc.exe
* Component(s): 攻撃者定義
* Implementation: ucmCOMHandlersMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 19H1 (18362)
* How: Windows の変更の副作用
* Code status: v3.5.0から削除 :tractor:
41. Author: Oddvar Moe
* Type: 昇格COMインターフェース
* Method: ICMLuaUtil
* Target(s): 攻撃者定義
* Component(s): 攻撃者定義
* Implementation: ucmCMLuaUtilShellExecMethod
* Works from: Windows 7 (7600)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v2.7.9で追加
42. Author: BreakingMalware and Enigma0x3
* Type: 昇格COMインターフェース
* Method: IFwCplLua
* Target(s): 攻撃者定義
* Component(s): 攻撃者定義
* Implementation: ucmFwCplLuaMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS4 (17134)
* How: Shell API の更新
* Code status: v3.5.0から削除 :tractor:
43. Author: Oddvar Moe derivative
* Type: 昇格COMインターフェース
* Method: IColorDataProxy, ICMLuaUtil
* Target(s): 攻撃者定義
* Component(s): 攻撃者定義
* Implementation: ucmDccwCOMMethod
* Works from: Windows 7 (7600)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v2.8.3で追加
44. Author: bytecode77
* Type: Shell API
* Method: 環境変数展開
* Target(s): 複数の自動昇格プロセス
* Component(s): ターゲットごとに異なる
* Implementation: ucmVolatileEnvMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS3 (16299)
* How: プロセス作成中に現在のユーザーのシステムディレクトリ変数が無視されるようになった
* Code status: v3.5.0から削除 :tractor:
45. Author: bytecode77
* Type: Shell API
* Method: レジストリキー操作
* Target(s): \system32\slui.exe
* Component(s): 攻撃者定義
* Implementation: ucmSluiHijackMethod
* Works from: Windows 8.1 (9600)
* Fixed in: Windows 10 20H1 (19041)
* How: Windows の変更の副作用
* Code status: v3.5.0から削除 :tractor:
46. Author: Anonymous
* Type: 競合状態
* Method: レジストリキー操作
* Target(s): \system32\BitlockerWizardElev.exe
* Component(s): 攻撃者定義
* Implementation: ucmBitlockerRCMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS4 (>16299)
* How: Shell API の更新
* Code status: v3.5.0から削除 :tractor:
47. Author: clavoillotte & 3gstudent
* Type: COM ハンドラーハイジャック
* Method: レジストリキー操作
* Target(s): \system32\mmc.exe
* Component(s): 攻撃者定義
* Implementation: ucmCOMHandlersMethod2
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 19H1 (18362)
* How: Windows の変更の副作用
* Code status: v3.5.0から削除 :tractor:
48. Author: deroko
* Type: 昇格COMインターフェース
* Method: ISPPLUAObject
* Target(s): 攻撃者定義
* Component(s): 攻撃者定義
* Implementation: ucmSPPLUAObjectMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS5 (17763)
* How: ISPPLUAObject インターフェースのメソッドが変更された
* Code status: v3.5.0から削除 :tractor:
49. Author: RinN
* Type: 昇格COMインターフェース
* Method: ICreateNewLink
* Target(s): \system32\TpmInit.exe
* Component(s): WbemComn.dll
* Implementation: ucmCreateNewLinkMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS1 (14393)
* How: consent.exe の COMAutoApprovalList 導入の副作用
* Code status: v3.5.0から削除 :tractor:
50. Author: Anonymous
* Type: 昇格COMインターフェース
* Method: IDateTimeStateWrite, ISPPLUAObject
* Target(s): w32time サービス
* Component(s): w32time.dll
* Implementation: ucmDateTimeStateWriterMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS5 (17763)
* How: ISPPLUAObject インターフェース変更の副作用
* Code status: v3.5.0から削除 :tractor:
51. Author: bytecode77 derivative
* Type: 昇格COMインターフェース
* Method: IAccessibilityCplAdmin
* Target(s): \system32\rstrui.exe
* Component(s): 攻撃者定義
* Implementation: ucmAcCplAdminMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS4 (17134)
* How: Shell API の更新
* Code status: v3.5.0から削除 :tractor:
52. Author: David Wells
* Type: ホワイトリスト済みコンポーネント
* Method: AipNormalizePath 解析の悪用
* Target(s): 攻撃者定義
* Component(s): 攻撃者定義
* Implementation: ucmDirectoryMockMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 11 24H2/25H2 (26100/26200)
* How: appinfo の変更
* Code status: v3.7.0から削除 :tractor:
53. Author: Emeric Nasi
* Type: Shell API
* Method: レジストリキー操作
* Target(s): \system32\sdclt.exe
* Component(s): 攻撃者定義
* Implementation: ucmShellRegModMethod
* Works from: Windows 10 (14393)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.1.3で追加
54. Author: egre55
* Type: DLLハイジャック
* Method: DLL パス検索の悪用
* Target(s): \syswow64\SystemPropertiesAdvanced.exe およびその他の SystemProperties*.exe
* Component(s): \AppData\Local\Microsoft\WindowsApps\srrstr.dll
* Implementation: ucmEgre55Method
* Works from: Windows 10 (14393)
* Fixed in: Windows 10 19H1 (18362)
* How: SysDm.cpl!_CreateSystemRestorePage がセキュアなロードライブラリ呼び出し用に更新された
* Code status: v3.5.0から削除 :tractor:
55. Author: James Forshaw
* Type: GUI ハック
* Method: トークン変更による UIPI バイパス
* Target(s): \system32\osk.exe, \system32\msconfig.exe
* Component(s): 攻撃者定義
* Implementation: ucmTokenModUIAccessMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS5 (17763)、パッチの一部、2024年
* How: UIAccess トークンの整合性レベルが下げられると、UIAccess プロパティが削除される
* Code status: v3.7.0から削除 :tractor:
56. Author: Hashim Jawad
* Type: Shell API
* Method: レジストリキー操作
* Target(s): \system32\WSReset.exe
* Component(s): 攻撃者定義
* Implementation: ucmShellRegModMethod2
* Works from: Windows 10 (17134)
* Fixed in: Windows 11 (22000)
* How: Windows コンポーネントの再設計
* Code status: v3.7.0から削除 :tractor:
57. Author: Leo Davidson derivative by Win32/Gapz
* Type: DLLハイジャック
* Method: IFileOperation
* Target(s): \system32\sysprep\sysprep.exe
* Component(s): unattend.dll
* Implementation: ucmStandardAutoElevation
* Works from: Windows 7 (7600)
* Fixed in: Windows 8.1 (9600)
* How: sysprep.exe の LoadFrom マニフェスト要素が強化された
* Code status: v3.5.0から削除 :tractor:
58. Author: RinN
* Type: 昇格COMインターフェース
* Method: IEditionUpgradeManager
* Target(s): \system32\clipup.exe
* Component(s): 攻撃者定義
* Implementation: ucmEditionUpgradeManagerMethod
* Works from: Windows 10 (14393)
* Fixed in: Windows 11 24H2/25H2 (26100/26200)
* How: 現在のユーザーの環境変数 %windir% が無視される
* Code status: v3.7.0から削除 :tractor:
59. Author: James Forshaw
* Type: AppInfo ALPC
* Method: RAiLaunchAdminProcess と DebugObject
* Target(s): 攻撃者定義
* Component(s): 攻撃者定義
* Implementation: ucmDebugObjectMethod
* Works from: Windows 7 (7600)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.2.3で追加
60. Author: Enigma0x3 derivative by WinNT/Glupteba
* Type: Shell API
* Method: レジストリキー操作
* Target(s): \system32\CompMgmtLauncher.exe
* Component(s): 攻撃者定義
* Implementation: ucmGluptebaMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS2 (15063)
* How: CompMgmtLauncher.exe の自動昇格が削除された
* Code status: v3.5.0から削除 :tractor:
61. Author: Enigma0x3/bytecode77 derivative by Nassim Asrir
* Type: Shell API
* Method: レジストリキー操作
* Target(s): \system32\slui.exe, \system32\changepk.exe
* Component(s): 攻撃者定義
* Implementation: ucmShellRegModMethod
* Works from: Windows 10 (14393)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.2.5で追加
62. Author: winscripting.blog
* Type: Shell API
* Method: レジストリキー操作
* Target(s): \system32\computerdefaults.exe
* Component(s): 攻撃者定義
* Implementation: ucmShellRegModMethod
* Works from: Windows 10 RS4 (17134)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.2.6で追加
63. Author: Arush Agarampur
* Type: DLLハイジャック
* Method: ISecurityEditor
* Target(s): ネイティブイメージキャッシュ要素
* Component(s): 攻撃者定義
* Implementation: ucmNICPoisonMethod
* Works from: Windows 7 (7600)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.2.7で追加
64. Author: Arush Agarampur
* Type: 昇格COMインターフェース
* Method: IIEAxiAdminInstaller, IIEAxiInstaller2, IFileOperation
* Target(s): IE アドオンインストールキャッシュ
* Component(s): 攻撃者定義
* Implementation: ucmIeAddOnInstallMethod
* Works from: Windows 7 (7600)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.5.1で追加
65. Author: Arush Agarampur
* Type: 昇格COMインターフェース
* Method: IWscAdmin
* Target(s): シェルプロトコルハイジャック
* Component(s): 攻撃者定義
* Implementation: ucmWscActionProtocolMethod
* Works from: Windows 7 (7600)
* Fixed in: Windows 11 24H2 (26100)
* How: Windows の変更の副作用
* Code status: v3.7.0から削除 :tractor:
66. Author: Arush Agarampur
* Type: 昇格COMインターフェース
* Method: IFwCplLua, シェルプロトコルハイジャック
* Target(s): シェルプロトコルレジストリエントリと環境変数
* Component(s): 攻撃者定義
* Implementation: ucmFwCplLuaMethod2
* Works from: Windows 7 (7600)
* Fixed in: Windows 11 24H2 (26100)
* How: Windows の変更の副作用
* Code status: v3.7.0から削除 :tractor:
67. Author: Arush Agarampur
* Type: Shell API
* Method: シェルプロトコルハイジャック
* Target(s): \system32\fodhelper.exe
* Component(s): 攻撃者定義
* Implementation: ucmMsSettingsProtocolMethod
* Works from: Windows 10 TH1 (10240)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.5.4で追加
68. Author: Arush Agarampur
* Type: Shell API
* Method: シェルプロトコルハイジャック
* Target(s): \system32\wsreset.exe
* Component(s): 攻撃者定義
* Implementation: ucmMsStoreProtocolMethod
* Works from: Windows 10 RS5 (17763)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.5.5で追加
69. Author: Arush Agarampur
* Type: Shell API
* Method: 環境変数展開、DLLハイジャック
* Target(s): \system32\taskhostw.exe
* Component(s): pcadm.dll
* Implementation: ucmPcaMethod
* Works from: Windows 7 (7600)
* AlwaysNotify 互換
* Fixed in: Windows 11 24H2/25H2 (26100)
* How: 現在のユーザーの環境変数 %windir% が無視される
* Code status: v3.7.0から削除 :tractor:
70. Author: V3ded
* Type: Shell API
* Method: レジストリキー操作
* Target(s): \system32\fodhelper.exe, \system32\computerdefaults.exe
* Component(s): 攻撃者定義
* Implementation: ucmShellRegModMethod3
* Works from: Windows 10 (10240)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.5.7で追加
71. Author: Arush Agarampur
* Type: DLLハイジャック
* Method: ISecurityEditor
* Target(s): ネイティブイメージキャッシュ要素
* Component(s): 攻撃者定義
* Implementation: ucmNICPoisonMethod2
* Works from: Windows 7 RTM (7600)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.5.8で追加
72. Author: Emeric Nasi
* Type: DLLハイジャック
* Method: DLL パス検索の悪用
* Target(s): \syswow64\msdt.exe, \system32\sdiagnhost.exe
* Component(s): BluetoothDiagnosticUtil.dll
* Implementation: ucmMsdtMethod
* Works from: Windows 10 (10240)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.5.9で追加
73. Author: orange_8361 and antonioCoco
* Type: Shell API
* Method: .NET デシリアライゼーション
* Target(s): \system32\mmc.exe EventVwr.msc
* Component(s): 攻撃者定義
* Implementation: ucmDotNetSerialMethod
* Works from: Windows 7 RTM (7600)
* Fixed in: Windows 11 24H2/25H2 (26100)
* How: イベントビューアーの再設計
* Code status: v3.7.0から削除 :tractor:
74. Author: zcgonvh
* Type: 昇格COMインターフェース
* Method: IElevatedFactoryServer
* Target(s): 攻撃者定義
* Component(s): 攻撃者定義
* Implementation: ucmVFServerTaskSchedMethod
* Works from: Windows 8.1 (9600)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.6.1で追加
75. Author: zcgonvh derivative by Wh04m1001
* Type: 昇格COMインターフェース
* Method: IDiagnosticProfile
* Target(s): 攻撃者定義
* Component(s): 攻撃者定義
* Implementation: ucmVFServerDiagProfileMethod
* Works from: Windows 7 RTM (7600)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.6.2で追加
76. Author: HackerHouse
* Type: DLLハイジャック
* Method: DLL パス検索の悪用、レジストリキー操作
* Target(s): \syswow64\iscsicpl.exe
* Component(s): iscsiexe.dll
* Implementation: ucmIscsiCplMethod
* Works from: Windows 7 RTM (7600)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.6.3で追加
77. Author: Arush Agarampur
* Type: DLLハイジャック
* Method: IFileOperation
* Target(s): \system32\mmc.exe
* Component(s): atl.dll
* Implementation: ucmAtlHijackMethod
* Works from: Windows 7 RTM (7600)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.6.4で追加
78. Author: antonioCoco
* Type: 偽装
* Method: SSPI データグラム
* Target(s): 攻撃者定義
* Component(s): 攻撃者定義
* Implementation: ucmSspiDatagramMethod
* Works from: Windows 7 RTM (7600)
* AlwaysNotify 互換
* Fixed in: Windows 10 (19041)、パッチの一部、2024?年
* How: Windows の変更の副作用
* Code status: v3.7.0から削除 :tractor:
79. Author: James Forshaw and Stefan Kanthak
* Type: GUI ハック
* Method: トークン変更による UIPI バイパス
* Target(s): \system32\osk.exe, \system32\mmc.exe
* Component(s): 攻撃者定義
* Implementation: ucmTokenModUIAccessMethod2
* Works from: Windows 7 (7600)
* Fixed in: Windows 10 RS5 (17763)、パッチの一部、2024年
* How: UIAccess トークンの整合性レベルが下げられると、UIAccess プロパティが削除される
* Code status: v3.7.0から削除 :tractor:
80. Author: R41N3RZUF477
* Type: Shell API
* Method: 環境変数展開、DLLハイジャック
* Target(s): \system32\taskhostw.exe
* Component(s): PerformanceTraceHandler.dll
* Implementation: ucmRequestTraceMethod
* Works from: Windows 11 (26100)
* AlwaysNotify 互換
* Fixed in: Windows 11 25H2 (26200)
* How: Windows の変更の副作用
* Code status: v3.7.0から削除 :tractor:
81. Author: R41N3RZUF477
* Type: Shell API
* Method: 環境変数展開、DLLハイジャック、UIPI バイパス
* Target(s): \system32\QuickAssist.exe
* Component(s): EmbeddedBrowserWebView.dll
* Implementation: ucmQuickAssistMethod
* Works from: Windows 10 (19041)
* AlwaysNotify 互換
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.6.8で追加
82. Author: WZ
* Type: Shell API
* Method: UICleanmgrAdminHelper, UICleanmgrHelper
* Target(s): \system32\SystemSettingsAdminFlows.exe
* Component(s): Action.exe
* Implementation: ucmCleanMgrAdminMethod
* Works from: Windows 10 (19041)
* Fixed in: 未修正 :see_no_evil:
* How: -
* Code status: v3.7.0で追加</details>
**重要なお知らせ:**
* メソッド30、63以降はx64版のみで実装されています
* メソッド30はx64が必要です。これはWOW64サブシステムの機能を悪用するためです
* メソッド55は主に教育目的で含まれており、信頼性がない可能性があります
* メソッド78では、現在のユーザアカウントのパスワードが空白ではないことが必要です
## 警告
⚠️ **重要なセキュリティと使用に関する情報**:
* このツールは、マルウェアで使用される**公知のUACバイパス手法のみ**を実演します。元のコンセプトを改善するために、いくつかの手法を異なる方法で再実装しています。
* **ウイルス対策テストを目的としておらず**、攻撃的なセキュリティソフトウェアが存在する環境での動作は保証されません。アクティブなウイルス対策ソフトを使用する場合は自己責任で行ってください。
* 多くのウイルス対策ソリューションは、このツールを「HackTool」としてフラグ付けする可能性があります。これはその機能による予想される動作です。
* **使用後のクリーンアップ**: 実稼働システムで実行する場合は、その後すべてのプログラムアーティファクトを必ず削除してください。システムフォルダにドロップされるファイルの詳細については、ソースコードを参照してください。
* ほとんどのメソッドは主にx64システム向けに開発されました。軽微な調整でx86-32でも動作するものもありますが、32ビットサポートはこのプロジェクトの焦点ではありません。
* UACバイパスがまだ存在する理由に関する公式のMicrosoftの説明については、[MicrosoftのUACに関する見解](https://devblogs.microsoft.com/oldnewthing/20160816-00/?p=94105)を参照してください。
# Windows 10のサポートとテストポリシー
* UACMeは、LSTB/LTSCバリアント(1607/1809)と現在のRTM-1バージョンでのみテストされます。
* 例:現在のバージョンが2004の場合、2004(19041)と前の1909(18363)でテストされます。
* Insiderビルドはサポートされていません。プレビューリリースでメソッドが修正される可能性があるためです。
# 保護対策
UACバイパス手法に対する最も効果的な保護は、管理者権限を持たないアカウントを使用することです。
# ビルド手順
UACMeはC言語で記述されており、ソースからビルドするにはMicrosoft Visual Studio 2019以降が必要です。
### 前提条件
* **IDE**: Microsoft Visual Studio 2019/2022/2026 およびそれ以降のバージョン
* **SDK要件**:
* Windows 8.1 または Windows 10/11 SDK(19041/26100バージョンでテスト済み)
### ビルド手順
1. **プラットフォームツールセットの構成** (Project->Properties->General):
* Visual Studio 2022の場合: v143を選択
* Visual Studio 2026の場合: v145を選択
2. **ターゲットプラットフォームバージョンの設定** (Project->Properties->General):
* v140の場合: 8.1を選択(Windows 8.1 SDKがインストールされている必要があります)
* v141以降の場合: 10を選択
3. **ビルドプロセス**:
* ペイロードユニットをコンパイル
* Nakaモジュールをコンパイル
* Nakaモジュールを使用してすべてのペイロードユニットを暗号化
* Nakaモジュールを使用してこれらのユニットのシークレットブロブを生成
* コンパイルされたユニットとシークレットブロブをAkagi\Binディレクトリに移動
* Akagiをリビルド
> **注**: コンパイル済みバイナリは提供されておらず、今後も提供されることはありません。これは悪意のある使用に対する障壁として機能し、このプロジェクトの教育目的を維持するのに役立ちます。
## 法的免責事項
* このツールは**教育および研究目的のみ**で提供されています
* このツールが悪意のある活動に使用された場合、一切の責任を負いません
* このコードを商用活動に使用する「セキュリティ会社」とは一切関係がありません
* このGitHubリポジトリ(hfiref0x/UACME)がUACMeコードの唯一の正規ソースです。
# サポート
このプロジェクトに興味を持っていただけましたら、コーヒーを一杯ご馳走していただけますと幸いです。
BTC(ビットコイン): bc1qzkvtpa0053cagf35dqmpvv9k8hyrwl7krwdz84q39mcpy68y6tmqsju0g4
# 参考文献
* Windows 7 UAC whitelist, http://www.pretentiousname.com/misc/win7_uac_whitelist2.html
* Malicious Application Compatibility Shims, https://www.blackhat.com/docs/eu-15/materials/eu-15-Pierce-Defending-Against-Malicious-Application-Compatibility-Shims-wp.pdf
* Junfeng Zhang from WinSxS dev team blog, https://blogs.msdn.microsoft.com/junfeng/
* Beyond good ol' Run key, series of articles, http://www.hexacorn.com/blog
* KernelMode.Info UACMe thread, https://www.kernelmode.info/forum/viewtopicf985.html?f=11&t=3643
* Command Injection/Elevation - Environment Variables Revisited, https://breakingmalware.com/vulnerabilities/command-injection-and-elevation-environment-variables-revisited
* "Fileless" UAC Bypass Using eventvwr.exe and Registry Hijacking, https://enigma0x3.net/2016/08/15/fileless-uac-bypass-using-eventvwr-exe-and-registry-hijacking/
* Bypassing UAC on Windows 10 using Disk Cleanup, https://enigma0x3.net/2016/07/22/bypassing-uac-on-windows-10-using-disk-cleanup/
* Using IARPUninstallStringLauncher COM interface to bypass UAC, http://www.freebuf.com/articles/system/116611.html
* Bypassing UAC using App Paths, https://enigma0x3.net/2017/03/14/bypassing-uac-using-app-paths/
* "Fileless" UAC Bypass using sdclt.exe, https://enigma0x3.net/2017/03/17/fileless-uac-bypass-using-sdclt-exe/
* UAC Bypass or story about three escalations, https://habrahabr.ru/company/pm/blog/328008/
* Exploiting Environment Variables in Scheduled Tasks for UAC Bypass, https://tyranidslair.blogspot.ru/2017/05/exploiting-environment-variables-in.html
* First entry: Welcome and fileless UAC bypass, https://winscripting.blog/2017/05/12/first-entry-welcome-and-uac-bypass/
* Reading Your Way Around UAC in 3 parts:
1. https://tyranidslair.blogspot.ru/2017/05/reading-your-way-around-uac-part-1.html
2. https://tyranidslair.blogspot.ru/2017/05/reading-your-way-around-uac-part-2.html
3. https://tyranidslair.blogspot.ru/2017/05/reading-your-way-around-uac-part-3.html
* Research on CMSTP.exe, https://msitpros.com/?p=3960
* UAC bypass via elevated .NET applications, https://offsec.provadys.com/UAC-bypass-dotnet.html
* UAC Bypass by Mocking Trusted Directories, https://medium.com/tenable-techblog/uac-bypass-by-mocking-trusted-directories-24a96675f6e
* Yet another sdclt UAC bypass, http://blog.sevagas.com/?Yet-another-sdclt-UAC-bypass
* UAC Bypass via SystemPropertiesAdvanced.exe and DLL Hijacking, https://egre55.github.io/system-properties-uac-bypass/
* Accessing Access Tokens for UIAccess, https://tyranidslair.blogspot.com/2019/02/accessing-access-tokens-for-uiaccess.html
* Fileless UAC Bypass in Windows Store Binary, https://www.activecyber.us/1/post/2019/03/windows-uac-bypass.html
* Calling Local Windows RPC Servers from .NET, https://googleprojectzero.blogspot.com/2019/12/calling-local-windows-rpc-servers-from.html
* Microsoft Windows 10 UAC bypass local privilege escalation exploit, https://packetstormsecurity.com/files/155927/Microsoft-Windows-10-Local-Privilege-Escalation.html
* UACMe 3.5, WD and the ways of mitigation, https://swapcontext.blogspot.com/2020/10/uacme-35-wd-and-ways-of-mitigation.html
* UAC bypasses from COMAutoApprovalList, https://swapcontext.blogspot.com/2020/11/uac-bypasses-from-comautoapprovallist.html
* Utilizing Programmatic Identifiers (ProgIDs) for UAC Bypasses, https://v3ded.github.io/redteam/utilizing-programmatic-identifiers-progids-for-uac-bypasses
* MSDT DLL Hijack UAC bypass, https://blog.sevagas.com/?MSDT-DLL-Hijack-UAC-bypass
* UAC bypass through .Net Deserialization vulnerability in eventvwr.exe, https://twitter.com/orange_8361/status/1518970259868626944
* Advanced Windows Task Scheduler Playbook - Part.2 from COM to UAC bypass and get SYSTEM directly, http://www.zcgonvh.com/post/Advanced_Windows_Task_Scheduler_Playbook-Part.2_from_COM_to_UAC_bypass_and_get_SYSTEM_dirtectly.html
* Bypassing UAC with SSPI Datagram Contexts, https://splintercod3.blogspot.com/p/bypassing-uac-with-sspi-datagram.html
* Mitigate some Exploits for Windows’® UAC, https://skanthak.hier-im-netz.de/uacamole.html
* Here's a BYPASS for you, https://mp.weixin.qq.com/s/D_Hchnzlv18naeJrYVJi1A
# 著者
(c) 2014 - 2026 UACMe Project