BIG-IP Access Policy Manager (APM) Best Practices and System Insights

Executive Summary

The BIG-IP Access Policy Manager (APM) serves as a centralized solution for authentication, authorization, and Single Sign-On (SSO) across various application environments, including cloud, SaaS, and enterprise web applications. Utilizing a Full Proxy Architecture, the system provides a comprehensive security stack ranging from Layer 4 firewalling to Layer 7 application health monitoring. A critical component of the BIG-IP ecosystem is its ability to handle secure smart card authentication (CAC/PIV) through On-Demand Certificate Authentication (ODCA). While ODCA offers significant flexibility and "step-up" authentication capabilities, it remains susceptible to session hijacking via Man-in-the-Browser (MITB) attacks. For APM high availability, F5 supports an active-standby pair of two BIG-IP systems. Other BIG-IP services can use application and device clustering, subject to their own product guidance. F5 APM clustering guidance. [1]

BIG-IP APM Architecture and Capabilities

Full Proxy Architecture

The BIG-IP APM operates on a Full Proxy Architecture, allowing it to inspect and manage traffic at every layer of the communication stack between the client and the server. [1]

Layer Security and Performance Functions [1]
Network L4 Firewall: Full stateful policy enforcement and TCP DDoS mitigation. [1]
Session SSL inspection and SSL DDoS mitigation. [1]
Application HTTP proxy, HTTP DDoS mitigation, and application security. [1]
Web Application Application health monitoring and performance anomaly detection. [1]

Access Solutions

The APM provides a centralized point for enforcing access policies across diverse platforms: [1]

Authentication and Protocol Flows

General Access Protocol Flow

The standard interaction between a client and the APM follows a specific redirect-based sequence to establish a session: [1]

  1. Initial Request: The client sends a request for a specific resource (e.g., /foo). [1]
  2. Redirection: The APM immediately redirects the client to /my.policy and sets an MRHSession cookie. [1]
  3. Policy Evaluation: The client requests /my.policy using the provided cookie, then proceeds through APM policy evaluation. [1]
  4. Final Redirection: Once authorized, the client is redirected back to the original resource (/foo). [1]
  5. Access: The client requests the resource with the session cookie, and the APM performs SSO to the backend server. [1]

Smart Cards and On-Demand Certificate Authentication (ODCA)

In the cited F5 APM Best Practices flow, ODCA requests client certificates from CAC/PIV smart cards through SSL renegotiation. This sequence is version- and configuration-specific; F5's BIG-IP 17.5 ODCA procedure states that TLS 1.3 is disabled by default for that configuration. See F5's versioned ODCA guidance. The documented flow is: [1]

  1. SSL Initiation: The client initiates an SSL session. [1]
  2. Server Certificate: The Local Traffic Manager (LTM) presents the server certificate from the clientssl profile. [1]
  3. VPE Evaluation: The SSL session is established, and the client begins evaluation by the APM VPE. [1]
  4. SSL Renegotiation: The ODCA agent triggers an SSL renegotiation, prompting the client browser for a certificate. Available certificates are filtered by the "Advertised Certificate Authorities" in the clientssl profile. [1]
  5. User PIN: The client selects a certificate, and the smart card software prompts for a PIN to decrypt the private key. [1]
  6. Verification: The F5 system verifies the client certificate against the "Trusted Certificate Authorities" bundle. [1]
  7. Granting Access: Upon successful verification, the client is allowed access to the application. [1]

Best Practices and Security Considerations

Advantages of ODCA

Security Vulnerabilities

A documented ODCA risk is session hijacking when a man in the browser is present. [1]

System Scaling and High Availability

F5 describes all-active application scaling for some BIG-IP deployments through Application Service Clustering and Device Service Clustering. That generic architecture must not be applied to BIG-IP Access Policy Manager: F5 documents APM as supported only as an active-standby pair of two BIG-IP systems, not in an active-active configuration. F5 BIG-IP device service clustering guidance.

Technical Appendix: Cipher List Processing

For advanced traffic inspection, the system can utilize scripts to parse TLS payloads. An example includes defining "GREASE" values (e.g., 0a0a, 1a1a, 2a2a) to be excluded from cipher lists and using binary scans to identify session ID lengths and field offsets within the TLS handshake. [1]

Sources cited in this edition

  1. [1] BIG-IP APM Best Practices - F5 · Original source link unavailable · View highlighted passage · Download local copy
  2. [2] BIG-IP System - F5 · Original source link unavailable · View highlighted passage · Download local copy

Also cited: the linked F5 APM clustering and F5 BIG-IP 17.5 ODCA product documentation.

Additional notebook sources, not cited in this F5 report

  1. [3] Deploying BIG-IP GTM with APM for Global Remote Access - F5 · Original source link unavailable · View highlighted passage · Download local copy
  2. [4] Driving Zero Trust architecture and massive 50% cost savings for NovaGroup - Palo Alto Networks · Original source link unavailable · View highlighted passage · Download local copy
  3. [5] GlobalProtect Datasheet - Palo Alto Networks · Original source link unavailable · View highlighted passage · Download local copy
  4. [6] Integrate Palo Alto Networks GlobalProtect with Okta · Original source link unavailable · View highlighted passage · Download local copy
  5. [7] Large Scale VPN (LSVPN) - Palo Alto Networks | TechDocs · Original source link unavailable · View highlighted passage · Download local copy
  6. [8] Palo Alto Networks Administrator's Guide - TJAM · Original source link unavailable · View highlighted passage · Download local copy
  7. [9] PALO ALTO NETWORKS PCNSE STUDY GUIDE: EARLY ACCESS - Savant Solutions · Original source link unavailable · View highlighted passage · Download local copy
  8. [10] Security Tool Comparison: F5 vs Cisco Anyconnect - Twingate · Original source link unavailable · View highlighted passage · Download local copy
  9. [11] Split Tunnel Use Case: Optimize Office 365 Traffic - Palo Alto Networks | TechDocs · Original source link unavailable · View highlighted passage · Download local copy
  10. [12] SSL VPN to ZTNA Migration Guide - Fortinet Community · Original source link unavailable · View highlighted passage · Download local copy
  11. [13] Troubleshooting GlobalProtect - Palo Alto Knowledge Base · Original source link unavailable · View highlighted passage · Download local copy
  12. [14] What is F5 BIG-IP Edge Client? - SPOTO Official Blog · Original source link unavailable · View highlighted passage · Download local copy

Related artifacts