Code Velocity
एआई सुरक्षा

AI एजेंट डोमेन नियंत्रण: AWS नेटवर्क फ़ायरवॉल के साथ वेब एक्सेस को सुरक्षित करना

·7 मिनट पढ़ें·AWS·मूल स्रोत
शेयर करें
एक आरेख जिसमें AWS नेटवर्क फ़ायरवॉल Amazon VPC परिवेश में डोमेन फ़िल्टरिंग के साथ AI एजेंट वेब एक्सेस को नियंत्रित करता है।

चरण 3: AWS नेटवर्क फ़ायरवॉल अनुमेय सूची को कॉन्फ़िगर करना

आपकी डोमेन नियंत्रण रणनीति का मूल AWS नेटवर्क फ़ायरवॉल के भीतर एक स्टेटफुल नियम समूह को कॉन्फ़िगर करने में निहित है। यह नियम समूह आपकी अनुमेय सूची को परिभाषित करता है - विशिष्ट डोमेन जिन्हें आपके AI एजेंटों को एक्सेस करने की अनुमति है। उपडोमेन से मिलान सुनिश्चित करने के लिए, व्यापक कवरेज सुनिश्चित करने के लिए अपनी डोमेन प्रविष्टियों में एक लीडिंग डॉट (.) शामिल करना आवश्यक है।

उदाहरण के लिए, विकिपीडिया और स्टैक ओवरफ़्लो तक पहुंच की अनुमति देने के लिए, आपका नियम कॉन्फ़िगरेशन कुछ ऐसा दिखेगा:

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

यह कॉन्फ़िगरेशन सुनिश्चित करता है कि केवल इन स्पष्ट रूप से अनुमत डोमेन, उनके उपडोमेन सहित, के लिए निर्धारित ट्रैफ़िक को फ़ायरवॉल के माध्यम से अनुमति दी जाती है। अन्य सभी ट्रैफ़िक को डिफ़ॉल्ट-अस्वीकार नीति द्वारा निहित रूप से अस्वीकार किया जा सकता है।

SNI से परे: गहराई में सुरक्षा का दृष्टिकोण

जबकि SNI-आधारित फ़िल्टरिंग शक्तिशाली है, AI एजेंटों के लिए एक सच्चा ज़ीरो-ट्रस्ट आर्किटेक्चर सुरक्षा की कई परतों की मांग करता है। जैसा कि उल्लेख किया गया है, AWS नेटवर्क फ़ायरवॉल को Amazon Route 53 Resolver DNS फ़ायरवॉल के साथ जोड़ना एक और महत्वपूर्ण नियंत्रण बिंदु जोड़ता है। यह एजेंटों को DNS के माध्यम से अवरुद्ध डोमेन को हल करने से रोकता है, प्रभावी रूप से एक संभावित बाईपास वेक्टर को बंद करता है जहां एक एजेंट सीधे एक IP पते से कनेक्ट करने का प्रयास कर सकता है यदि डोमेन रिज़ॉल्यूशन को भी नियंत्रित नहीं किया जाता है।

इसके अलावा, अन्य सुरक्षा सेवाओं को एकीकृत करना, जैसे कि HTTP/S ट्रैफ़िक निरीक्षण के लिए AWS वेब एप्लीकेशन फ़ायरवॉल (WAF) (यदि ट्रैफ़िक अंततः किसी अन्य परत पर निरीक्षण के लिए अनएन्क्रिप्टेड है) और एजेंट इनवोकेशन के लिए पहचान-आधारित एक्सेस कंट्रोल, आपकी सुरक्षा स्थिति को मजबूत करता है। यह बहु-परत दृष्टिकोण गोपनीय AI फ़ैक्टरियों के लिए ज़ीरो-ट्रस्ट आर्किटेक्चर बनाना के सर्वोत्तम प्रथाओं के साथ संरेखित करता है।

निष्कर्ष: सुरक्षित AI एजेंट डिप्लॉयमेंट को सशक्त बनाना

यह नियंत्रित करने की क्षमता कि आपके AI एजेंट किन डोमेन तक पहुंच सकते हैं, केवल एक विशेषता नहीं है; यह एंटरप्राइज़ AI अपनाने के लिए एक मूलभूत सुरक्षा आवश्यकता है। Amazon Bedrock AgentCore के साथ AWS नेटवर्क फ़ायरवॉल को लागू करके, संगठन एजेंट ईग्रेस ट्रैफ़िक पर दानेदार नियंत्रण प्राप्त करते हैं, डेटा एक्सफ़िल्ट्रेशन और प्रॉम्प्ट इंजेक्शन जैसे महत्वपूर्ण सुरक्षा जोखिमों को कम करते हैं, और कठोर अनुपालन दायित्वों को पूरा करते हैं।

जैसे-जैसे AI एजेंट अधिक परिष्कृत होते जाते हैं और महत्वपूर्ण व्यावसायिक प्रक्रियाओं में एकीकृत होते जाते हैं, एक मजबूत सुरक्षा ढांचा अपरिहार्य हो जाता है। यह समाधान व्यवसायों को AI एजेंटों की शक्ति का उपयोग करने के लिए एक स्पष्ट मार्ग प्रदान करता है जबकि नियंत्रण, दृश्यता और एक समझौता रहित सुरक्षा स्थिति बनाए रखता है। ऐसे वास्तुशिल्प पैटर्न को अपनाना एजेंटिक एआई को परिचालित करना भाग 1: हितधारकों के लिए एक गाइड और एक सुरक्षित, अभिनव भविष्य को बढ़ावा देने की कुंजी है।

अक्सर पूछे जाने वाले प्रश्न

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.

अपडेट रहें

नवीनतम AI समाचार अपने इनबॉक्स में पाएं।

शेयर करें