본문으로 건너뛰기
Skillpedia
보안48k · #4135

cis-benchmarks

하는 일

이 도구는 컴퓨터 시스템이 CIS의 권장 보안 규칙을 따르는지 확인하는 데 도움을 줍니다. 문제를 찾고 고치도록 도와 시스템을 더 안전하게 만듭니다.

사용하는 경우

  • ✓시스템이 공격에 안전한지 확인할 때.
  • ✓새 서버를 설정할 때 모범 사례를 따르도록 하고 싶을 때.
  • ✓법률이나 규정이 요구하는 보안 기준을 충족해야 할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cis-benchmarks/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cis-benchmarks/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 Linux 서버를 CIS 보안 규칙과 비교해 점검해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 OpenSCAP, Lynis, InSpec, kube-bench 같은 다른 프로그램을 사용해 시스템을 분석합니다. 현재 설정을 보안 규칙과 비교하고, 고쳐야 할 부분을 보여 주는 보고서를 만듭니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

CIS Benchmarks

Assess a selected benchmark/version against explicitly authorized systems. Scanner output is partial evidence, not certification; verify applicability, documented exceptions and operational impact before remediation.

When to Use This Skill

Use this skill when:

  • Assessing security compliance
  • Implementing security baselines
  • Meeting regulatory requirements
  • Hardening systems to standards

Assessment Tools

OpenSCAP

# Install
apt install openscap-scanner scap-security-guide

# Confirm installed content matches the actual OS and required benchmark/version.
SCAP_FILE="<approved-installed-datastream.xml>"
oscap info "$SCAP_FILE"
PROFILE_ID="<exact-CIS-profile-listed-by-oscap-info>"
# Run the selected assessment only after scope and report-location approval.
oscap xccdf eval \
  --profile "$PROFILE_ID" \
  --results results.xml \
  --report report.html \
  "$SCAP_FILE"

Lynis

# Install
apt install lynis

# Run audit
lynis audit system

# Generate report
lynis audit system --report-file "$PRIVATE_AUDIT_DIR/lynis-report.dat"

InSpec

# cis-profile/controls/ssh.rb
control 'cis-ssh-1' do
  impact 1.0
  title 'Ensure SSH root login is disabled'
  
  describe sshd_config do
    its('PermitRootLogin') { should eq 'no' }
  end
end

control 'cis-ssh-2' do
  impact 0.7
  title 'Ensure SSH password authentication is disabled'
  
  describe sshd_config do
    its('PasswordAuthentication') { should eq 'no' }
  end
end
# Run InSpec
inspec exec cis-profile -t ssh://user@target

Kubernetes CIS

# kube-bench
docker run --rm -v /etc:/etc:ro -v /var:/var:ro \
  aquasec/kube-bench@sha256:<reviewed-image-digest> run --targets node

# Check specific sections
kube-bench --help
# Select role/sections supported by the reviewed version and actual cluster; do not assume master is a current target name.

Remediation Workflow

workflow:
  1_scan:
    - Run automated assessment
    - Generate baseline report
    
  2_analyze:
    - Review findings
    - Identify false positives
    - Prioritize by risk
    
  3_remediate:
    - Apply fixes
    - Document exceptions
    - Verify changes
    
  4_validate:
    - Re-run assessment
    - Confirm remediation
    - Generate compliance report

Best Practices

  • Baseline before hardening
  • Document exceptions
  • Automate assessments
  • Track compliance over time
  • Regular re-assessment
  • Version control configurations

Related Skills

  • linux-hardening (linux-hardening) - Linux security
  • vulnerability-scanning (vulnerability-scanning) - Security scanning

Limitations

  • An OpenSCAP/Lynis assessment may require privileges and read sensitive host configuration; approve the exact host, profile, privileges, private outputs and limits first. Do not enable auto-remediation or mount all host paths without reviewing necessity. A generic Lynis audit is not a complete CIS benchmark.
  • Benchmark/profile identifiers and installed SCAP content vary; use OpenSCAP’s documented info/eval flow. Test changes and preserve rollback/access before hardening production.
  • Docs-only import: upstream scripts and templates not bundled.

Example

# Read-only first: inventory before any active step.
command -v oscap
oscap --version

Adapted from BagelHole/DevOps-Security-Agent-Skills (MIT); frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance. Docs-only import: helper scripts and templates not bundled.

자주 묻는 질문

‘CIS 벤치마크’란 무엇인가요?

전문가들이 권장하는 보안 규칙과 설정의 모음입니다. 시스템과 네트워크를 위협으로부터 보호하기 위해 사용됩니다.

이 도구가 문제를 자동으로 고치나요?

도구는 문제를 찾아내는 데 도움을 줍니다. 문제를 고치는 일은 보통 직접 하거나 다른 도구를 사용해, 보고서의 권장 사항에 따라 해야 합니다.

사용하려면 기술 지식이 필요한가요?

보안 설정을 분석하고 다른 프로그램을 설치해야 할 수도 있으므로, 어느 정도의 기술 지식이 있으면 좋습니다.

상세 정보

작성자의 원본 설명

Audit and remediate CIS benchmark violations.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4135
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬