| Where Can I Use This? | What Do I Need? |
- NGFW (managed by Panorama or Strata Cloud Manager)
- Prisma Access (managed by Panorama or Strata Cloud
Manager)
|
- GlobalProtect Gateway license or Prisma Access license with
the Mobile User subscription
|
Pre-logon is a connect method
that establishes a VPN tunnel before a user logs in. The purpose
of pre-logon is to authenticate the endpoint (not the user) and
enable domain scripts or other tasks to run as soon as the endpoint
powers on. Machine certificates enable the endpoint to establish
a VPN tunnel to the GlobalProtect gateway. A common practice for
IT administrators is to install the machine certificate while staging
the endpoint for the user.
A pre-logon VPN tunnel has no username
association because the user has not logged in. To allow endpoints
to access resources, you must create security policies that match
the pre-logon user. These policies should allow access to only the
basic services for starting up the system, for example DHCP, DNS,
specific Active Directory services, antivirus, or operating system
update services. After the user authenticates to the gateway, the
GlobalProtect app reassigns the VPN tunnel to that user (the IP
address mapping on the firewall changes from the pre-logon endpoint
to the authenticated user).
As a best practice,
you must create security policies to allow access to only specific
services (for example, DHCP, DNS, specific Active Directory services, or
operating system update services) that are sufficient for machine
authentication and to enable services that are necessary for the
corporate network. We recommend that you create security policies
to deny pre-logon users access to other resources and applications.
Follow
these guidelines if the user’s endpoint is lost or stolen:
You
must revoke the machine certificate that is issued to the endpoint
for pre-logon. Once the machine certificate is revoked for the pre-logon
connect method, you cannot use the certificate to authenticate against
the portal and gateway because authentication to the endpoint failed and
the endpoint is unable to connect to the corporate network.
You must disable the stolen endpoint computer account in
the Active Directory to block VPN connections from disabled machine
accounts based on the presence of the
endpoint serial number.
When this feature is used, authentication attempts from the disabled
computer account will fail while attempting to prevent VPN connections
from the lost or stolen endpoint.
The GlobalProtect
Credential Provider logon screen for Windows 7 and Windows 10 endpoints
also displays the pre-logon connection status prior to user login,
which allows end users to determine whether they can access network
resources upon login. If the GlobalProtect app detects an endpoint
as internal, the logon screen displays the Internal pre-logon
connection status. If the Globalprotect app detects an endpoint
as external, the logon screen displays the Connected or Not
Connected pre-logon connection status.
Windows endpoints
behave differently from macOS endpoints with pre-logon. With macOS
endpoints, the pre-logon tunnel is torn down, and then a new tunnel
is created when the user logs in.
When a user requests
a new connection, the portal authenticates the user through an authentication
profile. The portal can also use an optional certificate profile
that validates the client certificate (if the configuration includes
a client certificate). In this case, the certificate must identify
the user. After authentication, the portal determines if the endpoint’s
GlobalProtect configuration is current. If the portal’s configuration
has changed, it pushes an updated configuration to the endpoint.
If
the configuration on the portal or a gateway includes cookie-based
authentication, the portal or gateway installs an encrypted cookie
on the endpoint. Subsequently, the portal or gateway uses the cookie
to authenticate users and refresh the agent configuration. If an
agent configuration profile includes the pre-logon connect method
in addition to cookie-authentication, the GlobalProtect components
can use the cookie for pre-logon.
If users never log in to
an endpoint (for example, a headless endpoint) or a pre-logon connection
is required on a system that a user has not previously logged in
to, you can let the endpoint initiate a pre-logon tunnel without
first connecting to the portal to download the pre-logon configuration.
To do this, you must override the default behavior by creating entries
in the Windows Registry or macOS plist.
The GlobalProtect
endpoint will then connect to the portal specified in the configuration,
authenticate the endpoint by using its machine certificate (as specified
in a certificate profile configured on the gateway), and then establish
the GlobalProtect connection. When the end-user subsequently logs
in to the machine, and if single sign-on (SSO) is enabled in the
agent configuration, the username and password are captured when
the user logs in. If SSO is not enabled in the agent configuration,
or SSO is not supported on the endpoint (for example, a macOS system) the
user’s credentials must be stored in the app (the Save
User Credentials option must be set to Yes).
After successful authentication to the gateway, the tunnel is renamed
(Windows) or rebuilt (macOS), and user and group-based policy can
be enforced.