본문으로 건너뛰기
Skillpedia
보안35k · #8101

implementing-privileged-session-monitoring

하는 일

이 도구는 특별한 접근 권한을 가진 사용자(관리자 등)의 세션을 기록하고 모니터링하는 시스템을 설정하도록 돕습니다. 이 세션 중 수행된 모든 작업이 보안과 감사를 위해 기록되도록 합니다.

사용하는 경우

  • ✓중요한 시스템에 대한 관리자 접근을 설정할 때.
  • ✓보안 규칙을 따랐다는 것을 증명해야 할 때.
  • ✓보안 사고 후 의심스러운 활동을 조사하는 경우.

스킬 링크

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-privileged-session-monitoring/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“운영 서버의 모든 관리자 세션을 기록하도록 모니터링을 설정해 주세요.”

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

작동 방식

이 시스템은 특별한 접근을 중간 서버로 보내고, 그 서버가 화면과 명령을 기록합니다. 이 기록은 나중에 검토할 수 있도록 안전하게 보관됩니다.

기술 내용 (원본 SKILL.md)

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

Implementing Privileged Session Monitoring

When to Use

  • Deploying or configuring session recording for all privileged access to critical servers and databases
  • Meeting compliance requirements (PCI-DSS 10.2, SOX, HIPAA, ISO 27001) that mandate privileged activity monitoring
  • Investigating an incident where an administrator or third-party vendor may have performed unauthorized actions
  • Implementing real-time alerting for high-risk commands executed during privileged sessions
  • Establishing a forensic audit trail of all administrative actions on production infrastructure

Do not use for monitoring standard user sessions or endpoint activity; use EDR/UBA solutions for general user behavior monitoring. Privileged session monitoring focuses specifically on elevated-access sessions.

Prerequisites

  • CyberArk PAM Self-Hosted or Privilege Cloud deployment with Digital Vault configured
  • CyberArk Privileged Session Manager (PSM) or PSM for SSH (PSMP) installed on a hardened Windows/Linux jump server
  • Network architecture where all privileged access is routed through the PSM proxy (no direct RDP/SSH to targets)
  • PVWA (Password Vault Web Access) deployed and accessible for session review
  • Active Directory integration for authenticating PAM users
  • Sufficient storage for session recordings (estimate: 50-250 KB per minute for RDP, 5-20 KB per minute for SSH)
  • Alternatively for open-source: Teleport, Apache Guacamole with session recording, or script/ttyrec for Linux

Workflow

Step 1: Architecture — Route All Privileged Access Through PSM

Ensure no direct privileged access bypasses the recording proxy:

Architecture Overview:

  Admin User ──> PVWA (Web Portal) ──> PSM (Jump Server) ──> Target Server
       │                                     │                     │
       │         Credentials never           │   Session is        │
       │         exposed to admin            │   recorded and      │
       │                                     │   stored in Vault   │
       └── MFA + AD Auth ──────────────────> │                     │
                                              └── RDP/SSH proxy ──>│

Network Controls:
- Firewall: DENY direct RDP (3389) and SSH (22) to target servers from user networks
- Firewall: ALLOW RDP/SSH to target servers ONLY from PSM server IPs
- Firewall: ALLOW PVWA access (443) from admin user networks
- PSM server: Hardened, no internet access, local admin access restricted

Step 2: Configure PSM Connection Components

Define how PSM connects to target systems. In the PVWA administration console:

PVWA > Administration > Configuration > Connection Components

For Windows RDP targets:
  Connection Component: PSM-RDP
  Protocol: RDP
  Client Application: mstsc.exe
  Recording Settings:
    Record Sessions: Yes
    Recording Format: AVI (video) + Keystrokes (text)
    Record Windows Titles: Yes

For Linux SSH targets:
  Connection Component: PSM-SSH
  Protocol: SSH
  Client Application: PSM-SecureCRT or PSM-Putty
  Recording Settings:
    Record Sessions: Yes
    Recording Format: AVI + Text commands
    Record Unix Commands: Yes

For Database targets (SQL Server Management Studio):
  Connection Component: PSM-SSMS
  Protocol: Custom
  Client Application: SSMS.exe
  Recording Settings:
    Record Sessions: Yes
    Record SQL Queries: Yes (via keystroke logging)

Step 3: Configure Session Recording Policies

Define recording rules based on risk level and compliance requirements:

PVWA > Administration > Platform Management > [Platform] > Session Management

Session Recording Settings:
  Enable Session Recording: Yes
  Recording Type: Record and Save (not just Monitor)

  Keystroke Logging:
    Enable Transcript: Yes
    Enable Window Events: Yes

  Storage:
    Recordings Storage Location: Vault (encrypted, tamper-proof)
    Retention Period: 90 days (adjust per compliance requirement)

    PCI-DSS:  Retain for 1 year, available for 3 months
    SOX:      Retain for 7 years
    HIPAA:    Retain for 6 years

  Compression:
    Enable Recording Compression: Yes
    Compression Level: Medium (balance storage vs. quality)

For granular control, configure per-safe recording policies:

Safe: Production-Servers-Admin
  Record all sessions: Yes

Safe: Development-Servers
  Record all sessions: No (optional for non-production)

Safe: Third-Party-Vendor-Access
  Record all sessions: Yes
  Enable real-time monitoring: Yes

…
자주 묻는 질문

‘특권 세션’이란 무엇인가요?

시스템 관리자처럼 높은 권한을 가진 사용자가 컴퓨터나 네트워크에 중요한 변경을 할 수 있는 세션입니다.

이 세션을 왜 기록하나요?

누가, 언제, 어떤 시스템에서 무엇을 했는지 명확히 기록해, 부정, 실수를 막고 보안 사고를 조사하는 데 도움을 주기 위해서입니다.

일반 사용자를 모니터링하는 데 사용할 수 있나요?

아니요, 이 도구는 특별한 권한을 가진 사용자에 특화되어 있습니다. 일반 사용자에게는 다른 행동 모니터링 도구가 있습니다.

상세 정보

작성자의 원본 설명

Implements privileged session monitoring and recording using PAM solutions, focusing on CyberArk Privileged Session Manager (PSM) and open-source alternatives, covering session recording configuration, keystroke logging, real-time monitoring, risk-based session analysis, and compliance audit trail generation. Use when configuring CyberArk PSM, recording administrator sessions, or building complian

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

GitHub 스타
35k
순위
#8101
라이선스
Apache-2.0
업데이트
2026. 8. 31.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬