# Azure

## Identifier la surface d'attaque

La première étape est d'identifier la surface d'attaque, cette étape doit normalement être grandement facilité par les informations qui sont fournies par le client lors de la réunion d'initialisation.

Dans un scénario idéal, le client est en capacité de nous dire quels services sont utilisés par l'application, voir de fournir un schéma d'infrastructure complet.

Si ce n'est pas possible alors il est nécessaire de récupérer ces informations soi-même.

Il faut alors identifier:

* Les services Azure utilisés (exp: Azure Blob Storage, Azure Functions, Azure SQL Database...)
* Les éléments qui sont accessibles publiquement (exp: Compartiement de stockage de fichiers ?)
* Comment fonctionne l'authentification et les autorisations (exp: EntraID ou IAM ?)
* ...

## Exposition externe

## Services

### Enumeration

### Privesc

## Logging & Monitoring

## Misconfig et bonnes pratiques

## Outils

### AZ-CLI

Au même titre que AWS-CLI pour AWS, AZ-CLI est l'interface de lignes de commandes universel pour Microsoft Azure

Ressource:

* <https://learn.microsoft.com/en-us/cli/azure/install-azure-cli>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.s1rn3tz.ovh/pentest-cloud/azure.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
