[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AFB8FEB4Q5HYB9B7129W2D":3,"skill-same:01M6AFB8FEB4Q5HYB9B7129W2D":113},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":72,"commitSha":73,"skillDirectory":74,"forksCount":75,"repositoryHtmlUrl":76,"repositoryHomepageUrl":77,"ownerHtmlUrl":78,"ownerBlogUrl":79,"ownerDescription":80,"updatedAt":81,"install":82,"resources":95},"01M6AFB8FEB4Q5HYB9B7129W2D","implementing-privileged-session-monitoring","特权会话监控与录制","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 compliance audit trails for privileged access.","使用 PAM 解决方案实现特权会话监控与录制，聚焦 CyberArk 特权会话管理器（PSM）及开源替代方案，涵盖会话录制配置、键盘记录、实时监控、基于风险的会话分析和合规审计跟踪生成。适用于配置 CyberArk PSM、录制管理员会话或为特权访问构建合规审计跟踪。","mukul975\u002FAnthropic-Cybersecurity-Skills","mukul975","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42860185?v=4","01M6ADEQR8T5M4EEG6C67BQCWF","Mahipal","01M6ADJPMYWG1E5GM1FWBE3128",36146,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-privileged-session-monitoring\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTFDX7M21YT75733H52N36","身份与访问管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"implementing privileged session monitoring","monitoring","real-time","session-monitoring","session-recording","privileged-session","PSM","cyberark","risk-based","PAM","t1098","cybersecurity","risk","t1078","compliance","audit","logging","pr","identity","sessions","2026-11-10 10:12:30",false,"---\nname: implementing-privileged-session-monitoring\ndescription: 'Implements privileged session monitoring and recording using PAM\n  solutions, focusing on CyberArk Privileged Session Manager (PSM) and open-source\n  alternatives, covering session recording configuration, keystroke logging, real-time\n  monitoring, risk-based session analysis, and compliance audit trail generation.\n  Use when configuring CyberArk PSM, recording administrator sessions, or building\n  compliance audit trails for privileged access.\n\n  '\ndomain: cybersecurity\nsubdomain: identity-access-management\ntags:\n- PAM\n- CyberArk\n- PSM\n- privileged-session\n- session-recording\n- session-monitoring\n- compliance\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.AA-01\n- PR.AA-02\n- PR.AA-05\n- PR.AA-06\nmitre_attack:\n- T1078\n- T1110\n- T1556\n- T1098\n---\n\n# Implementing Privileged Session Monitoring\n\n## When to Use\n\n- Deploying or configuring session recording for all privileged access to critical servers and databases\n- Meeting compliance requirements (PCI-DSS 10.2, SOX, HIPAA, ISO 27001) that mandate privileged activity monitoring\n- Investigating an incident where an administrator or third-party vendor may have performed unauthorized actions\n- Implementing real-time alerting for high-risk commands executed during privileged sessions\n- Establishing a forensic audit trail of all administrative actions on production infrastructure\n\n**Do not use** for monitoring standard user sessions or endpoint activity; use EDR\u002FUBA solutions for general user behavior monitoring. Privileged session monitoring focuses specifically on elevated-access sessions.\n\n## Prerequisites\n\n- CyberArk PAM Self-Hosted or Privilege Cloud deployment with Digital Vault configured\n- CyberArk Privileged Session Manager (PSM) or PSM for SSH (PSMP) installed on a hardened Windows\u002FLinux jump server\n- Network architecture where all privileged access is routed through the PSM proxy (no direct RDP\u002FSSH to targets)\n- PVWA (Password Vault Web Access) deployed and accessible for session review\n- Active Directory integration for authenticating PAM users\n- Sufficient storage for session recordings (estimate: 50-250 KB per minute for RDP, 5-20 KB per minute for SSH)\n- Alternatively for open-source: Teleport, Apache Guacamole with session recording, or `script`\u002F`ttyrec` for Linux\n\n## Workflow\n\n### Step 1: Architecture — Route All Privileged Access Through PSM\n\nEnsure no direct privileged access bypasses the recording proxy:\n\n```\nArchitecture Overview:\n\n  Admin User ──> PVWA (Web Portal) ──> PSM (Jump Server) ──> Target Server\n       │                                     │                     │\n       │         Credentials never           │   Session is        │\n       │         exposed to admin            │   recorded and      │\n       │                                     │   stored in Vault   │\n       └── MFA + AD Auth ──────────────────> │                     │\n                                              └── RDP\u002FSSH proxy ──>│\n\nNetwork Controls:\n- Firewall: DENY direct RDP (3389) and SSH (22) to target servers from user networks\n- Firewall: ALLOW RDP\u002FSSH to target servers ONLY from PSM server IPs\n- Firewall: ALLOW PVWA access (443) from admin user networks\n- PSM server: Hardened, no internet access, local admin access restricted\n```\n\n### Step 2: Configure PSM Connection Components\n\nDefine how PSM connects to target systems. In the PVWA administration console:\n\n```\nPVWA > Administration > Configuration > Connection Components\n\nFor Windows RDP targets:\n  Connection Component: PSM-RDP\n  Protocol: RDP\n  Client Application: mstsc.exe\n  Recording Settings:\n    Record Sessions: Yes\n    Recording Format: AVI (video) + Keystrokes (text)\n    Record Windows Titles: Yes\n\nFor Linux SSH targets:\n  Connection Component: PSM-SSH\n  Protocol: SSH\n  Client Application: PSM-SecureCRT or PSM-Putty\n  Recording Settings:\n    Record Sessions: Yes\n    Recording Format: AVI + Text commands\n    Record Unix Commands: Yes\n\nFor Database targets (SQL Server Management Studio):\n  Connection Component: PSM-SSMS\n  Protocol: Custom\n  Client Application: SSMS.exe\n  Recording Settings:\n    Record Sessions: Yes\n    Record SQL Queries: Yes (via keystroke logging)\n```\n\n### Step 3: Configure Session Recording Policies\n\nDefine recording rules based on risk level and compliance requirements:\n\n```\nPVWA > Administration > Platform Management > [Platform] > Session Management\n\nSession Recording Settings:\n  Enable Session Recording: Yes\n  Recording Type: Record and Save (not just Monitor)\n\n  Keystroke Logging:\n    Enable Transcript: Yes\n    Enable Window Events: Yes\n\n  Storage:\n    Recordings Storage Location: Vault (encrypted, tamper-proof)\n    Retention Period: 90 days (adjust per compliance requirement)\n\n    PCI-DSS:  Retain for 1 year, available for 3 months\n    SOX:      Retain for 7 years\n    HIPAA:    Retain for 6 years\n\n  Compression:\n    Enable Recording Compression: Yes\n    Compression Level: Medium (balance storage vs. quality)\n```\n\nFor granular control, configure per-safe recording policies:\n\n```\nSafe: Production-Servers-Admin\n  Record all sessions: Yes\n\nSafe: Development-Servers\n  Record all sessions: No (optional for non-production)\n\nSafe: Third-Party-Vendor-Access\n  Record all sessions: Yes\n  Enable real-time monitoring: Yes\n  Require dual authorization: Yes\n```\n\n### Step 4: Enable Real-Time Session Monitoring\n\nConfigure live session monitoring for SOC analysts:\n\n```\nPVWA > Monitoring > Privileged Session Monitoring\n\nLive Monitoring Dashboard:\n  - Active Sessions: Shows all current privileged sessions in real-time\n  - Session Details: User, target, duration, risk score\n  - Actions Available:\n    - Watch: View the session in real-time (read-only)\n    - Suspend: Temporarily freeze the session\n    - Terminate: Immediately end the session\n\nConfigure monitoring alerts in CyberArk Privileged Threat Analytics (PTA):\n\nPTA > Configuration > Security Events\n\nRule: High-Risk Command Detected\n  Trigger: Unix command matches pattern\n  Patterns:\n    - rm -rf \u002F\n    - chmod 777\n    - iptables -F\n    - useradd\n    - passwd root\n    - dd if=\u002Fdev\u002F\n    - wget http* | sh\n    - curl * | bash\n    - nc -e \u002Fbin\u002Fsh\n    - python -c 'import socket,subprocess'\n  Action: Alert SOC + Flag session as high-risk\n\nRule: Credential Access Attempt\n  Trigger: Windows process matches\n  Patterns:\n    - mimikatz.exe\n    - procdump.exe targeting lsass\n    - ntdsutil.exe\n    - secretsdump\n  Action: Terminate session + Alert SOC + Lock account\n\nRule: Unusual Session Duration\n  Trigger: Session duration exceeds 4 hours\n  Action: Alert SOC for review\n```\n\n### Step 5: Configure Session Review Workflow\n\nSet up the post-session review process for auditors:\n\n```\nPVWA > Recordings > Search and Review\n\nSearch Filters:\n  - Date range\n  - Target server\n  - User who initiated the session\n  - Safe name\n  - Session risk score (from PTA)\n  - Session duration\n\nReview Workflow:\n  1. Auditor opens recorded session in PVWA HTML5 player\n  2. Video playback with timeline scrubbing\n  3. Keystroke transcript displayed alongside video\n  4. Window title log shows which applications were opened\n  5. Risk events are highlighted on the timeline with markers\n  6. Auditor marks session as: Reviewed-OK, Reviewed-Suspicious, or Requires-Investigation\n\nFast-Forward Features:\n  - Jump to keystrokes (skip idle time)\n  - Jump to risk events (flagged by PTA)\n  - Text search within keystroke transcript\n  - Filter by window title changes\n```\n\n### Step 6: Open-Source Alternative — Teleport for Session Recording\n\nFor environments without CyberArk, Teleport provides session recording for SSH, RDP, and Kubernetes:\n\n```yaml\n# \u002Fetc\u002Fteleport.yaml - Session recording configuration\nteleport:\n  nodename: teleport-proxy.corp.internal\n  data_dir: \u002Fvar\u002Flib\u002Fteleport\n\nauth_service:\n  enabled: yes\n  session_recording: \"node-sync\"  # Record at the node level, sync to auth server\n\n  # Session recording storage (S3 for production)\n  audit_sessions_uri: \"s3:\u002F\u002Fteleport-session-recordings\u002Fsessions?region=us-east-1\"\n\n  # Enhanced session recording (captures commands even in nested shells)\n  enhanced_recording:\n    enabled: true\n    command_events: true\n    network_events: true\n    disk_events: true\n\nssh_service:\n  enabled: yes\n  enhanced_recording:\n    enabled: true\n\nproxy_service:\n  enabled: yes\n  web_listen_addr: 0.0.0.0:443\n```\n\nQuery recorded sessions with `tsh`:\n\n```bash\n# List recorded sessions\ntsh recordings ls --from=2026-03-15 --to=2026-03-19\n\n# Play back a specific session\ntsh play \u003Csession-id>\n\n# Export session events as JSON (for SIEM ingestion)\ntsh recordings export \u003Csession-id> --format=json > session_events.json\n\n# Search for sessions containing specific commands\ntsh recordings ls --query='command == \"rm -rf\"'\n```\n\n### Step 7: Forward Session Metadata to SIEM\n\nSend session events and alerts to the SIEM for correlation with other security data:\n\n```\nCyberArk PTA Integration:\n  SIEM Connector: Syslog (CEF format) or REST API\n  Target: Splunk, Microsoft Sentinel, QRadar, or Elastic\n\nEvents Forwarded:\n  - Session start\u002Fstop with user, target, and duration\n  - High-risk command detection alerts\n  - Session termination events\n  - Failed connection attempts\n  - Dual-authorization requests and approvals\u002Fdenials\n\nSyslog Configuration (PTA):\n  PTA > Configuration > SIEM Integration\n  Protocol: TCP + TLS\n  Destination: siem.corp.internal:6514\n  Format: CEF (Common Event Format)\n\nExample CEF Event:\n  CEF:0|CyberArk|PTA|12.6|HighRiskCommand|High Risk Command Detected|8|\n  src=10.1.5.42 suser=admin1 dhost=prod-db-01 cs1=rm -rf \u002Fvar\u002Flog\n  cs2=PSM-SSH cs3=Production-Servers-Admin\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **PSM (Privileged Session Manager)** | CyberArk component that acts as a proxy\u002Fjump server, recording all privileged sessions in video and text format |\n| **PSMP (PSM for SSH Proxy)** | Linux-based PSM proxy specifically for SSH, SCP, and SFTP sessions |\n| **Connection Component** | CyberArk configuration that defines how PSM launches client applications (RDP, SSH, SSMS) to connect to target systems |\n| **Privileged Threat Analytics (PTA)** | CyberArk module that applies behavioral analytics and risk scoring to recorded sessions to detect anomalous activity |\n| **Dual Authorization** | Security control requiring two authorized users to approve a privileged session before it is established |\n| **Session Isolation** | Architecture principle where administrators never directly connect to targets; all access is proxied through the PAM system |\n| **Keystroke Transcript** | Text log of all keystrokes typed during a recorded session, searchable for audit and forensic purposes |\n| **Vaulting** | Storing privileged credentials in an encrypted digital vault so they are never exposed to the end user |\n\n## Verification\n\n- [ ] All privileged access to production targets routes through PSM (direct RDP\u002FSSH is blocked by firewall)\n- [ ] Session recordings are being stored in the Vault with encryption and tamper protection\n- [ ] Keystroke transcripts are captured and searchable for SSH and RDP sessions\n- [ ] PTA rules trigger alerts for high-risk commands (test with a benign trigger pattern)\n- [ ] Real-time monitoring dashboard shows active sessions with correct metadata\n- [ ] Session recordings play back correctly in PVWA HTML5 player with timeline and transcript\n- [ ] Storage estimates are validated and retention policies match compliance requirements\n- [ ] Dual authorization is enforced for vendor and high-risk target access\n- [ ] Session metadata and alerts are forwarding to SIEM and correlating correctly\n- [ ] Auditors can search, review, and annotate sessions through the PVWA interface\n- [ ] Terminated sessions leave a complete recording up to the point of termination\n","# Implementing Privileged Session Monitoring\n\n## When to Use\n\n- Deploying or configuring session recording for all privileged access to critical servers and databases\n- Meeting compliance requirements (PCI-DSS 10.2, SOX, HIPAA, ISO 27001) that mandate privileged activity monitoring\n- Investigating an incident where an administrator or third-party vendor may have performed unauthorized actions\n- Implementing real-time alerting for high-risk commands executed during privileged sessions\n- Establishing a forensic audit trail of all administrative actions on production infrastructure\n\n**Do not use** for monitoring standard user sessions or endpoint activity; use EDR\u002FUBA solutions for general user behavior monitoring. Privileged session monitoring focuses specifically on elevated-access sessions.\n\n## Prerequisites\n\n- CyberArk PAM Self-Hosted or Privilege Cloud deployment with Digital Vault configured\n- CyberArk Privileged Session Manager (PSM) or PSM for SSH (PSMP) installed on a hardened Windows\u002FLinux jump server\n- Network architecture where all privileged access is routed through the PSM proxy (no direct RDP\u002FSSH to targets)\n- PVWA (Password Vault Web Access) deployed and accessible for session review\n- Active Directory integration for authenticating PAM users\n- Sufficient storage for session recordings (estimate: 50-250 KB per minute for RDP, 5-20 KB per minute for SSH)\n- Alternatively for open-source: Teleport, Apache Guacamole with session recording, or `script`\u002F`ttyrec` for Linux\n\n## Workflow\n\n### Step 1: Architecture — Route All Privileged Access Through PSM\n\nEnsure no direct privileged access bypasses the recording proxy:\n\n```\nArchitecture Overview:\n\n  Admin User ──> PVWA (Web Portal) ──> PSM (Jump Server) ──> Target Server\n       │                                     │                     │\n       │         Credentials never           │   Session is        │\n       │         exposed to admin            │   recorded and      │\n       │                                     │   stored in Vault   │\n       └── MFA + AD Auth ──────────────────> │                     │\n                                              └── RDP\u002FSSH proxy ──>│\n\nNetwork Controls:\n- Firewall: DENY direct RDP (3389) and SSH (22) to target servers from user networks\n- Firewall: ALLOW RDP\u002FSSH to target servers ONLY from PSM server IPs\n- Firewall: ALLOW PVWA access (443) from admin user networks\n- PSM server: Hardened, no internet access, local admin access restricted\n```\n\n### Step 2: Configure PSM Connection Components\n\nDefine how PSM connects to target systems. In the PVWA administration console:\n\n```\nPVWA > Administration > Configuration > Connection Components\n\nFor Windows RDP targets:\n  Connection Component: PSM-RDP\n  Protocol: RDP\n  Client Application: mstsc.exe\n  Recording Settings:\n    Record Sessions: Yes\n    Recording Format: AVI (video) + Keystrokes (text)\n    Record Windows Titles: Yes\n\nFor Linux SSH targets:\n  Connection Component: PSM-SSH\n  Protocol: SSH\n  Client Application: PSM-SecureCRT or PSM-Putty\n  Recording Settings:\n    Record Sessions: Yes\n    Recording Format: AVI + Text commands\n    Record Unix Commands: Yes\n\nFor Database targets (SQL Server Management Studio):\n  Connection Component: PSM-SSMS\n  Protocol: Custom\n  Client Application: SSMS.exe\n  Recording Settings:\n    Record Sessions: Yes\n    Record SQL Queries: Yes (via keystroke logging)\n```\n\n### Step 3: Configure Session Recording Policies\n\nDefine recording rules based on risk level and compliance requirements:\n\n```\nPVWA > Administration > Platform Management > [Platform] > Session Management\n\nSession Recording Settings:\n  Enable Session Recording: Yes\n  Recording Type: Record and Save (not just Monitor)\n\n  Keystroke Logging:\n    Enable Transcript: Yes\n    Enable Window Events: Yes\n\n  Storage:\n    Recordings Storage Location: Vault (encrypted, tamper-proof)\n    Retention Period: 90 days (adjust per compliance requirement)\n\n    PCI-DSS:  Retain for 1 year, available for 3 months\n    SOX:      Retain for 7 years\n    HIPAA:    Retain for 6 years\n\n  Compression:\n    Enable Recording Compression: Yes\n    Compression Level: Medium (balance storage vs. quality)\n```\n\nFor granular control, configure per-safe recording policies:\n\n```\nSafe: Production-Servers-Admin\n  Record all sessions: Yes\n\nSafe: Development-Servers\n  Record all sessions: No (optional for non-production)\n\nSafe: Third-Party-Vendor-Access\n  Record all sessions: Yes\n  Enable real-time monitoring: Yes\n  Require dual authorization: Yes\n```\n\n### Step 4: Enable Real-Time Session Monitoring\n\nConfigure live session monitoring for SOC analysts:\n\n```\nPVWA > Monitoring > Privileged Session Monitoring\n\nLive Monitoring Dashboard:\n  - Active Sessions: Shows all current privileged sessions in real-time\n  - Session Details: User, target, duration, risk score\n  - Actions Available:\n    - Watch: View the session in real-time (read-only)\n    - Suspend: Temporarily freeze the session\n    - Terminate: Immediately end the session\n\nConfigure monitoring alerts in CyberArk Privileged Threat Analytics (PTA):\n\nPTA > Configuration > Security Events\n\nRule: High-Risk Command Detected\n  Trigger: Unix command matches pattern\n  Patterns:\n    - rm -rf \u002F\n    - chmod 777\n    - iptables -F\n    - useradd\n    - passwd root\n    - dd if=\u002Fdev\u002F\n    - wget http* | sh\n    - curl * | bash\n    - nc -e \u002Fbin\u002Fsh\n    - python -c 'import socket,subprocess'\n  Action: Alert SOC + Flag session as high-risk\n\nRule: Credential Access Attempt\n  Trigger: Windows process matches\n  Patterns:\n    - mimikatz.exe\n    - procdump.exe targeting lsass\n    - ntdsutil.exe\n    - secretsdump\n  Action: Terminate session + Alert SOC + Lock account\n\nRule: Unusual Session Duration\n  Trigger: Session duration exceeds 4 hours\n  Action: Alert SOC for review\n```\n\n### Step 5: Configure Session Review Workflow\n\nSet up the post-session review process for auditors:\n\n```\nPVWA > Recordings > Search and Review\n\nSearch Filters:\n  - Date range\n  - Target server\n  - User who initiated the session\n  - Safe name\n  - Session risk score (from PTA)\n  - Session duration\n\nReview Workflow:\n  1. Auditor opens recorded session in PVWA HTML5 player\n  2. Video playback with timeline scrubbing\n  3. Keystroke transcript displayed alongside video\n  4. Window title log shows which applications were opened\n  5. Risk events are highlighted on the timeline with markers\n  6. Auditor marks session as: Reviewed-OK, Reviewed-Suspicious, or Requires-Investigation\n\nFast-Forward Features:\n  - Jump to keystrokes (skip idle time)\n  - Jump to risk events (flagged by PTA)\n  - Text search within keystroke transcript\n  - Filter by window title changes\n```\n\n### Step 6: Open-Source Alternative — Teleport for Session Recording\n\nFor environments without CyberArk, Teleport provides session recording for SSH, RDP, and Kubernetes:\n\n```yaml\n# \u002Fetc\u002Fteleport.yaml - Session recording configuration\nteleport:\n  nodename: teleport-proxy.corp.internal\n  data_dir: \u002Fvar\u002Flib\u002Fteleport\n\nauth_service:\n  enabled: yes\n  session_recording: \"node-sync\"  # Record at the node level, sync to auth server\n\n  # Session recording storage (S3 for production)\n  audit_sessions_uri: \"s3:\u002F\u002Fteleport-session-recordings\u002Fsessions?region=us-east-1\"\n\n  # Enhanced session recording (captures commands even in nested shells)\n  enhanced_recording:\n    enabled: true\n    command_events: true\n    network_events: true\n    disk_events: true\n\nssh_service:\n  enabled: yes\n  enhanced_recording:\n    enabled: true\n\nproxy_service:\n  enabled: yes\n  web_listen_addr: 0.0.0.0:443\n```\n\nQuery recorded sessions with `tsh`:\n\n```bash\n# List recorded sessions\ntsh recordings ls --from=2026-03-15 --to=2026-03-19\n\n# Play back a specific session\ntsh play \u003Csession-id>\n\n# Export session events as JSON (for SIEM ingestion)\ntsh recordings export \u003Csession-id> --format=json > session_events.json\n\n# Search for sessions containing specific commands\ntsh recordings ls --query='command == \"rm -rf\"'\n```\n\n### Step 7: Forward Session Metadata to SIEM\n\nSend session events and alerts to the SIEM for correlation with other security data:\n\n```\nCyberArk PTA Integration:\n  SIEM Connector: Syslog (CEF format) or REST API\n  Target: Splunk, Microsoft Sentinel, QRadar, or Elastic\n\nEvents Forwarded:\n  - Session start\u002Fstop with user, target, and duration\n  - High-risk command detection alerts\n  - Session termination events\n  - Failed connection attempts\n  - Dual-authorization requests and approvals\u002Fdenials\n\nSyslog Configuration (PTA):\n  PTA > Configuration > SIEM Integration\n  Protocol: TCP + TLS\n  Destination: siem.corp.internal:6514\n  Format: CEF (Common Event Format)\n\nExample CEF Event:\n  CEF:0|CyberArk|PTA|12.6|HighRiskCommand|High Risk Command Detected|8|\n  src=10.1.5.42 suser=admin1 dhost=prod-db-01 cs1=rm -rf \u002Fvar\u002Flog\n  cs2=PSM-SSH cs3=Production-Servers-Admin\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **PSM (Privileged Session Manager)** | CyberArk component that acts as a proxy\u002Fjump server, recording all privileged sessions in video and text format |\n| **PSMP (PSM for SSH Proxy)** | Linux-based PSM proxy specifically for SSH, SCP, and SFTP sessions |\n| **Connection Component** | CyberArk configuration that defines how PSM launches client applications (RDP, SSH, SSMS) to connect to target systems |\n| **Privileged Threat Analytics (PTA)** | CyberArk module that applies behavioral analytics and risk scoring to recorded sessions to detect anomalous activity |\n| **Dual Authorization** | Security control requiring two authorized users to approve a privileged session before it is established |\n| **Session Isolation** | Architecture principle where administrators never directly connect to targets; all access is proxied through the PAM system |\n| **Keystroke Transcript** | Text log of all keystrokes typed during a recorded session, searchable for audit and forensic purposes |\n| **Vaulting** | Storing privileged credentials in an encrypted digital vault so they are never exposed to the end user |\n\n## Verification\n\n- [ ] All privileged access to production targets routes through PSM (direct RDP\u002FSSH is blocked by firewall)\n- [ ] Session recordings are being stored in the Vault with encryption and tamper protection\n- [ ] Keystroke transcripts are captured and searchable for SSH and RDP sessions\n- [ ] PTA rules trigger alerts for high-risk commands (test with a benign trigger pattern)\n- [ ] Real-time monitoring dashboard shows active sessions with correct metadata\n- [ ] Session recordings play back correctly in PVWA HTML5 player with timeline and transcript\n- [ ] Storage estimates are validated and retention policies match compliance requirements\n- [ ] Dual authorization is enforced for vendor and high-risk target access\n- [ ] Session metadata and alerts are forwarding to SIEM and correlating correctly\n- [ ] Auditors can search, review, and annotate sessions through the PVWA interface\n- [ ] Terminated sessions leave a complete recording up to the point of termination\n",{"name":5,"tags":56,"author":58,"domain":42,"license":16,"version":59,"nist_csf":60,"subdomain":65,"description":66,"mitre_attack":67},[40,57,37,36,35,34,45],"CyberArk","mahipal","1.0.0",[61,62,63,64],"PR.AA-01","PR.AA-02","PR.AA-05","PR.AA-06","identity-access-management","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 compliance audit trails for privileged access.\n",[68,69,70,71],"T1078","T1110","T1556","T1098","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Fimplementing-privileged-session-monitoring",4425,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","https:\u002F\u002Fmahipal.engineer\u002FAnthropic-Cybersecurity-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fmukul975","Mahipal.engineer","🔐 Cybersecurity | 💻 Dev | 📷 Street Photographer\r\n🎓 MSc | 📚 Research & AI Security","2026-08-31 12:32:44",{"source":9,"skillName":5,"commands":83,"prompt":93,"zipAvailable":94},[84,87,90],{"tool":85,"command":86},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill implementing-privileged-session-monitoring",{"tool":88,"command":89},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill implementing-privileged-session-monitoring",{"tool":91,"command":92},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill implementing-privileged-session-monitoring","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-privileged-session-monitoring\u002FSKILL.md",true,[96,101,107],{"path":97,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":99,"sourceHtmlUrl":100},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-privileged-session-monitoring\u002FLICENSE",{"path":102,"resourceType":103,"resourceTypeDesc":104,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fapi-reference.md","REFERENCE","参考文档",2069,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-privileged-session-monitoring\u002Freferences\u002Fapi-reference.md",{"path":108,"resourceType":109,"resourceTypeDesc":110,"sizeBytes":111,"sourceHtmlUrl":112},"scripts\u002Fagent.py","SCRIPT","脚本",8215,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-privileged-session-monitoring\u002Fscripts\u002Fagent.py",[114,144,173,203,234,265],{"skillNo":115,"name":116,"nameZh":117,"description":118,"descriptionZh":119,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":120,"categories":121,"keywords":126,"publishedAt":51},"01M6AGDM3HJXTKXX15ZZ0ZVCJ3","verifying-build-provenance-with-slsa-sigstore","SLSA 构建来源验证","Verifies artifact signatures and SLSA provenance using Sigstore's cosign (verify, verify-attestation, verify-blob-attestation) and slsa-verifier (verify-artifact), enforcing keyless OIDC builder identity and source repo against SLSA Build levels. Use in CI\u002FCD before deploying artifacts, when consuming third-party attestations, establishing a SLSA Build L3 pipeline, or confirming provenance during incident response or admission control.","使用 Sigstore 的 cosign（verify、verify-attestation、verify-blob-attestation）和 slsa-verifier（verify-artifact）验证工件签名和 SLSA 来源（provenance），强制校验 keyless OIDC 构建者身份和源仓库是否符合 SLSA Build 级别。适用于 CI\u002FCD 中部署工件前、消费第三方证明时、建立 SLSA Build L3 管道，或在事件响应或准入控制期间确认来源的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fverifying-build-provenance-with-slsa-sigstore\u002FSKILL.md",[122,123],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":124,"categoryName":125,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C32Q37WAMK06SGMFC02VFP","软件供应链安全",[127,128,129,130,131,42,132,49,48,133,134,135,136,137,138,139,140,141,142,143],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","security","incident response","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":145,"name":146,"nameZh":147,"description":148,"descriptionZh":149,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":150,"categories":151,"keywords":156,"publishedAt":51},"01M6AGDGBPWYVZ2F11GFKJ4HZ9","validating-tpm-measured-boot-attestation","TPM 测量启动验证","Verifies TPM 2.0 measured-boot integrity and remote attestation with tpm2-tools -- reading PCRs (tpm2_pcrread), replaying the boot event log, generating and checking signed quotes (tpm2_quote\u002Ftpm2_checkquote), and sealing secrets to a PCR policy. Use to confirm a system booted trusted firmware\u002Fkernel for Zero Trust device posture, detect boot-chain tampering via PCR drift, or build a golden-value baseline for fleet attestation.","使用 tpm2-tools 验证 TPM 2.0 测量启动（measured boot）的完整性和远程证明：读取 PCR（tpm2_pcrread）、重放启动事件日志、生成并检查签名报价（tpm2_quote\u002Ftpm2_checkquote），以及将机密封印（seal）到 PCR 策略。适用于确认系统已启动可信固件\u002F内核以实现零信任（Zero Trust）设备状态、通过 PCR 漂移检测启动链篡改，或构建黄金值基线用于机群（fleet）证明。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-tpm-measured-boot-attestation\u002FSKILL.md",[152,153],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":154,"categoryName":155,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89JJEXGGRGHS6XVXDA46K","终端安全加固",[157,140,158,159,131,160,42,48,161,162,163,164,165,166,167,168,169,170,171,172],"boot","TPM","validating tpm measured boot attestation","policy","verification","ZeRO","firmware","Tools","measured-boot","PCR","integrity","secrets","remote-attestation","tpm2-tools","integrity-verification","trusted-computing",{"skillNo":174,"name":175,"nameZh":176,"description":177,"descriptionZh":178,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":179,"categories":180,"keywords":187,"publishedAt":51},"01M6AGDCW0Y4FXZ3362GT1941M","validating-backup-integrity-for-recovery","备份完整性验证","Validates backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to confirm backups are reliable for disaster recovery and ransomware response. Use before relying on backups for recovery, when building post-backup validation pipelines, auditing backup infrastructure for compliance, or checking immutable\u002Fair-gapped backups for silent corruption or tampering.","通过加密哈希验证、自动化恢复测试、损坏检测和可恢复性检查来验证备份完整性，确认备份对于灾难恢复和勒索软件响应是可靠的。适用于在依赖备份进行恢复之前、构建备份后验证管道、审计备份基础设施以满足合规要求，或检查不可变\u002Fair-gapped（气隙）备份是否存在静默损坏或篡改的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[181,184],{"categoryNo":182,"categoryName":183,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":185,"categoryName":186,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复",[167,188,189,190,191,42,192,193,161,45,194,195,196,197,198,44,199,200,201,202],"backup","recovery","validating backup integrity for recovery","testing","infrastructure","validation","hash-verification","incident-response","ransomware","cryptocurrency","detection","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":204,"name":205,"nameZh":206,"description":207,"descriptionZh":208,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":209,"categories":210,"keywords":215,"publishedAt":51},"01M6AGD9GBG2KZ336AE763J3WH","triaging-windows-with-kape","KAPE Windows 取证收集","Runs KAPE (Kroll Artifact Parser and Extractor) to collect targeted forensic artifacts (registry hives, $MFT, event logs, prefetch, browser data) via Targets and parse them with Modules wrapping Eric Zimmerman's EZ Tools (PECmd, MFTECmd, RECmd). Use during early incident containment\u002Ftriage when full disk imaging is impractical but a defensible, parseable Windows artifact set is needed quickly, including at-scale remote collection.","运行 KAPE（Kroll Artifact Parser and Extractor），通过 Targets 收集目标取证工件（注册表配置单元、$MFT、事件日志、prefetch、浏览器数据），并使用封装 Eric Zimmerman 的 EZ Tools（PECmd、MFTECmd、RECmd）的 Modules 进行解析。适用于事件遏制\u002F分诊早期阶段——此时完整磁盘镜像不切实际，但需要快速获得可采信、可解析的 Windows 工件集，包括大规模远程收集。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-windows-with-kape\u002FSKILL.md",[211,212],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":213,"categoryName":214,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析",[216,217,218,42,219,220,221,222,223,224,225,226,227,228,229,230,164,231,232,233],"windows","kape","triaging windows with kape","registry","browser","logs","windows-forensics","dfir","mft","mftecmd","data","prefetch","eric-zimmerman","digital-forensics","SET","collection","pecmd","artifact-collection",{"skillNo":235,"name":236,"nameZh":237,"description":238,"descriptionZh":239,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":240,"categories":241,"keywords":246,"publishedAt":51},"01M6AGD5PW5J4EVZM958WD74ZQ","triaging-vulnerabilities-with-ssvc-framework","SSVC 漏洞优先级分诊","Triages and prioritizes vulnerabilities with CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree, weighing exploitation status (via the CISA KEV catalog and FIRST EPSS API), technical impact, automatability, and mission prevalence to output Track\u002FTrack*\u002FAttend\u002FAct decisions. Use when prioritizing vulnerability scan results (OpenVAS, Nessus, Qualys) for remediation planning beyond raw CVSS scores.","使用 CISA 的 Stakeholder-Specific Vulnerability Categorization（SSVC，利益相关方特定漏洞分类）决策树对漏洞进行分诊和优先级排序，权衡利用状态（通过 CISA KEV 目录和 FIRST EPSS API）、技术影响、自动化程度和任务普遍性，输出 Track\u002FTrack*\u002FAttend\u002FAct 决策。适用于对漏洞扫描结果（OpenVAS、Nessus、Qualys）进行优先级排序以制定修复计划，而不局限于原始 CVSS 分数的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[242,245],{"categoryNo":243,"categoryName":244,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[247,248,249,42,250,251,252,253,254,255,256,257,258,259,43,260,261,262,263,264],"vulnerabilities","framework","triaging vulnerabilities with ssvc framework","status","planning","CISA","vulnerability-management","risk-management","nessus","qualys","openvas","cvss","remediation","vulnerability","api","prioritization","ssvc","decision-tree",{"skillNo":266,"name":267,"nameZh":268,"description":269,"descriptionZh":270,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":271,"categories":272,"keywords":277,"publishedAt":51},"01M6AGD24TTQQM4CXG69E3B9TJ","triaging-security-incident","安全事件初步分诊","Performs initial triage of security incidents using the NIST SP 800-61r3 and SANS PICERL frameworks, classifying incident type, assigning priority by business impact, and routing to the appropriate response team. Use when a SIEM\u002FEDR alert needs human classification, concurrent alerts must be prioritized, or a user report or threat-intel IOC match requires initial incident categorization.","使用 NIST SP 800-61r3 和 SANS PICERL 框架对安全事件进行初步分诊，分类事件类型、按业务影响分配优先级，并路由到相应的响应团队。适用于 SIEM\u002FEDR 告警需要人工分类、并发告警必须确定优先级，或用户报告或威胁情报 IOC 匹配需要初步事件分类的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-security-incident\u002FSKILL.md",[273,274],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":275,"categoryName":276,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎",[131,278,42,279,280,281,282,283,284,285,286,44,287,199,288,289,290,291,292,293],"triaging security incident","siem","file","ioc","soc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]