mirror of
https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite.git
synced 2025-12-06 09:01:29 +00:00
update azure files with tokens
This commit is contained in:
@@ -1271,6 +1271,8 @@ search:
|
|||||||
value:
|
value:
|
||||||
config:
|
config:
|
||||||
auto_check: True
|
auto_check: True
|
||||||
|
exec:
|
||||||
|
- '(pwsh -Command "Save-AzContext -Path /tmp/az-context3489ht.json" && cat /tmp/az-context3489ht.json && rm /tmp/az-context3489ht.json) || echo_not_found "pwsh"'
|
||||||
|
|
||||||
files:
|
files:
|
||||||
#- name: "credentials"
|
#- name: "credentials"
|
||||||
@@ -1379,13 +1381,54 @@ search:
|
|||||||
- common
|
- common
|
||||||
|
|
||||||
- name: "AzureRMContext.json"
|
- name: "AzureRMContext.json"
|
||||||
|
value:
|
||||||
|
bad_regex: "Id.*|Credential.*"
|
||||||
|
type: f
|
||||||
|
search_in:
|
||||||
|
- common
|
||||||
|
|
||||||
|
- name: "clouds.config"
|
||||||
|
value:
|
||||||
|
type: f
|
||||||
|
search_in:
|
||||||
|
- common
|
||||||
|
|
||||||
|
- name: "service_principal_entries.json"
|
||||||
value:
|
value:
|
||||||
bad_regex: ".*"
|
bad_regex: ".*"
|
||||||
type: f
|
type: f
|
||||||
search_in:
|
search_in:
|
||||||
- common
|
- common
|
||||||
|
|
||||||
- name: "ErrorRecords" #Azure logs can contain creentials
|
- name: "msal_token_cache.json"
|
||||||
|
value:
|
||||||
|
bad_regex: ".*"
|
||||||
|
type: f
|
||||||
|
search_in:
|
||||||
|
- common
|
||||||
|
|
||||||
|
- name: "msal_http_cache.bin"
|
||||||
|
value:
|
||||||
|
just_list_file: True
|
||||||
|
type: f
|
||||||
|
search_in:
|
||||||
|
- common
|
||||||
|
|
||||||
|
- name: "service_principal_entries.bin"
|
||||||
|
value:
|
||||||
|
just_list_file: True
|
||||||
|
type: f
|
||||||
|
search_in:
|
||||||
|
- common
|
||||||
|
|
||||||
|
- name: "msal_token_cache.bin"
|
||||||
|
value:
|
||||||
|
just_list_file: True
|
||||||
|
type: f
|
||||||
|
search_in:
|
||||||
|
- common
|
||||||
|
|
||||||
|
- name: "ErrorRecords" #Azure logs can contain crentials
|
||||||
value:
|
value:
|
||||||
type: d
|
type: d
|
||||||
search_in:
|
search_in:
|
||||||
|
|||||||
Reference in New Issue
Block a user