Data Exfiltration: flag snapshot, export and batch secret-read actions
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start by reading cloudsplaining/shared/constants.py, especially READ_ONLY_DATA_EXFILTRATION_ACTIONS and the DataExfiltration risk definition. Review the related issues #272 and #624, then decide how write-level snapshot and export actions should be represented alongside secret and parameter reads. Done means the selected design flags the listed actions in the Data Exfiltration assessment.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The Data Exfiltration finding flags five actions (READ_ONLY_DATA_EXFILTRATION_ACTIONS in
cloudsplaining/shared/constants.py): s3:GetObject, ssm:GetParameter, ssm:GetParameters,
ssm:GetParametersByPath and secretsmanager:GetSecretValue.
The DataExfiltration risk definition in the same file also says rds:CopyDBSnapshot and
rds:CreateDBSnapshot "can be used to exfiltrate RDS database contents", but neither is in the list,
so a policy that allows them on * is not flagged.
Proposed additions
Secret and parameter reads (the same shape as the existing entries):
| Action | Why |
|---|---|
secretsmanager:BatchGetSecretValue |
Returns the values of up to 20 secrets in one call. |
ssm:GetParameterHistory |
Returns a parameter's past values, decrypted when WithDecryption is set. |
Snapshot, copy and export. Each puts a full copy of a data store where it can be shared with
another account or downloaded:
| Action | Why |
|---|---|
rds:CreateDBSnapshot, rds:CopyDBSnapshot |
Already named in the risk definition. |
rds:CreateDBClusterSnapshot, rds:CopyDBClusterSnapshot |
The Aurora cluster equivalents. |
rds:StartExportTask |
Exports a DB or cluster snapshot to S3. |
ec2:CreateSnapshot, ec2:CreateSnapshots, ec2:CopySnapshot |
EBS volume snapshots and copies. |
ec2:CreateInstanceExportTask |
Exports an instance's disks to S3. |
ec2:ExportImage |
Exports an AMI to S3. |
dynamodb:ExportTableToPointInTime |
Exports a whole table to S3. |
Design question
These are Write-level actions, so they don't fit a list named READ_ONLY_…. Two options:
- A second list, reported under the same Data Exfiltration finding.
- A separate finding type for "copies data out of its store".
Related: #272 (more read actions, closed) and #624 (include-actions doesn't reach the Data
Exfiltration check).
- Lenguaje dominante
- JavaScript
- Estrellas
- 2.3k
- Forks
- 224
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de salesforce/cloudsplaining
-
include-actions in exclusions file has no effect on Data Exfiltration finding categoryPosiblemente ocupada @nitrocode la tomó hace 105 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 64/100
salesforce/cloudsplaining#624 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
salesforce/cloudsplaining#585 ·
-
Proposal: Implement Automated Logic Ingestion for IAM Privilege Escalation via Pathfinding.cloudAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
salesforce/cloudsplaining#537 · 1 comentario · 1 reacción ·
-
Native lambda versionAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
salesforce/cloudsplaining#386 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
salesforce/cloudsplaining#324 ·
Todos los issues de salesforce/cloudsplaining
Issues similares
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount duePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
verified whatsapp
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 6 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día