-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GITBOOK-498: change request with no subject merged in GitBook
- Loading branch information
1 parent
10e589f
commit a76b0b5
Showing
3 changed files
with
87 additions
and
1 deletion.
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
81 changes: 81 additions & 0 deletions
81
...s-services/aws-certificate-manager-acm-and-private-certificate-authority-pca.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,81 @@ | ||
# AWS - Certificate Manager (ACM) & Private Certificate Authority (PCA) | ||
|
||
<details> | ||
|
||
<summary><strong>Support HackTricks and get benefits!</strong></summary> | ||
|
||
* If you want to see your **company advertised in HackTricks** or if you want access to the **latest version of the PEASS 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** me on **Twitter** 🐦 [**@carlospolopm**](https://twitter.com/carlospolopm)**.** | ||
* **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> | ||
|
||
## Basic Information | ||
|
||
**AWS Certificate Manager (ACM)** is a service designed to simplify the provisioning, management, and deployment of SSL/TLS certificates for AWS services and internal resources. It **eliminates the manual steps involved** in purchasing, uploading, and renewing these certificates. With ACM, users can easily request and deploy certificates on various AWS resources like Elastic Load Balancers, Amazon CloudFront distributions, and APIs on API Gateway. | ||
|
||
ACM also takes care of **automatic certificate renewals**. Additionally, it allows for the creation and centralized management of **private certificates for internal use**. SSL/TLS certificates provided through ACM for use exclusively with integrated AWS services like Elastic Load Balancing, Amazon CloudFront, and Amazon API Gateway are free, but users pay for any AWS resources used to run applications and a monthly fee for the operation of each **private Certificate Authority (CA)** and for private certificates used outside of ACM-integrated services. | ||
|
||
**AWS Private Certificate Authority** is a **managed private CA** service that **extends ACM certificate management to private certificates**. With private certificates you can authenticate resources inside an organization. | ||
|
||
## Enumeration | ||
|
||
### ACM | ||
|
||
``` | ||
# List certificates | ||
aws acm list-certificates | ||
# Get certificate info | ||
aws --profile lab acm describe-certificate --certificate-arn <arn> | ||
# Get certificate data | ||
aws acm get-certificate --certificate-arn "arn:aws:acm:us-east-1:188868097724:certificate/865abced-82c9-43bf-b7d2-1f4948bf353d" | ||
# Account configuration | ||
aws acm get-account-configuration | ||
``` | ||
|
||
### PCM | ||
|
||
``` | ||
# List CAs | ||
aws acm-pca list-certificate-authorities | ||
# Get CA info | ||
aws acm-pca describe-certificate-authority --certificate-authority-arn <arn> | ||
# Get CA Permissions | ||
aws acm-pca list-permissions --certificate-authority-arn <arn> | ||
# Get CA certificate | ||
aws acm-pca get-certificate-authority-certificate --certificate-authority-arn <arn> | ||
# Certificate request | ||
aws acm-pca get-certificate-authority-csr --certificate-authority-arn <arn> | ||
# Get CA Policy (if any) | ||
aws acm-pca get-policy --resource-arn <arn> | ||
``` | ||
|
||
## Privesc | ||
|
||
TODO | ||
|
||
## Post Exploitation | ||
|
||
TODO | ||
|
||
<details> | ||
|
||
<summary><strong>Support HackTricks and get benefits!</strong></summary> | ||
|
||
* If you want to see your **company advertised in HackTricks** or if you want access to the **latest version of the PEASS 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** me on **Twitter** 🐦 [**@carlospolopm**](https://twitter.com/carlospolopm)**.** | ||
* **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