Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

AWS Architecture Blog 10 min read How-to mediumAdept

Block DNS threats with Infoblox rules in Amazon Route 53 Resolver DNS Firewall

Infoblox Threat Defense is now in preview as a partner-managed rule in Amazon Route 53 Resolver DNS Firewall, so VPC workloads get Infoblox-maintained domain threat intelligence (Critical through Informational risk categories) without managing domain lists, billed through AWS Marketplace. The walkthrough covers adding the rule on the Advanced tier, associating rule groups with VPCs, enabling Resolver query logging, and running in ALERT mode before switching to BLOCK. Key operational details: Advanced rules can't use ALLOW, so exceptions need a Foundational custom domain list rule at a lower priority number; DNS Firewall fails closed with SERVFAIL by default unless FirewallFailOpen is enabled; and query logs only record unique, non-cached queries.

Assumes: Amazon VPC basicsDNS resolutionAWS IAM permissions

Related posts

  • Adapting to AI penetration testing orchestrators: The Modern Security Model

    Cloudflare easyNovice

    LLM-driven penetration testing orchestrators have proliferated rapidly since the open-source ARTEX framework was taken down on October 8. More than 50 framework families now scan Cloudflare customers, and related traffic is up 30x since October 1. These tools run parallel agents over graphs of goals and target assets, and attackers have paired them with stolen static CI/CD API tokens to move laterally from hyperscaler accounts into Cloudflare environments. One incident involved hundreds of database dump requests per hour. Cloudflare recommends a six-pillar "Modern Security Model": WAF with rate limits, anomaly detection, bot defense, identity-gated access with micro-segmentation, OpenAPI schema validation with mTLS and default-deny rules, and threat intelligence.

  • When protections outlive their purpose: A lesson on managing defense systems at scale

    GitHub Engineering mediumAdept

    Emergency protection rules added during past GitHub abuse incidents were left in place and began rate-limiting legitimate logged-out users with "Too many requests" errors. The rules combined fingerprinting with business-logic signals. Only 0.5–0.9% of fingerprint matches were blocked, but false positives still reached about 3–4 per 100,000 requests. Finding the cause meant correlating logs across edge, application and service layers with different schemas. GitHub removed the stale rules and now treats incident mitigations as temporary by default, with expiration, post-incident review and cross-layer visibility into which layer blocked a request.

  • Self-service regional failover with Amazon Application Recovery Controller Region Switch and centralized ingress controls

    AWS Architecture Blog mediumAdept

    Application teams in regulated enterprises can run self-service multi-Region failover behind a centralized ingress proxy fleet by owning a Route 53 Private Hosted Zone failover recordset while a central team owns peered Transit Gateways and VPC attachments. ARC Region Switch plans then orchestrate database promotion, compute scaling, health-check flips and Lambda steps from the recovery Region without coordinating with infrastructure teams. VPC Lattice service network endpoints allow per-service failover, which carries a risk of bi-modal behavior and cross-Region latency. A central parent plan shared via AWS RAM can run child plans in dependency order for portfolio-level recovery. The pattern accepts an extra cross-Region Transit Gateway hop in exchange for team autonomy, and real DR invocations should use the API or CLI rather than the console.

  • Claw Patrol: an open-source security firewall for agents

    Deno easyNovice

    Claw Patrol is an MIT-licensed, alpha-stage gateway that sits outside AI agents and enforces policy on their production access. Agent traffic flows through a WireGuard or Tailscale tunnel to a gateway that terminates TLS, parses the inner protocol (HTTP, Postgres SQL, Kubernetes API), injects credentials the agent never holds, and evaluates each request against HCL rules. Rules can match on facets such as SQL verb and tables or Kubernetes resource and namespace. Verdicts can allow, deny, or route through chained LLM-judge and Slack human approvers. The gateway can also tunnel onward into otherwise unreachable networks, such as an Aurora database behind an EKS apiserver, a case HTTP-only proxies and sandboxes can't cover.

  • Dynamic ProxySQL Query Rules

    Shopify Engineering mediumAdept

    Shopify runs thousands of ProxySQL instances in front of MySQL and uses query rules to reroute, rewrite or reject queries matching a regex, often during incidents. To make rules safe, they patched their ProxySQL fork with a dry-run mode (active=0, log=1) that logs matched queries with exponential backoff instead of acting on them. A web app writes rules to a global key-value store, and a sidecar next to each ProxySQL polls it and syncs the mysql_query_rules table. If the sidecar and ProxySQL drift, both rule lists are wiped and rebuilt, favouring consistency over availability; rules also carry TTLs, and rules that must always be present are loaded statically from proxysql.cnf.

The quest for software engineering knowledge.

Look:
Layout: