Data Exfiltration: flag snapshot, export and batch secret-read actions
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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).
- Lingua principale
- JavaScript
- Stelle
- 2.3k
- Fork
- 224
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di salesforce/cloudsplaining
-
include-actions in exclusions file has no effect on Data Exfiltration finding categoryForse già presa @nitrocode l’ha presa 105 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
salesforce/cloudsplaining#624 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
salesforce/cloudsplaining#585 ·
-
Proposal: Implement Automated Logic Ingestion for IAM Privilege Escalation via Pathfinding.cloudAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
salesforce/cloudsplaining#537 · 1 commento · 1 reazione ·
-
Native lambda versionAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
salesforce/cloudsplaining#386 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
salesforce/cloudsplaining#324 ·
Tutte le issue di salesforce/cloudsplaining
Issue simili
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount dueForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
verified whatsapp
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 6 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno