Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
HuntCyberArk — CyberArk Security Audit | Kitploit
Tools/GitHubGitHub/logisek/huntcyberark
Vulnerability ScannersAPI Security TestingConfiguration AuditingWeb SecurityNetwork SecurityPenetration TestingCloud SecurityIdentity & Access Management (IAM)AuthenticationRed Teaming
GitHublogisek/huntcyberark
2366 months agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

HuntCyberArk

CyberArk Security Audit

View Repository

HuntCyberArk - CyberArk Security Audit Suite

A comprehensive PowerShell-based security assessment tool for CyberArk Privileged Access Management (PAM) platforms. Designed for offensive security professionals, red teamers, and penetration testers.

This tool is designed to run REMOTELY against CyberArk servers via network. It does NOT need to be executed on the CyberArk servers themselves. All checks are performed over the network using PVWA API, port scanning, and web testing.

This tool performs security checks including CIS Benchmark compliance, vendor best practices, blackbox testing, network security analysis, CVE-specific vulnerability checks (including 2025 CVEs), machine identity security, secrets management, zero standing privileges (ZSP) assessment, identity governance, and enhanced security checks.

Key Features

FeatureDescription
Remote AuditingAll checks performed remotely via network - no need to install on CyberArk servers
OPSEC ModeStealth scanning with configurable delays, jitter, and reduced detection footprint
Proxy SupportRoute all traffic through Burp Suite, ZAP, or other intercepting proxies
Timing AttacksDetect user enumeration and blind injection via response timing analysis
JWT SecurityTest for none algorithm bypass, key confusion, weak signing algorithms
WebSocket TestingDiscover real-time endpoints and test for Cross-Site WebSocket Hijacking
WAF EvasionTest encoding bypasses, HTTP Parameter Pollution, request smuggling
User-Agent RotationRandomized or custom User-Agent strings to evade fingerprinting
Parallel ExecutionOptional parallel execution for faster scans
Quiet ModeReduced console output for automation and scripting
Credential SecuritySecure handling with memory cleanup after use
Comprehensive ReportingHTML dashboard, 7 CSV files, and structured JSON for programmatic use
PoC EvidenceRequest/Response proof-of-concept included in HTML report for penetration testing
Selective ExecutionRun only specific check categories (portscan, CVE, blackbox, authenticated, network)
False Positive ReductionBaseline fingerprinting to eliminate SPA catch-all false positives
Identity Auth TestingStartAuthentication/ForgotUsername info disclosure and enumeration checks

Table of Contents

  • Prerequisites
  • Installation
  • Audit Phases & Authentication Requirements
  • Features
  • Usage
  • Parameters
  • Output
    • HTML Report
    • CSV Reports
    • JSON Report
    • Risk Scoring
  • Security Considerations
  • Known Vulnerable CyberArk Versions
  • Troubleshooting
  • References

Prerequisites

System Requirements

Required Access

Audit PhaseAccess Required
Phase 1 (Unauthenticated)Network access to PVWA (HTTPS/443)
Phase 2 (Authenticated)CyberArk API credentials with Vault Admin or Auditor role

Network Requirements

  • Outbound HTTPS (TCP/443) access to the PVWA server
  • For comprehensive port scanning: access to ports 1858, 1859, 3389, 5985, 5986
  • DNS resolution for the target PVWA hostname

Installation

No External Tools Required

This script is fully self-contained and uses only native PowerShell and .NET Framework capabilities. No additional tools or modules need to be installed.

The script leverages:

  • Native .NET Classes: System.Net.Sockets.TcpClient, System.Net.Security.SslStream for network and TLS analysis
  • Built-in Cmdlets: Invoke-WebRequest, Invoke-RestMethod for HTTP/API testing
  • X.509 Certificates: System.Security.Cryptography.X509Certificates for certificate analysis

Step 1: Verify PowerShell Version

Open PowerShell and run:

root@kitploit:~
$PSVersionTable.PSVersion

Ensure the Major version is 7 or higher. If not, download PowerShell 7.x.

Note: This script requires PowerShell 7.0 or later. Windows PowerShell 5.1 is not supported.

Step 2: Download the Script

Option A: Clone the repository (recommended)

root@kitploit:~
git clone https://github.com/Logisek/HuntCyberArk.git
cd HuntCyberArk

Option B: Download directly

root@kitploit:~
# Download to current directory
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/Logisek/HuntCyberArk/main/CyberArk-Security-Audit.ps1" -OutFile "CyberArk-Security-Audit.ps1"

Step 3: Set Execution Policy (if needed)

If you encounter script execution errors, temporarily allow script execution:

root@kitploit:~
# Check current policy
Get-ExecutionPolicy

# Set for current session only (recommended)
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process

# Or unblock the downloaded script
Unblock-File -Path .\CyberArk-Security-Audit.ps1

Step 4: Verify SSL/TLS Configuration

For proper TLS testing, ensure your PowerShell session supports TLS 1.2+:

root@kitploit:~
# Enable TLS 1.2 (recommended to add to your profile)
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Step 5: Test Connectivity

Verify you can reach the PVWA server:

root@kitploit:~
# Test basic connectivity
Test-NetConnection -ComputerName pvwa.domain.com -Port 443

# Test HTTPS endpoint
Invoke-WebRequest -Uri "https://pvwa.domain.com/PasswordVault/" -UseBasicParsing -TimeoutSec 10

Optional: Install PowerShell 7 (Recommended)

PowerShell 7 provides improved performance and better TLS support:

root@kitploit:~
# Windows (winget)
winget install Microsoft.PowerShell

# Windows (manual)
# Download from: https://github.com/PowerShell/PowerShell/releases

Audit Phases & Authentication Requirements

The audit runs in two phases, each with different authentication requirements:

Phase 1: Unauthenticated Checks (No credentials required)

External/blackbox testing that can be run without any credentials:

  • Network security (port scanning, vault port exposure)
  • TLS/SSL configuration and certificate analysis
  • Blackbox web security (exposed endpoints, information disclosure)
  • PVWA security headers and cookie security
  • CVE-specific vulnerability testing (including 2025 CVEs)
  • API security testing (unauthenticated endpoints)
  • Component version detection
  • Timing attack detection
  • JWT/OAuth2 security testing
  • WebSocket endpoint discovery
  • WAF evasion testing
  • CyberArk Identity/Privilege Cloud authentication endpoint testing (StartAuthentication, ForgotUsername)

Use Case: Penetration testing, external security assessments, quick reconnaissance

Phase 2: Authenticated Checks (CyberArk API credentials required)

Deep configuration audits requiring CyberArk REST API access:

  • Safe configurations and permissions
  • Account and credential management settings
  • Platform configurations
  • User accounts and vault permissions
  • Authentication method settings
  • Component health status
  • Master Policy, PSM, CPM, PTA configurations
  • Machine Identity Security (service accounts, AppIDs)
  • Secrets Management (CP/CCP configuration)
  • Zero Standing Privileges (JIT access assessment)
  • Identity Governance (orphaned identities, permission drift)
  • Cloud Security (AWS/Azure/GCP integration)
  • Disaster Recovery (DR Vault, HA cluster health)
  • Compliance Mapping (NIST, SOC 2, PCI-DSS)
  • Secrets Hub integration (cloud-native secrets sync)
  • Remote Access / Alero security
  • Kubernetes secrets security
  • DevSecOps pipeline security
  • Privilege Cloud / SaaS-specific checks
  • CyberArk Identity / Idaptive integration
  • Custom plugins security
  • Backup security
  • HSM integration
  • PTA advanced detection
  • Third-party integrations (SIEM, ITSM, SOAR)
  • Operational hygiene metrics
  • Attack path simulation
  • Supply chain integrity
  • Network segmentation

Required Permissions: Vault Admin or Auditor role recommended

Features

Security Check Categories

Detailed Check Coverage

CIS Benchmark Compliance (1.x - 8.x)

  • Dedicated Vault server configuration
  • Firewall rules and service hardening
  • Master Policy password settings
  • Password complexity and expiration
  • Safe access and permissions
  • Automatic password management
  • MFA and LDAP security
  • PSM session recording
  • Audit logging and SIEM integration
  • TLS configuration

Vendor Best Practices (V1.x - V8.x)

  • Master Policy settings (validity period, one-time passwords, exclusive access)
  • PSM recording, keystroke logging, clipboard restrictions
  • Account discovery and onboarding rules
  • PTA anomaly detection
  • Connection component security
  • Linked accounts (logon/reconcile)
  • PVWA HTTP security headers
  • CPM service configuration

Blackbox Security Testing (BB1 - BB11)

  • Exposed sensitive endpoints (Swagger, API docs, admin pages)
  • Information disclosure (version, stack traces)
  • Default credential testing
  • Dangerous HTTP methods (PUT, DELETE, TRACE)
  • Cookie security attributes (Secure, HttpOnly, SameSite)
  • CORS misconfiguration
  • Backup/config file exposure
  • Directory listing
  • SSL/TLS certificate issues
  • Rate limiting detection
  • Known vulnerability patterns

CyberArk Identity / Privilege Cloud Authentication Security (AUTH1 - AUTH2)

  • StartAuthentication Information Disclosure: Detects sensitive data exposure including:
    • Session ID exposure in pre-auth responses
    • User enumeration via authentication challenges (valid vs invalid users)
    • MFA mechanism disclosure (UP, SMS, EMAIL, OATH, QR, etc.)
    • Email/PII disclosure in authentication responses
    • Tenant ID exposure
    • Authentication configuration details
  • ForgotUsername Endpoint Enumeration: Tests for username enumeration via password recovery:
    • Feature availability detection
    • Differential response analysis for valid vs invalid users

Network Security (NET1 - NET7)

  • Port Scanning: Comprehensive scan of CyberArk-specific ports
    • PVWA (443, 80)
    • Vault (1858, 1859)
    • Administrative (RDP, SSH, WinRM)
    • Database (MSSQL, MySQL, PostgreSQL, Oracle)
    • Protocols (SMB, NetBIOS, LDAP, SNMP)
  • Vault port (1858) security analysis
  • DNS security configuration

TLS/SSL Security (TLS1 - TLS4)

  • Weak protocol detection (SSLv2, SSLv3, TLS 1.0, TLS 1.1)
  • Cipher suite strength analysis
  • Weak cipher detection (RC4, DES, 3DES, MD5, NULL, EXPORT)
  • Certificate validation
  • Key size verification
  • Signature algorithm check

CVE-Specific Vulnerability Checks (CVE1 - CVE23)

  • CVE-2018-9842: Vault memory disclosure via port 1858
  • CVE-2018-9843: PVWA deserialization RCE (pre-auth)
  • CVE-2019-7442: XXE in SAML authentication
  • CVE-2021-31796: Remote credential file exploitation (probes for exposed .cred files, analyzes VerificationsFlag to determine if passwords can be decrypted)
  • CVE-2021-37151: CyberArk Identity username enumeration via MFA response length (Medium) - Detected via StartAuthentication info disclosure check
  • CVE-2022-22700: CyberArk Identity username enumeration via X-CFY-TX-TM timing header (Medium) - Detected via StartAuthentication info disclosure check
  • CWE-200: StartAuthentication endpoint information disclosure (Session ID, MFA mechanisms, Tenant ID, Auth config)
  • CWE-203: ForgotUsername endpoint username enumeration via observable discrepancy
  • CVE-2024-42340: CWE-602 Client-side enforcement bypass
  • CVE-2024-42339: IDOR / Sensitive information disclosure
  • CVE-2024-54840: PVWA Host Header Injection (Medium)
  • CVE-2024-57967: PVWA LDAP Mapping privilege escalation (Medium)
  • CVE-2025-22270: EPM HTML injection in role management
  • CVE-2025-22271: EPM X-Forwarded-For spoofing
  • CVE-2025-22272: EPM XSS via modalDlgMsgInternal
  • CVE-2025-22273: EPM password change brute force
  • CVE-2025-22274: EPM application definition injection
  • CVE-2025-49827: Secrets Manager IAM authenticator bypass (Critical)
  • CVE-2025-49828: Secrets Manager remote code execution (High)
  • CVE-2025-49829: Secrets Manager missing validations (Moderate)
  • CVE-2025-49830: Secrets Manager path traversal and file disclosure (High)
  • CVE-2025-49831: Secrets Manager network bypass (Critical)
  • Security Bulletins: CA25-25, CA25-29, CA25-32, CA25-34, CA25-35
  • Additional checks: Path traversal, Log4Shell indicators, legacy API versions
  • Third-party: ag-grid prototype pollution (CVE-2024-38996), Log4Shell (CVE-2021-44228)

API Security Testing (API1 - API5)

  • BOLA/IDOR: Broken object level authorization
  • Injection Testing: SQL injection, LDAP injection
  • Mass Assignment: Privileged property injection
  • API Versioning: Legacy API endpoint detection

Advanced Security Checks

  • Component version detection and CVE mapping
  • Session security (fixation, concurrent sessions)
  • Header injection (Host header, CRLF)
  • XXE vulnerability testing on SOAP endpoints

Machine Identity Security (MID1 - MID9)

  • Service account enumeration and privilege analysis
  • Machine identity password rotation validation
  • Over-privileged service account detection
  • Certificate-based authentication configuration
  • AppID security validation (allowed machines, OS user restrictions)
  • Stale machine identity detection
  • AIM Provider deployment verification
  • AIM Provider configuration security
  • AIM Provider vault connectivity

Secrets Management (SEC1 - SEC14)

  • Credential Provider (CP/CCP) deployment verification
  • AppID authentication method strength analysis
  • Allowed machines configuration validation
  • Cache TTL and refresh interval settings
  • CCP TLS/mTLS configuration
  • Secret rotation policy enforcement
  • Orphan/unmanaged secrets detection
  • Credential sprawl analysis
  • Conjur integration health
  • MAML policy validation
  • Authenticator configuration (LDAP, OIDC, IAM, K8s)
  • Conjur database encryption
  • API key rotation policy
  • Conjur audit logging

Zero Standing Privileges (ZSP1 - ZSP5)

  • Permanent privileged access detection
  • Dual control workflow validation
  • Concurrent session limit checks
  • Check-in/check-out enforcement
  • Standing privilege reduction recommendations
  • JIT readiness scoring

Identity Governance (IGA1 - IGA8)

  • Orphaned identity detection
  • Permission drift analysis
  • Inactive user account detection
  • Excessive safe membership analysis
  • Access certification status
  • Role/group membership sprawl
  • Pending account queue age
  • Account ownership gap detection

EPM Integration (EPM1 - EPM6)

Requires EPM URL and optional authentication

  • EPM integration status verification
  • Default policy security assessment
  • Application control mode validation
  • Credential theft protection status
  • Elevation request justification requirements
  • EPM audit logging configuration

Cloud Security (CLD1 - CLD6)

  • Cloud provider integration status (AWS, Azure, GCP)
  • Federated identity configuration
  • Cloud secret sync policy validation
  • CIEM integration assessment
  • Cloud IAM role binding analysis
  • Multi-cloud policy consistency

Disaster Recovery (DR1 - DR5)

  • DR Vault replication status
  • HA cluster health verification
  • Component redundancy assessment
  • Backup configuration validation
  • Break-glass account availability

Compliance Mapping (COMP1 - COMP4)

  • NIST Cybersecurity Framework mapping
  • SOC 2 Type II alignment indicators
  • PCI-DSS relevant controls
  • CyberArk Blueprint maturity scoring

Audit Logging (AUD1 - AUD4)

  • SIEM integration health
  • Audit log retention configuration
  • Critical event alerting validation
  • Audit data integrity verification

Active Directory Security (AD1 - AD7) - zBang-inspired

Requires domain connectivity and -IncludeADChecks parameter

  • Shadow Admin Discovery: Detect accounts with direct ACL permissions on privileged objects
  • Skeleton Key Detection: Check for Skeleton Key malware indicators on Domain Controllers
  • SID History Analysis: Identify accounts with privileged SID History attributes
  • Risky SPN Configuration: Find user accounts with SPNs (Kerberoasting targets)
  • Unconstrained Delegation: Discover accounts with unconstrained Kerberos delegation
  • Constrained Delegation with Protocol Transition: Detect S4U2Self abuse potential
  • Delegation Privilege Audit: Comprehensive delegation configuration summary

Secrets Hub (SH1 - SH6)

Requires -IncludeSecretsHubChecks and optionally -SecretsHubUrl

  • Secrets Hub sync health monitoring
  • Sync latency measurement
  • Version drift detection between source and targets
  • Sync failure rate analysis
  • Target configuration validation
  • Secrets Hub audit logging

Remote Access / Alero (RA1 - RA6)

Requires -IncludeRemoteAccessChecks and optionally -AleroUrl

  • Vendor invitation workflow security
  • Session time limits configuration
  • Biometric/device binding requirements
  • Remote access audit log completeness
  • Periodic access review enforcement
  • MFA enforcement for remote access

Kubernetes Secrets (K8S1 - K8S8)

Requires -IncludeK8sChecks and optionally -K8sNamespace, -ConjurApplianceUrl

  • Secrets Provider deployment mode verification
  • Pod security context validation
  • Service Account JWT authentication
  • Kubernetes secrets rotation
  • RBAC configuration for secrets
  • Mounted secret permissions
  • Conjur follower health
  • Kubernetes audit logging

DevSecOps Pipeline (DSO1 - DSO6)

Requires -IncludeDevSecOpsChecks

  • CI/CD secrets retrieval patterns
  • Pipeline secrets sprawl detection
  • Short-lived token usage validation
  • Pipeline audit logging
  • Secrets in build artifacts detection
  • Pipeline identity binding

Privilege Cloud (PC1 - PC5)

Requires -IncludePrivilegeCloudChecks or -PrivilegeCloudTenant or -IsPrivilegeCloud

  • Privilege Cloud connector health
  • Identity Security Platform integration
  • Privilege Cloud API security
  • Tenant isolation validation
  • Cloud connector redundancy

CyberArk Identity (IDN1 - IDN6)

Requires -IncludeIdentityChecks or -IdentityTenantUrl

  • SSO integration with PVWA
  • Adaptive MFA policy configuration
  • Identity lifecycle synchronization
  • Session risk scoring
  • Identity audit integration
  • Privileged application catalog policies

Custom Plugins (PLG1 - PLG5)

Requires -IncludePluginChecks

  • Custom PSM connector security
  • Custom CPM plugin injection risks
  • Unauthorized/outdated component detection
  • Plugin digital signature validation
  • Custom script file permissions

Backup Security (BKP1 - BKP5)

Requires -IncludeBackupSecurityChecks and optionally -BackupPath

  • Vault backup encryption
  • Backup file permissions
  • Backup in-transit encryption
  • Backup restoration testing
  • Backup retention policy

HSM Integration (HSM1 - HSM4)

Requires -IncludeHSMChecks and optionally -HSMProvider

  • HSM connectivity and health
  • HSM key wrapping configuration
  • HSM partition isolation
  • HSM firmware currency

PTA Deep Dive (PTAD1 - PTAD6)

Requires -IncludePTADeepDive

  • PTA custom detection rules
  • PTA ML model quality
  • PTA alert fatigue (false positive analysis)
  • PTA detection rule coverage
  • PTA UEBA integration
  • PTA automated response actions

Third-Party Integration (TPI1 - TPI5)

Requires -IncludeThirdPartyChecks and optionally -ServiceNowUrl, -SIEMUrl

  • ITSM (ServiceNow) integration
  • SOAR automated response playbooks
  • SIEM PAM event correlation
  • SIEM log forwarder health
  • Integration credential health

Operational Hygiene (OPS1 - OPS8)

Requires -IncludeOperationalChecks

  • Account onboarding queue metrics
  • CPM password change failure rates
  • PSM session success/failure ratios
  • CPM reconciliation backlog
  • Platform connection errors
  • Vault utilization and capacity
  • License compliance
  • Component uptime

Attack Path Simulation (APS1 - APS6)

Requires -IncludeAttackPathChecks

  • Workstation to PAM escalation paths
  • Pass-the-Hash attack surface
  • NTLM relay risks
  • Cached credential extraction resilience
  • Kerberoasting exposure
  • Privilege escalation paths

Supply Chain Integrity (SCI1 - SCI5)

Requires -IncludeSupplyChainChecks

  • Component file hash validation
  • Patch currency verification
  • Third-party library vulnerabilities
  • Digital signature validation
  • Component origin verification

Network Segmentation (NSG1 - NSG5)

Requires -IncludeNetworkSegmentationChecks

  • Vault network isolation
  • PSM to Vault communication restrictions
  • PVWA to backend segmentation
  • East-West traffic monitoring
  • Component-specific network ACLs

Requirements

Software Requirements

ComponentVersionNotes
PowerShell7.0+PowerShell 7.x required (Windows PowerShell 5.1 not supported)
.NET Framework4.5+Required for TLS/SSL and network operations
CyberArk PVWA

Access Requirements by Phase

PhaseRequirementPurpose
Phase 1Network access to PVWABlackbox testing, port scanning, TLS analysis
Phase 2CyberArk API credentialsConfiguration audits, policy checks

Credential Requirements for Authenticated Checks

For Phase 2 (Authenticated Checks), you need CyberArk credentials with one of these roles:

  • Vault Admin: Full access to all configuration and security settings
  • Auditor: Read-only access to audit configurations (recommended for security assessments)
  • Safe Owners: Limited to safes they own (partial audit coverage)

Windows Features Used

The script uses these Windows/PowerShell features (no installation required):

FeatureUsed For
System.Net.Sockets.TcpClientPort scanning, Vault port security
System.Net.Security.SslStreamTLS/SSL protocol and cipher enumeration
Invoke-WebRequest / Invoke-RestMethodHTTP testing, API calls

Quick Start

root@kitploit:~
# 1. Verify PowerShell version (need 7.0+)
$PSVersionTable.PSVersion

# 2. Enable TLS 1.2
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

# 3. Run unauthenticated scan (no credentials needed)
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -UnauthenticatedOnly

# 4. Run full scan with authentication
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP

Usage

Unauthenticated Only (Blackbox Testing)

Run external security checks without any credentials:

root@kitploit:~
# No credentials required - great for penetration testing
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -UnauthenticatedOnly

Full Audit with Authentication

root@kitploit:~
# Full audit with LDAP authentication
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP

# Full audit with pre-supplied credentials
$cred = Get-Credential
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -Credential $cred

Skip Specific Check Types

root@kitploit:~
# Skip port scanning (faster execution)
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -SkipPortScan

# Skip authenticated checks (only blackbox)
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -SkipAuthenticatedChecks

# Skip CVE checks
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -SkipCVEChecks

# Skip multiple check categories
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" `
    -SkipSecretsChecks `
    -SkipMachineIdentity `
    -SkipIGAChecks `
    -SkipCloudChecks

Run ONLY Specific Check Categories

Use -Only* parameters to run specific check categories exclusively:

root@kitploit:~
# Run ONLY port scanning
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -OnlyPortScan

# Run ONLY CVE vulnerability checks
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -OnlyCVEChecks

# Run ONLY network security checks (ports, TLS, DNS)
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -OnlyNetworkChecks

# Run ONLY unauthenticated blackbox checks
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -OnlyBlackboxChecks

# Run ONLY authenticated API checks
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -OnlyAuthenticatedChecks -Credential $cred

Full Options Example

root@kitploit:~
.\CyberArk-Security-Audit.ps1 `
    -PVWA "https://pvwa.domain.com" `
    -AuthType LDAP `
    -OutputPath "C:\Reports" `
    -Credential $cred `
    -SkipPortScan `
    -SkipCVEChecks `
    -SkipAPITests `
    -PortScanTimeout 2000 `
    -VerboseOutput

# Full audit with compliance mapping
.\CyberArk-Security-Audit.ps1 `
    -PVWA "https://pvwa.domain.com" `
    -AuthType LDAP `
    -OutputPath "C:\Reports" `
    -ComplianceMapping `
    -IncludeEPMChecks `
    -EPMUrl "https://epm.domain.com"

Common Scenarios

root@kitploit:~
# External penetration test (no access, no credentials)
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -UnauthenticatedOnly

# Internal security audit (with CyberArk credentials)
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP

# Quick check (skip intensive scans)
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -SkipPortScan -SkipCVEChecks

# Fast parallel port scanning (4.5x faster on PowerShell 7+)
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -ParallelExecution -MaxThreads 10

Red Team Scenarios

root@kitploit:~
# OPSEC Mode - Stealth scanning for red team operations
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -OPSECMode -UnauthenticatedOnly

# Route traffic through Burp Suite proxy
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -Proxy "http://127.0.0.1:8080" -IgnoreCertificateErrors

# Advanced timing attack detection
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -IncludeTimingAttacks -UnauthenticatedOnly

# Full JWT/OAuth2 security testing
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -IncludeJWTTests

# WebSocket endpoint discovery and CSWSH testing
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -IncludeWebSocketTests

# WAF evasion testing (encoding bypasses, HPP, smuggling)
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -IncludeWAFEvasion

# Custom timing with jitter and randomized User-Agent
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -RequestDelay 3 -Jitter 30 -RandomizeUserAgent

# Quiet mode for automation/scripting
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -QuietMode -NoLogo -UnauthenticatedOnly

# Complete red team assessment
.\CyberArk-Security-Audit.ps1 `
    -PVWA "https://pvwa.domain.com" `
    -OPSECMode `
    -Proxy "http://127.0.0.1:8080" `
    -IncludeTimingAttacks `
    -IncludeJWTTests `
    -IncludeWebSocketTests `
    -IncludeWAFEvasion `
    -UnauthenticatedOnly

CyberArk Tools Integration Scenarios

root@kitploit:~
# AD Security Audit (zBang-inspired) - detect shadow admins, Kerberos issues
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP -IncludeADChecks

# AD Security with specific Domain Controller
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -IncludeADChecks -DomainController "dc01.domain.com"

# Conjur/Secrets Manager integration check
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -IncludeConjurChecks -ConjurUrl "https://conjur.domain.com"

# Comprehensive audit with CyberArk tools integration
.\CyberArk-Security-Audit.ps1 `
    -PVWA "https://pvwa.domain.com" `
    -AuthType LDAP `
    -IncludeADChecks `
    -IncludeConjurChecks `
    -ConjurUrl "https://conjur.domain.com" `
    -ComplianceMapping

Reporting & Output Scenarios

root@kitploit:~
# Generate comprehensive reports to a specific directory
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -OutputPath "C:\SecurityReports\CyberArk"

# Quick unauthenticated scan with minimal output for automation
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" `
    -UnauthenticatedOnly -QuietMode -NoLogo `
    -OutputPath "C:\Reports"

# Full audit for compliance reporting
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -ComplianceMapping -OutputPath "C:\ComplianceReports"

# Generate reports and capture results for further processing
$auditResults = .\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP

# Access the returned data programmatically
$auditResults.ReportMetadata.RiskScore
$auditResults.Findings | Where-Object { $_.Severity -eq "Critical" }
$auditResults.Reports.HTML  # Path to HTML report
$auditResults.Reports.CSV   # Array of CSV file paths
$auditResults.Reports.JSON  # Path to JSON report

Output Files Generated:

After running an audit, you'll find these files in your output directory:

root@kitploit:~
C:\SecurityReports\CyberArk\
├── CyberArk_Security_Audit_20260116_143022.html          # Interactive HTML dashboard
├── CyberArk_Security_Audit_20260116_143022.json          # Comprehensive JSON data
├── CyberArk_Security_Audit_20260116_143022_Executive_Summary.csv
├── CyberArk_Security_Audit_20260116_143022_Full_Findings.csv
├── CyberArk_Security_Audit_20260116_143022_Failed_Findings.csv
├── CyberArk_Security_Audit_20260116_143022_Remediation_Tracker.csv
├── CyberArk_Security_Audit_20260116_143022_Skipped_Checks.csv
├── CyberArk_Security_Audit_20260116_143022_CIS_Compliance_Matrix.csv
└── CyberArk_Security_Audit_20260116_143022_Component_Summary.csv

Security Posture Expansion Scenarios

root@kitploit:~
# Secrets Hub - Cloud secrets sync validation
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -IncludeSecretsHubChecks -SecretsHubUrl "https://secretshub.cyberark.cloud"

# Remote Access / Alero - Vendor access security
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -IncludeRemoteAccessChecks -AleroUrl "https://alero.cyberark.cloud"

# Kubernetes Secrets - Container security and Secrets Provider
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -IncludeK8sChecks -K8sNamespace "cyberark" -ConjurApplianceUrl "https://conjur.domain.com"

# DevSecOps - CI/CD pipeline security
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -IncludeDevSecOpsChecks

# Privilege Cloud - SaaS-specific checks
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -IsPrivilegeCloud -PrivilegeCloudTenant "my-tenant"

# CyberArk Identity - SSO and adaptive MFA
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -IncludeIdentityChecks -IdentityTenantUrl "https://aab1234.id.cyberark.cloud"

# Backup Security - Encryption and file permissions
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -IncludeBackupSecurityChecks -BackupPath "D:\VaultBackups"

# HSM Integration - Hardware security module checks
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -IncludeHSMChecks -HSMProvider "Thales"

# PTA Deep Dive - Advanced threat detection analysis
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -IncludePTADeepDive

# Third-Party Integration - SIEM/ITSM/SOAR connectivity
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -IncludeThirdPartyChecks -ServiceNowUrl "https://company.servicenow.com" -SIEMUrl "https://splunk.domain.com"

# Operational Hygiene - Health metrics and queue analysis
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -IncludeOperationalChecks

# Attack Path Simulation - Red team validation
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -IncludeAttackPathChecks -IncludeADChecks

# Supply Chain Integrity - Component validation
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -IncludeSupplyChainChecks

# Network Segmentation - Micro-segmentation analysis
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -AuthType LDAP `
    -IncludeNetworkSegmentationChecks

# Comprehensive audit with all security posture checks
.\CyberArk-Security-Audit.ps1 `
    -PVWA "https://pvwa.domain.com" `
    -AuthType LDAP `
    -IncludeSecretsHubChecks `
    -IncludeRemoteAccessChecks `
    -IncludeK8sChecks `
    -IncludeDevSecOpsChecks `
    -IncludeIdentityChecks `
    -IncludePluginChecks `
    -IncludeBackupSecurityChecks `
    -IncludeHSMChecks `
    -IncludePTADeepDive `
    -IncludeThirdPartyChecks `
    -IncludeOperationalChecks `
    -IncludeAttackPathChecks `
    -IncludeSupplyChainChecks `
    -IncludeNetworkSegmentationChecks `
    -ComplianceMapping

Parameters

Output

The script generates comprehensive reports in three formats, designed to support writing detailed security assessment reports:

Report Formats

1. HTML Report (Interactive Dashboard)

A modern, interactive HTML report with:

  • Table of Contents: Quick navigation to all report sections
  • Executive Summary: Overall risk rating, compliance percentage, key metrics
  • Key Risks Section: Top 10 critical/high findings with business impact
  • CIS Benchmark Compliance Matrix: Control-by-control compliance status
  • Detailed Findings Table: Expandable rows with full evidence and remediation steps
    • Click any finding to reveal: evidence, technical details, risk description, business impact, CVSS score, remediation steps, and references
    • Proof of Concept (PoC): Request/Response evidence for penetration testing reports (when available)
  • Remediation Roadmap: Prioritized timeline (24h/1wk/30d/90d)
  • Component Analysis: Findings grouped by CyberArk component (Vault, CPM, PSM, PVWA, PTA)
  • Skipped Checks: Manual verification requirements with follow-up guidance
  • Print-friendly: Auto-expands all findings when printing

2. CSV Reports (7 Separate Files)

Generates multiple CSV files for different audiences:

3. JSON Report (Structured Data)

Comprehensive structured data for programmatic analysis:

root@kitploit:~
{
  "reportInfo": { "title", "generatedAt", "version" },
  "auditMetadata": { "target", "auditDate", "auditorInfo" },
  "executiveSummary": {
    "overallRiskRating": "Fair",
    "riskScore": 45,
    "keyMetrics": { "totalChecks", "passed", "failed", "compliance%" },
    "findingsBySeverity": { "critical", "high", "medium", "low" },
    "keyRisks": [ /* top 10 findings */ ],
    "immediatePriorities": [ /* critical recommendations */ ]
  },
  "complianceAnalysis": {
    "overallCompliance": 78.5,
    "cisControlsCompliance": { /* per-control matrix */ }
  },
  "componentAnalysis": { /* findings by component */ },
  "categoryAnalysis": { /* findings by category */ },
  "remediationRoadmap": {
    "immediate": { "timeframe": "24-48 hours", "findings": [] },
    "urgent": { "timeframe": "1 week", "findings": [] },
    "standard": { "timeframe": "30 days", "findings": [] },
    "routine": { "timeframe": "90 days", "findings": [] }
  },
  "detailedFindings": { "failed", "passed", "all" },
  "skippedChecks": { "summary", "requiresFollowUp", "all" },
  "appendix": { "glossary", "severityDefinitions", "riskScoreExplanation" }
}

Enhanced Finding Details

Each finding now includes comprehensive information for report writing:

Risk Scoring

Findings are scored by severity:

  • Critical: 40 points (Immediate action required)
  • High: 20 points (Priority remediation within 1 week)
  • Medium: 5 points (Address within 30 days)
  • Low: 1 point (Address within 90 days)

Risk ratings:

  • Excellent: 0 points (No security issues)
  • Good: 1-19 points (Minor issues only)
  • Fair: 20-49 points (Some issues require attention)
  • Poor: 50-99 points (Significant issues)
  • Critical: 100+ points (Immediate action required)

Writing Comprehensive Reports

The output is designed to help you write professional security assessment reports:

  1. Use the Executive Summary for management briefings
  2. Reference the CIS Compliance Matrix for compliance sections
  3. Copy Evidence and Technical Details for technical appendices
  4. Use the Remediation Roadmap for the recommendations section
  5. Include Component Analysis for team-specific action items
  6. Track remediation using the CSV Remediation Tracker

Security Considerations

⚠️ WARNING: This tool performs active security testing that may:

  • Generate security alerts in monitoring systems
  • Avoid account lockouts by only checking known default passwords
  • Password sprays or brute force attacks require explicit user confirmation via -EnablePasswordSpraying flag
  • Be flagged as malicious activity by security tools
  • Impact system performance during port scanning

Always obtain proper authorization before running this script.

Use -OPSECMode for reduced detection footprint during red team operations.

Troubleshooting

Common Issues and Solutions

Script Execution Blocked

Error: File cannot be loaded because running scripts is disabled on this system

Solution:

root@kitploit:~
# Option 1: Bypass for current session only
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process

# Option 2: Unblock the specific file
Unblock-File -Path .\CyberArk-Security-Audit.ps1

PowerShell Version Error

Error: This script requires PowerShell 7 or higher.

Solution:

root@kitploit:~
# Check current version
$PSVersionTable.PSVersion

# Install PowerShell 7
winget install Microsoft.PowerShell

# Or download from: https://github.com/PowerShell/PowerShell/releases

TLS/SSL Connection Errors

Error: The request was aborted: Could not create SSL/TLS secure channel

Solution:

root@kitploit:~
# Enable TLS 1.2 before running the script
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

# For PowerShell 7, TLS 1.3 may also be available
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 -bor [Net.SecurityProtocolType]::Tls13

Certificate Validation Errors

Error: The underlying connection was closed: Could not establish trust relationship

Solution: This typically indicates a certificate issue (e.g., self-signed certificate) with the PVWA. The script will automatically capture this as a security finding and continue with the assessment to provide complete coverage. The script includes certificate validation bypass for operational continuity:

root@kitploit:~
# The script automatically bypasses certificate validation for assessment continuity
# while capturing certificate issues as findings
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = { $true }

Authentication Failures

Error: Authentication failed: The remote server returned an error: (401) Unauthorized

Solutions:

  1. Verify credentials are correct
  2. Check the authentication type matches your environment (-AuthType LDAP, -AuthType CyberArk, etc.)
  3. Ensure the account is not locked out
  4. Verify the account has API access permissions
root@kitploit:~
# Test authentication manually
$cred = Get-Credential
$body = @{ username = $cred.UserName; password = $cred.GetNetworkCredential().Password } | ConvertTo-Json
Invoke-RestMethod -Uri "https://pvwa.domain.com/PasswordVault/api/Auth/LDAP/Logon" -Method POST -Body $body -ContentType "application/json"

Port Scan Timeouts

Error: Port scans taking too long or timing out

Solution:

root@kitploit:~
# Increase timeout (default is 1000ms)
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -PortScanTimeout 3000

# Or skip port scanning entirely
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -SkipPortScan

Report Generation Errors

Error: Cannot write report files

Solution:

root@kitploit:~
# Specify a writable output directory
.\CyberArk-Security-Audit.ps1 -PVWA "https://pvwa.domain.com" -OutputPath "C:\Reports"

# Ensure the directory exists
New-Item -ItemType Directory -Path "C:\Reports" -Force

Getting Help

If you encounter issues not covered above:

  1. Run with verbose output: -VerboseOutput
  2. Check the generated JSON report for detailed error information
  3. Review Windows Event Logs for related errors
  4. Open an issue on GitHub with the error details and environment information

References

CyberArk Documentation

  • CyberArk Security Hardening Guide
  • CyberArk REST API Documentation

CyberArk Open Source Security Tools

  • zBang - Risk assessment tool for privileged account threats (Shadow Admins, Kerberos, SPNs)
  • Conjur - Secrets management platform
  • ACLight - Shadow Admin discovery (part of zBang)
  • Ansible Security Automation Collection - CyberArk Ansible integration

License.

This tool is provided as-is for security assessment purposes. Use responsibly and ethically.

Download Tool
RequirementMinimumRecommended
PowerShell7.07.x (latest)
.NET Framework4.54.8+
Operating SystemWindows 10/Server 2016Windows 11/Server 2022
Memory2 GB available4 GB available
CategoryControl PrefixDescription
CIS Benchmark1.x - 8.xCIS CyberArk PAM Benchmark v1.0 compliance
Vendor Best PracticesV1.x - V8.xCyberArk security hardening recommendations
Blackbox TestingBB1 - BB11External security testing without authentication
Network SecurityNET1 - NET7Port scanning and network exposure analysis
TLS SecurityTLS1 - TLS4SSL/TLS configuration and cipher analysis
CVE ChecksCVE1 - CVE23Known CyberArk vulnerability detection (2018-2025)
Security BulletinsCA25-xCyberArk security bulletin checks
API SecurityAPI1 - API5REST API security testing
Authentication SecurityAUTH1 - AUTH2CyberArk Identity/Privilege Cloud authentication endpoint testing
Advanced Security
Machine IdentityMID1 - MID9Service account, AppID, and AIM Provider security
Secrets ManagementSEC1 - SEC14Credential Provider/CCP and Conjur security
Zero Standing PrivilegesZSP1 - ZSP5JIT access and privilege assessment
Identity GovernanceIGA1 - IGA8Lifecycle and permission management
EPM IntegrationEPM1 - EPM6Endpoint Privilege Manager checks
Cloud SecurityCLD1 - CLD6Secure Cloud Access checks
Disaster RecoveryDR1 - DR5HA and DR configuration
Compliance MappingCOMP1 - COMP4NIST, SOC2, PCI-DSS alignment
Audit LoggingAUD1 - AUD4SIEM and logging validation
Security Posture Expansion
Secrets HubSH1 - SH6Cloud secrets sync health, latency, version drift
Remote Access / AleroRA1 - RA6Vendor invitation, MFA, session limits, device binding
Kubernetes SecretsK8S1 - K8S8Secrets Provider, RBAC, pod security, Conjur follower
DevSecOps PipelineDSO1 - DSO6CI/CD secrets retrieval, sprawl detection, short-lived tokens
Privilege CloudPC1 - PC5Connector health, tenant isolation, ISP integration
CyberArk IdentityIDN1 - IDN6SSO integration, adaptive MFA, session risk scoring
Custom PluginsPLG1 - PLG5PSM/CPM plugin security, digital signatures, ACLs
Backup SecurityBKP1 - BKP5Encryption, file permissions, restoration testing
HSM IntegrationHSM1 - HSM4HSM health, key wrapping, partition isolation
PTA Deep DivePTAD1 - PTAD6Custom rules, ML quality, UEBA, alert fatigue
Third-Party IntegrationTPI1 - TPI5SIEM/ITSM/SOAR connectivity, credential health
Operational HygieneOPS1 - OPS8Onboarding queue, CPM failures, PSM metrics, license
Attack Path SimulationAPS1 - APS6PtH, NTLM relay, Kerberoasting, privilege escalation
Supply Chain IntegritySCI1 - SCI5File hashes, patch currency, code signing
Network SegmentationNSG1 - NSG5Vault isolation, component ACLs, East-West monitoring
v12+
REST API v12 or later for full compatibility
ParameterRequiredDefaultDescription
PVWAYes-PVWA server URL (e.g., https://pvwa.domain.com)
AuthTypeNoCyberArkAuthentication method: CyberArk, LDAP, RADIUS, SAML
OutputPathNoCurrent directoryReport output directory
CredentialNoPromptPSCredential for authentication
Skip Parameters
SkipPortScanNoFalseSkip network port scanning
SkipCVEChecksNoFalseSkip CVE-specific vulnerability testing
SkipAPITestsNoFalseSkip API security testing
SkipAuthenticatedChecksNoFalseSkip all Phase 2 authenticated checks
SkipSecretsChecksNoFalseSkip Secrets Management checks (SEC1-SEC14)
SkipMachineIdentityNoFalseSkip Machine Identity checks (MID1-MID9)
SkipIGAChecksNoFalseSkip Identity Governance checks (IGA1-IGA8)
SkipCloudChecksNoFalseSkip Cloud Security checks (CLD1-CLD6)
SkipDRChecksNoFalseSkip Disaster Recovery checks (DR1-DR5)
SkipDefaultCredentialTestsNoFalseSkip default/weak credential testing (BB3)
SkipSecretsHubChecksNoFalseSkip Secrets Hub checks (SH1-SH6)
SkipRemoteAccessChecksNoFalseSkip Remote Access/Alero checks (RA1-RA6)
SkipK8sChecksNoFalseSkip Kubernetes checks (K8S1-K8S8)
SkipDevSecOpsChecksNoFalseSkip DevSecOps checks (DSO1-DSO6)
SkipPrivilegeCloudChecksNoFalseSkip Privilege Cloud checks (PC1-PC5)
SkipIdentityChecksNoFalseSkip CyberArk Identity checks (IDN1-IDN6)
SkipPluginChecksNoFalseSkip Custom Plugins checks (PLG1-PLG5)
SkipBackupSecurityChecksNoFalseSkip Backup Security checks (BKP1-BKP5)
SkipHSMChecksNoFalseSkip HSM Integration checks (HSM1-HSM4)
SkipPTADeepDiveNoFalseSkip PTA Deep Dive checks (PTAD1-PTAD6)
SkipThirdPartyChecksNoFalseSkip Third-Party Integration checks (TPI1-TPI5)
SkipOperationalChecksNoFalseSkip Operational Hygiene checks (OPS1-OPS8)
SkipAttackPathChecksNoFalseSkip Attack Path Simulation checks (APS1-APS6)
SkipSupplyChainChecksNoFalseSkip Supply Chain Integrity checks (SCI1-SCI5)
SkipNetworkSegmentationChecksNoFalseSkip Network Segmentation checks (NSG1-NSG5)
Mode Parameters
UnauthenticatedOnlyNoFalseRun only Phase 1 (no credentials needed)
IncludeEPMChecksNoFalseInclude EPM integration checks
ComplianceMappingNoFalseGenerate compliance framework mapping
Selective Execution
OnlyPortScanNoFalseRun ONLY port scanning checks
OnlyCVEChecksNoFalseRun ONLY CVE vulnerability checks
OnlyAuthenticatedChecksNoFalseRun ONLY authenticated API checks
OnlyNetworkChecksNoFalseRun ONLY network security checks (TLS, ports, DNS)
OnlyBlackboxChecksNoFalseRun ONLY unauthenticated blackbox checks
CyberArk Tools Parameters
IncludeADChecksNoFalseEnable Active Directory security checks (zBang-inspired)
IncludeConjurChecksNoFalseEnable Conjur/Secrets Manager integration checks
ConjurUrlNo-Conjur server URL for integration checks
DomainControllerNo-Domain controller for AD security queries
Red Team Parameters
OPSECMode / StealthNoFalseEnable OPSEC/stealth mode with delays and reduced noise
ProxyNo-Proxy URL for traffic routing (e.g., http://127.0.0.1:8080)
ProxyCredentialNo-Credentials for authenticated proxy
IgnoreCertificateErrorsNoFalseSkip SSL/TLS certificate validation
RequestDelayNo0Delay between requests in seconds (0-60)
JitterNo0Random jitter percentage (0-100) for timing variance
UserAgentNo-Custom User-Agent string
RandomizeUserAgentNoFalseRotate through common User-Agent strings
IncludeTimingAttacksNoFalseEnable timing-based vulnerability detection
IncludeJWTTestsNoFalseEnable JWT/OAuth2 security testing
IncludeWebSocketTestsNoFalseEnable WebSocket endpoint discovery
IncludeWAFEvasionNoFalseEnable WAF/IDS bypass testing
NoLogoNoFalseSuppress banner display
QuietModeNoFalseReduce console output (info messages suppressed)
EnablePasswordSprayingNoFalseEnable password spraying (requires explicit confirmation)
Performance Parameters
ParallelExecutionNoFalseEnable parallel execution for faster scans
MaxThreadsNo5Maximum concurrent threads (1-20)
EPM Parameters
EPMUrlNo-EPM server URL for EPM integration checks
Security Posture Parameters
IncludeSecretsHubChecksNoFalseEnable Secrets Hub cloud sync checks
SecretsHubUrlNo-Secrets Hub URL for integration checks
IncludeRemoteAccessChecksNoFalseEnable Remote Access/Alero checks
AleroUrlNo-Alero URL for vendor access checks
IncludeK8sChecksNoFalseEnable Kubernetes/Container secrets checks
K8sNamespaceNodefaultKubernetes namespace for secrets checks
ConjurApplianceUrlNo-Conjur appliance URL for K8s integration
IncludeDevSecOpsChecksNoFalseEnable DevSecOps pipeline security checks
IncludePrivilegeCloudChecksNoFalseEnable Privilege Cloud/SaaS-specific checks
IsPrivilegeCloudNoFalseIndicate target is Privilege Cloud SaaS
PrivilegeCloudTenantNo-Privilege Cloud tenant identifier
IncludeIdentityChecksNoFalseEnable CyberArk Identity/Idaptive checks
IdentityTenantUrlNo-CyberArk Identity tenant URL
IncludePluginChecksNoFalseEnable custom plugin security checks
IncludeBackupSecurityChecksNoFalseEnable backup security checks
BackupPathNo-Path to Vault backup files for analysis
IncludeHSMChecksNoFalseEnable HSM integration checks
HSMProviderNo-HSM provider type (Thales, nCipher, SafeNet, AWSCloudHSM, AzureHSM, Other)
IncludePTADeepDiveNoFalseEnable advanced PTA detection checks
IncludeThirdPartyChecksNoFalseEnable SIEM/ITSM/SOAR integration checks
ServiceNowUrlNo-ServiceNow URL for ITSM checks
SIEMUrlNo-SIEM URL for event correlation checks
IncludeOperationalChecksNoFalseEnable operational hygiene metrics
IncludeAttackPathChecksNoFalseEnable attack path simulation checks
IncludeSupplyChainChecksNoFalseEnable supply chain integrity checks
IncludeNetworkSegmentationChecksNoFalseEnable network segmentation checks
Other Parameters
PortScanTimeoutNo1000Port scan connection timeout (ms)
VerboseOutputNoFalseEnable verbose logging
FilePurposeAudience
Executive_Summary.csvHigh-level metrics and risk overviewLeadership, Management
Full_Findings.csvComplete findings with all 20+ fieldsSecurity Analysts
Failed_Findings.csvFailed checks only, sorted by severityRemediation Teams
Remediation_Tracker.csvActionable tracker with AssignedTo, Status, DueDateIT Operations
Skipped_Checks.csvChecks requiring manual verificationAuditors
CIS_Compliance_Matrix.csvControl-by-control compliance statusCompliance Officers
Component_Summary.csvFindings grouped by componentComponent Owners
FieldDescription
FindingIDUnique identifier (e.g., CA-20260116-A1B2C3D4)
CategorySecurity category (e.g., Safe Configuration, Authentication)
CISControlCIS Benchmark control reference
AffectedComponentCyberArk component (Vault, CPM, PSM, PVWA, PTA)
EvidenceTechnical evidence supporting the finding
TechnicalDetailsDetailed technical description
RiskDescriptionExplanation of why this is a security risk
BusinessImpactBusiness-level impact explanation
CVSSScoreEstimated CVSS score range
RemediationStepsStep-by-step remediation guidance
ComplianceRefsCompliance framework references
ReferencesDocumentation links
PoCRequestHTTP request proof-of-concept (when available)
PoCResponseHTTP response proof-of-concept (when available)