
CVE-2019-3980 Exploit, geschrieben in win32/c++ (openssl Abhängigkeit). Portierung von https://github.com/tenable/poc/blob/master/Solarwinds/Dameware/dwrcs_dwDrvInst_rce.py
CVE-2019-3980 Exploit geschrieben in win32/c++ (Abhängigkeit von OpenSSL). Port von https://github.com/tenable/poc/blob/master/Solarwinds/Dameware/dwrcs_dwDrvInst_rce.py
Dieser PoC benötigt statisch gelinkte OpenSSL-Bibliotheken. Lege die OpenSSL-Includes in third_party\include\openssl und die Bibliotheken in third_party\libs\openssl$(PlatformShortName)\ ab.
Große Build-Anleitung für OpenSSL:
cd c:\path\to\openssl\src
perl Configure VC-WIN64A no-shared --prefix=C:\path\to\build_directory
nmake
nmake install
WICHTIG: Die Kopie von OpenSSL in diesem Projekt wurde modifiziert, um unsichere Primzahlen in der Diffie-Hellman-Funktion zu erlauben. 512 Bit wurde auf 128 geändert. Wenn du manuell baust, musst du die DH_MIN_MODULUS_BITS in dh_local.h finden und auf 128 ändern. (#define DH_MIN_MODULUS_BITS 128)
-t <target ip>
-e <path to exe>
-p <port number (default: 6129>