Modeling network access controls for applications
The network access control modeling system addresses the challenge of complex network access control management for SaaS applications by generating a comprehensive model to identify vulnerabilities and enforce secure access policies.
Patent Information
- Application Number
- US19/415403
- Authority / Receiving Office
- US · United States
- Patent Type
- Patents(United States)
- Current Assignee / Owner
- Priority Date
- 2024-12-13
- Filing Date
- 2025-12-10
- Publication Date
- 2026-12-01
- Estimated Expiration
- 2045-12-10
AI Technical Summary
Organizations face challenges in determining the net effective state of network access controls for cloud-based SaaS applications due to complex transitive dependencies on upstream network services, making it difficult to identify and address security vulnerabilities.
A network access control modeling system that analyzes both native and intermediate network access controls across various authentication phases, generating a comprehensive model to identify vulnerabilities and enforce necessary security policies.
Provides a centralized and efficient method to monitor and manage network access controls, identifying exposures and vulnerabilities, and ensuring secure access paths for SaaS applications.
Smart Images

Figure US12820056-D00000_ABST
Abstract
Description
CROSS REFERENCE TO OTHER APPLICATIONS
[0001] This application claims priority to U.S. Provisional Patent Application No. 63 / 733,848 entitled MODELING NETWORK ACCESS CONTROLS FOR APPLICATIONS filed Dec. 13, 2024 which is incorporated herein by reference for all purposes.BACKGROUND OF THE INVENTION
[0002] An organization (e.g., an enterprise) may use a variety of network devices to manage the internal and external communications relative to their on-premise systems as well as cloud-based systems. An organization's network devices may include security devices such as firewalls and virtual private network (VPN) gateways to manage the types of network traffic that are permitted to reach the network. Increasingly, organizations are increasingly turning to services provided by cloud-based applications such as software-as-a-service (SaaS) applications. The picture of the types of traffic that are permitted to reach an organization's instance of a SaaS application is complicated by potential transitive dependencies on upstream network services, if present. It would be desirable to determine a net effective state of network access controls relative to each SaaS application that is used by an organization to determine whether security vulnerabilities of that application may exist.BRIEF DESCRIPTION OF THE DRAWINGS
[0003] Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.
[0004] FIG. 1 is a diagram showing an embodiment of a system for modeling network access controls for applications.
[0005] FIG. 2 is a diagram showing an example network access control modeling server in accordance with some embodiments.
[0006] FIG. 3 is a flow diagram showing an embodiment of a process for modeling network access controls for an organization's SaaS application.
[0007] FIG. 4 is a flow diagram showing an example of a process for determining the native network access configurations of an organization's particular instance of a SaaS application, in accordance with some embodiments.
[0008] FIG. 5 is a flow diagram showing an example of a process for determining the intermediate network access configurations from one or more intermediate network access services upstream of an organization's particular instance of a SaaS application, in accordance with some embodiments.
[0009] FIG. 6 is a diagram showing an example visualization of a network access control model that has been built for a particular organization and an instance of a SaaS application that is used by the organization in accordance with some embodiments.
[0010] FIG. 7 is a flow diagram showing an example of a process for pre-computing an index across an organization's one or more network access control models in accordance with some embodiments.
[0011] FIG. 8 is a flow diagram showing an example of a process for responding to an ad-hoc vulnerability query in accordance with some embodiments.
[0012] FIG. 9 is a flow diagram showing an example of a process for receiving configuration of a network access control related security policy in accordance with some embodiments.
[0013] FIG. 10 is a flow diagram showing an example of performing an audit of a network access control related security policy in accordance with some embodiments.DETAILED DESCRIPTION
[0014] The invention can be implemented in numerous ways, including as a process; an apparatus; a system; a composition of matter; a computer program product embodied on a computer readable storage medium; and / or a processor, such as a processor configured to execute instructions stored on and / or provided by a memory coupled to the processor. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. Unless stated otherwise, a component such as a processor or a memory described as being configured to perform a task may be implemented as a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. As used herein, the term ‘processor’ refers to one or more devices, circuits, and / or processing cores configured to process data, such as computer program instructions.
[0015] A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
[0016] The processes described herein may be implemented, for example on a modified Turing machine operating on a finite memory tape divided into discrete cells, each of which can hold a single symbol drawn from a finite set of symbols called the alphabet of the machine. It has a “head” that, at any point in the machine's operation, is positioned over one of these cells, and a “state” selected from a finite set of states. At each step of its operation, the head reads the symbol in its cell. Then, based on the symbol and the machine's own present state, the machine writes a symbol into the same cell, and moves the head one step to the left or the right, or halts the computation. The choice of which replacement symbol to write, which direction to move the head, and whether to halt is based on a finite table that specifies what to do for each combination of the current state and the symbol that is read. When thus implemented, the invention increases the efficiency of the modified Turing machine, causing it to require fewer movements of the head and less memory tape.
[0017] Embodiments of modeling network access controls for applications are described herein. Configurations associated with an organization and a software-as-a-service (SaaS) application are obtained. In various embodiments, the configurations describe how an instance of the SaaS application is configured for that particular organization (e.g., enterprise). Such configurations can be stored with the SaaS application or with another server associated with the organization. In some embodiments, the SaaS application is either a public application, which can be reached over the Internet and may be shared among multiple tenants (e.g., customers), or a private application, which is hosted on private infrastructure (e.g., within the organization's own cloud services) and whose access is limited to private connections. Native network access controls associated with the SaaS application are determined based at least in part on the configurations. In various embodiments, “network access controls” refer to mechanisms that can directly or indirectly provide connectivity control on a request (network traffic) to access the SaaS application. In various embodiments, “native” network access controls refer to mechanisms on connectivity control to the SaaS application that are implemented by the SaaS application itself (e.g., if the application is a public application) and / or the infrastructure (e.g., the private / dedicated cloud-based services on which a private application is run) on which the application is executing. Intermediate network access controls associated with a network access intermediate service upstream of the SaaS application are determined based at least in part on the configurations. In various embodiments, a “network access intermediate service” is a service that is different from the service(s) provided by the SaaS application but is configured to restrict traffic / requests that are directed to the application. Examples of an intermediate network access service is a service that provides private connectivity between virtual private clouds (VPCs) (e.g., a VPC endpoint), an identity access and management (IAM) service, a single sign-on (SSO) service, a virtual private network (VPN), another SaaS application, and a secure access service edge (SASE) service. Put another way, traffic that is destined for the SaaS application must first traverse through the intermediate network access service before reaching the SaaS application. In various embodiments, “intermediate network access controls” refers to the network access controls that restrict the traffic / requests that attempt to pass through the intermediate network access service before reaching the SaaS application. Put another way, the intermediate network access controls place additional restrictions / security on top of the native access network controls for traffic that can reach the SaaS application. The native network access controls and the intermediate network access controls are then each associated with a corresponding authentication phase within a lifecycle of a user session in using the SaaS application. In some embodiments, authentication phases within a user session lifecycle describe different states associated with whether a user has authenticated their identity with the SaaS application. Examples of phases in the user session lifecycle include: pre-authentication, login, and post-authentication. A model of network access controls between the pair of the organization and the SaaS application is generated based at least in part on the native network access controls associated with the application and the intermediate network access controls associated with the intermediate network access service. In some embodiments, a model of network access controls not only identifies the different types of network access controls (e.g., that are native to the application and / or that are provided by an intermediate network access service) (e.g., as well as the applicable conditions, entities, or other parameters) but also the authentication phase in the “user session lifecycle” in which the network access controls are actually enforced for the organization with respect to the SaaS application.
[0018] As will be described in further detail below, various embodiments described herein provide a security system to analyze and manage the configurations of a multitude of applications and their network access restrictions to create a global model of possible and actual connectivity, login, and other access.
[0019] FIG. 1 is a diagram showing an embodiment of a system for modeling network access controls for applications. As shown in FIG. 1, system 100 includes network access control modeling server 102, device 104a, device 104b, device 104c, intermediate network access service 106, and SaaS application server 108. Each of network access control modeling server 102, device 104a, device 104b, device 104c, intermediate network access service 106, and SaaS application server 108 can communicate with each other over one or more networks.
[0020] SaaS application server 108 is configured to run a SaaS platform that provides a type of SaaS application. Examples of services that are performed by various types of SaaS applications include workflow management, file storing, file sharing, customer relationship management, payroll management, employee data management, human resource data management, and financial management. For example, organizations such as enterprises may subscribe to services provided by one or more SaaS applications to help manage their businesses. SaaS application server 108 can run one or more instances of a SaaS application for a particular organization based on configurations created by and / or for the organization. Among the configurations of a SaaS application with respect to a particular organization include mechanisms for how the SaaS application itself will provide network access controls (e.g., restrictions) on traffic (e.g., from devices such as device 104a, device 104b, and / or device 104c), or “native” network access controls. For example, a device such as device 104a may send a request to a particular organization's SaaS application that is hosted by SaaS application server 108 to access the organization's data that is stored by SaaS application server 108. For example, a native network access control can deny or allow a request's access to the application based on one or more of the following request parameters: the request's source IP address, the request's associated geo-location, and the request's associated autonomous system number (e.g., ASN). In some embodiments, SaaS application server 108 hosts a SaaS application for an organization on private infrastructure (e.g., Amazon Web Services (AWS) VPC) and as such, the native network access controls associated with the private SaaS application can be found in the configurations created by the organization for the private infrastructure.
[0021] For a pair of a specified organization and a SaaS application (e.g., a particular instance of that application because one organization may subscribe to more than one instance of a certain type of SaaS application) that is hosted by SaaS application server 108, network access control modeling server 102 is configured to obtain the configurations for that application and analyze the application's natively configured network access controls to determine the multitude of native mechanisms in the application that can be used to restrict, for example, user access, integration access, system-to-system access, non-human identity access, mobile access, OAuth, or other types of network access. As will be described in further detail below, in some embodiments, network access control modeling server 102 can iteratively review layer by layer of configurations stored by SaaS application server 108 and / or the vendor of the private infrastructure that hosts the private SaaS application, if applicable, to identify that pair of organization and SaaS application's native network access controls. Also, network access control modeling server 102 can associate / map each identified native network access control with any conditions and request parameters as well as the specific phase of authentication (e.g., pre-authentication, login, and post authentication) in the user session lifecycle in which the access control is actually enforced because not all network access controls may be enforced at each phase of authentication.
[0022] Furthermore, in analyzing the configurations of a specified organization's SaaS application configurations, network access control modeling server 102 can determine whether one or more upstream, intermediate network access services (e.g., provided by intermediate network access server 106) are used by the organization to provide additional network access restrictions on the traffic destined to that SaaS application. Examples of an intermediate network access service include an identity provider system (IdP) that manages user identities and provides an authentication service, a service that provides private connectivity between VPCs (e.g., AWS PrivateLink), a single sign-on (SSO) service, a VPN service, a secure access service edge (SASE) service, and another SaaS application (e.g., that is integrated with the target SaaS application). For example, an intermediate network access service can be deployed by the organization to provide secure access to a private SaaS application (e.g., that runs in private infrastructure, such as within an AWS VPC) that is otherwise not available on the public Internet and / or to provide an additional layer of security for traffic that is directed to the (e.g., public) SaaS application. In another example, the zero trust network access (ZTNA) framework that is implemented by a Secure Access Service Edge (SASE) for an organization requires that traffic to the organization's SaaS application comes through a channel that is provided by an intermediate network service that encrypts the traffic that comes through the channel. As will be described in further detail below, in some embodiments, network access control modeling server 102 can iteratively review layer by layer of configurations stored by SaaS application server 108 and / or the vendor of each intermediate network access service, if applicable, that sits (in a series) between a requestor (e.g., a device such as devices 104a, 104b, and / or 104c) and the SaaS application to identify intermediate network access controls that apply in conjunction with that pair of organization and SaaS application's native network access controls. Similar to the analysis of native network access controls, network access control modeling server 102 can associate each identified intermediate network access control with any conditions and request parameters as well as the specific phase of authentication (e.g., pre-authentication, login, and post authentication) in the user session lifecycle in which the access control is actually enforceable. By analyzing the series of intermediate network access service(s) for the specified organization's SaaS application, network access control modeling server 102 can determine a full access path that network traffic originating from a requesting device (e.g., devices 104a, 104b, and / or 104c) needs to traverse (and be subject to the network access controls thereof) to reach that organization's SaaS application.
[0023] In reference to FIG. 1, in one example, in order to reach a certain organization's SaaS application that is hosted by SaaS application server 108, only the at least portion of network traffic 110 originating from one of devices 104a, 104b, and / or 104c that is allowed access by the intermediate network access controls (e.g., that are enforced under the relevant authentication phase, conditions, request parameters) by the intermediate network access service implemented by intermediate network access server 106 could egress / exit from the intermediate network access service as network traffic 112. Depending on the type of intermediate network access service, network traffic 112 that exits that service may be encrypted as well. Then, only the at least portion of network traffic 112 that is allowed access by the native network access controls of the SaaS application will ultimately reach the destination SaaS application (e.g., to access a desired resource within).
[0024] Network access control modeling server 102 is configured to generate a model of network access control for each pair of the specified organization and a corresponding target SaaS application based on the determined native network access controls enforced by the SaaS application and the collection of intermediate network access controls enforced by the intermediate network access services that restrict traffic upstream of the SaaS application. In various embodiments, the model of network access control for each pair of the specified organization and a corresponding target SaaS application includes the native and / or intermediate network access controls that are enforceable in each authentication phase (e.g., pre-authentication, login, and post-authentication). Additionally, the model also includes the determined applicable conditions and request parameters to which each native and / or intermediate network access control is enforceable against in each authentication phase. As such, each model represents an efficient and holistic representation of the network access security of a particular SaaS application of a specified organization across network access restrictions enforced by both the SaaS application itself (or, when applicable, the private infrastructure in which it is deployed) and / or the intermediate network access service(s) that are upstream to the SaaS application.
[0025] While system 100 shows only one SaaS application server (SaaS application server 108) that provides one type of SaaS application, in actual implementation, an organization may subscribe to multiple types of SaaS applications, each provided by a corresponding set of one or more servers. Furthermore, while system 100 shows only one intermediate network access server (intermediate network access server 106) that is positioned upstream (relative to traffic destined for a SaaS application that is provided by SaaS application server 108), in actual implementation, a series of one or more intermediate network access services can be positioned between a requestor (e.g., one of devices 104a, 104b, and / or 104c) and each of an organization's SaaS application. Network access control modeling server 102 is configured to construct a separate network access control model corresponding to each combination of an organization's target SaaS application and its series of one or more upstream intermediate network access services. In some embodiments, the path / sequence of one or more upstream intermediate network access services that exist upstream of a target SaaS application is referred to as that application's “access path.”
[0026] After constructing network access control models for an organization and its various combinations of its SaaS applications and associated upstream intermediate network access services, network access control modeling server 102 is configured to use the organization's set of models to determine the exposures / vulnerabilities (e.g., an absence of actual network access controls) that may exist for one or more SaaS applications during one or more authentication phases and / or associated with one or more conditions. Due to the models' centralized and up-to-date representation of each of the organization's SaaS application's actual network access controls, the models can be queried to centrally and efficiently determine where network access controls already exist, where they do not, when they apply, and when they do not apply. In the absence of creating and maintaining such models, the disparate network access controls across the organization's various SaaS applications would be difficult to track in a compact manner, which would hinder the centralized vulnerability monitoring that is provided by network access control modeling server 102. In a first example, network access control modeling server 102 is configured to use the organization's set of models to determine the exposures / vulnerabilities that are described by an ad-hoc query that is received from a user (e.g., an organization's security administrator). In a second example, network access control modeling server 102 is configured to use the organization's set of models to determine an exposure / vulnerability that is described in a defined security policy. In some embodiments, network access control modeling server 102 is configured to present the exposures / vulnerabilities that are determined from an organization's model(s) at a user interface and / or programmatically perform a remediation to eliminate an exposure / vulnerability (e.g., by updating a configuration at a SaaS application and / or one of its upstream intermediate network access services).
[0027] As shown in FIG. 1, various embodiments described herein enable the calculation of native and / or intermediate network access controls that are enforceable in each authentication phase for an organization's SaaS applications to generate the net effective state for those applications. The net effective state can then be leveraged to identify where desired access restrictions may be lacking and trigger a downstream action of implementing the missing / lacking access restrictions within the appropriate portion of the access path to a SaaS application.
[0028] FIG. 2 is a diagram showing an example network access control modeling server in accordance with some embodiments. The example network access control modeling server of FIG. 2 includes SaaS application usage storage 202, native network access controls detection engine 204, intermediate network access controls detection engine 206, model building engine 208, network access control models storage 210, model querying engine 212, security policy storage 214, and security enforcement engine 216. Each of SaaS application usage storage 202, native network access controls detection engine 204, intermediate network access controls detection engine 206, model building engine 208, network access control models storage 210, model querying engine 212, security policy storage 214, and security enforcement engine 216 may be implemented using hardware (e.g., one or more processors and / or one or more memories) and / or software.
[0029] SaaS application usage storage 202 is configured to store a corresponding list of SaaS applications that is used by each organization. In some embodiments, SaaS application usage storage 202 receives from each organization, a list of SaaS applications that the organization subscribes to, as well as information related to each SaaS application (e.g., unique identifier, credentials, whether the application is a public application or a private application) that would enable other component(s) of the network access control modeling server to communicate with the SaaS application.
[0030] Native network access controls detection engine 204 is configured to, for each organization (e.g., for which application information is stored at SaaS application usage storage 202), query for configurations associated with each (e.g., instance of a type of) SaaS application that the organization uses to determine stored configurations (made by or for the organization) associated with restricting access to the application. In some embodiments, for a public SaaS application (e.g., an application that is available on the public Internet), native network access controls detection engine 204 is configured to query the SaaS application itself for the configurations. In some embodiments, for a private SaaS application (e.g., an application that is not accessible on the public Internet and is deployed on private infrastructure), native network access controls detection engine 204 is configured to query the SaaS application itself for the configurations. Such configurations may include a multitude of native mechanisms of the SaaS application to allow or restrict different types of network access from one or more of the following: user, integration, system-to-system, non-human identity, mobile, OAuth, or other type of network access. Furthermore, the configurations include native network access controls that can deny requests to the SaaS application on the basis of one or more request parameters of the traffic including one or more of the following: the request's source IP address (e.g., at the user, account, role, organization, tenant, group or other assignment level), the request's associated geo-location, and the request's associated autonomous system number (e.g., ASN). In some embodiments, the configurations comprise one or more layers of data (e.g., global data, profiles, etc.) that native network access controls detection engine 204 is configured to analyze layer by layer to identify the native mechanisms (native network access control(s)) described therein. Example of native mechanisms may include one or more of the following:
[0031] Allowed (or denied) Internet Protocol (IP) source restrictions at the user, account, role, organization, tenant, group, or other assignment level.
[0032] Allowed (or denied) cellular or other wireless networks.
[0033] Allowed (or denied) reverse proxy or reverse tunnel.
[0034] Allowed (or denied) application or integration context.
[0035] Allowed (or denied) virtual private network (VPN) tunnels, private links, interfaces, virtual private clouds (VPCs), Internet Protocol Security (IPSec), Generic Routing Encapsulation (GRE), multiple protocol label switching (MLPs), or other network transports.
[0036] Egress restrictions, component access within an application.
[0037] In some embodiments, each identified native network access control is mapped by native network access controls detection engine 204 to one or more authentication phases of the user session lifecycle with respect to the SaaS application in which the access controls are actually enforced by the SaaS application (if the application is a public application, otherwise, the native network access controls would be enforced by the private infrastructure). In some embodiments, native network access controls detection engine 204 may analyze dynamic rules and / or code snippets (e.g., JavaScript) associated with dynamic rules (e.g., access-control lists (ACLs)) (e.g., using machine learning) that are executed in response to a received request to the application to determine whether the request should be permitted or denied to infer a native network access control. In some embodiments, native network access controls detection engine 204 is configured to map each identified native network access control to a corresponding authentication phase based on stored application-specific mappings between native network access control types and their corresponding applicable authentication phases. In some embodiments, the stored application-specific mappings between native network access control types and their corresponding applicable authentication phases are determined based on analyses of each SaaS platform's documentation (e.g., determining all security control capabilities within that SaaS application and how each capability works and when it would apply), previously programmatically conducted simulations of requests sent to the SaaS platforms, and / or the empirical observations of when the access controls are “enforced” act to restrict traffic and when the access controls are not enforced to restrict traffic. For example, the simulations of requests sent to a particular SaaS application may include the act of sending requests with different request parameters (e.g., source IP address, user IDs, ASNs) and / or under different conditions to the SaaS application to determine which types of traffic were permitted and when. Examples of authentication phases in the user session lifecycle include: pre-authentication, login, and post-authentication. In another example, the authentication phases in the user session lifecycle include: pre-authentication, specific steps in the login process, and post-authentication.
[0038] In some embodiments, “pre-authentication” refers to the phase of the user session lifecycle during which a user has not yet been authenticated (e.g., the user's identity is not yet known) into the SaaS application. For example, native network access controls that are enforceable during the “pre-authentication” phase restrict traffic on the basis of Open Systems Interconnection (OSI) model data link layer 2 (e.g., MAC address), network layer 3 (e.g., source IP Address), transport layer 4 (e.g., port to use in the TCP / IP protocol), and / or application layer 7 (e.g., selected portion / resource of the user interface to the application), which can be determined from the network packets themselves. In some embodiments, “login” refers to the phase of the user session lifecycle in which an authentication event happens with respect to the SaaS application. Examples of authentication events include a mutual TLS (i.e., security protocol where both the client and server authenticate each other using digital certificates, ensuring secure and trusted communication) event, a presentation of a client certificate, the submission of a username and password associated with an account, a multi-factor authentication process, the use of an API key (e.g., a pre-shared secret that can authenticate an entity that possesses the API key), the use of an OAuth key, a single sign-on (SSO) event, and any other event to prove a user's identity. Generally, for example, native network access controls that are enforceable during the “login” phase restrict traffic on the basis of the user identity, mobile device identity, and / or representation (e.g., key, token, user identifier) of the user's identity associated with an authentication event. Some specific example native network access controls that are enforced during the “login” phase include: requiring that login requests originate from an allowed IP range or ASN once the user or device is identified; requiring a specific authentication mechanism such as multi-factor authentication (MFA), certificate based authentication technique, or an API token; restricting login attempts unless the device passes a trust or posture check; and enforcing that login can only occur when the user session is initiated from an approved network transport such as a VPN or Private Link. Another specific example of a type of native network access control that is enforceable during the “login” phase of the user session with respect to the application is the user can only successfully log into the application while the user has also connected (e.g., has been successfully authenticated by a VPN). This type of native restriction may only be enforceable at “login” and not afterwards, even after the user disconnects from the VPN, the user can continue to access that SaaS application. In some embodiments, “post-authentication” refers to the phase of the user session lifecycle in which a user identity has been authenticated for the user session and is requesting to perform activities with respect to the application (e.g., downloading files, checking email). Some specific example native network access controls that are enforced during the “post-authentication” phase include: limiting access based on elapsed session time (e.g., terminating or denying requests after a timeout window), restricting certain resource types or API endpoints unless requests originate from an approved network location even after login, denying actions when the user performs sensitive operations from a network that does not meet policy requirements, and limiting access to privileged operations unless the device fingerprint or trust score remains valid for the duration of the session.
[0039] In analyzing the layers of native network access controls for an organization's SaaS application, native network access controls detection engine 204 may infer that one or more intermediate network access services are in place upstream of the SaaS application because in order for traffic to reach the SaaS application, it must be allowed to pass through (e.g., not be denied by the ingress restrictions of) the upstream application / channel / tunnel / transport / conduit that forms an intermediate network access service. Example ways that native network access controls detection engine 204 may infer that traffic that reaches the SaaS application will have passed through an intermediate network access service are based on an IP address of the traffic that is associated with a particular tunnel and / or tags or labels on the traffic. Put another way, each upstream intermediate network access service provides a direct or indirect / transitive network control on which the SaaS application depends and therefore, the full story of which traffic is permitted to access the SaaS application is a combination of intermediate network access controls the are upstream of the application on top of the application's own native network access controls. Simply put, whether traffic that is destined for the SaaS application will reach the SaaS application is dependent on the intermediate network access controls (e.g., IP restrictions that may apply within certain time windows) of the VPN tunnel that terminates at the SaaS application as well as the native network access controls (e.g., a restriction on user IDs that are permitted to reach the desired resource) that are enforced by the application itself. Some examples of intermediate network access controls include: IP based ingress filtering rules on VPNs; VPC endpoints, or SASE gateways, device posture rules enforced by IdPs or SASE services; authentication policy rules inside IdPs such as conditional access policies that depend on user role, group, time, or risk signals; network routing or tunneling constraints (e.g., required transport channels, allowed subnets, or forced traffic paths), and allow or deny lists from private connectivity services such as Private Link or VPC peering rules. In some embodiments, through reviewing the intermediate network access controls that are upstream of a particular application, native network access controls detection engine 204 is configured to determine a full access path for the application, which is the series / chain of zero or more intermediate network access services that a request / packet must traverse from a requesting device to the SaaS application. For example, the full access path corresponding to a particular organization's SaaS application (Application A) may include an upstream application (Application B) and a VPN tunnel. Put another way, native network access controls detection engine 204 could perform an analysis that includes egress restrictions, component access within an application, callout capabilities within an application, entity permissions within an application or network, etc., to determine which entities could egress / exit ComponentA (e.g., an application, network, tunnel, etc.) of an access path in order to reach ComponentB of an access path (assuming ComponentB allows access from ComponentA).
[0040] In response to native network access controls detection engine 204's detection of one or more intermediate network access services that are upstream of an organization's particular SaaS application, intermediate network access controls detection engine 206 is configured to obtain configurations corresponding to each such intermediate network access service from either the SaaS application, a server associated with the organization, and / or the intermediate network access service itself. Examples of an intermediate network access service include an IdP service that manages user identities and provides an authentication service, a service that provides private connectivity between VPCs, a SSO service, a VPN service, a SASE service, and another application. Similar to the analyses that native network access controls detection engine 204 performs on the SaaS application's native network access controls, intermediate network access controls detection engine 206 is configured to analyze the configurations of each intermediate network access service to determine each intermediate network access control and a corresponding authentication phase during which it is enforced based on stored application-specific mappings between native network access control types and their corresponding applicable authentication phases. In some embodiments, intermediate network access controls detection engine 206 analyzes the ingress access controls (e.g., restrictions on traffic that enters the channel / tunnel / transport / conduit). In some embodiments, the stored application-specific mappings between intermediate network access control types and their corresponding applicable authentication phases (e.g., pre-authentication, login, and post-authentication) are determined based on analyses of each intermediate network access service's documentation (e.g., determining all security control capabilities within that intermediate network access service and how each capability works and when it would apply), previously programmatically conducted simulations of requests sent to the intermediate network access services, and / or the empirical observations of when the access controls are “enforced” and act to restrict traffic and when the access controls are not enforced to restrict traffic. For example, a SaaS application not supporting IP restrictions may support mandatory SSO. If the IdP login policy for that application enforced login-time IP restrictions for that application, the analysis could show partial coverage for network access restrictions that apply at the login authentication phase for the application but not all authentication phases. Native network access controls detection engine 204 is configured to also determine any conditions that may apply to the enforceability of each intermediate network access control. Native network access controls detection engine 204 is configured to store the determined intermediate network access controls corresponding to each intermediate network access service relative to a SaaS application of an organization at network access control models storage 210.
[0041] Model building engine 208 is configured to build models of network access corresponding to the SaaS applications that are used by an organization based on the network access controls determined by native network access controls detection engine 204 and intermediate network access controls detection engine 206. In particular, model building engine 208 is configured to build a respective model corresponding to each SaaS application that is used by a specified organization based on the native network access controls that are determined for the application by native network access controls detection engine 204 and also based on the intermediate network access controls determined for the application by intermediate network access controls detection engine 206. In various embodiments, a particular such model will group a SaaS application's network access controls by the authentication phases in the user session lifecycle in which they are enforceable. Furthermore, the model will include, for each network access control that is enforceable in a particular authentication phase, the one or more request parameter(s) (e.g., user, account, role, tenant, group, or assignment) of the traffic to which the control pertains. Additionally, the model will include, for each network access control that is enforceable in a particular authentication phase, whether any conditions need to be satisfied in order for the network access control to be enforceable (e.g., some network access controls may only apply during certain periods of time). If the SaaS application was determined to have at least one upstream intermediate network access service, then the particular type or identifier of the intermediate network access service is also identified for each intermediate network access control in the model. Model building engine 208 is configured to store models at network access control models storage 210. In some embodiments, based on the built models, model building engine 208 is configured to generate visualizations showing the global interconnect of applications, allowable network sources, and full access paths. In some embodiments, model building engine 208 may allow for the selection of sources or targets and filter visualizations to include, highlight, or exclude those entities. In some embodiments, the models may be filtered by sources, targets, data types, or other components and show access paths from or to those components through the network access restrictions.
[0042] Model querying engine 212 is configured to respond to queries about application security with respect to the models of network access (e.g., stored at network access control models storage 210) corresponding to one or more SaaS applications for an organization. In some embodiments, a (e.g., security administrator) user associated with an organization can submit an ad-hoc query regarding potential network access exposures to a user interface and then the models generated for that organization can be interrogated by model querying engine 212 to identify such exposures, if any, based on the request parameters of the query. Examples of such request parameters may include a user attribute, a threat vector, a network location, an IP address, an ASN, or a geographic location. An example ad-hoc query may ask “Where am I susceptible to attacks from a given set of IP addresses?” Interrogation of the organization's models for this particular query may identify both the network access controls (e.g., either native or from an intermediary service) that do not apply to the queried IP addresses and the authentication phase(s) in the user session lifecycle in which the controls are lacking (e.g., not enforceable). In some embodiments, queries to model querying engine 212 may also be programmatically generated by another process such as, for example, a threat detection process or a user profile builder process. In some embodiments, model querying engine 212 can also pre-generate indices / summaries of network access controls corresponding to various request parameters (e.g., various geographical locations, various ASNs, various user attributes) by aggregating the network access controls across the different models generated for an organization. For example, model querying engine 212 can aggregate all the network access controls corresponding to a particular country from across all the models generated for an organization and group such aggregated network access controls by authentication phases. Such pre-generated indices / summaries of network access controls corresponding to various request parameters can be searched by model querying engine 212 (e.g., in addition to the models themselves) to more quickly respond to queries.
[0043] Security policy storage 214 is configured to store network access control related policies that each comprises a statement of intent of desired network access controls and optionally, the specified authentication phase(s) of the user session lifecycle during which each such network access control should be enforced. For example, a security policy may indicate which IPs, tunnels, networks, proxies, etc. should be permitted access through a particular network access control mechanism to reach, login, or access to a particular SaaS application. In some embodiments, some security policies may also prescribe a remediation to be performed in the event of a policy violation (e.g., if a desired network access control is determined to not be implemented / enforced).
[0044] Security enforcement engine 216 is configured to evaluate security policies (e.g., stored at security policy storage 214) against an organization's network access control models (e.g., stored at network access control models storage 210) to determine whether any security policy is violated. For example, security enforcement engine 216 is configured to compare the desired network access control(s) described in a security policy against the actual network access controls that are described in the models for an organization to determine whether there are any discrepancies and therefore, policy violations. In some embodiments, in response to a detected security policy violation, security enforcement engine 216 is configured to present the violation at a user interface. In some embodiments, in response to a detected security policy violation, security enforcement engine 216 is configured to perform the remediation that is prescribed in the violated policy. In some embodiments, in response to a detected security policy violation, security enforcement engine 216 is configured to programmatically add a new configuration or modify an existing configuration at the target SaaS application or one of its upstream intermediate network access services to cause the actual network access control to match the desired network access control that is described in the policy or to effectuate the restriction(s) of the desired network access control that is described in the policy.
[0045] FIG. 3 is a flow diagram showing an embodiment of a process for modeling network access controls for an organization's SaaS application. In some embodiments, process 300 is implemented, at least in part, by network access control modeling server 102 of system 100 of FIG. 1.
[0046] At 302, a first set of configurations associated with an organization and a software-as-a-service (SaaS) application are obtained via an interface. In some embodiments, the first set of configurations are obtained via an interface of the network access control modeling server. For example, the interface is a HTTP client library that is configured to send request HTTP resources over the internet or curl. For example, the network access control modeling server can programmatically call an API associated with the SaaS application to obtain configurations. The obtained first set of configurations are those that are associated with a specific instance of a SaaS application that is subscribed to by a particular organization. This first set of configurations may be stored with a server that implements, at least in part, the SaaS platform and / or with a server that is associated with the organization itself. In the event that the application is a private application that is deployed on private infrastructure (i.e., inaccessible via the public Internet), the first set of configurations may also be stored at a service that implements the private infrastructure.
[0047] At 304, native network access controls associated with the SaaS application are determined based at least in part on the first set of configurations. The obtained first set of configurations include any native configurations (native network access controls) that dictate which types of network traffic / packets that the SaaS application itself (or the private infrastructure on a private application, if applicable) will enforce. In some embodiments, native network access controls may restrict network traffic from accessing (e.g., a requested resource of) the SaaS application as a function of one or more request parameters of the traffic and, optionally, under one or more conditions and / or dynamic rules. As will be described in the example of FIG. 4, below, different layers of native configurations can be iteratively reviewed to identify the native network access controls that exist within each layer.
[0048] At 306, a second set of configurations associated with an intermediate network access controls associated with an intermediate network access service upstream of the SaaS application are obtained via the interface, wherein network traffic directed to the SaaS application passes through the intermediate network access service.
[0049] At 308, intermediate network access controls are determined based at least in part on the second set of configurations. The obtained first set of configurations may also indicate the presence of one or more intermediate network access services that are located upstream of the SaaS application. For example, the network access control modeling server can programmatically call an API associated with an intermediate network access service to obtain a respective second set of configurations. Each upstream intermediate network access service may provide a tunnel, channel, transport, and / or conduit that, for example, may encrypt the traffic, encapsulate the traffic, and / or otherwise add an additional element of security to the traffic before the traffic reaches the SaaS application. Each upstream intermediate network access service may also provide its own network access controls (intermediate network access controls) (at its ingress or entrance to the tunnel, channel, transport, and / or conduit) to deny unwanted traffic from passing through the intermediate network access service and from ultimately reaching the protected SaaS application. In some embodiments, intermediate network access controls may restrict network traffic from accessing (e.g., a requested resource of) the SaaS application also as a function of one or more request parameters of the traffic and, optionally, under one or more conditions and / or dynamic rules. As will be described in the example of FIG. 5 below, the intermediate network access configurations of one or more intermediate network access services upstream of an organization's particular instance of a SaaS application can be reviewed to identify the intermediate network access controls that exist within each intermediate network access service.
[0050] At 310, the native network access controls and the intermediate network access controls are associated with respective authentication phases in a user session lifecycle. One or more enumerated authentication phases of a user session lifecycle (e.g., a user session with respect to the SaaS application) has been predetermined. In analyzing each native and intermediate network access control, the one or more authentication phases in which that access control is determined to actually be enforceable is also determined.
[0051] At 312, a network access control model is generated corresponding to the organization and the SaaS application based at least in part on the associations of the native network access controls and the intermediate network access controls with respective authentication phases. A model of network access for the SaaS application is then built based on representations of the identified native and intermediate network access controls, the conditions and dynamic rules under which they apply, and also bucketed / grouped by the authentication phases under which they are enforceable.
[0052] At 314, the network access control model is used to expose a vulnerability with respect to a given authentication phase. This model can then be queried and / or compared against security policies to highlight a lack or an insufficient amount of native and / or intermediate network access controls that are actually enforceable within one or more authentication phases. Such vulnerabilities can be surfaced at a user interface and / or used to trigger a programmatic remediation process, which may result in a new / modified configuration that effectuates a network access control (either native and to be implemented by the SaaS application itself or intermediate and to be implemented by an upstream intermediate network access service) that eliminates or at least mitigates the vulnerability in the authentication phase(s) in which it was determined.
[0053] FIG. 4 is a flow diagram showing an example of a process for determining the native network access configurations of an organization's particular instance of a SaaS application, in accordance with some embodiments. In some embodiments, process 400 may be implemented, at least in part, by network access control modeling server 102 of system 100 of FIG. 1. In some embodiments, steps 302, 304, 310, and 312 of process 300 may be implemented, at least in part, using process 400.
[0054] Process 400 describes one example process of iteratively determining the native network access controls that are configured for each instance of a SaaS application (each “target application” or “target SaaS application”) that is used by an organization. Process 400 may be repeated for one of the organization's target applications. In some embodiments, process 400 may be implemented periodically to determine new native network access controls to add to the relevant model so that the model stays up-to-date.
[0055] At 402, whether a target application associated with an organization is a public application or a private application is determined. In the event that the target application associated with an organization is a private application, control is transferred to 404. Otherwise, in the event that the target application associated with an organization is a public application, control is transferred to 406. A private application is one that is deployed on private infrastructure, such as within a customer environment, and is therefore not exposed to the public. For example, a private application is typically hosted within an organization's own data center and / or hosted on cloud infrastructure (e.g., Amazon Web Services, Azure Private Link) that is isolated from public access. Furthermore, traffic to a private application will traverse through private infrastructure and avoid using public IP addresses. Therefore, a private application is one that requires at least one upstream intermediate network access service (e.g., such as a VPN, SASE gateway, VPC endpoint, or Private Link, which service as the first point of enforcement for network access controls before traffic ever reaches the private application) to be accessed. In some embodiments, whether the application is public or private is determined based on data stored at the organization or an indication from the organization.
[0056] At 404, native configurations and data stored at a private infrastructure in which the target application is deployed are obtained.
[0057] At 406, configurations stored at the target application for an organization are obtained. In the event that the application is a public application, the configurations related to its network access controls are obtained from the application itself. For example, the configurations may include network access controls that are configured for the application by the organization to control which types of traffic can reach resources at that organization's instance, even if those controls may be implemented by its surrounding infrastructure. In the event that the application is a private application, then the application does not have an awareness of its surrounding infrastructure and so the configurations of the application can be obtained by connecting to the private infrastructure (e.g., an AWS VPC) on which the application is hosted (e.g., to determine the configurations that apply to the particular virtual machine (VM) at which the application is hosted).
[0058] At 408, (new) native network access controls are determined for a (next) configuration layer. For example, a native network access control can deny or allow a request's access to the application based on one or more of the following request parameters: the request's source IP address, the request's associated geo-location, and the request's associated autonomous system number (e.g., ASN). In some embodiments, the obtained configurations may include one or more layers of configurations. For example, each subsequent layer of configuration may include native network access controls for a more specific group of users (relative to the immediate higher configuration layer). In a specific example, the first layer of configurations to review are the application's global restrictions and allowances and the second layer of configurations to review are the user profiles (each of which are specific to one or more users). For example, global restrictions and allowances apply to all users, even before their identities are authenticated. In contrast, the restrictions and allowances of each user profile only apply to the users (or group of users) that are identified by that profile. For example, there could be numerous user profiles that have been configured for the application and each user profile can be individually analyzed.
[0059] Other example layers of configurations that can be reviewed to determine native network access controls include:
[0060] Application role level rules that provide network access restrictions per role or permission set.
[0061] Integration or API client configurations that specify IP restrictions or trust requirements for machine identities.
[0062] Organization wide security settings such as tenant level access policies.
[0063] Application component level configurations where sub systems have their own access policies.
[0064] Conditional or dynamic rules such as scripts or ACL logic used to evaluate request parameters at runtime.
[0065] At 410, corresponding one or more authentication phases in which the native network access controls are enforceable are inferred. In some embodiments, application type-specific research about which types of native network access controls (capabilities) are offered by each application type is determined. For example, such application type-specific research may be performed by analyzing the documentation from the vendor of each application type to determine each possible type of native network access control offered by that application type and during which authentication phase that type of application enforces that particular native network access control. Also, for example, which authentication phase that type of application enforces a native network access control may be observed through analyzing the patterns of traffic that are granted access or denied to that application and / or performing sending test traffic of different request parameters and programmatically tracking which types of traffic are granted access or denied by the application. In a specific example, global IP restrictions for Application Type Acme may apply only during the pre-authentication phase. In another specific example, profile-based IP restrictions for Application Type Acme may apply during the login / authentication phase, and maybe depending on other configurations, they may also apply during the post-authentication phase. In some embodiments, mappings between types of native access controls and the authentication phases during which they are enforceable are determined in advance and stored.
[0066] In some embodiments, any conditions under which each native network access control may apply are determined as well. For example, conditions may include a type of day during which an IP address restriction is enforced during a particular authentication phase.
[0067] At 412, whether the new native network access controls overlap with native network access controls from a different configuration layer is determined. In the event that the new native network access controls overlap with native network access controls from a different configuration layer, control is transferred to 414. Otherwise, in the event that the new native network access controls do not overlap with native network access controls from a different configuration layer, control is transferred to 416. In some embodiments, if a lower configuration layer includes a native network access control that overlaps / conflicts with a similar one in a higher configuration layer, then the native network access control (which may be more restrictive) modifies or overrides that from the configuration layer (at least under certain conditions, if any, associated with the native network access control of the lower layer). For example, if the global source IP addresses allowances included IP addresses associated with a particular region of the world, a user profile may include a more restrictive allowance that includes only a subset of the IP addresses associated with that particular region of the world, and then the most restrictive native access control will be the one that is included in the model.
[0068] At 414, a new native network access control of a lower layer is determined to override or modify a corresponding native network access control of a higher layer.
[0069] At 416, a model of network access controls corresponding to the organization and the target application is updated. The native network access controls from the current configuration layer, their conditions (if any), and the respective authentication phases in which they are enforceable are determined and used to build a model for that organization's target application.
[0070] At 418, whether there is at least one more configuration layer to review is determined. In the event that there is at least one more configuration layer to review, control is returned to 408. Otherwise, in the event that there are no more configuration layers to review, control is transferred to 420.
[0071] At 420, whether there is at least one upstream intermediate network access service corresponding to the target application is determined. In the event that there is at least one upstream intermediate network access service corresponding to the target application, control is transferred to 422. Otherwise, in the event that there are no upstream intermediate network access services corresponding to the target application, process 400 ends. If from the obtained configurations, it is determined that there is at least one intermediate network access service upstream of the target application, then that intermediate network access service is analyzed for the presence of intermediate network access controls, as will be described in FIG. 5, below. In some embodiments, a SaaS application does not natively support a certain type of network access restriction and / or (e.g., additional) network access restrictions are enforced on behalf of the application by an upstream service that provides such network access restrictions. For example, a SaaS application that does not support IP restrictions may support mandatory SSO. If the IdP providing the mandatory SSO login policy for that application enforced login-time IP restrictions for that application, the analysis could show partial coverage for network access restrictions that apply during the login authentication phase but not during all authentication phases.
[0072] FIG. 5 is a flow diagram showing an example of a process for determining the intermediate network access configurations from one or more intermediate network access services upstream of an organization's particular instance of a SaaS application, in accordance with some embodiments. In some embodiments, process 500 may be implemented, at least in part, by network access control modeling server 102 of system 100 of FIG. 1. In some embodiments, steps 306, 308, 310, and 312 of process 300 may be implemented, at least in part, using process 500. In some embodiments, step 422 of process 400 may be implemented, at least in part, using process 500.
[0073] Process 500 describes one example process of iteratively determining the intermediate network access controls that are configured for each instance of an intermediate network access service of a SaaS application (each “target application”) that is used by an organization. In some embodiments, process 500 may be implemented periodically to determine new intermediate network access controls to add to the relevant model so that the model stays up-to-date.
[0074] At 502, stored configurations associated with a (next) intermediate network access service upstream of the target application are determined. In some embodiments, the configurations associated with an intermediate network access service are stored with the organization, the target application, and / or with a server that implements the intermediate network access service. In some embodiments, in the query to the intermediate network access service, the network access control modeling server will provide credentials obtained from the organization for which the network access control model is being generated. For example, an intermediate network access control can deny or allow a request's access to the application based on one or more of the following request parameters: the request's source IP address, the request's associated geo-location, and the request's associated autonomous system number (e.g., ASN).
[0075] At 504, it is determined whether the intermediate network access service upstream of the target application is optional. In the event that the intermediate network access service of the target application is optional, control is transferred to 506. Otherwise, in the event that the intermediate network access service of the target application is not optional, control is transferred to 508. If the intermediate network access service is only optional for users that send requests / network traffic to the target application, then the intermediate network access controls therefore are not reviewed / added to the model because they do not necessarily apply. For example, if the SSO intermediate network access service is optional, then the intermediate network access controls of the SSO service are not reviewed and added to the model of network access control for the target application because a requestor can simply opt out of using SSO and therefore, evade any protections offered by that intermediate service. Otherwise, if the intermediate network access service is mandatory (e.g., not optional), then process 500 proceeds to analyze the intermediate network access controls thereof.
[0076] At 506, whether there is at least one more upstream intermediate network access service corresponding to the target application is determined. In the event that there is at least one more upstream intermediate network access service corresponding to the target application, control is returned to 502. Otherwise, in the event that there are no more upstream intermediate network access services corresponding to the target application, process 500 ends. If the current intermediate network access service is optional, then the process proceeds to the next intermediate network access service that is implemented upstream to the current target application, if any.
[0077] At 508, (new) intermediate network access controls are determined for the intermediate network access service. In some embodiments, in the event that the network access restriction that is provided by the current intermediate network access service is determined for a (e.g., hypothetical / simulated) request based on executing a piece of computer code (e.g., written in JavaScript), the network access control modeling server can input the computer code into a machine learning model (a trained conditional access model) to have the model interpret the logic of the code and simulate whether the code would provide access for the request given its configured request parameters (e.g., IP address, ASN, and / or user ID) and / or during the authentication phase in which the request was sent. Some specific examples of intermediate network access controls include: ingress rules allowing only certain source IPs or CIDRs to reach the tunnel or gateway, idle session timeout requirements enforced by a VPN or SASE tunnel, Transport Layer Security (TLS) certificate validation required by a private link or ingress proxy, enforcement of a private routing path that only allows traffic from designated VPCs or subnets, and traffic tagging or classification rules that allow or deny forwarding based on metadata such as device identity or risk score.
[0078] At 510, corresponding one or more authentication phases in which the intermediate network access controls are enforceable are inferred. In some embodiments, intermediate network access service type-specific research about whether which types of intermediate network access controls (capabilities) are offered by each intermediate network access service type is determined. For example, such intermediate network access service type-specific research may be performed by analyzing the documentation from the vendor of each intermediate network access service type to determine each possible type of intermediate network access control offered by that intermediate network access service type and during which authentication phase that type of intermediate network access service enforces that particular native network access control. Also, for example, which authentication phase that type of intermediate network access service enforces an intermediate network access control may be observed through analyzing the patterns of traffic that are granted access or denied to that intermediate network access service and / or sending test traffic of different request parameters and programmatically tracking which types of traffic are granted access or denied by the intermediate network access service. In some embodiments, mappings between types of native access controls and the authentication phases during which they are enforceable are determined in advance and stored.
[0079] At 512, whether the intermediate native network access controls corresponding to the current intermediate network access service overlap with intermediate network access controls from a different intermediate network access service is determined. In the event that the new intermediate network access controls overlap with intermediate network access controls from a different configuration layer, control is transferred to 514. Otherwise, in the event that the new intermediate network access controls do not overlap with intermediate network access controls from a different intermediate network access service, control is transferred to 516. In a particular example, if an intermediate network access service includes an intermediate network access control that overlaps / conflicts with a similar one in a different intermediate network access service, then the intermediate network access control that is more restrictive modifies or overrides the less restrictive one from a different intermediate network access service.
[0080] At 514, it is determined that a new intermediate network access control of the current intermediate network access service overrides or modifies a corresponding intermediate network access control of a different intermediate network access service.
[0081] At 516, a model of network access controls corresponding to the organization and the target application is updated. The intermediate network access controls from the current intermediate network access service, their conditions (if any), and the respective authentication phases in which they are enforceable are determined and added to the model for that organization's target application (that also includes native network access controls).
[0082] At 518, whether there is at least one more intermediate network access service to review is determined. In the event that there is at least one more intermediate network access service to review, control is returned to 502. Otherwise, in the event that there are no more intermediate network access services to review, control is transferred to 520.
[0083] At 520, an access path to the target application is determined. Through iteratively analyzing each intermediate network access service in a series of one or more intermediate network access services that sits between a requestor and the target application, a full access path that identifies the sequence of one or more intermediate network access services that network traffic must traverse in order to reach the target application is determined. The full access path may also identify which types of traffic could egress / successfully traverse an intermediate network access service to reach a subsequent intermediate network access service or just the target application. In general, the full access path may describe which entities could egress ComponentA (e.g., an application, network, tunnel, etc.) of an access path in order to reach ComponentB (the target application) of an access path (assuming ComponentB allows access from ComponentA).
[0084] At 522, the access path is stored with the model of network access control.
[0085] As shown across process 400 of FIG. 4 and process 500 of FIG. 5, a network access control modeling server (e.g., network access control modeling server 102) can recursively review each layer of native network access controls for each organization's SaaS application and also each of the application's upstream intermediate network access controls to map out the collective set of network access controls that govern which network traffic is allowed to reach the SaaS application and when (e.g., under which conditions and also, under which authentication phase of the user session lifecycle).
[0086] FIG. 6 is a diagram showing an example visualization of a network access control model that has been built for a particular organization and an instance of a SaaS application that is used by the organization in accordance with some embodiments. Specifically, in the example of FIG. 6, model 600 pertains to the particular organization of “Organization X” and its instance of the SaaS application StoreMore. For example, model 600 was generated using process 400 of FIG. 4 and process 500 of FIG. 5. As shown in the example of FIG. 6, model 600 includes native and intermediate network access controls that have been determined for ACME's instance of the StoreMore SaaS application. Furthermore, the network access controls for this pair of organization and SaaS application are bucketed / grouped by the respective authentication phases of a user session lifecycle (where the user session is with respect to the StoreMore application) during which they have been determined to be enforceable. In general, each native or intermediate network access control in such a model may be identified with one or more of the following: the conditions, the request parameters (e.g., a user attribute, a threat vector, a network location, an IP source address, an ASN, and / or a geographic location), and / or a user ID / entity ID / role / group to which it applies. Also, in some embodiments, where there are multiple intermediate network access services that are upstream (e.g., in a series) relative to the SaaS application, each intermediate network access can also be identified with the ID of the corresponding intermediate network access service that enforces it. Referring to the example of model 600, under the “Pre-Authentication” phase (in which the identities of users are not yet authenticated because the users have not yet logged into the application), a native network access control dictates to “Deny requests from unknown countries or untrusted ASN ranges during 12 am-8 am daily,” which identifies the relevant request parameters of countries or ASN ranges that do not match allowed lists (and are therefore “unknown”) and the conditions of “12 am-8 am” daily. Under the “Pre-Authentication” phase, an intermediate network access control dictates to “Deny requests unless they originate from an assigned VPC endpoint,” which identifies the relevant request parameter of “an assigned VPC endpoint” and no conditions. Under the “Login” phase (e.g., during any authentication event with respect to the application), a native network access control dictates to “Require successful MFA for user group ‘Guests’,” which identifies the relevant request parameter of “user group ‘Guests’” and the requirement that MFA has to be successful in order for access to be granted to the users in the group named “Guests.” Under the “Login” phase, an intermediate network access control dictates to “Require that login attempts originate from a device that passes posture evaluation,” which identifies the relevant request parameters of “a device that passes posture evaluation” (e.g., a device that passes posture evaluation is one that meets a given set of criteria associated with having desired security configurations). Under the “Post-Authentication” phase (e.g., after a user has successfully authenticated their identity with the application), there were no determined native network access controls. Under the “Post-Authentication” phase, an intermediate network access control dictates to “Terminate access if the session shifts to a network not allowed by the IdP,” which identifies the relevant request parameter of “a network” that does not match a list of the IdP's allowed networks and the condition that the user has shifted from one network to another that is not allowed by the IdP intermediate network access service.
[0087] As shown by the example of model 600, a particular type of network access control may be configured for an application or an intermediate network access service but not enforced (or enforceable) during all phases of the user session lifecycle. It may also be possible that during a phase of the user session lifecycle, no network access controls or an insufficient number of network access controls exists and such gaps may be identified by the model. Returning to the example of model 600, no native network access controls exist for the application under the “Post-Authentication” phase, which may present as a vulnerability / risk that could be identified thanks to the model. Example use cases of using generated models such as model 600 to surface and / or remediate such vulnerabilities / risks are described further below.
[0088] While the visualization of model 600 in FIG. 6 appears as a table, in actual implementation, such a network access control model may be stored and / or visualized in format types other than a table.
[0089] In some embodiments, analysis for a pair of organization and application's network access controls is periodically performed and the corresponding model is updated with the currently determined controls from each analysis.
[0090] After a corresponding model of network access controls has been generated for each of one or more target applications relative to an organization, the model(s) can be used in a number of use cases, such as querying and configuring / enforcing network access control related security policies, as will be described in further detail below. In some embodiments, prior to processing a query and / or prior to enforcing a network access control related security policy, aggregated network access controls corresponding to given request parameters can be computed and included in an index associated with the organization, as will be described in FIG. 7, below.
[0091] FIG. 7 is a flow diagram showing an example of a process for pre-computing an index across an organization's one or more network access control models in accordance with some embodiments. In some embodiments, process 700 may be implemented, at least in part, by network access control modeling server 102 of system 100 of FIG. 1.
[0092] Process 700 describes a process for computing an index based on synthesizing network access controls that have been built from one or more target SaaS applications relative to an organization (e.g., using process 400 of FIG. 4 and process 500 of FIG. 5). For example, an index with at least partially computed / aggregated network access controls can be pre-computed corresponding to different request parameters (e.g., that are anticipated to be included in ad-hoc querying or other types of querying of the models) to speed up the generation of responses to those queries (e.g., by effectively pre-caching at least partial query results in anticipation of certain types of queries).
[0093] At 702, a corresponding summary of a set of network access controls is determined with respect to a (next) request parameter from one or more models corresponding to an organization and its target SaaS applications. Examples of request parameter types may include a user attribute, a threat vector, a network location, an IP address, an ASN, or a geographic location. For example, for each request parameter, native and / or intermediate network access controls in the model(s) that include that request parameter are identified.
[0094] At 704, the summary is stored in an index corresponding to the set of network access control models. A summary (e.g., a total count and / or a text-based description) of the various instances of the identified native and / or intermediate network access controls in the model(s) that include that request parameter is generated. For example, the summary for the request parameter may include computed values broken out by each authentication phase. The mapping between that request parameter and its corresponding summary is stored in an index. For example, a respective index can be maintained for each request parameter type or a set of request parameter values. In a first specific example, an index of network access control summaries can be computed for each country. In a second specific example, an index of network access control summaries can be computed for each ASN.
[0095] At 706, whether there is at least one more request parameter to include in the index is determined. In the event that there is at least one more request parameter to include in the index, control is returned to 702. Otherwise, in the event that there are no more request parameters to include in the index, process 700 ends.
[0096] FIG. 8 is a flow diagram showing an example of a process for responding to an ad-hoc vulnerability query in accordance with some embodiments. In some embodiments, process 800 may be implemented, at least in part, by network access control modeling server 102 of system 100 of FIG. 1. In some embodiments, step 314 of process 300 of FIG. 3 may be implemented, at least in part, using process 800.
[0097] At 802, an ad-hoc query with respect to an organization is received. In some embodiments, a (e.g., security administrator) user associated with the organization can submit a query regarding the existence of potential network access controls (or the lack thereof, which would be exposures / vulnerabilities) to a user interface and then the model can be interrogated to identify such matching network access controls (or lack thereof) on the request parameters of the query. Examples of such request parameters may include a particular user attribute, a threat vector, a network location, an IP address, an ASN, or a geographic location. Ad-hoc queries may be free-form but may also be required to include request parameters that pass certain constraints / validation requirements (e.g., if the query is to include a user's name, then the user's full name must be included in the query).
[0098] At 804, a set of target application network access control models and one or more pre-computed indices related to the organization are obtained.
[0099] At 806, a set of network access controls associated with respective one or more target applications is determined based at least in part on comparing the ad-hoc vulnerability query against at least one of the set of application network access control models and the one or more pre-computed indices relative to the organization. In some embodiments, the organization's network access control models (e.g., generated using process 400 of FIG. 4 and using process 500 of FIG. 5) are queried directly based on the ad-hoc query to identify both the native and intermediate network access controls, if any, that match the given request parameters of the query. Any pre-computed indices (e.g., generated using process 700 of FIG. 7) are also compared against the given request parameters of the query to determine whether any matching, computed summaries in the indices match the given request parameters. For example, the pre-computed indices could be queried first and if there is no close match to a request parameter for which a summary of network access controls was pre-computed, then the models themselves are then queried for matching network access controls Any matching native and / or intermediate network access controls relative to the ad-hoc query are determined and presented at a user interface with relevant information. For example, each matching native and / or intermediate network access control can be presented with one or more of the following: the intermediate network access service that implements the network access control, any related conditions, and / or the authentication phases in which it is enforceable. In some embodiments, in the event that fewer than the amount of native and / or intermediate network access controls that match the ad-hoc query (e.g., according to a set of exposure / vulnerability criteria) with respect to one or more authentication phases in a user session lifecycle for a particular target application, then the presence of those exposures / vulnerabilities and their corresponding authentication phases are also identified / presented at a user interface.
[0100] A first example ad-hoc query may ask “Where am I susceptible to attacks from a given set of IP addresses?” Interrogation of the organization's models may identify both native and intermediate network access controls that do not apply to the queried IP addresses and the authentication phase(s) in the user session lifecycle in which the controls are lacking. A second example ad-hoc query may ask for network access controls that pertain to a given country. That query may be translated into the set of ASNs that are associated with the given country and one or more pre-computed indices can be checked to determine the summaries of network access controls that correspond to each of those ASNs.
[0101] In addition to free-form ad-hoc queries from users, the models and / or the pre-computed indices can also be searched based on queries from other processes / engines (e.g., threat detections, user identity enrichment processes, risk calculation profile). For example, a user identity enrichment process can query the models associated with an organization with a given user attribute / identifier and the matching native and / or intermediate network access controls pertaining to that user attribute / identifier can be surfaced to add to a programmatically created profile of the user.
[0102] FIG. 9 is a flow diagram showing an example of a process for receiving configuration of a network access control related security policy in accordance with some embodiments. In some embodiments, process 900 may be implemented, at least in part, by network access control modeling server 102 of system 100 of FIG. 1. In some embodiments, step 314 of process 300 of FIG. 3 may be implemented, at least in part, using process 900.
[0103] At 902, a configuration of a security policy associated with an organization is received, wherein the security policy includes one or more target applications, one or more desired network access controls and optionally, one or more authentication phases of a user session lifecycle during which the one or more desired network access controls should be enforced. In some embodiments, a (e.g., security administrator) user associated with the organization can configure a network access control related security policy that comprises a statement of intent of desired network access controls and optionally, the specified authentication phase(s) of the user session lifecycle during which each such network access control should be enforced. In some embodiments, the desired network access controls may specify whether the controls should be natively enforced by the target application itself or by any intermediate network access service that is upstream of the target application.
[0104] At 904, the security policy is stored. As will be described in further detail below, the security policy can be enforced (“audited”) by being compared to the organization's network access control models to determine violations that would represent exposures / vulnerabilities in the organization's network access configurations.
[0105] Examples of such security policies may include:
[0106] Security policies indicating which IP addresses, tunnels, networks, and / or proxies, etc. should be permitted access through each mechanism to reach, login, or access to each target application, user, account, tenant, etc.
[0107] Security policies can be different for each target application, tenant, user, group of users, etc. based on the capabilities of the application. For example, a policy governing a set of target applications could address global IP source allowances. Another target application may support IP source allowances at a user or role level and the policy would identify violations at all supported levels.
[0108] Security policies can be dynamic based on the current device, trust, device / browser / session fingerprint, authentication mechanism (such as, e.g., SSO, OAuth, or user / pass), login type (e.g., user interface (UI), application programming interface (API), etc.), user agent, etc. This information may be static, discovered, or queried from an external system.
[0109] Security policies can allow for temporary access based on time of day, duration of access, length of time since previous access, etc.
[0110] Security policies can consider labels, risk score, trust level, security posture, current threats or attacks, data contents, data classifications, business organization, business purpose, or other factors of the target application in the analysis. For example, a policy could allow for lower trust source networks if the target application has a very low risk score and very high security posture.
[0111] Security policies can operate on target application configuration, metadata, or events of activities or requests that have occurred. Configuration and metadata would indicate possible access and events and requests would indicate actual access that has already occurred.
[0112] Security policies can incorporate static or dynamic source information. For example, a policy may allow a target application to be configured as accessible by a known, trusted Classless Inter-Domain Routing (CIDR). Alternatively, a policy may query an external system for the current list of trusted IPs meeting certain criteria and then analyze target applications using the retrieved data.
[0113] Security policies may allow for exceptions for certain source users, user types (e.g., external or unmanaged), devices, target applications, offices, networks, and / or links.
[0114] Security policies may allow for exceptions for certain target applications or target application components (e.g., external support portal component).
[0115] A security policy may require an approval, testing, or configuration management process before being enforced. Any policy changes may similarly go through an approval process. For example, a proposed change to a policy can be simulated before being enforced, showing the differences, violations, or actions that would be taken.
[0116] Security policies may adjust themselves based on analysis of new data types in applications, change in application risk score, change in source network trust levels, change in user risk or trust levels, etc. The effect of the dynamic policy adjustment may be a notification, warning, workflow, or trigger a task to actively change application configurations.
[0117] A security policy may cause a user or other source's IP, tunnel, etc. to be translated to a different IP, tunnel, etc. through network address translation (NAT) / port address translation (PAT) or other mechanism. These changes could be done based on qualifying actions, authentications, or mechanisms that trigger a change of status for a source. For example, this security system may identify a source as having a higher level of trust than apparent and network address translate the source IP to that of a high trust network location. This would provide increased access through the network access controls. Conversely, this system could identify suspicious activities within applications and network address translate the source to a lower trust source IP requiring additional restrictions or scrutiny from applications based on their configurations.
[0118] FIG. 10 is a flow diagram showing an example of performing an audit of a network access control related security policy in accordance with some embodiments. In some embodiments, process 1000 may be implemented, at least in part, by network access control modeling server 102 of system 100 of FIG. 1. In some embodiments, step 314 of process 300 of FIG. 3 may be implemented, at least in part, using process 1000.
[0119] At 1002, an audit of a security policy associated with an organization is performed by comparing desired configurations of the security policy against actual configurations in at least one of a set of target application network access control models and one or more pre-computed indices relative to the organization to determine a set of discrepancies. The determined native and / or intermediate network access controls that are determined in the models (e.g., generated using process 400 of FIG. 4 and using process 500 of FIG. 5) themselves or the pre-computed indices generated from the models (e.g., using process 700 of FIG. 7) represent the actual configurations of the target application and therefore, the models and indices can be compared against the security policy to determine the ways in which the actual configurations in the models / indices differ from the desired network access controls of the policy. One example discrepancy is when no native network access control or no intermediate network access control is enforceable in an authentication phase that is specified in the policy to include a specified type of network access control. Another example of a discrepancy is when the actual native or intermediate network access control that is enforceable in a given authentication phase differs from the desired network access control that is specified in the policy.
[0120] At 1004, the set of discrepancies is presented at a user interface. A description of each discrepancy is surfaced at a user interface (e.g., for the organization's security administrator).
[0121] At 1006, a remediation to address at least one of the set of discrepancies is optionally performed. Policy violations may trigger notifications, workflows, disabling applications, and / or reconfiguration of the relevant target applications. In some embodiments, a programmatic remediation is performed to eliminate each of at least some of the surfaced discrepancies. The programmatic remediation may involve, for example, issuing one or more application programming interface (API) commands to a target application or one of its upstream intermediate network access services to update an existing or create a new network access control that matches a desired one in the policy or causes the actual network access control to become aligned with the desired ones in the policy.
[0122] Example remediations include:
[0123] The network access control modeling server may actively change the configuration of network access controls for a relevant target application to add, remove, extend, expire, or otherwise modify their login, connectivity, and access restrictions to become compliant with the violated security policy.
[0124] In the context of an access path, a change could be made in any node of the access path to achieve the result of the violated security policy. For example, if a target application does not support IP restrictions, a change could be made to the ingress or egress filtering of an upstream intermediate network access service (e.g., a virtual private cloud (VPC) to VPC connection) acting as the sole path of access to the application in order to achieve the policy result.
[0125] Various embodiments described herein allow a holistic picture of an organization's target SaaS application's network access controls to be modeled. Each target SaaS application's model includes not only network access controls that are natively supported and enforced by the application itself (or the private infrastructure on which it is deployed), but also the network access controls that are supported and enforced by an upstream intermediate network access service on behalf of the application. What is more, each generated model also groups the native and / or intermediate network access controls by the authentication phase(s) to which they have or are expected to be enforced. An organization's collection of models corresponding to various target SaaS applications can be used to centrally monitor and identify whether any network access controls are lacking for a given request parameter and / or in a particular authentication phase to help surface any such vulnerabilities and / or to trigger downstream actions to remediate such exposures.
[0126] Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.
Claims
1. A system, comprising:an interface configured to send requests over one or more networks; andone or more processors configured to:obtain, via the interface, a first set of configurations associated with an organization and a software-as-a-service (SaaS) application;determine native network access controls associated with the SaaS application based at least in part on the first set of configurations;obtain, via the interface, a second set of configurations associated with an intermediate network access service upstream of the SaaS application, wherein network traffic directed to the SaaS application passes through the intermediate network access service;determine intermediate network access controls associated with the intermediate network access service based at least on the second set of configurations;associate the native network access controls and the intermediate network access controls with respective authentication phases in a user session lifecycle;generate a network access control model corresponding to the organization and the SaaS application based at least in part on the associations of the native network access controls and the intermediate network access controls with their respective authentication phases; anduse the network access control model to expose a vulnerability with respect to a given authentication phase, including to:perform an audit of a security policy associated with the organization by comparing one or more desired network access controls as described in the security policy against actual configurations in the network access control model or one or more pre-computed indices derived from the network access control model to determine a set of discrepancies; andperform a remediation to address at least one of the set of discrepancies, including to issue an application programming interface (API) command to a target application or an upstream intermediate network access service relative to the target application to update an existing network access control or create a new network access control to match a desired network access control in the security policy.
2. The system of claim 1, wherein the SaaS application is a public application and wherein the first set of configurations are supported by the public application.
3. The system of claim 1, wherein the SaaS application is a private application and wherein the first set of configurations is supported by a private infrastructure on which the private application is deployed.
4. The system of claim 1, wherein to determine the native network access controls associated with the SaaS application based at least in part on the first set of configurations comprises to:determine a first set of native network access controls associated with a first configuration layer of the SaaS application;determine a second set of native network access controls associated with a second configuration layer of the SaaS application; anddetermine whether the first set of native network access controls and the second set of native network access controls overlap.
5. The system of claim 4, wherein in an event that the first set of native network access controls and the second set of native network access controls overlap, the one or more processors are further configured to:determine that the second configuration layer relates to a more specific set of users than the first configuration layer; andinclude in the network access control model, the first set of native network access controls modified by the second set of native network access controls.
6. The system of claim 1, wherein the intermediate network access service comprises one or more of the following: a virtual private cloud (VPC) endpoint, a virtual private network (VPN), a secure access service edge (SASE) service, and another SaaS application.
7. The system of claim 1, wherein the intermediate network access service is determined to be mandatory relative to the SaaS application.
8. The system of claim 1, wherein the one or more processors are further configured to determine an access path to the SaaS application, wherein the access path includes the intermediate network access service and any other intermediate network access service that restricts traffic upstream of the SaaS application.
9. The system of claim 1, wherein the network access control model further includes respective conditions under which any of the native network access controls and the intermediate network access controls are enforceable.
10. The system of claim 1, wherein the respective authentication phases in the user session lifecycle comprises one or more of the following: pre-authentication, login, and post-authentication.
11. The system of claim 1, wherein the one or more processors are further configured to:determine a corresponding summary of a set of network access controls with respect to a given request parameter from a plurality of network access control models corresponding to the organization and its target applications; andstore the corresponding summary in an index corresponding to the plurality of network access control models.
12. The system of claim 11, wherein the one or more processors are further configured to:receive an ad-hoc query with respect to the organization;obtain the plurality of network access control models and the index; anddetermine a responsive set of network access controls associated with respective one or more target applications based at least in part on comparing the ad-hoc query against at least one of the plurality of network access control models and the index.
13. The system of claim 1, wherein the one or more processors are further configured to:receive a configuration of the security policy associated with the organization, wherein the security policy includes one or more target applications, the one or more desired network access controls, and one or more specified authentication phases of the user session lifecycle during which the one or more desired network access controls should be enforceable; andstore the security policy.
14. The system of claim 13, wherein the one or more processors are further configured to:present the set of discrepancies at a user interface.
15. A method, comprising:obtaining, via an interface, a first set of configurations associated with an organization and a software-as-a-service (SaaS) application;determining native network access controls associated with the SaaS application based at least in part on the first set of configurations;obtaining, via the interface, a second set of configurations associated with an intermediate network access service upstream of the SaaS application, wherein network traffic directed to the SaaS application passes through the intermediate network access service;determining intermediate network access controls associated with the intermediate network access service based at least on the second set of configurations;associating the native network access controls and the intermediate network access controls with respective authentication phases in a user session lifecycle;generating a network access control model corresponding to the organization and the SaaS application based at least in part on the associations of the native network access controls and the intermediate network access controls with their respective authentication phases; andusing the network access control model to expose a vulnerability with respect to a given authentication phase, including:performing an audit of a security policy associated with the organization by comparing one or more desired network access controls as described in the security policy against actual configurations in the network access control model or one or more pre-computed indices derived from the network access control model to determine a set of discrepancies; andperforming a remediation to address at least one of the set of discrepancies, including to issue an application programming interface (API) command to a target application or an upstream intermediate network access service relative to the target application to update an existing network access control or create a new network access control to match a desired network access control in the security policy.
16. The method of claim 15, wherein the SaaS application is a public application and wherein the first set of configurations are supported by the public application.
17. The method of claim 15, wherein the SaaS application is a private application and wherein the first set of configurations are supported by a private infrastructure on which the private application is deployed.
18. The method of claim 15, wherein determining the native network access controls associated with the SaaS application based at least in part on the first set of configurations comprises:determining a first set of native network access controls associated with a first configuration layer of the SaaS application;determining a second set of native network access controls associated with a second configuration layer of the SaaS application; anddetermining whether the first set of native network access controls and the second set of native network access controls overlap.
19. The method of claim 18, wherein in an event that the first set of native network access controls and the second set of native network access controls overlap, the method further comprising:determining that the second configuration layer relates to a more specific set of users than the first configuration layer; andincluding in the network access control model, the first set of native network access controls modified by the second set of native network access controls.
Citation Information
Patent Citations
Secure Mobile Client with Assertions for Access to Service Provider Applications
US20140047532A1
Mechanisms to Use Network Session Identifiers for Software-As-A-Service Authentication
US20150106617A1
Systems and methods for intercepting and enhancing saas application calls via embedded browser
US20200097337A1
Systems and methods for multilink wan connectivity for saas applications
US20200106699A1
Application selection based on cumulative vulnerability risk assessment
US20210286880A1
