Перейти к содержанию
Skillpedia
Безопасность35k · #8101

implementing-privileged-session-monitoring

Что он делает

Этот инструмент помогает настроить систему записи и мониторинга сеансов пользователей с особыми правами (администраторов и других). Всё, что делается во время таких сеансов, фиксируется в журнале для целей безопасности и аудита.

Когда использовать

  • ✓Когда вы настраиваете административный доступ к важным системам.
  • ✓Когда нужно подтвердить, что правила безопасности соблюдались.
  • ✓Когда нужно расследовать подозрительные действия после инцидента безопасности.

Ссылка на скилл

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

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-privileged-session-monitoring/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Настрой мониторинг, который записывает все административные сеансы на производственных серверах.”

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
Обновлён
31.08.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы