Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekultek/bluekeep
Proof of concept for CVE-2019-0708
https://github.com/ekultek/bluekeep
Last synced: 5 days ago
JSON representation
Proof of concept for CVE-2019-0708
- Host: GitHub
- URL: https://github.com/ekultek/bluekeep
- Owner: Ekultek
- Created: 2019-05-29T16:53:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-02T12:00:46.000Z (almost 3 years ago)
- Last Synced: 2024-10-14T10:21:53.138Z (20 days ago)
- Language: Python
- Size: 9.8 MB
- Stars: 1,171
- Watchers: 68
- Forks: 344
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bluekeep PoC
This repo contains research concerning CVE-2019-0708.
Bluekeep or CVE-2019-0708 is an RCE exploit that effects the following versions of Windows systems:
- Windows 2003
- Windows XP
- Windows Vista
- Windows 7
- Windows Server 2008
- Windows Server 2008 R2The vulnerability occurs during pre-authorization and has the potential to run arbitrary malicious code in the NT Authority\system
user security context.# How it works
By sending a specially crafted packet an attacker is able to set the value for the Channel ID to something the RDP service isn't expecting, this causes a memory corruption bug that will create the conditions for Remote Code Execution to occur. Should the attacker choose to follow up with packets designed to take advantage of this flaw remote code execution can be achieved with System user privileges.
# Setup
```
sudo apt install python python-dev python-setuptools python-pip openssl openssl-dev git
git clone https://github.com/ekultek/bluekeep
cd bluekeep
pip install -r requirements.txt
```That should do what you need done and fix any issue you have.
### Credits
Research by [Ekultek](https://github.com/Ekultek) and (VectorSEC)/[NullArray](https://github.com/NullArray)
Development & Testing by [Ekultek](https://github.com/Ekultek)
**Follow us on Twitter**
- [Ekultek](https://twitter.com/saltythegod)
- [VectorSEC](https://twitter.com/Real__Vector)### In Closing
You can see some of our research, along with a list of potentially vulnerable targets under the research directory. We started with very little and decided that we weren't going to stop until we had a working exploit. I have been able to execute commands on Windows XP with this PoC personally.
**Note**
There are no payloads. This is just a PoC. _HOWEVER_ it is easily ported to an exploit since you can easily add payloads to this.