Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-aws-storage-4-8명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
macOS post-exploitation for credential harvesting, DTrace monitoring, TCC bypass, and stealth operations via native tools
Windows userland post-exploitation for credential harvesting, monitoring, AMSI/ETW bypass, and stealth operations
Kubernetes post-exploitation for container escape, secret extraction, RBAC abuse, and cluster persistence
SOC 직업 분류 기준
SKILL.md 표시 중
| name | cis-aws-storage-4.8 |
| description | Ensure exporting cache to S3 |
| category | cis-storage-services |
| version | 1.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","storage","fsx","s3","data-export","backup","level-2"] |
| cis_id | 4.8 |
| cis_benchmark | CIS AWS Storage Services Benchmark v1.0.0 |
| tech_stack | ["aws","linux"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-storage-4.3","cis-aws-storage-4.7","cis-aws-storage-5.1"] |
| prerequisites | ["cis-aws-storage-4.3","cis-aws-storage-4.7"] |
| severity_boost | {} |
The S3 bucket we created earlier will store the files generated at this mount point.
The rationale behind using the S3 bucket to store files generated at the mount point is to ensure scalable, durable, and cost-effective storage for your data. By exporting files to S3, you benefit from its high availability and robust data management features, which enhances data security and accessibility. This approach also optimizes storage resource utilization and simplifies data backup and retrieval processes.
Without exporting cache data to S3, files created in the cache mount point will not be persisted to durable storage. This can result in data loss when the cache is deleted or during cache failures, as FSx File Cache is designed as a temporary high-performance layer, not long-term storage.
ssh -i "{KEY.pem}" ubuntu@{your-ec2-instance}
ls -la /mnt
# Use AWS CLI to list objects in the S3 bucket
aws s3 ls s3://<bucket-name>/<prefix>/ --recursive
# Check for specific test files
aws s3 ls s3://<bucket-name>/<prefix>/efx.txt
Files created in the FSx cache mount point should be automatically exported to the S3 bucket through the Data Repository Association. The S3 bucket should contain the files with proper metadata and timestamps.
We can export the files that were created to the S3 bucket using the following steps:
efx.txt
sudo lsm_hsm_archive efx.txt
ls -la /mnt
# Verify file creation in mount point (run on EC2 instance)
ls -la /mnt/efx.txt
# Check S3 bucket for the exported file (can run from anywhere with AWS credentials)
aws s3 ls s3://<bucket-name>/<prefix>/efx.txt
# Verify file content matches
aws s3 cp s3://<bucket-name>/<prefix>/efx.txt -
# List all files in the S3 bucket prefix
aws s3 ls s3://<bucket-name>/<prefix>/ --recursive --human-readable
Ensure Data Repository Association is properly configured for automatic export:
# Verify DRA configuration
aws fsx describe-data-repository-associations \
--filters Name=file-cache-id,Values=<cache-id> \
--query 'Associations[0].[FileCachePath,DataRepositoryPath,DataRepositorySubdirectories]'
By default, FSx File Cache does not automatically export files to S3 without proper Data Repository Association configuration. The lsm_hsm_archive command or automatic export policies must be used to persist data to S3.
This control supports data backup and recovery best practices but does not map to specific CIS Controls.
Level 2