{
    "api_version": "1",
    "kind": "dse_post",
    "self": "https://update.dsesecurity.com/api/v1/posts/account-for-stateful-return-traffic-when-reviewing-aws-security-groups/",
    "item": {
        "id": "https://update.dsesecurity.com/updates/account-for-stateful-return-traffic-when-reviewing-aws-security-groups/",
        "slug": "account-for-stateful-return-traffic-when-reviewing-aws-security-groups",
        "url": "https://update.dsesecurity.com/updates/account-for-stateful-return-traffic-when-reviewing-aws-security-groups/",
        "alternate_urls": {
            "markdown": "https://update.dsesecurity.com/updates/account-for-stateful-return-traffic-when-reviewing-aws-security-groups.md",
            "json": "https://update.dsesecurity.com/api/v1/posts/account-for-stateful-return-traffic-when-reviewing-aws-security-groups/"
        },
        "title": "Account for stateful return traffic when reviewing AWS security groups",
        "summary": "Separate a permitted response from a newly initiated connection.",
        "format": {
            "slug": "guide",
            "name": "Guide"
        },
        "priority": {
            "slug": "info",
            "name": "Information"
        },
        "featured": false,
        "image": {
            "theme": "network-infrastructure",
            "label": "Networks & infrastructure",
            "alt": "Resilient network core with engineered blue and gold data paths.",
            "card_url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-card.webp?v=1.8.20",
            "hero_url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-hero.webp?v=1.8.20",
            "social_url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-social-v2.jpg?v=1.8.20",
            "width": 2400,
            "height": 1350
        },
        "topics": [
            {
                "slug": "cybersecurity",
                "name": "Cybersecurity",
                "url": "https://update.dsesecurity.com/topic/cybersecurity/"
            },
            {
                "slug": "networks-infrastructure",
                "name": "Networks & Infrastructure",
                "url": "https://update.dsesecurity.com/topic/networks-infrastructure/"
            }
        ],
        "author": {
            "name": "DSE Security Editorial Team",
            "url": "https://update.dsesecurity.com/#editorial-team",
            "type": "Organization"
        },
        "publisher": {
            "name": "Detection Systems & Engineering",
            "url": "https://dsesecurity.com/"
        },
        "published_at": "2026-10-20T18:13:53+00:00",
        "modified_at": "2026-10-20T18:34:29+00:00",
        "reviewed_on": "2026-10-20",
        "reading_minutes": 2,
        "word_count": 244,
        "potentially_affected": "This concerns security-group rule interpretation, rather than the stateless behavior of subnet network ACLs.",
        "dse_recommendation": "DSE recommends documenting the initiator, protocol and destination for each required connection.",
        "primary_source": {
            "name": "AWS Documentation",
            "url": "https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html",
            "published_on": null,
            "authority": "docs.aws.amazon.com"
        },
        "publishing_principles": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
        "usage_info": "https://update.dsesecurity.com/usage/",
        "copyright_notice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
        "content_html": "<p>Separate a permitted response from a newly initiated connection.</p>\n<h2>Source facts</h2>\n<p>AWS security groups are stateful. Responses to allowed outbound requests can return regardless of inbound rules, and responses to allowed inbound traffic can leave regardless of outbound rules. Groups control traffic for associated resources, while AWS documents specific traffic classes that security groups do not filter.</p>\n<p>Source: <a href=\"https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html\">AWS Documentation</a>.</p>\n<h2>Applicability</h2>\n<p>This concerns security-group rule interpretation, rather than the stateless behavior of subnet network ACLs.</p>\n<h2>DSE recommendation</h2>\n<p>DSE recommends documenting the initiator, protocol and destination for each required connection. Review new outbound access separately from response traffic so unnecessary reverse-direction rules are not added during troubleshooting. Identify all groups attached to the affected resource and the actual route. Keep management access limited to approved origins and assign rule ownership. Record the service requirement beside the rule so later reviewers can remove exceptions without guessing why a broad range was opened. Write down whether the troubleshooting packet is a reply or a new connection before approving a new rule. Keep a small connection matrix with the application owner, and ask reviewers to explain every newly allowed initiator instead of opening both directions by habit.</p>\n<h2>Verification</h2>\n<p>Proposed verification: establish an approved connection between test endpoints, observe its response behavior and attempt a separate unapproved initiation in the reverse direction. Inspect all associated groups and other network controls before attributing a result to one rule. Preserve the source and destination context.</p>\n<h2>Official reference</h2>\n<p><a href=\"https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html\">AWS Documentation</a>. Reviewed October 20, 2026.</p>",
        "content_text": "Separate a permitted response from a newly initiated connection.\nSource facts\nAWS security groups are stateful. Responses to allowed outbound requests can return regardless of inbound rules, and responses to allowed inbound traffic can leave regardless of outbound rules. Groups control traffic for associated resources, while AWS documents specific traffic classes that security groups do not filter.\nSource: AWS Documentation.\nApplicability\nThis concerns security-group rule interpretation, rather than the stateless behavior of subnet network ACLs.\nDSE recommendation\nDSE recommends documenting the initiator, protocol and destination for each required connection. Review new outbound access separately from response traffic so unnecessary reverse-direction rules are not added during troubleshooting. Identify all groups attached to the affected resource and the actual route. Keep management access limited to approved origins and assign rule ownership. Record the service requirement beside the rule so later reviewers can remove exceptions without guessing why a broad range was opened. Write down whether the troubleshooting packet is a reply or a new connection before approving a new rule. Keep a small connection matrix with the application owner, and ask reviewers to explain every newly allowed initiator instead of opening both directions by habit.\nVerification\nProposed verification: establish an approved connection between test endpoints, observe its response behavior and attempt a separate unapproved initiation in the reverse direction. Inspect all associated groups and other network controls before attributing a result to one rule. Preserve the source and destination context.\nOfficial reference\nAWS Documentation. Reviewed October 20, 2026.",
        "content_markdown": "Separate a permitted response from a newly initiated connection.\n\n## Source facts\n\nAWS security groups are stateful. Responses to allowed outbound requests can return regardless of inbound rules, and responses to allowed inbound traffic can leave regardless of outbound rules. Groups control traffic for associated resources, while AWS documents specific traffic classes that security groups do not filter.\n\nSource: [AWS Documentation](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html).\n\n## Applicability\n\nThis concerns security-group rule interpretation, rather than the stateless behavior of subnet network ACLs.\n\n## DSE recommendation\n\nDSE recommends documenting the initiator, protocol and destination for each required connection. Review new outbound access separately from response traffic so unnecessary reverse-direction rules are not added during troubleshooting. Identify all groups attached to the affected resource and the actual route. Keep management access limited to approved origins and assign rule ownership. Record the service requirement beside the rule so later reviewers can remove exceptions without guessing why a broad range was opened. Write down whether the troubleshooting packet is a reply or a new connection before approving a new rule. Keep a small connection matrix with the application owner, and ask reviewers to explain every newly allowed initiator instead of opening both directions by habit.\n\n## Verification\n\nProposed verification: establish an approved connection between test endpoints, observe its response behavior and attempt a separate unapproved initiation in the reverse direction. Inspect all associated groups and other network controls before attributing a result to one rule. Preserve the source and destination context.\n\n## Official reference\n\n[AWS Documentation](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html). Reviewed October 20, 2026."
    },
    "json_ld": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://dsesecurity.com/#organization",
                "name": "Detection Systems & Engineering",
                "alternateName": "DSE Security",
                "url": "https://dsesecurity.com/",
                "logo": {
                    "@type": "ImageObject",
                    "url": "https://update.dsesecurity.com/assets/dse-logo-20260812.png?v=1.8.20"
                }
            },
            {
                "@type": "Organization",
                "@id": "https://update.dsesecurity.com/#editorial-team",
                "name": "DSE Security Editorial Team",
                "url": "https://update.dsesecurity.com/",
                "parentOrganization": {
                    "@id": "https://dsesecurity.com/#organization"
                }
            },
            {
                "@type": "WebSite",
                "@id": "https://update.dsesecurity.com/#website",
                "name": "DSE Updates",
                "alternateName": "DSE Security Knowledge Hub",
                "url": "https://update.dsesecurity.com/",
                "inLanguage": "en-US",
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "potentialAction": {
                    "@type": "SearchAction",
                    "target": {
                        "@type": "EntryPoint",
                        "urlTemplate": "https://update.dsesecurity.com/?q={search_term_string}"
                    },
                    "query-input": "required name=search_term_string"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://update.dsesecurity.com/updates/account-for-stateful-return-traffic-when-reviewing-aws-security-groups/",
                "url": "https://update.dsesecurity.com/updates/account-for-stateful-return-traffic-when-reviewing-aws-security-groups/",
                "isPartOf": {
                    "@id": "https://update.dsesecurity.com/#website"
                },
                "lastReviewed": "2026-10-20"
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://update.dsesecurity.com/updates/account-for-stateful-return-traffic-when-reviewing-aws-security-groups/#breadcrumbs",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "DSE Updates",
                        "item": "https://update.dsesecurity.com/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Cybersecurity",
                        "item": "https://update.dsesecurity.com/topic/cybersecurity/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "Account for stateful return traffic when reviewing AWS security groups",
                        "item": "https://update.dsesecurity.com/updates/account-for-stateful-return-traffic-when-reviewing-aws-security-groups/"
                    }
                ]
            },
            {
                "@type": [
                    "Article",
                    "TechArticle"
                ],
                "@id": "https://update.dsesecurity.com/updates/account-for-stateful-return-traffic-when-reviewing-aws-security-groups/#article",
                "identifier": "https://update.dsesecurity.com/updates/account-for-stateful-return-traffic-when-reviewing-aws-security-groups/",
                "url": "https://update.dsesecurity.com/updates/account-for-stateful-return-traffic-when-reviewing-aws-security-groups/",
                "headline": "Account for stateful return traffic when reviewing AWS security groups",
                "description": "Separate a permitted response from a newly initiated connection.",
                "abstract": "Separate a permitted response from a newly initiated connection.",
                "articleBody": "Separate a permitted response from a newly initiated connection.\nSource facts\nAWS security groups are stateful. Responses to allowed outbound requests can return regardless of inbound rules, and responses to allowed inbound traffic can leave regardless of outbound rules. Groups control traffic for associated resources, while AWS documents specific traffic classes that security groups do not filter.\nSource: AWS Documentation.\nApplicability\nThis concerns security-group rule interpretation, rather than the stateless behavior of subnet network ACLs.\nDSE recommendation\nDSE recommends documenting the initiator, protocol and destination for each required connection. Review new outbound access separately from response traffic so unnecessary reverse-direction rules are not added during troubleshooting. Identify all groups attached to the affected resource and the actual route. Keep management access limited to approved origins and assign rule ownership. Record the service requirement beside the rule so later reviewers can remove exceptions without guessing why a broad range was opened. Write down whether the troubleshooting packet is a reply or a new connection before approving a new rule. Keep a small connection matrix with the application owner, and ask reviewers to explain every newly allowed initiator instead of opening both directions by habit.\nVerification\nProposed verification: establish an approved connection between test endpoints, observe its response behavior and attempt a separate unapproved initiation in the reverse direction. Inspect all associated groups and other network controls before attributing a result to one rule. Preserve the source and destination context.\nOfficial reference\nAWS Documentation. Reviewed October 20, 2026.",
                "datePublished": "2026-10-20T18:13:53+00:00",
                "dateModified": "2026-10-20T18:34:29+00:00",
                "mainEntityOfPage": {
                    "@id": "https://update.dsesecurity.com/updates/account-for-stateful-return-traffic-when-reviewing-aws-security-groups/"
                },
                "inLanguage": "en-US",
                "isAccessibleForFree": true,
                "author": {
                    "@type": "Organization",
                    "name": "DSE Security Editorial Team",
                    "url": "https://update.dsesecurity.com/#editorial-team"
                },
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "image": {
                    "@type": "ImageObject",
                    "@id": "https://update.dsesecurity.com/updates/account-for-stateful-return-traffic-when-reviewing-aws-security-groups/#primaryimage",
                    "url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-social-v2.jpg?v=1.8.20",
                    "contentUrl": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-social-v2.jpg?v=1.8.20",
                    "width": 1200,
                    "height": 630,
                    "caption": "Account for stateful return traffic when reviewing AWS security groups"
                },
                "articleSection": [
                    "Cybersecurity",
                    "Networks & Infrastructure"
                ],
                "keywords": [
                    "Cybersecurity",
                    "Networks & Infrastructure",
                    "Guide",
                    "Information priority"
                ],
                "genre": "Guide",
                "about": [
                    {
                        "@type": "Thing",
                        "name": "Cybersecurity",
                        "url": "https://update.dsesecurity.com/topic/cybersecurity/"
                    },
                    {
                        "@type": "Thing",
                        "name": "Networks & Infrastructure",
                        "url": "https://update.dsesecurity.com/topic/networks-infrastructure/"
                    }
                ],
                "wordCount": 244,
                "timeRequired": "PT2M",
                "publishingPrinciples": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
                "usageInfo": "https://update.dsesecurity.com/usage/",
                "copyrightHolder": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "copyrightNotice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
                "citation": {
                    "@type": "CreativeWork",
                    "name": "AWS Documentation",
                    "url": "https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html"
                }
            }
        ]
    }
}