mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 06:45:08 +00:00
47 lines
3.3 KiB
Bash
47 lines
3.3 KiB
Bash
#!/usr/bin/env bash
|
|
|
|
# Prowler - the handy cloud security tool (copyright 2018) by Toni de la Fuente
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
# use this file except in compliance with the License. You may obtain a copy
|
|
# of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software distributed
|
|
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
# CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
# specific language governing permissions and limitations under the License.
|
|
|
|
GROUP_ID[25]='ftr'
|
|
GROUP_NUMBER[25]='25.0'
|
|
GROUP_TITLE[25]='Amazon FTR related security checks - [ftr] ********************'
|
|
GROUP_RUN_BY_DEFAULT[25]='N' # run it when execute_all is called
|
|
GROUP_CHECKS[25]='check11,check12,check13,check14,check15,check16,check17,check18,check19,check110,check111,check111,check112,check113,check117,check118,check122,check21,check22,extra759,extra760,extra768,extra775,extra797,extra7141,extra73'
|
|
|
|
# Checks from AWS FTR https://apn-checklists.s3.amazonaws.com/foundational/partner-hosted/partner-hosted/CVLHEC5X7.html
|
|
# 1.1 [check11] Avoid the use of the root account - iam [High]
|
|
# 1.2 [check12] Ensure multi-factor authentication (MFA) is enabled for all IAM users that have a console password - iam [High]
|
|
# 1.3 [check13] Ensure credentials unused for 90 days or greater are disabled - iam [Medium]
|
|
# 1.4 [check14] Ensure access keys are rotated every 90 days or less - iam [Medium]
|
|
# 1.5 [check15] Ensure IAM password policy requires at least one uppercase letter - iam [Medium]
|
|
# 1.6 [check16] Ensure IAM password policy require at least one lowercase letter - iam [Medium]
|
|
# 1.7 [check17] Ensure IAM password policy require at least one symbol - iam [Medium]
|
|
# 1.8 [check18] Ensure IAM password policy require at least one number - iam [Medium]
|
|
# 1.9 [check19] Ensure IAM password policy requires minimum length of 14 or greater - iam [Medium]
|
|
# 1.10 [check110] Ensure IAM password policy prevents password reuse: 24 or greater - iam [Medium]
|
|
# 1.11 [check111] Ensure IAM password policy expires passwords within 90 days or less - iam [Medium]
|
|
# 1.12 [check112] Ensure no root account access key exists - iam [Critical]
|
|
# 1.13 [check113] Ensure MFA is enabled for the root account - iam [Critical]
|
|
# 1.17 [check117] Maintain current contact details - support [Medium]
|
|
# 1.18 [check118] Ensure security contact information is registered - support [Medium]
|
|
# 1.22 [check122] Ensure IAM policies that allow full "*:*" administrative privileges are not created - iam [Medium]
|
|
# 2.1 [check21] Ensure CloudTrail is enabled in all regions - cloudtrail [High]
|
|
# 2.2 [check22] Ensure CloudTrail log file validation is enabled - cloudtrail [Medium]
|
|
# 7.59 [extra759] Find secrets in Lambda functions variables - lambda [Critical]
|
|
# 7.60 [extra760] Find secrets in Lambda functions code - lambda [Critical]
|
|
# 7.68 [extra768] Find secrets in ECS task definitions variables - ecs [Critical]
|
|
# 7.75 [extra775] Find secrets in EC2 Auto Scaling Launch Configuration - autoscaling [Critical]
|
|
# 7.97 [extra797] Ensure Kubernetes Secrets are encrypted using Customer Master Keys (CMKs) - eks [Medium]
|
|
# 7.141 [extra7141] Find secrets in SSM Documents - ssm [Critical]
|
|
# 7.3 [extra73] Ensure there are no S3 buckets open to Everyone or Any AWS user - s3 [Critical]
|
|
|