# Az - SQL Persistence

{{#include ../../../banners/hacktricks-training.md}}

## SQL

For more information check:

{{#ref}}
../az-services/az-sql.md
{{#endref}}

### Common Persistence Techniques

- Compromise SQL credentials or create an SQL user (enabling SQL auth if needed)
- Assign a compromised user as Entrad ID administrator (enabling Entra ID auth if needed)
- Backdoor in the VM (if SQL VM is used)
- Create a FW rule to maintain access over the SQL database


{{#include ../../../banners/hacktricks-training.md}}


