Dynamic and transparent application program interface (API) endpoint host redirection
Abstract
A method of application program interface (API) endpoint host redirection may include with an intelligent domain name system (DNS) engine (IDE) associated with a containerized service within a pod of a mesh network, snooping a DNS query from the containerized service, identifying within the DNS query, an API endpoint name, snooping a DNS response associated with the DNS query, identifying an Internet protocol (IP) address associated with the API endpoint name, transmitting the API endpoint name and the IP address to a controller, receiving, from the controller, a list of safe API endpoint hosts with no known security vulnerabilities based on security data obtained from at least one security service, caching, at the IDE, the list of safe API endpoint hosts including safe IP addresses, and transmitting to the containerized service, via the IDE, IP addresses of safe API endpoint hosts within the list of safe API endpoint hosts.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A non-transitory computer-readable medium storing instructions that, when executed, causes a processor to perform operations, comprising: with an intelligent domain name system (DNS) engine (IDE) associated with a containerized service within a pod of a mesh network: snooping a DNS query from the containerized service; identifying within the DNS query, an application program interface (API) endpoint name; snooping a DNS response associated with the DNS query; identifying an Internet protocol (IP) address associated with the API endpoint name and from the DNS response; transmitting the API endpoint name and the IP address to a controller; receiving, from the controller, a list of safe API endpoint hosts with no known security vulnerabilities based on security data obtained from at least one security service; caching, at the IDE, the list of safe API endpoint hosts including safe IP addresses; intercepting a subsequent DNS request from the containerized service; and transmitting to the c
- Claim 2Depends on #1
The non-transitory computer-readable medium of claim 1, the operations further comprising: reducing a default time-to-live (TTL) value of the DNS response to a minimum TTL value; and assigning the safe API endpoint hosts to a moderate TTL value less than the default TTL value and relatively higher than the minimum TTL value, wherein the moderate TTL value is based at least in part on a security risk of the safe API endpoint hosts being above a threshold.
- Claim 3Depends on #2
The non-transitory computer-readable medium of claim 2, the operations further comprising: determining if the security risk of the API endpoint host has changed; and assigning a subsequent DNS query from the containerized service to the minimum TTL value based at least in part on the security risk of the API endpoint host having changed.
- Claim 4Depends on #3
The non-transitory computer-readable medium of claim 3, wherein determining if the security risk of the API endpoint host has changed comprises: receiving, from the controller, an updated risk assessment from the at least one security service; and updating, at the IDE, at least one entry of the list of safe API endpoint hosts to reflect the updated risk assessment.
- Claim 5Depends on #1
The non-transitory computer-readable medium of claim 1, the operations further comprising: swapping a destination IP address within a first IP packet header associated with the subsequent DNS request to a first API endpoint host with a second IP address within the list of safe API endpoint hosts including the safe IP addresses; and swapping a source IP address within a returning IP packet header with the second IP address.
- Claim 6Depends on #1
The non-transitory computer-readable medium of claim 1, wherein the containerized service is a containerized application microservice within a Kubernetes pod.
- Claim 7Depends on #1
The non-transitory computer-readable medium of claim 1, wherein the at least one security service comprises a security threat intelligence service, a DNS resolution service, a DNS lookup service, a phishing protection service, a content filtering service, a cloud computing security service, a security rating service, or combinations thereof.
- Claim 8Independent Claim
A method of application program interface (API) endpoint host redirection, comprising: with an intelligent domain name system (DNS) engine (IDE) associated with a containerized service within a pod of a mesh network: snooping a DNS query from the containerized service; identifying within the DNS query, an API endpoint name; snooping a DNS response associated with the DNS query; identifying an Internet protocol (IP) address associated with the API endpoint name and from the DNS response; transmitting the API endpoint name and the IP address to a controller; receiving, from the controller, a list of safe API endpoint hosts with no known security vulnerabilities based on security data obtained from at least one security service; caching, at the IDE, the list of safe API endpoint hosts including safe IP addresses; intercepting a subsequent DNS request from the containerized service; and transmitting to the containerized service, via the IDE, IP addresses of safe API endpoint hosts within t
Technical Overview & Description
TECHNICAL FIELD The present disclosure relates generally to network security. Specifically, the present disclosure relates to systems and methods for application program interface (API) security through API endpoint host redirection. BACKGROUND Network security is a growing industry with the ubiquity of computing devices and networks throughout the world. Among the number of types of attacks that may compromise a computing network, application program interface (API) attacks have become a very frequent attack method. APIs provide seamless communication between various applications and systems. However, the growing use of APIs across all facets of business also brings with it a significant increase in the attack surface. An API attack is the malicious usage or attempted usage of an API from automated threats such as access violations, bot attacks or abuse and may include specific subcategories of attacks such as, for example, denial of service (DOS) attacks, distributed denial of service (DDOS) attacks, injection attacks, authentication hijacking, cross-sie scripting (XSS) attacks, parameter tampering attacks, man-in-the-middle (MitM) attacks, credential stuffing attacks, application abuse attacks, and server-side request forgery (SSRF) attacks, among others. An API attack may result in mass data losses, stolen private information and service disruption. Thus, providing API security has become a top of mind concern for individuals and entities. A number of network security providers have developed API security solutions, leveraging deep-packet inspection capabilities provided by a service mesh and identifying the APIs in use within an organization. Further, these network security providers may utilize a number of resources to provide security insights and risk-ratings of APIs and specific API endpoint hosts. For example, some network security providers are able to identify that an external API is in use, with, for example, five known API endpoint hosts; three of whic
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (16)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Bitsight,
- “
- Identify, Quantify, and Reduce Cyber Risk,
- ”
- downloaded from https://www.bitsight.com/ on Apr. 3, 2023.
- Istio,
- “
- Simplify observability, traffic management, security, and policy with the leading service mesh,
- ”
- downloaded from https://istio.io/ on Apr. 3, 2023.