Data Exfiltration: flag snapshot, export and batch secret-read actions
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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).
- Ngôn ngữ chính
- JavaScript
- Star
- 2.3k
- Fork
- 224
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của salesforce/cloudsplaining
-
include-actions in exclusions file has no effect on Data Exfiltration finding categoryCó thể đã có người làm @nitrocode đã nhận 105 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 64/100
salesforce/cloudsplaining#624 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
salesforce/cloudsplaining#585 ·
-
Proposal: Implement Automated Logic Ingestion for IAM Privilege Escalation via Pathfinding.cloudĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
salesforce/cloudsplaining#537 · 1 bình luận · 1 reaction ·
-
Native lambda versionĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
salesforce/cloudsplaining#386 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
salesforce/cloudsplaining#324 ·
Tất cả issue của salesforce/cloudsplaining
Issue tương tự
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount dueCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
verified whatsapp
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 6 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày