POC详情: 0724611531f5234bd44303bcf427a60cee69094b

来源
关联漏洞
标题: 微软 Microsoft SMBv3 缓冲区错误漏洞 (CVE-2020-0796)
描述:Microsoft SMBv3是美国微软(Microsoft)公司的一个为设备提供SMB功能的支持固件。 Microsoft Server Message Block 3.1.1 (SMBv3)版本中存在缓冲区错误漏洞,该漏洞源于SMBv3协议在处理恶意压缩数据包时,进入了错误流程。远程未经身份验证的攻击者可利用该漏洞在应用程序中执行任意代码。以下产品及版本受到影响:Microsoft Windows 10版本1903,Windows Server版本1903,Windows 10版本1909,Windo
描述
Advanced scanner for CVE-2020-0796 - SMBv3 RCE 
介绍
# SMBGhost
Advanced scanner for CVE-2020-0796 - SMBv3 RCE using [ollypwn](https://github.com/ollypwn) detection technique ([SMBGhost](https://github.com/ollypwn/SMBGhost)).

It can scan the entire internet using masscan or, a single ip.

It can get more informations about targets using Shodan (API key required) and write results to json file.

Otherwise, it will print vulnerable ip on the console.

## Getting Started
### Prerequisites

Install python3 and pip:
```
sudo apt install python3 python3-pip
```

Install masscan:
```
sudo apt-get install git gcc make libpcap-dev
git clone https://github.com/robertdavidgraham/masscan
cd masscan
make
cp bin/masscan /usr/bin/.
```

### Installing
The installation has been tested in Debian bullseye/sid x86_64 (march 2020)
#### Clone the project
```
git clone https://github.com/x1n5h3n/SMBGhost.git
```

#### Move in the project folder
```
cd SMBGhost
```

Install the necessary Python packages:
```
pip3 install -r requirements.txt
```

Set your Shodan API key to the variable **SHODAN_API_KEY**

### Usage
Print help:
```
python3 scanner.py -h
```

#### With a Shodan API key
Scann the entire Internet and write results in json file (using querry to shodan to gather more informations):
```
python3 scanner.py -t 0.0.0.0/0 -o results.json
```

Scann a single ip without specifying the result filename (default is smbghost.json):
```
python3 scanner.py -t 8.8.8.8
```

Using a file as input:
```
python3 scanner.py -f targets.txt
```

#### Without a Shodan API key
Scann the entire Internet:
```
python3 scanner.py -t 0.0.0.0/0
```

Scann a single ip:
```
python3 scanner.py -t 8.8.8.8
```

Using a file as input:
```
python3 scanner.py -f targets.txt
```

## License

This project is licensed under the GPLv3 License - see the [LICENSE](LICENSE) file for details.

文件快照

[4.0K] /data/pocs/0724611531f5234bd44303bcf427a60cee69094b ├── [ 34K] LICENSE ├── [1.8K] README.md ├── [ 17] requirements.txt └── [5.8K] scanner.py 0 directories, 4 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。