2023-05-18 18:19:19 +00:00
|
|
|
id: azure-connection-string
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Azure Connection String
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/azure.yml
|
|
|
|
- https://azure.microsoft.com/en-us/blog/windows-azure-web-sites-how-application-strings-and-connection-strings-work/
|
|
|
|
- https://docs.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string
|
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: file,keys,azure,token
|
2024-01-04 06:21:55 +00:00
|
|
|
|
2023-05-18 18:19:19 +00:00
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- all
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- (?i)(?:AccountName|SharedAccessKeyName|SharedSecretIssuer)\s*=\s*([^;]{1,80})\s*;\s*.{0,10}\s*(?:AccountKey|SharedAccessKey|SharedSecretValue)\s*=\s*([^;]{1,100})(?:;|$)
|
2024-01-26 08:31:11 +00:00
|
|
|
# digest: 490a004630440220680a55e8f1637508067947365d16659ebab85715a5b72613a39a14ac532914d702200a85b3b169d8acce55b4c33ebac26467defc1310779b3b16244675de92908777:922c64590222798bb761d5b6d8e72950
|