# AWS - SES Post Exploitation {% hint style="success" %} Learn & practice AWS Hacking:[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)\ Learn & practice GCP Hacking: [**HackTricks Training GCP Red Team Expert (GRTE)**](https://training.hacktricks.xyz/courses/grte)
Support HackTricks * Check the [**subscription plans**](https://github.com/sponsors/carlospolop)! * **Join the** 💬 [**Discord group**](https://discord.gg/hRep4RUj7f) or the [**telegram group**](https://t.me/peass) or **follow** us on **Twitter** 🐦 [**@hacktricks\_live**](https://twitter.com/hacktricks_live)**.** * **Share hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos.
{% endhint %} ## SES For more information check: {% content-ref url="../aws-services/aws-ses-enum.md" %} [aws-ses-enum.md](../aws-services/aws-ses-enum.md) {% endcontent-ref %} ### `ses:SendEmail` Send an email. {% code overflow="wrap" %} ```bash aws ses send-email --from sender@example.com --destination file://emails.json --message file://message.json aws sesv2 send-email --from sender@example.com --destination file://emails.json --message file://message.json ``` {% endcode %} Still to test. ### `ses:SendRawEmail` Send an email. ```bash aws ses send-raw-email --raw-message file://message.json ``` Still to test. ### `ses:SendTemplatedEmail` Send an email based on a template. {% code overflow="wrap" %} ```bash aws ses send-templated-email --source --destination --template ``` {% endcode %} Still to test. ### `ses:SendBulkTemplatedEmail` Send an email to multiple destinations ```bash aws ses send-bulk-templated-email --source --template ``` Still to test. ### `ses:SendBulkEmail` Send an email to multiple destinations. ``` aws sesv2 send-bulk-email --default-content --bulk-email-entries ``` ### `ses:SendBounce` Send a **bounce email** over a received email (indicating that the email couldn't be received). This can only be done **up to 24h after receiving** the email. {% code overflow="wrap" %} ```bash aws ses send-bounce --original-message-id --bounce-sender --bounced-recipient-info-list ``` {% endcode %} Still to test. ### `ses:SendCustomVerificationEmail` This will send a customized verification email. You might need permissions also to created the template email. {% code overflow="wrap" %} ```bash aws ses send-custom-verification-email --email-address --template-name aws sesv2 send-custom-verification-email --email-address --template-name ``` {% endcode %} Still to test. {% hint style="success" %} Learn & practice AWS Hacking:[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)\ Learn & practice GCP Hacking: [**HackTricks Training GCP Red Team Expert (GRTE)**](https://training.hacktricks.xyz/courses/grte)
Support HackTricks * Check the [**subscription plans**](https://github.com/sponsors/carlospolop)! * **Join the** 💬 [**Discord group**](https://discord.gg/hRep4RUj7f) or the [**telegram group**](https://t.me/peass) or **follow** us on **Twitter** 🐦 [**@hacktricks\_live**](https://twitter.com/hacktricks_live)**.** * **Share hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos.
{% endhint %}