Code Velocity
Siguria e AI-së

Kontrolli i Domain-eve të Agjentëve AI: Sigurimi i Qasjes në Ueb me AWS Network Firewall

·7 min lexim·AWS·Burimi origjinal
Ndaj
Diagramë që tregon AWS Network Firewall duke kontrolluar qasjen në ueb të agjentëve AI me filtrime të domain-eve në një mjedis Amazon VPC.

Hapi 3: Konfigurimi i Listës së Lejuar të AWS Network Firewall

Bërthama e strategjisë suaj të kontrollit të domain-it qëndron në konfigurimin e një grupi rregullash "stateful" brenda AWS Network Firewall. Ky grup rregullash definon 'allowlist'-ën tuaj – domain-et specifike që agjentët tuaj AI lejohen t'i qasen. Është thelbësore të përfshini një pikë kryesore (.) në hyrjet e domain-it tuaj për të përputhur 'subdomains', duke siguruar mbulim gjithëpërfshirës.

Për shembull, për të lejuar qasjen në Wikipedia dhe Stack Overflow, konfigurimi i rregullave tuaja do të dukej diçka e tillë:

{
  "RulesSource": {
    "RulesSourceList": {
      "Targets": [
        ".wikipedia.org",
        ".stackoverflow.com"
      ],
      "TargetType": "TLS_SNI",
      "GeneratedRulesType": "ALLOWLIST"
    }
  }
}

Ky konfigurim siguron që vetëm trafiku i destinuar për këto domain-e të lejuara shprehimisht, duke përfshirë 'subdomains' e tyre, lejohet të kalojë përmes firewall-it. I gjithë trafiku tjetër mund të refuzohet në mënyrë të nënkuptuar nga një politikë 'default-deny'.

Përtej SNI: Një Qasje 'Defense-in-Depth'

Ndërsa filtrimi i bazuar në SNI është i fuqishëm, një arkitekturë e vërtetë 'zero-trust' për agjentët AI kërkon shtresa të shumta sigurie. Siç u përmend, bashkimi i AWS Network Firewall me Amazon Route 53 Resolver DNS Firewall shton një tjetër pikë kontrolli kritike. Kjo parandalon agjentët të zgjidhin domain-e të bllokuara përmes DNS, duke mbyllur në mënyrë efektive një vektor të mundshëm anashkalimi ku një agjent mund të përpiqet të lidhet drejtpërdrejt me një adresë IP nëse zgjidhja e domain-it nuk kontrollohet gjithashtu.

Për më tepër, integrimi i shërbimeve të tjera të sigurisë, si AWS Web Application Firewall (WAF) për inspektimin e trafikut HTTP/S (nëse trafiku eventualisht çkriptohet për inspektim në një shtresë tjetër) dhe kontrollet e qasjes të bazuara në identitet për thirrjen e agjentëve, forcon pozicionin tuaj të sigurisë. Kjo qasje me shumë shtresa përputhet me praktikat më të mira për ndertimin-e-nje-arkitekture-zero-besimi-per-fabrika-ai-konfidenciale.

Përfundim: Fuqizimi i Vendosjes së Sigurt të Agjentëve AI

Aftësia për të kontrolluar cilët domain-e mund të kenë qasje agjentët tuaj AI nuk është thjesht një veçori; është një kërkesë themelore sigurie për adoptimin e AI-së në ndërmarrje. Duke implementuar AWS Network Firewall me Amazon Bedrock AgentCore, organizatat fitojnë kontroll granular mbi trafikun dalës të agjentëve, zbusin rreziqe të rëndësishme sigurie si nxjerrja e të dhënave dhe 'prompt injection', dhe plotësojnë detyrimet strikte të pajtueshmërisë.

Ndërsa agjentët AI bëhen më të sofistikuar dhe të integruar në proceset kritike të biznesit, një kuadër i fortë sigurie bëhet i domosdoshëm. Kjo zgjidhje ofron një rrugë të qartë për bizneset që të shfrytëzojnë fuqinë e agjentëve AI duke ruajtur kontrollin, shikueshmërinë dhe një pozicion sigurie të pakompromis. Përqafimi i modeleve të tilla arkitekturore është kyç për operacionalizimin-e-ai-agjentik-pjesa-1-nje-udhëzues-per-palet-interesit dhe nxitjen e një të ardhmeje të sigurt dhe inovative.

Pyetjet e bëra shpesh

Why is domain-level control essential for AI agents browsing the internet?
AI agents with internet access offer powerful capabilities but also introduce significant security risks. Unrestricted web access can lead to unintended data exfiltration to unauthorized domains, exposure to malicious content, or exploitation through prompt injection attacks that trick agents into navigating to harmful sites. Domain-level control, specifically allowlisting, ensures that agents can only access pre-approved websites, drastically reducing the attack surface. This is critical for maintaining data privacy, adhering to regulatory compliance standards, and safeguarding sensitive enterprise information, especially in regulated industries where strict network egress policies are mandatory.
How does AWS Network Firewall enhance the security posture of AI agents using Amazon Bedrock AgentCore?
AWS Network Firewall acts as a crucial layer of defense for AI agents deployed via Amazon Bedrock AgentCore. By routing all outbound traffic from AgentCore Browser through the firewall, organizations can implement granular domain-based filtering rules. The firewall inspects TLS Server Name Indication (SNI) headers to identify destination domains and applies allowlist or denylist policies. This ensures that agents only connect to approved external resources, logs all connection attempts for auditing, and can block access to known malicious domains or undesirable categories, thereby bolstering the overall security and compliance of AI agent operations.
What are the primary challenges addressed by implementing domain-based egress filtering for AI agents?
Domain-based egress filtering addresses several critical challenges for AI agent deployments. Firstly, it mitigates the risk of data exfiltration and unauthorized access by ensuring agents only interact with trusted domains. Secondly, it helps prevent prompt injection attacks, where malicious prompts could instruct an agent to visit harmful or unintended sites, by enforcing an allowlist of approved URLs. Thirdly, it meets stringent enterprise security and compliance requirements, particularly in regulated sectors, by providing transparent control and auditability of agent network interactions. Finally, for multi-tenant SaaS providers, it allows for customized, per-customer network policies, enabling specific domain restrictions based on individual client needs.
Can SNI-based domain filtering completely prevent all unauthorized connections by AI agents, and if not, what are the limitations?
While SNI-based domain filtering is highly effective for controlling web access at the TLS layer, it does have a limitation: it relies on the Server Name Indication field during the TLS handshake. An advanced attacker or a sophisticated agent could potentially resolve a blocked domain's IP address through an uninspected DNS query and attempt to connect directly via IP, bypassing SNI inspection. To address this, a defense-in-depth strategy is recommended. This involves pairing SNI filtering with DNS-level controls, such as Amazon Route 53 Resolver DNS Firewall, which can block DNS queries for unauthorized domains and prevent DNS tunneling, ensuring comprehensive egress control.
What is the typical traffic flow for an AI agent's web request when using AWS Network Firewall for domain control?
When an AI agent within Amazon Bedrock AgentCore initiates a web request, the traffic flow is meticulously controlled. First, the AgentCore Browser, residing in a private subnet, attempts to establish an HTTPS connection. This request is routed to a NAT Gateway in a public subnet, which then forwards it to the Network Firewall endpoint. The AWS Network Firewall inspects the TLS SNI header to identify the target domain. If the domain is on the allowlist, the firewall permits the traffic to pass to an Internet Gateway, which then routes it to the external destination. All return traffic follows a symmetric path back through the firewall, ensuring continuous inspection and adherence to security policies.

Qëndroni të përditësuar

Merrni lajmet më të fundit të AI në email.

Ndaj