PostAuth EPA scan is not initiated with Advance session policies, however works with Classic policies

PostAuth EPA scan is not initiated with Advance session policies, however works with Classic policies

book

Article ID: CTX239452

calendar_today

Updated On:

Description

If the session profile is bound to the session profile with classic expression the EPA scan is initiated the client machine is checked for the EPA checks.
If you use advance expression to bind  session profile to the session policy, the EPA check will not be initiated and the users will be allowed/denied by default as per the profile's default Authorization Action configuration.

The session profile is same for working and nonworking scenarios.
Session Profile sample:
add vpn sessionAction AC_WB -clientSecurity "CLIENT.APPLICATION(\'ANTIVIR_0_0_AUTHENTIC_==_TRUE[COMMENT: Generic Antivirus Product Scan]\') EXISTS -frequency 1" -transparentInterception OFF -defaultAuthorizationAction ALLOW -SSO ON -ssoCredential PRIMARY -icaProxy ON -wihome "http://example.com/Citrix/StoreWeb" -ClientChoices OFF -ntDomain example -clientlessVpnMode OFF -sfGatewayAuthType domain
User-added image
Above is an EPA check example where the EPA scan will be performed to check if the Antivirus is Authentic or not. 


Working: In working case the session policy is bound with classic expression as below: 
>add vpn sessionPolicy Working_policy ns_true AC_WB
User-added image

NonWorking: In non-working case the session policy is bound with classic expression as below: 
>add vpn sessionPolicy NonWorking_policy true AC_WB
User-added image

Resolution

With advance policy configuration you need to use EPA with N-Factor authentication. Please refer below link for configuration details:

Configuring PostAuth EPA as factor in N-Factor

 

Problem Cause

This is an expected behavior and EPA checks with Advanced policy expression will not work.

Issue/Introduction

If you have configured EPA Check under Session Profile>Advance Setting> Client Security Check String. The session policy is will be getting hit for the user traffic but the EPA check expression configured under Gateway session profile will not be executed.

Additional Information

How to Configure Periodic EPA Scan as a Factor in nFactor Authentication