-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GITBOOK-575: change request with no subject merged in GitBook
- Loading branch information
1 parent
f90a07a
commit 5f85641
Showing
16 changed files
with
372 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
115 changes: 115 additions & 0 deletions
115
pentesting-cloud/aws-security/aws-post-exploitation/aws-ses-post-exploitation.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
# AWS - SES Post Exploitation | ||
|
||
<details> | ||
|
||
<summary><strong>Learn AWS hacking from zero to hero with</strong> <a href="https://training.hacktricks.xyz/courses/arte"><strong>htARTE (HackTricks AWS Red Team Expert)</strong></a><strong>!</strong></summary> | ||
|
||
Other ways to support HackTricks: | ||
|
||
* If you want to see your **company advertised in HackTricks** or **download HackTricks in PDF** Check the [**SUBSCRIPTION PLANS**](https://github.com/sponsors/carlospolop)! | ||
* Get the [**official PEASS & HackTricks swag**](https://peass.creator-spring.com) | ||
* Discover [**The PEASS Family**](https://opensea.io/collection/the-peass-family), our collection of exclusive [**NFTs**](https://opensea.io/collection/the-peass-family) | ||
* **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 your hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos. | ||
|
||
</details> | ||
|
||
## 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 <value> --destination <value> --template <value> | ||
``` | ||
{% endcode %} | ||
|
||
Still to test. | ||
|
||
### `ses:SendBulkTemplatedEmail` | ||
|
||
Send an email to multiple destinations | ||
|
||
```bash | ||
aws ses send-bulk-templated-email --source <value> --template <value> | ||
``` | ||
|
||
Still to test. | ||
|
||
### `ses:SendBulkEmail` | ||
|
||
Send an email to multiple destinations. | ||
|
||
``` | ||
aws sesv2 send-bulk-email --default-content <value> --bulk-email-entries <value> | ||
``` | ||
|
||
### `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 <value> --bounce-sender <value> --bounced-recipient-info-list <value> | ||
``` | ||
{% 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 <value> --template-name <value> | ||
aws sesv2 send-custom-verification-email --email-address <value> --template-name <value> | ||
``` | ||
{% endcode %} | ||
|
||
Still to test. | ||
|
||
<details> | ||
|
||
<summary><strong>Learn AWS hacking from zero to hero with</strong> <a href="https://training.hacktricks.xyz/courses/arte"><strong>htARTE (HackTricks AWS Red Team Expert)</strong></a><strong>!</strong></summary> | ||
|
||
Other ways to support HackTricks: | ||
|
||
* If you want to see your **company advertised in HackTricks** or **download HackTricks in PDF** Check the [**SUBSCRIPTION PLANS**](https://github.com/sponsors/carlospolop)! | ||
* Get the [**official PEASS & HackTricks swag**](https://peass.creator-spring.com) | ||
* Discover [**The PEASS Family**](https://opensea.io/collection/the-peass-family), our collection of exclusive [**NFTs**](https://opensea.io/collection/the-peass-family) | ||
* **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 your hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos. | ||
|
||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.