Listing users with access to NetFrameworkConfigurationKey ACL

后端 未结 2 1605
南旧
南旧 2020-12-18 08:59

I have added some users to the Access Control List(ACL) for the RSA Key Container using “aspnet_regiis -pa \"NetFrameworkConfigura

相关标签:
2条回答
  • 2020-12-18 09:13
    1. Find the file that contains the key. If this is a machine key, they are located here: C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
      • You can open these files as text; look for NetFrameworkConfigurationKey on the first line.
      • On machines I have tested with, the correct file seems to start with d6d9
    2. Just right-click on the file, Properties, and view the Security tab
    0 讨论(0)
  • 2020-12-18 09:24

    Command prompt technique:

    1. Find the hex value (69 characters long) of your named key.

    certutil -key NetFrameworkConfigurationKey

    1. Use icacls to list users and permissions.

    icacls %ProgramData%\Microsoft\Crypto\RSA\MachineKeys\<your hex value>

    Where permissions are represented by:
    N = no access
    F = full access
    M = modify access
    RX = read and execute access
    R = read-only access
    W = write-only access
    D = delete access

    0 讨论(0)
提交回复
热议问题