Skip to main content

Encrypted Private Key

Description#

General#

  • Summary: This detector find encrypted private keys. Encrypted private keys are keys that have been encrypted (usually with a passphrase). These keys can be RSA, DSA, Elliptic, or any private key. More details about cryptographic keys can be found in our FAQ.

Revoke the secret#

Revoking the key depends on the service being used.

Check for suspicious activity#

Checking for suspicious activity depends on the service being used.

Details for Base64 private key encrypted#

  • Category: Private key

  • High recall: True

  • Validity check available: False

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 0.12

  • Prefixed: True

  • PreValidators:

- type: FilenameBanlistPreValidator  banlist_extensions:  - ^(cs|x|p|s|r)?html5?~?$  - ^[aps]?cssc?~?$  - ^lock$  - ^mdx?~?$  - ^storyboard(c|er)?~?$  - ^xib$  banlist_filenames: []  check_binaries: false

Examples#

LS0tLS1CRUdJTiBFTkNSWVBURUQgUFJJVkFURSBLRVktLS0tLSBNSUlCclRCWEJna3Foa2lHOXcwQkJRMHdTakFwQmdrcWhraUc5dzBCQlF3d0hBUUlWZEh5dmVwVnlYTUNBZ2dBIE1Bd0dDQ3FHU0liM0RRSUpCUUF3SFFZSllJWklBV1VEQkFFcUJCQUFLeHQrSFViTFhIdVNIN3RZeHRnSEJJSUIgVUQ0bmNPRktqcmJvS3grODk3UVRFd0g3VTVRWEFjZU1RU0E2T1NwUDRSTXFXemQrRFN1UTJBaFc5bnkrSnVoWiBjdWF5UXZYa0lPeWsvTFVDeTFpbG0zZmhiTjIrZ0tpSDhnaEpzWnplQU5uV0J1WDhkNmU2YUVNTFBudjEwMURtIE16U3ovS0lWK1N3N2x0VUROR282QWRtd29vNEZGZlM4RXRUc0hlMk5rcWdsaUVKaWdXdU9PZlp2bGU0NUJSNlcgTFdBU1hwdFZDMytkSStjc0tQbERRaTV4Z2p2NjVNcEV6amM5bW1rY1Z4UnhxNWxEblphejFvM3ErTUpqWWxGVSBPTnpxR1FDMzdUSjArZ2pGSzJFVEJvVi9HNmMyaVVYZU5aQjhEYWJUOVBCS1g2VGJ0YW9ZZkNuSi93a0s5Tk9UIDF2a0pzSzFDeE9BVWhaQ0gyVTRPaGNwVnNLb1JGT2RJQmwrTmJkQlI2azBnSzZGMEd3YnBBNlZwZmd1YjVoeTIga1BwK2trckMraDhFY3RBbHArK3ZJb0ovRjZUQW5uMEc2NWMzQVZZRWs4NFJVVERnakRvY2k2dTc0S2JwUS9tZCB2UT09IC0tLS0tRU5EIEVOQ1JZUFRFRCBQUklWQVRFIEtFWS0tLS0tCg==

Here's the decoded string:

-----BEGIN ENCRYPTED PRIVATE KEY-----MIIBrTBXBgkqhkiG9w0BBQ0wSjApBgkqhkiG9w0BBQwwHAQIVdHyvepVyXMCAggAMAwGCCqGSIb3DQIJBQAwHQYJYIZIAWUDBAEqBBAAKxt+HUbLXHuSH7tYxtgHBIIBUD4ncOFKjrboKx+897QTEwH7U5QXAceMQSA6OSpP4RMqWzd+DSuQ2AhW9ny+JuhZcuayQvXkIOyk/LUCy1ilm3fhbN2+gKiH8ghJsZzeANnWBuX8d6e6aEMLPnv101DmMzSz/KIV+Sw7ltUDNGo6Admwoo4FFfS8EtTsHe2NkqgliEJigWuOOfZvle45BR6WLWASXptVC3+dI+csKPlDQi5xgjv65MpEzjc9mmkcVxRxq5lDnZaz1o3q+MJjYlFUONzqGQC37TJ0+gjFK2ETBoV/G6c2iUXeNZB8DabT9PBKX6TbtaoYfCnJ/wkK9NOT1vkJsK1CxOAUhZCH2U4OhcpVsKoRFOdIBl+NbdBR6k0gK6F0GwbpA6Vpfgub5hy2kPp+kkrC+h8EctAlp++vIoJ/F6TAnn0G65c3AVYEk84RUTDgjDoci6u74KbpQ/mdvQ==-----END ENCRYPTED PRIVATE KEY-----

Details for Private key encrypted#

  • Category: Private key

  • High recall: True

  • Validity check available: False

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 13.11

  • Prefixed: True

  • PreValidators:

- type: FilenameBanlistPreValidator  banlist_extensions:  - ^(cs|x|p|s|r)?html5?~?$  - ^[aps]?cssc?~?$  - ^lock$  - ^mdx?~?$  - ^storyboard(c|er)?~?$  - ^xib$  banlist_filenames: []  check_binaries: false- type: ContentWhitelistPreValidator  patterns:  - '-----begin encrypted private key-----'

Examples#

- text: >-----BEGIN ENCRYPTED PRIVATE KEY-----MIIBrTBXBgkqhkiG9w0BBQ0wSjApBgkqhkiG9w0BBQwwHAQIVdHyvepVyXMCAggAMAwGCCqGSIb3DQIJBQAwHQYJYIZIAWUDBAEqBBAAKxt+HUbLXHuSH7tYxtgHBIIBUD4ncOFKjrboKx+897QTEwH7U5QXAceMQSA6OSpP4RMqWzd+DSuQ2AhW9ny+JuhZcuayQvXkIOyk/LUCy1ilm3fhbN2+gKiH8ghJsZzeANnWBuX8d6e6aEMLPnv101DmMzSz/KIV+Sw7ltUDNGo6Admwoo4FFfS8EtTsHe2NkqgliEJigWuOOfZvle45BR6WLWASXptVC3+dI+csKPlDQi5xgjv65MpEzjc9mmkcVxRxq5lDnZaz1o3q+MJjYlFUONzqGQC37TJ0+gjFK2ETBoV/G6c2iUXeNZB8DabT9PBKX6TbtaoYfCnJ/wkK9NOT1vkJsK1CxOAUhZCH2U4OhcpVsKoRFOdIBl+NbdBR6k0gK6F0GwbpA6Vpfgub5hy2kPp+kkrC+h8EctAlp++vIoJ/F6TAnn0G65c3AVYEk84RUTDgjDoci6u74KbpQ/mdvQ==-----END ENCRYPTED PRIVATE KEY-----