2021-05-29 09:16:00 +00:00
|
|
|
id: private-key
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Private Key Detect
|
2021-07-27 19:26:04 +00:00
|
|
|
author: gaurang,geeknik
|
2021-05-29 09:16:00 +00:00
|
|
|
severity: high
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: file,keys,token
|
2021-05-29 09:16:00 +00:00
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- all
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2022-06-27 23:20:04 +00:00
|
|
|
- "BEGIN OPENSSH PRIVATE KEY"
|
|
|
|
- "BEGIN PRIVATE KEY"
|
|
|
|
- "BEGIN RSA PRIVATE KEY"
|
|
|
|
- "BEGIN DSA PRIVATE KEY"
|
|
|
|
- "BEGIN EC PRIVATE KEY"
|
|
|
|
- "BEGIN PGP PRIVATE KEY BLOCK"
|
|
|
|
- "ssh-rsa"
|
|
|
|
- "ssh-dsa"
|
|
|
|
- "ssh-ed25519"
|
2024-01-26 08:31:11 +00:00
|
|
|
# digest: 4a0a004730450220012882f3d65764d754d5f19daface386c18880d36acae666c3661a7b5fac3489022100fbcfdc07b0b9362befde988d181bf2f3af23847bcb67d65249c51c918db3a4db:922c64590222798bb761d5b6d8e72950
|