Skip to content
KitploitKITPLOIT
HerramientasBlog
Enviar
HerramientasBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

··Feeds·Contacto·Privacidad·© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
Loading categories
cs-suite — Cloud Security Suite - Herramienta integral para auditar la postura de seguridad de la infraestructura de AWS/GCP/Azure. | Kitploit
Herramientas/GitHubGitHub/securityftw/cs-suite
Seguridad de Infraestructura en la NubeEscáneres de VulnerabilidadesAuditoría de ConfiguraciónPruebas de PenetraciónSeguridad en la Nube
GitHubsecurityftw/cs-suite

cs-suite

Cloud Security Suite - Herramienta integral para auditar la postura de seguridad de la infraestructura de AWS/GCP/Azure.

Ver Repositorio
1.2k2093hace 5 añosRevisado por Kitploit

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →
Compartir

Cloud Security Suite (cs-suite) - Versión 3.0

Uso

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.

Requisitos

  • Sistema operativo OSX o Linux solamente
  • python 2.7
  • pip
  • git
  • jq
  • gcc (para la instalación de sshpass (Auditoría de SO). No es un requisito previo obligatorio)
  • Auditoría AWS - Claves de solo lectura de AWS
  • Auditoría GCP - configuración de gcloud
  • Auditoría Azure - acceso de solo lectura de usuario de Azure
  • Auditoría DigitalOcean - clave API de DigitalOcean y access_key y access_secret de Spaces

Instalación

(para evitar interferencias con las bibliotecas de python ya instaladas)

  • Obtén el proyecto git clone https://github.com/SecurityFTW/cs-suite.git && cd cs-suite/
  • instala virtualenv pip install virtualenv
  • crea un entorno local de python 2.7 virtualenv -p python2.7 venv
  • activa el entorno virtual source venv/bin/activate
  • instala las dependencias del proyecto pip install -r requirements.txt
  • ejecuta la herramienta mediante python cs.py --help

Configuración de AWS

  • En AWS, crea un usuario IAM con al menos la siguiente política arn:aws:iam::aws:policy/ReadOnlyAccess
  • En tu máquina local, instala la CLI de AWS brew install awscli para OSX
  • Configura la CLI de AWS aws configure

Configuración de GCP

  • crea un proyecto en GCP
  • habilita la API de Cloud Resource Manager
  • crea una cuenta de servicio, descarga su archivo JSON de clave y colócalo en cs-suite/tools/G-Scout/keyfile.json)
  • Instala el SDK de Google Cloud
  • configura el SDK de Google Cloud gcloud init

Configuración de Azure

  • regístrate e inicia sesión en azure.microsoft.com
  • instala la CLI de Azure brew install az
  • autentica la CLI de Azure con az login, deberías ver tu tipo de suscripción si fue exitoso, de manera similar a la respuesta a continuación:
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"
    }
  }
]

Configuración de DigitalOcean

  • crea tokens de acceso personal y claves de acceso de Spaces en cloud.digitalocean.com
  • establece las credenciales ejecutando export

export DO_KEY=*********************

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

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

Ejecución de 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
  • El informe final estará disponible en el directorio reports

  • El informe final de auditoría de AWS se ve así:

AWS Audit report

  • El informe final de auditoría de GCP se ve así:

GCP Audit report

Configuración de Docker

  • Crea un directorio local aws con los archivos credentials y config

  • El archivo config se ve así:

root@kitploit:~
$ cat aws/config

[default]
output = json
region = us-east-1
  • El archivo credentials se ve así:
root@kitploit:~
$ cat aws/credentials

[default]
aws_access_key_id = XXXXXXXXXXXXXXX
aws_secret_access_key = XXXXXXXXXXXXXXXXXXXXXXXXX

Nota: Esta herramienta requiere la política IAM arn:aws:iam::aws:policy/ReadOnlyAccess

  • Luego ejecuta el siguiente comando de docker para iniciar (indicando tu entorno específico)
root@kitploit:~
docker run -v `pwd`/aws:/root/.aws -v `pwd`/reports:/app/reports securityftw/cs-suite -env aws

Documentación

https://securityftw.github.io

Agradecimientos

  • 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
Descargar herramienta