Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
cs-suite — Cloud Security Suite - AWS/GCP/Azureのインフラストラクチャのセキュリティ態勢を監査するためのオールインワンツール | Kitploit
ツール/GitHubGitHub/securityftw/cs-suite
クラウドインフラストラクチャセキュリティ脆弱性スキャナー構成監査ペネトレーションテストクラウドセキュリティ
GitHubsecurityftw/cs-suite

cs-suite

Cloud Security Suite - AWS/GCP/Azureのインフラストラクチャのセキュリティ態勢を監査するためのオールインワンツール

リポジトリを見る
1.2k2095年前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

Cloud Security Suite (cs-suite) - バージョン 3.0

Usage

root@kitploit:~
usage: cs.py [-h] -env {aws,gcp,azure,digitalocean} -aip AUDIT_IP -u USER_NAME -pem
             PEM_FILE [-p] [-pId PROJECT_ID] [-az_u AZURE_USER]
             [-az_p AZURE_PASS] [-o OUTPUT] [-w] [-n NUMBER]

this is to get IP address for lynis audit only

optional arguments:
  -h, --help            show this help message and exit
  -env {aws,gcp,azure,digitalocean}, --environment {aws,gcp,azure,digitalocean}
                        The cloud on which the test-suite is to be run
  -aip AUDIT_IP, --audit_ip AUDIT_IP
                        The IP for which lynis Audit needs to be done .... by
                        default tries root/Administrator if username not
                        provided
  -u USER_NAME, --user_name USER_NAME
                        The username of the user to be logged in,for a
                        specific user
  -pem PEM_FILE, --pem_file PEM_FILE
                        The pem file to access to AWS instance
  -p, --password        hidden password prompt
  -pId PROJECT_ID, --project_id PROJECT_ID
                        Project ID for which GCP Audit needs to be run. Can be
                        retrivied using `gcloud projects list`
  -az_u AZURE_USER, --azure_user AZURE_USER
                        username of azure account, optionally used if you want
                        to run the azure audit with no user interaction.
  -az_p AZURE_PASS, --azure_pass AZURE_PASS
                        username of azure password, optionally used if you
                        want to run the azure audit with no user interaction.
  -o OUTPUT, --output OUTPUT
                        writes a log in JSON of an audit, ideal for
                        consumptions into SIEMS like ELK and Splunk. Defaults
                        to cs-audit.log
  -w, --wipe            rm -rf reports/ folder before executing an audit
  -n, --number          Retain number of report to store for a particular 
                        environment and user/project.

必要条件

  • 対応OS OSX または Linux のみ
  • python 2.7
  • pip
  • git
  • jq
  • gcc(sshpassインストール(OS監査)用。必須ではありません)
  • AWS監査 - AWS読み取り専用キー
  • GCP監査 - gcloudのセットアップ
  • Azure監査 - Azureユーザーの読み取り専用アクセス
  • DigitalOcean監査 - DigitalOcean APIキーとSPACESアクセスキー、アクセスシークレット

インストール

(既存のPythonライブラリとの競合を避けるため)

  • プロジェクトを取得 git clone https://github.com/SecurityFTW/cs-suite.git && cd cs-suite/
  • virtualenv をインストール pip install virtualenv
  • Python 2.7のローカル環境を作成 virtualenv -p python2.7 venv
  • 仮想環境を有効化 source venv/bin/activate
  • プロジェクトの依存関係をインストール pip install -r requirements.txt
  • ツールを実行 python cs.py --help

AWS設定

  • AWSで、少なくとも次のポリシーを持つIAMユーザーを作成 arn:aws:iam::aws:policy/ReadOnlyAccess
  • ローカルに aws cliをインストール brew install awscli OSXの場合
  • AWS CLIを設定 aws configure

GCP設定

  • GCPでプロジェクトを作成
  • Cloud Resource Manager API を有効化
  • サービスアカウント を作成し、そのキーJSONをダウンロードして cs-suite/tools/G-Scout/keyfile.json に配置
  • Google Cloud SDK をインストール
  • Google Cloud SDKを設定 gcloud init

Azure設定

  • azure.microsoft.com にサインアップし、既にログインしていること
  • Azure CLIをインストール brew install az
  • Azure CLIを認証 az login。成功すると、以下のような応答が表示され、サブスクリプションの種類が確認できます。
root@kitploit:~
[
  {
    "cloudName": "AzureCloud",
    "id": "xxxxx-5595-4da5-bc27-xxxeeee",
    "isDefault": true,
    "name": "Free Trial",
    "state": "Enabled",
    "tenantId": "xxxxx-18e9-41a4-961b-xxxxx",
    "user": {
      "name": "[email protected]",
      "type": "user"
    }
  }
]

DigitalOcean設定

  • cloud.digitalocean.com で個人アクセストークンとSpacesアクセスキーを作成
  • 以下のexportコマンドを実行して認証情報を設定
root@kitploit:~
export DO_KEY=*********************

export DO_ACCESS_KEY=*******************

export DO_SECRET_KEY=****************************

cs-suiteの実行

root@kitploit:~
To run AWS Audit - python cs.py -env aws
To run GCP Audit - python cs.py -env gcp -pId <project_name>
To run Azure Audit - python cs.py -env azure
To run DigitalOcean Audit - python cs.py -env digitalocean
  • 最終レポートは reports ディレクトリに保存されます

  • 最終のAWS監査レポートは以下のようになります:

AWS監査レポート

  • 最終のGCP監査レポートは以下のようになります:

GCP監査レポート

Dockerセットアップ

  • ローカルディレクトリ aws を作成し、その中に credentials ファイルと config ファイルを配置

  • config ファイルは以下のようになります

root@kitploit:~
$ cat aws/config

[default]
output = json
region = us-east-1
  • credentials ファイルは以下のようになります
root@kitploit:~
$ cat aws/credentials

[default]
aws_access_key_id = XXXXXXXXXXXXXXX
aws_secret_access_key = XXXXXXXXXXXXXXXXXXXXXXXXX

注意: このツールは arn:aws:iam::aws:policy/ReadOnlyAccess IAMポリシーが必要です

  • 次に、以下のdockerコマンドを実行して開始します(特定の環境を指定)
root@kitploit:~
docker run -v `pwd`/aws:/root/.aws -v `pwd`/reports:/app/reports securityftw/cs-suite -env aws

ドキュメント

https://securityftw.github.io

謝辞

  • Scout2 - https://github.com/nccgroup/Scout2
  • Prowler - https://github.com/Alfresco/prowler
  • Lunar - https://github.com/lateralblast/lunar
  • Lynis - https://github.com/CISOfy/lynis
  • G-Scout - https://github.com/nccgroup/G-Scout
  • @alanrenouf - https://github.com/alanrenouf/Windows-Workstation-and-Server-Audit
  • Ranjeet Sengar - https://github.com/sengar23
ツールをダウンロード