rdpsign.exe

  • File Path: C:\Windows\system32\rdpsign.exe
  • Description: Remote Desktop Session Host Server Sign Tool

Hashes

Type Hash
MD5 16F2AC16783A45C41218418C92BBE8EC
SHA1 3A8E4D421AC783C9A51B4A61014C2543F73E011A
SHA256 2DA5D38A23C4FCA4C44957F392256E3A761F90C1C4F5789513A265023B837117
SHA384 26E0DC65D207C76260D03D2EB78F1B3299E515566DAE19E247DE5A328B89C4F93A716076F033BB10D29316A137210C7B
SHA512 8DA1FC06C2439813DD69313126F77B87E63981930F6E469696FC3D004108194A9C3A403A2E67DE382EA3011288319E9129E0CE4981CC1DDFF55CBAE042805912
SSDEEP 3072:vKkr49g3mQi7Esiz1S89RkHRvQYlNJ+d28mHRlRr:Prqg3mj7EsQS89Kxx3M2dlR
IMP E3919B702EC45B7A5C0DE4EED6F36CF0
PESHA1 3AD1C9C38361D3297101F037C2E2ACF5913EA911
PE256 10D5B40BA92C77E086C619615DDF7E2565AB4CDDBE56F8E64D8330E938B7B649

Runtime Data

Usage (stdout):

All rdp file(s) have been succesfully signed.

Usage (stderr):

NAME

rdpsign [options] [items to sign]

OPTIONS

  /sha256 HASH
       Specified the SHA256 hash of the signing certificate.
  /q
       Quiet mode:  No output when success, minimal output when failed.
  /v
       Verbose mode:  Display all warnings, messages, and status.
  /l
       Test signing and output results without actually replacing any of the inputs.  Ignores when input files are on stdin.



Loaded Modules:

Path
C:\Windows\System32\KERNEL32.DLL
C:\Windows\System32\KERNELBASE.dll
C:\Windows\SYSTEM32\ntdll.dll
C:\Windows\system32\rdpsign.exe

Signature

  • Status: Signature verified.
  • Serial: 330000023241FB59996DCC4DFF000000000232
  • Thumbprint: FF82BC38E1DA5E596DF374C53E3617F7EDA36B06
  • Issuer: CN=Microsoft Windows Production PCA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
  • Subject: CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US

File Metadata

  • Original Filename: TSSignTool.exe.mui
  • Product Name: Microsoft Windows Operating System
  • Company Name: Microsoft Corporation
  • File Version: 10.0.19041.1 (WinBuild.160101.0800)
  • Product Version: 10.0.19041.1
  • Language: English (United States)
  • Legal Copyright: Microsoft Corporation. All rights reserved.
  • Machine Type: 64-bit

File Scan

  • VirusTotal Detections: 0/74
  • VirusTotal Link: https://www.virustotal.com/gui/file/2da5d38a23c4fca4c44957f392256e3a761f90c1c4f5789513a265023b837117/detection

Additional Info*

*The information below is copied from MicrosoftDocs, which is maintained by Microsoft. Available under CC BY 4.0 license.


rdpsign

Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

Enables you to digitally sign a Remote Desktop Protocol (.rdp) file.

[!NOTE] To find out what’s new in the latest version, see What’s New in Remote Desktop Services in Windows Server.

Syntax

rdpsign /sha1 <hash> [/q | /v |] [/l] <file_name.rdp>

Parameters

Parameter Description
/sha1 <hash> Specifies the thumbprint, which is the Secure Hash Algorithm 1 (SHA1) hash of the signing certificate that is included in the certificate store. Used in Windows Server 2012 R2 and older.
/sha256 <hash> Specifies the thumbprint, which is the Secure Hash Algorithm 256 (SHA256) hash of the signing certificate that is included in the certificate store. Replaces /sha1 in Windows Server 2016 and newer.
/q Quiet mode. No output when the command succeeds and minimal output if the command fails.
/v verbose mode. Displays all warnings, messages, and status.
/l Tests the signing and output results without actually replacing any of the input files.
<file_name.rdp> The name of the .rdp file. You must specify the .rdp file (or files) to sign by using the full file name. Wildcard characters are not accepted.
/? Displays help at the command prompt.
Remarks
  • The SHA1 or SHA256 certificate thumbprint should represent a trusted .rdp file publisher. To obtain the certificate thumbprint, open the Certificates snap-in, double-click the certificate that you want to use (either in the local computer’s certificates store or in your personal certificates store), click the details tab, and then in the Field list, click Thumbprint.

    [!NOTE] When you copy the thumbprint for use with the rdpsign.exe tool, you must remove any spaces.

  • The signed output files overwrite the input files.

  • If multiple files are specified, and if any of the .rdp files can’t be read or written to, the tool continues to the next file.

Examples

To sign an .rdp file named file1.rdp, navigate to the folder where you saved the .rdp file, and then type:

rdpsign /sha1 hash file1.rdp

[!NOTE] The hash value represents the SHA1 certificate thumbprint, without any spaces.

To test whether digital signing will succeed for an .rdp file without actually signing the file, type:

rdpsign /sha1 hash /l file1.rdp

To sign multiple .rdp files that are named, file1.rdp, file2.rdp, and file3.rdp, type (including the spaces between file names):

rdpsign /sha1 hash file1.rdp file2.rdp file3.rdp

See Also


MIT License. Copyright (c) 2020-2021 Strontic.