(У)бий хлапето

Post Syndicated from Светла Енчева original https://www.toest.bg/u-biy-hlapeto/

(У)бий хлапето

„Бий хлапето“ е песен на „Контрол“ от началото на 90-те, чийто текст представя едно широко разпространено отношение към децата по онова време. Спомних си за нея, наблюдавайки реакциите в социалните мрежи по повод на поредния станал обществено известен случай на насилие, извършено от деца. След като в началото на август 2026 г. група непълнолетни „ловци на педофили“ пребиха до смърт Георги Кузев в Пловдив, близо три месеца по-късно няколко момчета са се гаврили сексуално с момиче в безпомощно състояние. И двата пъти издевателствата са заснети и разпространени онлайн от самите деца.

Кой още има принос, за да се стигне до убийството на Георги Кузев?

Светла Енчева проследява нишката от хора, събития и обстоятелства, довели до убийството на Георги Кузев – от нормализирането на омразата и самоуправството до ролята на медиите, институциите и политиците. „Обичайните заподозрени“ – родителите и социалните мрежи, са само част от картината.

Важно е обаче да разграничим потвърдените факти от слуховете и конспиративните теории.

До момента се знае със сигурност, че посегателството срещу момичето е било по време на купон в нощта на Хелоуин. Присъстващите тийнейджъри са били пили доста алкохол. На място са пристигнали полицаи – заради сигнал за силен шум. Видели пияните деца, казали им да пазят тишина и… си тръгнали. Не е ясно дали това е станало преди, или след сексуалната злоупотреба.

15-годишното пострадало момиче е било в безпомощно състояние. Злоупотребата срещу него е определена като блудство; няма данни то да е изнасилено (поне според дефиницията в Наказателния кодекс за изнасилване, която, да си признаем, не е съвършена). Задържани са три момчета, а по-късно – и единственият пълнолетен, който е присъствал на купона.

Междувременно е станало известно, че по-рано, в други ситуации, същите момчета още поне два пъти са посягали на непълнолетни момичета. Полицията разследва и отделен случай, при който едно от задържаните момчета е стреляло по момиче с газов пистолет, но няма данни някой да е бил ранен.

Кое не е потвърдено

В социални мрежи и в някои медии се разпространява снимка на момчета – евентуални участници и присъствали на сексуалното посегателство на Хелоуин. Не съм гледала видеото с издевателството и не мога да потвърдя дали са те, но липсват и твърдения, че не са. Всички момчета на снимката са с черни тениски, на една от тях пише „Левски или смърт“ – характерен слоган на ултрасите на „Левски“, а на друга се вижда надпис на английски: I can see your fear („Мога да видя страха ти“).

Страница на ултраси във Facebook публикува снимката с осъждащ момчетата пост. В него се твърди, че на въпросния купон извършителите са простреляли две момичета в краката и след това са ги изнасилили. Досега обаче няма данни някое от пострадалите момичета и в трите известни случая да е било простреляно или изнасилено.

Разпространяват се и твърдения, че информация по случая се укрива, защото бащата на един от извършителите е служител на МВР. По този начин се прави паралел със случая в университета „Корнел“ в САЩ, чието ръководство се е опитало да потули случай с групово изнасилване на студентка от седем студенти, членове на мъжко братство. При българския казус обаче засега няма данни родител на някого от заподозрените да работи в МВР. От СДВР казаха, че извършват вътрешна проверка, за да установят дали сред роднините на извършителите има техен колега.

Онлайн „правосъдието“ и правата на детето

Снимката на евентуалните извършители се споделя масово в социалните мрежи. Видях я дори във Facebook група, посветена на правата на децата. Въпреки че разпространяването на информация за деца без съгласието на родителите им (и на самите деца, ако са навършили определена възраст) представлява нарушение на Закона за закрила на детето, както и на други нормативни актове, например GDRP.

Споделянията са придружени с осъдителни постове и коментари, в които заподозрените са наричани с различни епитети, например „изроди“. Попаднах дори на твърдение, че заради подобни случаи трябва да се върне смъртното наказание. Тоест в страна от ЕС, където няма смъртно наказание, будни граждани предлагат то да се възстанови, за да се прилага върху деца. В наши дни деца не се екзекутират (и извършители под 18 г. не се осъждат на смърт) дори в САЩ, където смъртното наказание намира широко приложение. Екзекутират се в Иран, Саудитска Арабия и Сомалия.

Трябва да поговорим за смъртното наказание

Готови ли сте да гледате публични екзекуции? Пийт Хегсет, министърът на войната на САЩ, смята, че една екзекуция чрез разстрел на стрийм в интернет ще ни дойде много освежаващо на цивилизацийката. И по този повод Светла Енчева се пита колко далеч сме стигнали от времената на бесилките по улиците.

След като в продължение на ден-два многократно се натъквах на въпросната снимка, си позволих да напиша във Facebook, че не е окей да се публикуват за назидание снимки на деца, дори да са сексуални насилници и ултрасчета. В резултат на реакциите си дадох сметка, че неволно съм произвела

социален експеримент, тестващ отношението към правата на детето (а и на човека).

Коментиращите поста ми са като цяло от моя „балон“, тоест с демократични убеждения. Трябва да отбележа и че всички коментари, които цитирам по-долу, са от жени. Реакциите им обаче варират от „какво пък толкова“, през призиви за ограничаване на права, до откровено дехуманизиращи послания, характерни по-скоро за неонацистите, каквито са доста от ултрасите, отколкото за хора, смятащи се за демократични и проевропейски.

Ето извадка от коментарите. Опитала съм се да ги градирам според радикалността им, започвайки от най-меките:

Някога снимка на когото и да било […] довела ли е до някакви последствия, след като дори истинска справедливост за престъпниците няма?

Те сами са избрали да си покажат лицата, заснемайки зверството!

Откъде-накъде престъпниците да имат повече защита от жертвите? [От] момента, в който престъпниците или престъпните деца сами си слагат видеата и снимките на собствените си деяния […] в мрежата, […] нямат никакво право […] да не им се показвали снимките. Никакво назидание не виждам в това да показваш този, който сам се показва.

Значи те могат да бъдат достатъчно осъзнати да изнасилват, бият, тормозят, крадат, убиват и да не зачитат никакви морални, етични и законови права на останалите, но тях трябва да ги пазят и да бъдат толерантни към личността им. Съжалявам, но този път не съм съгласна.

Сексуалните престъпления имат много висок процент рецидив и почти невъзможна ресоциализация […]. Затова мисля, че лицата на всички изнасилвачи трябва да са видими, дори и да са непълнолетни. Да, знам, че звуча крайно, знам, че децата насилници често са жертви на такова, знам, че правата не са избирателни, но според мен някои престъпления трябва автоматично да изключват определени права като правото да не ти разпространяват снимката.

За първи път в мен се надигна жестокост срещу уж-хора и бих искала физически да ги малтретирам. Гнусни и гадни са. Подчовеци.

Нека разгледаме горните аргументи.

Ако пияни тийнейджъри са извършили нещо нередно, това основание ли е то да се възпроизвежда от отговорни възрастни? Ако приемем аргумента „щом те са се снимали, защо ние да не им показваме снимките“, с какво показваме, че сме по-зрели от тези момчета?

Следващият аргумент може да се обобщи по следния начин: щом са насилници, така им се пада. Това обаче е просто различна формулировка на принципа от Стария завет „око за око, зъб за зъб“, който не отговаря на съвременното право.

По отношение на предложението да се ограничат правата на децата сексуални насилници: човешките права, тоест правата, които се отнасят до всички хора (в случая всички деца), 

не са нещо, което се дава по заслуги и се отнема заради прегрешения. 

Нито пък спазването на правата е пречка пред правосъдието. Напротив, пречка може да бъде неспазването им. Ще дам пример: заради това, че самопризнанията на Орлин Владимиров и баща му за убийството на Евгения Владимирова са взети, без да са спазени правата им, доказателствата, събрани с тяхна помощ, не могат да се използват в съда. Което води до оправдаване на бащата и намаляване на присъдата на сина.

Що се отнася до призивите за малтретиране и дехуманизиращата лексика („уж-хора“, „подчовеци“) – нито едното, нито другото би спомогнало за намаляването на насилието, включително и между деца. Нормализирането на подобни послания би могло обаче да доведе до увеличаването му.

Защо няма адекватни мерки срещу сексуалното насилие между деца

Деца извършват сексуални престъпления срещу деца не защото имат права и не защото не получават достатъчно строги наказания. Ето някои от предпоставките в България подобни престъпления да се извършват, а обществото да няма особени очаквания, че жертвите ще получат подкрепа, а виновните – справедливо наказание.

Липса на сексуално образование

В България съпротивата срещу въвеждането на сексуално образование е част от същата пропаганда, която заклеймява и Истанбулската конвенция, и Стратегията за детето, и Закона за социалните услуги. Създава се погрешната представа, че сексуалното образование учи и стимулира децата да правят секс. Целта му обаче е друга – да помогне на подрастващите да уважават себе си и другите, да зачитат както своите, така и чуждите граници.

Разбира се, ако нещо се преподава, няма гаранция, че то ще се усвои и практикува – все едно дали става дума за математика, или за принципи на поведение. Но ако посланието, че границите на другия трябва да се уважават, не се възприема от подрастващите като общосподелимо, те ще са по-склонни да нарушават тези граници. И дори да се гордеят с това. Особено като имаме предвид, че момчетата попиват от знайни и незнайни инфлуенсъри други послания, някои от които са открито женомразки и насилнически.

Развитието на маносферата и как избягах от нея

Обикновено за маносферата говорят външни за нея хора. Димитри Захов обаче е бил инсайдър и ни разказва за личния си опит с нея. Докато ние, възрастните, още се плашим от червеното хапче, вече има по-актуално хапче – черното. То е по-опасно за момчетата в маносферата, отколкото за околните.

Кампанията срещу Истанбулската конвенция

Истанбулската конвенция предлага мерки за ограничаване и превенция на насилието срещу жени и домашното насилие. В резултат на кампанията срещу нея обаче предметът ѝ беше подменен с темата за „джендъра“, а говоренето за джендъра – сведено до хомофобия и трансфобия.

Заради това така и нямаше сериозен дебат за насилието срещу жени и момичета. Темата избликва при драстични случаи като убийството на Евгения Владимирова или обезобразяването на Дебора Михайлова, но общественият разговор не отива по-далеч от призивите за възможно най-тежки наказания. Сещате ли се за някакви мерки за превенция, които да се прилагат? Аз не.

Неадекватната „борба срещу педофилията“

През 2023 г. парламентът прие промени в Закона за закрила на детето, с които се въведе т.нар. регистър на педофилите, а през 2026 г. този регистър беше направен публичен. Това нормативно нововъведение, което все още не се прилага (публичен регистър няма), се използва основно за политически натиск и разправа с политически противници. Но „благодарение“ на него сексуалното насилие срещу деца беше сведено до педофилията. Което пък доведе до абсурда, че деца, осъдени за сексуални злоупотреби с деца, също влизат в регистъра на педофилите.

По този начин се замита под килима въпросът защо деца насилват сексуално други деца. А докато няма смислени отговори на този въпрос, не можем да говорим за превенция.

Какво (не) знаем за сексуалните злоупотреби с деца

Какво знаят институциите за сексуалните злоупотреби с деца в България и какви мерки предприемат? Теодора Станимирова се сдоби с информация от ВСС, МВР, АСП, ДАЗД и МЗ, разговаря с експерти и ни разказва какво е научила.

Кампанията срещу Стратегията за детето

Националната стратегия за детето 2019–2030 г. така и не беше приета в резултат на организираната кампания срещу нея. Стратегията предвиждаше не на последно място защита на децата от насилие, включително сексуално, превенция, както и подкрепа за децата, преживели такова насилие.

Разпространиха се слухове обаче, че заради Стратегията ще се отнемат деца от родителите им. Чрез евангелски църкви тези слухове достигнаха до ромски махали, където родителите вкупом си изтеглиха децата от училище, за да не им ги отмъкнат социалните.

Патосът на кампанията срещу Стратегията беше, че децата са едва ли не собственост на родителите си и затова родителите имат право да ги възпитават, както преценят, включително с пердах. От ВМРО, тогава в управляващата коалиция, дори излязоха с позиция, в която се казваше в прав текст: „Детето не е отделен субект.“

Ако не гледаме на децата като на субекти, а като на обекти, как да очакваме те да се уважават едни други и да зачитат границите си?

От глупост ли се страхуват ромите за децата си?

Началото на седмицата беше ознаменувано от поредната обществена истерия. Родителите от няколко ромски махали в Сливен, Карнобат, Ямбол, Асеновград, Сунгурларе, а според просветния министър и в София…

Липсващият закон за детското правосъдие

Приемането на нов закон за детското правосъдие буксува от десет години. То беше и един от елементите на отхвърлената Стратегия за детето – с акцент върху възстановителното правосъдие.

Понастоящем децата, които са в конфликт със закона, попадат в лапите на правна рамка от времето на сталинизма. Законът за борба срещу противообществените прояви на малолетните и непълнолетните е приет през 1958 г. Променян е неколкократно, за последен път през 2019 г., но духът му въплъщава времето, когато за танцуване на „неправилни“ танци тийнейджъри са изпращани в концлагер (това се е случило на двама съученици на баща ми; единият починал в лагера).

В чл. 28, ал. 1 законът предвижда например, че 8-годишно дете може да бъде пратено в интернат – дори да не е извършило „противообществена проява“, а само да има предпоставки, че може да извърши:

В социално-педагогическите интернати се настаняват малолетни над 8-годишна възраст и непълнолетни, които са извършили или съществуват предпоставки за извършване на противообществени прояви.

При подобна правна рамка не може да се очаква адекватно отношение нито към извършителите, нито към потърпевшите. Извършителите на сексуалното посегателство на Хелоуин може би ще бъдат изпратени в интернат, където на свой ред няма да са защитени от насилие, включително сексуално. Мнозина ще си кажат: така им се пада. Но при едно съвременно европейско детско правосъдие с тези момчета ще се работи, за да осъзнаят какво са направили, да се научат на самоконтрол и уважение към другите и да бъдат пълноценни членове на обществото, когато излязат на свобода. Докато интернатите обричат на социално изключване и рецидивизъм.

Възстановителното правосъдие – опит за помирение

Възстановителното правосъдие е тема, която не е много позната на широката публика в България, макар че страната ни има традиции в тази насока. За нас е истинска чест, че двамата съдии Мирослава…

Що се отнася до децата, преживели сексуално насилие, на теория т.нар. сини стаи, в които се разпитват, би трябвало да предоставят щадяща среда. Но на практика разпитите нерядко травматизират потърпевшите, защото се повтарят неколкократно. Друг въпрос е доколко изобщо децата, преживели сексуално насилие в България, могат да се надяват на адекватно отношение от институциите.

Институционално безхаберие

Полицаите, които са пристигнали по време на купона на Хелоуин, са видели пияни деца, както и момичето, което е пострадало, в неадекватно състояние. Но понеже са извикани заради силния шум, не са забелязали по-сериозния проблем, който е бил пред очите им. Не е ясно дали са пристигнали преди, или след сексуалното посегателство. Но в първия случая намесата им би спасила едно момиче от насилие и публично унижение, а във втория щеше да му осигури незабавна защита, можеше да се съберат доказателства от местопрестъплението и записът да се свали веднага от интернет (ако вече е бил качен там).

Подобно безхаберие демонстрира и Министерството на здравеопазването в отговора си на въпрос на „Тоест“ дали информира МВР за случаите на малолетни родилки. От Министерството отговарят, че в „действащото законодателство не е предвидена правна норма“, която да задължава медицинските специалисти да правят това. Тоест дори да виждат нарушение на закона (щом едно малолетно момиче е родило, значи е забременяло малолетно, а сексът с деца под 16 години е престъпление; според настоящия закон – дори когато се извършва от деца), не намират за нужно да реагират, щом не им е изрично вменено.

Могат да бъдат дадени още доста примери за институционално безхаберие към сексуалното насилие срещу деца, но това е тема за цяла поредица.

Наистина ли им пука за децата?

Светла Енчева с паралел между два нашумели случая, в които са намесени деца. В единия ги намесиха от „голяма загриженост“, но без реална нужда, институциите и политиците, а в другия пак институциите и политиците си затварят очите за истинския проблем – насилие над малко дете от учителката му.

Трябва ли ни още насилие?

На 25 ноември е Международният ден за елиминиране на насилието срещу жените. В София и още няколко града в България за пореден път се провеждат шествия и протести под наслов „Нито една повече“.

Този ден е повод и да се замислим как насилието срещу жени може и как не може да бъде ограничено. Може да бъде ограничено например чрез възпитание и образование, чрез публично отстояване на ценността на човека и човешката автономия, чрез адекватно на съвремието правосъдие и механизми за превенция, чрез работа с извършителите, особено ако са във възраст, в която личността им още се изгражда, и т.н., и т.н.

Насилието срещу жени и момичета няма да се ограничи посредством призиви за още насилие, но срещу мъже и момчета. И не, подобни призиви не са проява на феминизъм. Феминизмът е борба за равноправие – тоест равенство в правата, а не равенство в насилието.

Introducing Search for Agents

Post Syndicated from Celso Martinho original https://blog.cloudflare.com/search-for-agents/

AI Search, our service that indexes your content and lets you add search to any application or agent without having to build an entire retrieval infrastructure, has supported adding your website as a data source for a while now, automatically crawling, converting and indexing its pages.

Still, setting up an AI Search instance for your website requires manually creating and configuring it initially, and then doing all the integration work to get the search endpoints available from your domain and to make sure that agents know where to find the index and know how to use it.

Today we're introducing Search for Agents, which puts that setup behind a toggle in your Cloudflare dashboard. Turn it on for your zone, and our service will create your AI Search instance, start indexing your content, and make search discoverable and available from your own domain.

How it works

The idea follows naturally from Markdown for Agents, where Cloudflare's network converts any HTML page to Markdown in real time for enabled zones using content negotiation headers. Similarly, Search for Agents leverages the power of AI Search by automatically creating an index for your zone and exposing APIs that any AI agent can discover and use to search your website, under your domain, all done at the network level.

You can enable Search for Agents using the API, or by going to the dashboard in your zone page, under Quick Actions:

Search for Agents is available to all customers, including Free (with limits). Once it’s enabled, Cloudflare will automatically create an AI Search instance, start crawling and indexing the content in your zone. Refer to our developer documentation  to understand how the crawling process works.

You can access your instance directly from this page, or by going to directly to your account’s AI > AI Search instances view:

The AI Search instance for your zone is created with default settings, but you can enable reranking or change configuration options like cache settings at any time. Refer to our documentation for the full list of options.

Once AI Search indexes your content, you or any agent on the Internet can start using Search for Agents, subject to your domain settings (e.g. your bot management settings, AI Crawl Control and web application firewall (WAF) configurations).

Discoverability

Search isn't much use if the agents don’t know it's there. To facilitate discoverability, Search for Agents automatically advertises the search endpoint on every page of your site.

For example, for HTML responses, we add metadata to the page's <head>:

<meta name="agent:instructions" content="Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown.">
<meta name="agent:endpoint" content="https://developers.cloudflare.com/.well-known/search?q={query}">
<meta name="agent:method" content="GET">
<meta name="agent:documentation" content="https://developers.cloudflare.com/ai-search/how-to/search-for-agents/">

If you also have Markdown for Agents enabled, an agent requesting a page with Accept: text/markdown receives the same information in YAML front matter:

---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://developers.cloudflare.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

The agent will easily pick up these instructions and know what to do next to search your site.

Searching content

Once the agent knows that your site has a search endpoint, it can start using it:

$ curl "https://developers.cloudflare.com/.well-known/search?q=cloudflare+artifacts"
# Search results for: "cloudflare artifacts"

## docs/artifacts/api/workers-binding/index.md (score: 1.000)

# Workers binding · Artifacts · Cloudflare Artifacts docs

Call Artifacts from a Worker binding.

---

## docs/artifacts/index.md (score: 0.951)

# Artifacts · Cloudflare Artifacts docs

Store, version, and share filesystem artifacts across Workers, APIs, and Git-compatible tools.
...

Depending on your AI Search configuration, the agent can also use natural language and ask questions to the search endpoint:

$ curl --get "https://developers.cloudflare.com/.well-known/search" --data-urlencode "q=What is the maximum push size for Cloudflare Artifacts?"
# Search results for: "What is the maximum push size for Cloudflare Artifacts?"

## docs/artifacts/platform/limits/index.limits-cloudflare-artifacts-docs.md (score: 1.000)

# Limits · Cloudflare Artifacts docs
Section: Limits · Cloudflare Artifacts docs

title: Limits
description: Review Artifacts platform limits.
pcx_content_type: reference
products:
  - artifacts

Limits that apply to creating, importing, cloning, and pushing Artifacts are detailed below.

These limits cover naming rules, storage, request rates for control-plane and Git operations, and the size of each push.

FeatureLimitControl-plane request rate2,000 requests per 10 seconds per Artifacts namespaceGit request rate, per artifact2,000 requests per 10 seconds per artifactMaximum storage per repository1 GB for repos created on or after 2026-09-29. Repos created earlier have a 10 GB limit. See size limit change.Maximum storage per account1 TB (can be raised on request)Maximum number of repositoriesUnlimitedMaximum number of namespacesUnlimitedNamespace name length2–63 charactersNamespace and repo namesStart with a letter or digit. Remaining characters may include letters, digits, ., _, and -.Maximum push size64 MiB per push. Includes all data sent in the push. Split larger work into several smaller pushes.Maximum objects per push50,000 objects, such as file versions, folders, and commits.Maximum file size32 MiB per file. Already-compressed files, like images, video, or zip archives, may be rejected slightly below 32 MiB.Maximum ref updates per push1 MiB of branch and tag updates per push.Maximum entries per folder100,000 files and subfolders in a single folder.
...

Note that this search endpoint returns retrieved content, in Markdown, not a generated answer. The agent already has an AI model and a conversation with the user; all it needs is the relevant information from your site, not another AI model's attempt to answer on its behalf.

Supporting a new HTTP method: QUERY

The new HTTP QUERY method is an IETF Proposed Standard, incidentally coauthored by our own James Snell, published in June 2026 as RFC 10008. A QUERY allows a client to send search criteria in a request body safely and idempotently without modifying server state. This makes it a good fit for AI search.

The adoption of QUERY is underway with major browser vendors discussing the RFC and multiple frameworks and clients either adopting (curl and undici, for example), or discussing adoption.

Search for Agents supports QUERY natively either using a plain text or JSON request body:

# Plain text
curl -X QUERY 'https://developers.cloudflare.com/.well-known/search' \
  --data 'What is the maximum payload size per ingestion request in Basin Pipelines?'

# JSON
curl -X QUERY 'https://developers.cloudflare.com/.well-known/search' \
  --header 'Content-Type: application/json' \
  --data '{"q":"How many bulk import requests per minute does Email Service allow?"}'

See it in action

Let’s see it in action during an agentic session. Search for Agents is enabled for our Developer Documentation. When we open an OpenCode session and ask “What is the maximum push size for Cloudflare Artifacts?”, in the logs we can see the agent discovering the search endpoint on the homepage and then fetching /.well-known/search with the question for the search results.

The answer comes back a few seconds later and it’s correct.

Once the agent discovers the search API, it will likely reuse it multiple times within the same session whenever it needs to search for content in the same site.

We enabled Search for Agents for our developer documentation ahead of this announcement and we’ve found that agents do a good job of discovering the search API and using it during their tasks.

It’s still an AI Search instance

Because Search for Agents is powered by an AI Search instance in your account, you get all the standard configuration options and features as well. For example, you can enable public REST API or MCP endpoints, or use it from Workers, or even embed AI Search on your website for human visitors.

Start using Search for Agents

Starting today, Search for Agents is available to all customers. The usage follows the AI Search pricing; that includes ingesting content, storing the index's content, and serving queries, subject to the account's included usage and limits for both the Workers Free and Paid plans.

We also recommend you check our Agent Readiness page (see announcement) and understand how you can make your sites optimized for agents, from guiding agents on how to authenticate, to controlling what content agents can see, the format they receive it in, and how they pay for it.

Check out the Search for Agents developer docs for more information. Follow us on X or come and talk to us in the Cloudflare Developer Discord. We'd like to hear from site owners making their content searchable to agents.

Our 2026 Cybersecurity Predictions: What We Got Right, What We Got Wrong, and What Changed

Post Syndicated from Rapid7 original https://www.rapid7.com/blog/post/it-2026-cybersecurity-predictions-wrong-or-right

Rapid7’s annual Security Predictions webinar returns on December 10, bringing our experts together to explore what the year ahead could hold for cybersecurity. Before sharing our predictions for 2027, we’re grading last year’s calls: that geopolitical tensions would reshape cyber threats, insider threats would dominate breach root causes, and context would become the new currency of cyber performance.

Register here for the 2027 Security Predictions webinar.

As security leaders work through their priorities for 2027, those predictions offer a useful starting point. The year reinforced several of the concerns we highlighted, while developments in attacker behavior and AI added new dimensions to the discussion. Looking at how those themes unfolded helps us understand what remains relevant and where our thinking needs to evolve.

Geopolitics shaped cyber targeting, with businesses caught in the middle

Our prediction that geopolitical fault lines would redraw the cyber battlefield earned an A-, as regional conflicts created opportunities for espionage, disruption, and public pressure throughout 2026. Cyber operations allowed adversaries to pursue those objectives below the threshold of open warfare, with commercial organizations exposed alongside government and critical infrastructure targets.

Rapid7 Intelligence tracked a spike in retaliatory activity following regional military escalations in late February. State-directed actors pursued espionage and data theft, while hacktivist personas amplified the impact. Rapid7 also assessed that stolen information was likely to be passed from state actors to hacktivist groups for public release, extending the consequences of an intrusion beyond the initial compromise.

That chain from state actor to hacktivist release makes an organization’s exposure harder to judge from its own location or industry alone. Customers, suppliers, infrastructure, and perceived political associations can attract attention, bringing a seemingly routine commercial relationship into a much wider conflict. Examining those dependencies during response exercises uncovers difficult decisions early, particularly where protecting a service or containing an incident requires agreement across security, operations, legal, and executive leadership.

Insider risk expanded beyond human users

Our prediction that insider threats would dominate breach root causes drew attention to risks ranging from employee negligence to deliberate access selling. During 2026, reporting on ransomware recruitment attempts reinforced concerns about attackers seeking cooperation from people inside organizations, while the growing use of AI agents broadened the conversation about insider risk. As agents gain access to business systems and take actions on an organization’s behalf, questions about permissions, oversight, and unintended consequences increasingly extend beyond human users.

Our blog on insider recruitment in ransomware campaigns explored an approach by Medusa to a BBC journalist, offering payment in exchange for access. It illustrated how attackers combine financial incentives, persuasion, and pressure to pursue legitimate credentials, giving organizations a concrete reason to include recruitment attempts in awareness programs and response planning.

The wider access economy also remained significant, although credentials appearing for sale do not establish that an employee willingly supplied them. External compromise and exposed systems continued to provide routes into businesses, with AI-assisted vulnerability discovery adding further pressure. Our prediction captured an important concern, while the year reinforced the need to distinguish deliberate insider cooperation from other ways attackers obtain and misuse access.

Context proved its value, although we overstated its novelty

Our prediction that context would become the new currency of cyber performance earned a B, largely because understanding an environment has always been fundamental to protecting it. During a year shaped by AI-driven vulnerability discovery, however, the ability to connect a new finding with exposed systems, attacker activity, and business consequences became particularly valuable when teams had little time to decide how to respond.

Our analysis of the ASOS incident explored that challenge after an unauthorized notification reached customers through the retailer’s own app. With the route of compromise still unclear, the incident raised questions about access to customer communications platforms and how investigators connect activity across accounts, integrations, and third-party services.

The same need for context applies to remediation, where an advisory alone cannot determine whether interrupting a critical service is justified. Teams need to know where affected technology is running, how attackers could reach it, and which mitigations are practical. Bringing asset information, threat intelligence, and operational knowledge together remains essential to making those decisions with confidence.

Bringing those lessons into our 2027 predictions

Across all three themes, the year reinforced how closely security decisions depend on understanding relationships: between organizations, between identities and access, and between technical weaknesses and business consequences. Those connections will remain relevant as AI changes how technology is used and how threats develop.

Join Rapid7’s Security Predictions webinar on December 10 to explore those shifts with our experts and consider what they could mean for your priorities in the year ahead.

Register for the webinar.

CVE-2026-123903: Critical VMware Directory Service Authentication Bypass affects vCenter

Post Syndicated from Rapid7 original https://www.rapid7.com/blog/post/etr-cve-2026-123903-critical-vmware-directory-service-authentication-bypass-affects-vcenter

Overview

On November 24, 2026, Broadcom released VMware Security Advisory VMSA-2026-0011 to address several new vulnerabilities, including CVE-2026-123903, a critical authentication bypass in the VMware Directory Service component of vCenter. Broadcom assigned it a CVSSv3.1 score of 9.8 Critical. An attacker who can reach an affected vCenter’s VMware Directory Service (vmdir) over the network can gain access without authenticating.

Broadcom’s supplemental FAQ distinguishes CVE-2026-123903 from an older vulnerability CVE-2026-123890, which Rapid7 covered previously when CVE-2026-123890 was reported as being exploited in the wild. Both of these vulnerabilities affect the VMware Directory Service in vCenter and can give an attacker access to the vCenter without credentials. CVE-2026-123890 was reachable over RPC while CVE-2026-123903 is reachable over LDAP. 

As of this writing, there are no known public reports of exploitation of CVE-2026-123903 in the wild. A public proof-of-concept exploit is available and has been validated by Rapid7 to successfully achieve an authentication bypass.

Attackers are known to be targeting vulnerabilities in the VMware Directory Service, therefore Rapid7 recommends remediating exposed systems on an urgent basis outside of normal patching cycles.

Mitigation guidance

Vendor updates are available for CVE-2026-123903. Broadcom lists no workaround, and these vCenter updates are not eligible for Quick Patch. Rapid7 recommends updating affected deployments on an urgent basis, outside normal patch cycles, using the standard update mechanism for the deployment.

Broadcom lists the following available fixed versions to remediating CVE-2026-123903. These fixed versions also remediate several other high and medium severity CVEs from the same advisory (CVE-2026-123904, CVE-2026-123905, CVE-2026-123906, CVE-2026-123907, CVE-2026-123908, CVE-2026-123909):

VMware Product

Affected Version

Fixed Version / Patch

VMware Cloud Foundation,

VMware vSphere Foundation

9.1.x.x

9.1.2 

VMware Cloud Foundation,

VMware vSphere Foundation

9.0.x.x

9.0.2.0300 

VMware vCenter

8.0

8.0 U3m 

VMware vCenter

7.0

Contact Broadcom Support (extended-support customers)

VMware Cloud Foundation

5.x

5.2.5 

VMware Telco Cloud Platform

3.0, 4.x, 5.0.x, 5.1.x,

5.2

KB463501 

VMware Telco Cloud Infrastructure

3.0

KB463501 

Note that if vCenter 8.0 U3m was previously installed when remediating CVE-2026-123890, it also fixes CVE-2026-123903 and no further vCenter update is needed.

For the latest affected-version and remediation guidance, refer to Broadcom’s security advisory and supplemental FAQ.

Rapid7 customers

Exposure Command, Vulnerability Management, and Nexpose

Exposure Command, Vulnerability Management (InsightVM), and Nexpose customers can assess exposure to CVE-2026-123903 on VMware vCenter Server with an unauthenticated vulnerability check expected to be available in the November 25, 2026 content release.

Updates

  • November 25, 2026: Initial publication.

Designing a More Predictable and Consistent Zabbix Experience

Post Syndicated from Patrik Uytterhoeven original https://blog.zabbix.com/designing-a-more-predictable-and-consistent-zabbix-experience/33478/

Here’s why naming, navigation, templates, and terminology matter more than they seem to. 

Zabbix is a powerful platform, and one of its strengths is the enormous amount of functionality that has accumulated over the years. But as the software develops, a challenge grows with it – consistency.

Consistency may sound like a minor concern. If a feature works, does it really matter what we call it? Does it matter if two similar concepts use slightly different terminology, or if two different parts of the interface expose the same object in different ways? I believe it does.

Not because inconsistent terminology makes Zabbix unusable – it clearly does not. But because every inconsistency adds a small amount of cognitive overhead for the person using the product. Those small inconsistencies add up and can make a product harder to use.

Templates define the monitoring experience

When we talk about user interfaces, we usually think about buttons, menus, forms and dashboards. But a Zabbix template is also an interface (not like a network interface). Templates are a different kind of interface – they define much of what users work with.

A template exposes a collection of concepts to the user: item names, trigger names, discovery rules, macros, tags, value maps, preprocessing steps, graphs and prototypes. Together, these form a language. Consider something as simple as CPU utilization. One template might call an item CPU utilization. Another might use CPU usage. And another might go with CPU used percentage.

Technically, all three can describe exactly the same metric. The problem is not that any individual name is necessarily wrong. The problem appears when hundreds of templates use slightly different terminology for the same concepts.

The result is that users cannot easily predict what something will be called. That matters when searching for items, creating dashboards, defining calculated items, writing API integrations, building documentation, or simply trying to understand an unfamiliar template.

If official templates consistently use the same terminology, users gradually learn the language of Zabbix. Users develop a consistent mental model, allowing them to recognize and understand unfamiliar templates with less cognitive effort. In short, once users know the familiar language, they can understand templates they have never seen before. Remember – a consistent interface is a predictable interface.

Two places called Hosts

Another example will be familiar to almost anyone who has worked with Zabbix as an administrators. Where do you find your hosts? That sounds like an easy question.

Monitoring
  -> Hosts

But you can also go to:

Data collection
  -> Hosts

They both say Hosts, but they serve very different purposes.

Monitoring -> Hosts presents hosts from an operational perspective. It is where users look at monitored hosts and navigate towards current data, problems, graphs and other collected information. Data collection -> Hosts is where an administrator configures those hosts.

Once you understand the Zabbix interface, the distinction makes sense. Monitoring is about viewing what Zabbix knows. Data collection is about configuring how Zabbix collects that information. The permissions model also makes the separation understandable because a user may need monitoring access without permission to modify host configuration.

The problem is not that this separation exists. The interesting question is whether the navigation needs to expose that separation as two menu entries with exactly the same name.

For someone learning Zabbix, being told to “go to Hosts” can result in an immediate question: “Which Hosts?” If they choose the wrong one, they can spend time looking for configuration options that simply are not present in the menu they navigated to.

Experienced administrators barely notice this anymore. We have learned that one Hosts page means “view” while the other means “configure.” But that learned behavior is in itself interesting.

Conceptually, another interface could present one Hosts destination with two modes:

Hosts

[ View ]   [ Edit ]

The “Edit” option could simply be visible or enabled only for users with sufficient permissions. Zabbix even applies this concept already in the Service configuration menu, which already created that inconsistency between concepts within the UI. This is not necessarily a proposal for how Zabbix should redesign the Hosts page.

There may be good architectural or usability reasons for keeping the pages separate. But the example demonstrates an important principle: Users should not need to understand the internal organization of a product before they can predict where something is located.

The difference between viewing and editing a host is meaningful. Having two navigation entries with exactly the same name is a design choice. Those are not necessarily the same thing.

Discovery…and discovery

Discovery gives us another example of terminology that depends heavily on context.

Under the main menu, we have network discovery:

Data collection
  -> Discovery

Here we configure discovery rules that scan IP ranges and use checks such as ICMP, SNMP, or Zabbix agent queries to find devices and services.

Inside templates, however, we also have discovery rules. In that context we are normally talking about low-level discovery, or LLD.

An LLD rule does not discover hosts on the network. It discovers entities from returned data and dynamically creates items, triggers, graphs, or host prototypes.

From a broad technical perspective, both are forms of discovery. From a user perspective, they are two quite different mechanisms.

When teaching Zabbix, this produces the same kind of question as Hosts. Tell a new administrator to “go to Discovery” and the natural response may be: “Which discovery? Network discovery? Low-level discovery? A discovery rule in Data collection? A discovery rule inside a template?”

Experienced Zabbix users understand the distinction because they have learned the context. But ideally, software should require as little contextual translation as possible.

Perhaps one place could explicitly say “Network discovery” while templates use Low-level discovery or LLD rules. Whether those exact labels are the best solution is less important than the question behind them – can users understand what something means without first having to learn where they are in the product?

Consistency reduces cognitive load

This becomes more important as the number of concepts in Zabbix increases. Experienced administrators do not remember every command, menu entry, macro or configuration parameter individually. Instead, we learn patterns.

Those patterns allow us to make educated guesses. If I know these runtime commands…

config_cache_reload
secrets_reload
snmp_cache_reload
userparameter_reload

…then I naturally expect something involving reload when I encounter another runtime operation involving cached information.

This is what consistency gives us. We stop memorizing individual pieces of information and start understanding the system.

The same principle applies to templates. If similar metrics consistently use similar names, similar macros follow similar structures and discovery rules follow similar conventions. Learning one template helps you understand the next one.

Reload or rebuild?

This brings us to a small runtime-command example that recently started an interesting discussion within the Zabbix community. Zabbix is introducing an operation related to the permissions system:

-R permissions_rebuild

Looking at existing runtime commands, we find several operations using reload:

config_cache_reload
service_cache_reload
secrets_reload
snmp_cache_reload
userparameter_reload
proxy_config_cache_reload

And now we have permissions_rebuild. At first sight, rebuild stands out.

The obvious reaction might be, “Why is this not permissions_reload?” There is, however, a perfectly reasonable technical explanation. The operation may not simply reload existing information. It may recreate cached entries used by the permissions system. In that case, rebuild can be a more accurate description of what the software actually does.

That leads to a much more interesting design question than whether reload or rebuild is objectively correct – do you prioritize technically correct wording or usability?

Implementation language versus user language

Developers naturally understand software in terms of what happens internally. A cache might be loaded. Another cache might be refreshed. Some entries might be regenerated. Others might be rebuilt from source data. Those distinctions can be important when implementing the software.

But should every internal distinction become part of the user-facing vocabulary?

Suppose I have six runtime commands. Five tell Zabbix to update some internal state and use the word “reload.” The sixth also tells Zabbix to update an internal state, but because its implementation is different, it uses “rebuild.”

From the developer’s perspective, that distinction may be completely logical. From the administrator’s perspective, those operations may belong to exactly the same mental category – something changed, make Zabbix use the current state without restarting the server.

User interfaces should not necessarily expose the internal architecture of the software. Sometimes they should. Sometimes a technical distinction is important enough that users need to understand it. But sometimes consistency with an established user-facing concept is more valuable.

The vocabulary of a product

As software matures, it develops its own vocabulary. Zabbix certainly has one.

items
triggers
hosts
templates
proxies
macros
discovery rules
prototypes
preprocessing
value maps
maintenance
actions

Many of these terms have very specific meanings inside Zabbix. That vocabulary is part of the product.

Therefore, introducing another word for an existing or closely related concept has a cost. Not necessarily a large cost, but a cost nonetheless. Every new term is something documentation needs to explain, trainers need to teach, administrators need to remember, users need to search for, and support engineers may need to clarify.

Once terminology enters a widely used product, changing it later becomes increasingly difficult. This is why naming choices deserve more attention than they sometimes receive.

Consistency does not mean everything must be identical

There is also a danger in taking this argument too far. Consistency should not mean forcing fundamentally different concepts into the same terminology.

If an operation truly behaves differently in a way that matters to users, giving it a different name can be exactly the right decision. Likewise, network discovery and low-level discovery really are different mechanisms.

The goal should therefore not be to always reuse existing terminology. A better principle might be to reuse existing terminology unless the distinction is meaningful to the user.

That last word is important – the distinction has to matter to the user, not merely to the implementation.

The same lesson applies to templates

This is particularly relevant to the growing collection of official Zabbix templates. Templates are developed over many years, by different people, for different vendors and technologies. Without strong conventions, it is easy for each template to develop its own dialect.

One template may use:
CPU utilization
while another uses:
CPU usage

One may use:
Interface {#IFNAME}: Bits received

while another uses:
Incoming traffic on {#IFNAME}

One macro may control a threshold using one naming structure while another template uses a different structure for essentially the same purpose.

Again, none of these choices necessarily has to be wrong. The question is what happens when we look at the template library as a whole.

Ideally, learning how one well-designed Zabbix template works should help you understand another one. The more predictable that structure becomes, the less time administrators spend learning individual templates. Instead, they learn how Zabbix templates work.

Consistency is a feature

It is easy to treat naming and terminology as the final step in development that only has to be considered after the real functionality has been implemented. I think that underestimates their importance.

Consistency is part of usability. It affects documentation, training, support, automation, and how quickly experienced users can understand a new functionality. Most importantly, it affects how predictable the product feels.

A predictable product requires less memorization because users can rely on patterns they already know. That is particularly valuable in monitoring. When something is broken at 3AM and you are trying to understand why an important service is unavailable, you do not want to remember whether the operation you need is called reload, refresh, rebuild, regenerate, or sync. You want to be able to predict it.

Before introducing another word

So should permissions_rebuild be renamed to permissions_reload? Maybe. Maybe not. The technical distinction behind rebuild may be important enough to justify different terminology.

But the command provides a useful example of a much broader question that applies throughout Zabbix: Before introducing a new name, ask whether users really need to learn a new word.

Sometimes they do. A genuinely different concept deserves a different name. But when two operations are conceptually similar from the user perspective, consistency may be more valuable than describing differences in their internal implementation.

The same question can be asked about templates, menu entries, discovery, macros, API objects, runtime commands, and almost every other interface through which users interact with Zabbix.

Remember – consistency is not about making everything look the same. It is about making the next thing easier to understand because of everything the user has already learned. And ultimately, that is what makes a complex product feel intuitive.

Let us know what you think in the comments.

The post Designing a More Predictable and Consistent Zabbix Experience appeared first on Zabbix Blog.

Видеоигрите. Да правиш свят за музиката

Post Syndicated from Миглена Николчина original https://www.toest.bg/videoigrite-da-pravish-svyat-za-muzikata/

Видеоигрите. Да правиш свят за музиката

Музиката – и в един по-широк смисъл художествената организация на звука – е органичен компонент на видеоигрите. Музиката може да бъде обвързана с конкретно място от картата, навлизането в което е винаги оповестявано с определена тема (или теми), така че да се превърне наред с визията в инструмент за изграждане на пространството и в негово допълнително измерение, както е в този пример от „Неборъб“.

Тя може да бъде обвързана и с определен тип действие или случване и тогава музиката на пространството да се замени от музика на действието и случването. Във втория ми пример от „Неборъб“ идиличната мелодия на шляене сред природата е най-напред съпроводена от далечното предупредително ехо от вика на кръжащия дракон, след това е сменена от героичния мотив на битката (в тази игра има различни музикални варианти на „битка с дракон“), най-сетне идва мотивът на „поглъщане на драконова душа“ и следва победоносният финал, като различни други звуци – от „реалната“ среда или ознаменуващи някакви постижения – периодично се вклиняват.

В резултат на такива последователности цялостното протичане на играта се оказва структурирано на музикален принцип, при което музикалните сегменти или са оставяни да се разгърнат докрай, или – по-често – се явяват с едни или други свои части, прекъсвани от други отрязъци, разпознаваеми като носители на съответното им съдържание.

По такъв начин играта се превръща в цвето-музикално произведение, чиято „програма“ (в смисъла на „програмна музика“) е лайтмотивно разгърната в образи, движени от играча. В игри като „Неборъб“ тази музикална логика може да се окаже забулена от епическото начало, но в други тя може феерично да се слее с флуидността на движение от цвят към цвят „без думи“, макар и не без разказ. Такъв е случаят с прелестната притча за преодоляване на тъгата „Сиво“ (Gris), която Христомира Султова, магистрантка в програмата за видеоигри на ФЖМК на СУ „Св. Климент Охридски“, ми посочи и представи тук:

„Неборъб“ обаче е също така пример за присъствие на музиката, което не е просто музика за света на играта, а напротив,

самият свят на играта се оказва свят за музиката, свят, извикващ и предлагащ осмислящо пространство за музиката.

Киното преди това прави нещо подобно. Ако класическата музика от вида, предшестващ Шьонберг и неговото наследство през ХХ век – музиката най-вече от вида, който свързваме с (пред)романтиците, – се е оказала толкова извън собствения ни свят днес, че е останала в нишите на една специализирана публика, и то предимно в повторителното изпълнение на творците от миналото, героическата архаика на игри като поредицата „Древните скрижали“ (чиято пета част е „Неборъб“) създава благодатна вселена за симфонизма на мащабни оркестри и хорове. Нещо повече, извиква този симфонизъм на живот и го довежда до многомилионни публики, които никога по друг начин не биха се съприкосновили с него.

Концертът на Лондонския симфоничен оркестър по повод десетгодишнината от създаването на „Неборъб“ – с цялата ирония на съчетаването на героиката с пандемичните маски – илюстрира тази реинкарнация на романтизма в музиката. Нашият блестящ сънародник Борислав Славов е друг пример – тук в изпълнение на Датския национален симфоничен оркестър.

Авангардната музика също присъства, макар и невинаги по разпознаваем начин. В игра като „Метаморфозата“ (2020) връзката с Кафка е експлицитно връзка на музиката в играта с дванайсеттонната техника на Шьонберг – връзка, която дискутират двамата композитори Миколай Строински и Гари Шиман. Това е игра, разбира се, от съвършено различен от „Древните скрижали“ вид.

По-често обаче присъствието на авангарда е много по-дискретно и така да се каже, коварно, което му позволява да се промъкне и в спечелили масов успех заглавия като „Биошок“ (Bioshock). Коварството е в това, че музиката често потъва в тъканта на средата като част от – най-често – тревожно преживяване, заплаха, ужас, призрачност, лудост, неземност. В „Мъртво пространство“ музиката на Джейзън Грейвс (който е композиторът и на „Биошок“ и една от най-ярките фигури в тази сфера) предлага в концентриран вид елементи, чиито техники се срещат разпръснати в много игри. Самият Грейвс твърди, че музиката на ХХ век е неговата библия, и посочва Игор Стравински и Кшищоф Пендерецки, както и филмовия композитор Бернард Херман като любими свои композитори. Отново бихме могли да говорим за „осигуряване на свят“ за тази музика и отново бихме могли да намерим в киното предходници (Лигети в „Одисея 2001“, Пендерецки в „Сиянието“).

Отвъд траекториите на „високата“ музика, в игрите намират място всички възможни стилове, култури и епохи, като в много случаи простотата на средствата не изключва чаровете на постигнатото.

За отбелязване е, че в сравнение с другите компоненти на художествен синтез в игрите – образ и слово – музиката като че ли показва най-ясно изразена тенденция, а и капацитет за еманципация и самостоятелно съществуване. Веднъж възникнала като продукт на свят, който я прави възможна, тя най-вече се стреми навън, към реалността извън играта, към живото изпълнение и собствени публики. Вярно е и обратното – изпълнителите се стремят към живителните възможности на тази нова романтика. Това се вижда и от посочените по-горе концерти. Библиотеките на „Древните скрижали“, стотиците лирични, комични, проникновени страници на игри като „Диско Елизиум“ остават сдвоени с играта. Преход от литературни произведения към игри има (поредицата „Вещерът“, „Метро“, първоначалните части на „Кредото на убиеца“), но обратното движение все още не е отбелязало впечатляващи успехи.

Въпреки тази потенциална самостойност на музиката към видеоигрите, все пак си остава въпросът как тя се интегрира в целостта на творбата. Ще се обърна към двете игри, които многократно обсъждахме в тази рубрика – „Светлосянка“ (Clair obscur: Expedition 33) и „Индика“ – за да покажа особения вид „надстрояване“, който музиката и в двата случая предлага. Колкото релефно и дори опредметено е то в единия случай, толкова дискретно, почти невидимо, но и изненадващо е във втория.

Поезия и видеоигри

В този текст Миглена Николчина предлага нещо като притурка към разговорите си със Северина Станкева върху „Индика“ и „Светлосянка“, за да покаже как и в двете игри има таен поетически ключ за интерпретацията им.

Музиката на „Светлосянка“ очевидно от самото начало е била мислена като способна да има свой обособен живот и вътре в играта, и извън нея. За Лориен Тестар, който работи върху партитурите заедно със сопрано певицата Алис Дюпор-Персие, това е първата голяма (и спечелила огромни възторзи) изява – включването му в екипа следва полуприказната траектория на събирането на повечето ключови създатели в тази дружина – събиране, което на свой ред напомня събирането на „спътници“ в ролевите игри.

Красота и катастрофа в „Светлосянка: Експедиция 33“ (първа част)

Париж, 1905 г., революции в изобразителното изкуство и… каймакът на цивилизацията, изправен пред гибелта си. Миглена Николчина и Северина Станкева разговарят за навярно най-награждаваната – и може би с право – игра на всички времена.

Освен че звучи по обичайния начин като музика на мястото, на действието, на персонажите, музиката в „Светлосянка“ може да бъде колекционирана – това е една от задачите в играта, от които стигането до финала не зависи, но които прибавят дълбочина и плътност, а и мотив за по-внимателно претърсване на света. Намерените отделни виртуални дискове след това могат да бъдат прослушвани по време на почивките в лагера на героите. Това са над осем часа, съставени от 154 парчета, щедро предоставени в своята цялост от създателите (могат и да бъдат закупени). Голямо място заемат вокалите и шансоните, струнните инструменти, китарата, електрониката, но и соловото включване на пиано, чело, акордеон, и пр., като всичко това – а също и поразителната художническа визия, имитираща различни живописни техники – възсъздава различни жанрове и епохи, без да престава да бъде френско.

Текстовете на песните, включително на окситански, са тясно свързани със сюжета и дори го издават, стига да можеш и да искаш да разбереш. При все че е неизбежна последователността, която се появява в цялостната подредба на отделните парчета, те по-скоро „застилат“ картата на играта пространствено, разместват времето, придават му извънвременен характер.

Всичко е сякаш в пълен контраст с „Индика“. Музиката в „Индика“ не би могла да има кой знае какъв живот извън играта. Композиторът Майк Сабадаш следва линейно нейното стилистично разцепване между строгия графичен стил на основния сюжет и пикселизираната пъстроцветност на ретроспективния сюжет, свързан с юношеската любов на Индика – от една страна, електронен амбиент, понякога примесен с индустриален шум, и в определени моменти постигащ тревожна дълбочина и сила, от друга – инфантилно приповдигнати 8-битови мелодии. Нищо от това обаче не може да бъде видяно като особено индивидуализирано или специфично – то е усреднено, типизирано, абстрактно и в последна сметка твърде бедно като звук. В контраст със „Светлосянка“ – почти пълно отсъствие на човешкия глас, на акустиката на живите инструменти.

Съдба, свобода и игрова механика. Случаят „Индика“

Изгонена от манастира монахиня, която разговаря с дявола, и избягал затворник, който разговаря с бога… Какво може да произтече от подобна среща? За необичайните игрови превъплъщения на тези разговори разговарят Миглена Николчина и Северина Станкева.

Основното качество на звука е да се слива с историята и това е забележително постижение, като се има предвид колко далечна е тази локализирана в собственото ни време звукова естетика от драмата на монахинята от XIX век, беседваща с дявола, и на блудния син, общуващ с бога. Дали обаче изчистената простота, почти аскетичност на звука не е същественото в случая?

Въпросът застава особено остро, ако погледнем какви са заглавията на отделните парчета: „Битие“, „Изход“, „Левит“, „Числа“… и така, преминавайки през „Рут“ и редица пророци, до №23 „Апокалипсис“ и №24 „Софония“. С тези заглавия музиката успоредява сюжета на играта и отново ни изправя пред загадката на финала. Тръбата на съдния ден ли чуваме в него? Или – на фона на множеството часовници в последната сцена – имаме „времето, което остава“? Името на Софония означава „Бог е скрит“ – това е и учението на Йоан Дамаскин, на когото е наречен храмът, в който героите в играта се надяват да намерят чудо, но не го намират… или може би са го намерили именно защото не са. Във всеки случай, музиката предлага свой собствен разказ, както и играта – отворен.


В рубриката „Игромислие“ публикуваме разговори, в които се срещат, съпоставят и противопоставят различни гледни точки към многоизмерния, многожанров феномен на видеоигрите – не толкова като електронен спорт, колкото като нов синтез на изкуствата и като ново поле на общуване и социалност.

Introducing context-aware rules for AWS Network Firewall

Post Syndicated from Lawton Pittenger original https://aws.amazon.com/blogs/security/introducing-context-aware-rules-for-aws-network-firewall/

AWS Network Firewall now supports context-aware rules, which match traffic by the AWS resources that send and receive it instead of by IP address. A rule can name a virtual private cloud (VPC), a subnet, a security group, or a transit gateway attachment. Rules that match on IP addresses have to keep up with every workload that scales out, is replaced, or moves. Short-lived workloads are the hardest to keep up with. A VPC-attached AWS Lambda function can scale out and start sending traffic before an updated IP list reaches the firewall. With context-aware rules, you can filter a function’s traffic by the security group attached to it.

With context-aware rules, you can:

  • Write rules that follow your workloads – A rule that names a security group applies to each new resource whose network interface has that security group attached. A rule that names a subnet or VPC applies to each new resource that you launch in it. A rule that names a transit gateway attachment applies to traffic that enters through that attachment.
  • Apply one policy across accounts – One context store tracks the resources in the accounts that attach to a shared transit gateway. A rule can name context from any of those accounts.
  • See which resources are behind each connection – Your firewall logs record the resources on each side of a flow, along with their IP addresses.

In this post, we explain how context-aware rules work, set them up across accounts, and show what the logs record.

How context-aware rules work

Context-aware rules require transit gateway-attached firewalls, and they combine a control path and a data path (Figure 1). On the control path, a context store tells the firewall which AWS resources exist. On the data path, the transit gateway adds the context of the sender to each packet. The firewall brings the two together and matches that context against your rules.

Figure 1: How context-aware rules work across accounts

A context store tracks your resources. A context store is a catalog of the AWS resources that can send and receive traffic through a transit gateway. You create it in AWS Network Manager and associate it with the transit gateway that your firewall uses. When you share the transit gateway with workload accounts through AWS Resource Access Manager (AWS RAM), those accounts create transit gateway VPC attachments to it. The context of those attachments, and of the resources behind them, then appears in the same context store. The context store is designed to keep the firewall in sync as you add and remove resources.

The transit gateway tags each packet. When traffic crosses the transit gateway, the transit gateway tags each packet with the context of the resource that sent it. That context is the sender’s VPC, subnet, transit gateway attachment, and the security groups attached to the sender. The firewall gets only the security group IDs, not their rules, so a rule that names any one of those groups matches.

The firewall matches context IDs in your rules. It reads the context on each packet and matches it against your rules. You group context IDs into a context set, a named rule variable that lists resources from the context store associated with the firewall. Then you use the set in the source or destination of a rule, in a Classic or Next Generation firewall policy.

Source context works with every protocol, because each packet carries the context of its sender. Destination context requires TCP-based rules, because the firewall learns the receiving resource from return traffic. For more details, see How context-aware rules work and Matching on destination context. AWS Transit Gateway also shares context with third-party firewalls through Gateway Load Balancer. For that setup, see Introducing resource context for firewall policies with AWS Transit Gateway.

Getting started

In this example, a central networking account owns the transit gateway and the firewall, and shares the transit gateway with workload accounts through AWS RAM. You complete steps 1 and 2 once, in the account that owns the transit gateway.

1. Create a context store. In the AWS Network Manager console, select or create a global network and register your transit gateway with it. Then create a context store and associate it with the transit gateway (). Network Firewall discovers the context store on its own, so there’s nothing to configure on the firewall.

Figure 2: A context store associated with a transit gateway

2. Give Network Firewall access to the context store. In the account that owns the context store, create the AWS Identity and Access Management (IAM) role NetworkFirewallContextStoreReadOnly. Use the trust policy and permissions in Onboarding your transit gateway to a context store. You create the role once for each account that owns a context store.

3. Create a context set. In the Amazon Virtual Private Cloud (Amazon VPC) console, under Network Firewall, create a rule group. On the Rule group variables page, choose Create context set, select your context store, and select the resources for the set. One set can mix context IDs of different resource types, from the accounts in the context store.

Figure 3: Creating a context set from the resources that the context store tracks

4. Check the sync state. Before you write rules, open the firewall’s details page and check the Context store sync state section. It shows the context store that the firewall discovered and its sync state.

Figure 4: The context store sync state on the firewall’s details page

5. Use the context set in your rules. The sample rule from Writing context-aware rules blocks SSH from PROD_RESOURCES to destinations outside your home networks. In a Next Generation firewall rule group, on the Configure rules page, use the Visual rule builder. Choose Drop and TCP. For Sources, choose Match specific criteria, select Context sets, and choose PROD_RESOURCES. For Destinations, choose Match specific criteria, select Destination IP, and enter $EXTERNAL_NET. Set the destination port to 22. Then add the rule group to your firewall policy.

Figure 5: Choosing a context set as a rule’s source in the Next Generation rule builder

The same rule in Suricata-compatible syntax follows. drop:flow is the action and its scope, tcp:all the protocol and connection state, and the rest is the source, destination, and port. In raw rules, you reference a context set with $ and its name; in the console, you pick it from a list.

drop:flow tcp:all $PROD_RESOURCES any -> $EXTERNAL_NET 22 (msg:"Block SSH from production to external"; sid:2001;)

Because the rule names resources and not addresses, it covers each new resource that you launch in those VPCs or attach that security group to.

For Classic policies, the same rule looks like this:

drop tcp $PROD_RESOURCES any -> $EXTERNAL_NET 22 (msg:"Block SSH from production to external"; sid:2001; rev:1;)

What the logs record

After you associate the transit gateway with a context store, Network Firewall adds a context object to its alert log and flow log records. The following records, shortened, show one outbound TLS connection from an application instance to example.com, through a central egress VPC with a network address translation (NAT) gateway. A rule that references the application’s security group blocks the connection and writes this alert log record. The matched list names the security group that the rule matched.

{
  "event": {
    "event_type": "alert",
    "flow_id": 314246768212473,
    "src_ip": "10.1.1.25",
    "dest_ip": "203.0.113.10",
    "dest_port": 443,
    "app_proto": "tls",
    "tls": {
      "sni": "example.com"
    },
    "context": {
      "matched": [
        "sg-0a1b2c3d4e5f60031"
      ]
    },
    "alert": {
      "action": "blocked",
      "signature_id": 2002,
      "signature": "Application A: domain not on its allow list"
    }
  }
}

The flow log record for the same flow_id lists the full context on each side. The src list holds the sender’s context IDs. Flow logs record this context for every flow, even when no rule matches it.

{
  "event": {
    "event_type": "netflow",
    "flow_id": 314246768212473,
    "src_ip": "10.1.1.25",
    "dest_ip": "203.0.113.10",
    "dest_port": 443,
    "app_proto": "tls",
    "context": {
      "src": [
        "vpc-0a1b2c3d4e5f60001",
        "subnet-0a1b2c3d4e5f60011",
        "tgw-attach-0a1b2c3d4e5f60021",
        "sg-0a1b2c3d4e5f60031"
      ],
      "dst": [
        "vpc-0a1b2c3d4e5f60003",
        "subnet-0a1b2c3d4e5f60013",
        "tgw-attach-0a1b2c3d4e5f60023"
      ]
    }
  }
}

The dst list shows how destination context works for traffic to the internet. The firewall learns the destination from the response, and the response reaches the firewall from the NAT gateway. So the destination context is the egress VPC, the NAT gateway’s subnet, and the egress VPC’s transit gateway attachment, not the internet host. You can query these fields by context ID in Amazon CloudWatch Logs Insights. For example, you can see what an application already connects to before you write its rules. For the fields, see Context in your network firewall logs.

Availability and pricing

Context-aware rules are available at no additional charge. Standard AWS Network Firewall and AWS Transit Gateway charges apply to the resources that you use. For details, see AWS Network Firewall pricing and AWS Transit Gateway pricing. They work in the AWS Regions where both Network Firewall and Transit Gateway context sharing are available.

Conclusion

In this post, we showed how you can use context-aware rules in Network Firewall to match traffic on the context of the resources that send and receive traffic. A context store tracks those resources across the accounts that share your transit gateway, and the transit gateway tags each packet with its sender’s context. Your rules and logs then use that context, so your rules can keep up as workloads change. To learn more, see Context-aware rules in AWS Network Firewall.

If you have questions about this post, contact AWS Support or start a new thread on AWS re:Post.


Lawton Pittenger

Lawton Pittenger

Lawton is a Worldwide Security Specialist Solutions Architect at AWS, based in New York City. He helps customers design and implement effective network security controls, and works with AWS service teams to improve security services based on customer feedback. Outside of work, he enjoys skateboarding, snowboarding, and spending time in nature.

Santosh Shanbhag

Santosh Shanbhag

Santosh is a seasoned product leader, specializing in security, data protection, and compliance. At AWS, he focuses on securing workloads through Network and Application Security services, including AWS Network Firewall and active threat defense.

Rahi Patel

Rahi Patel

Rahi is a Startups Technical Account Manager at AWS specializing in Networking. He architects cloud networking solutions, optimizing performance across global AWS deployments. Previously a network engineer with Cisco Meraki, he holds an MS in Engineering from San Jose State University. Outside work, he enjoys tennis and pickleball.

Mahesh Elireddy

Mahesh Elireddy

Mahesh is a Senior Software Development Engineer at AWS, where he has spent 10 years building the network. He has been a part of the teams that built Network Load Balancer, Gateway Load Balancer, and NAT Gateway, and now works on AWS Network Firewall. Outside of work, he likes spending time outdoors in the Pacific Northwest with his family.

Introducing AWS Network Firewall Next Generation policy

Post Syndicated from Lawton Pittenger original https://aws.amazon.com/blogs/security/introducing-aws-network-firewall-next-generation-policy/

When it comes to inspecting network traffic, many security teams want two things from a firewall. They want to allow only the traffic each application needs, and they want each allowed connection checked for known threats. Today, you can do both with AWS Network Firewall, a stateful, managed network firewall and intrusion detection and prevention service. In a Classic policy, your access rules and your threat rules run together in one stateful engine and share one rule capacity.

With Next Generation policies, access control and threat protection each get their own engine in the same firewall. A firewall engine allows the traffic you approve and drops the rest. An intrusion prevention system (IPS) engine checks the allowed traffic with AWS managed rule groups or with rules that you write. Each engine has its own rule capacity, so adding access rules doesn’t take capacity away from threat protection.

In this post, we walk through what Next Generation policies are, how they evaluate traffic, and the new concepts they introduce. We use sample records to cover what each engine logs and how to validate a policy with the new monitor mode. To put it all together, we walk through creating an example Next Generation policy.

How a Next Generation policy works

A Next Generation policy inspects traffic with two engines, in sequence. Traffic that the firewall engine allows moves to the IPS engine, and traffic that the firewall engine blocks goes no further. The firewall engine is drop by default, and the IPS engine is pass by default.

If you already write Suricata rules, the two engines will feel familiar. The firewall engine is built on Suricata 8 firewall mode, which follows each connection as it progresses and evaluates rules at each step. The IPS engine uses the Suricata compatible intrusion detection system (IDS) and IPS rules that you already know from the stateful engine in a Classic policy, with one difference: it evaluates rules in action order and doesn’t support Classic options such as strict order.

A Classic policy uses a stateless engine and then a stateful engine that evaluates access rules and threat rules together. In a Next Generation policy, both engines are stateful, so each rule is evaluated with full connection context, which helps keep traffic handling consistent and predictable. The firewall engine works up to the application layer. It follows each connection for its entire flow, from the first packet through the TCP handshake and application layer exchanges such as the TLS client hello, and evaluates your access rules along the way (Figure 1).

Figure 1: Classic and Next Generation policy engines and their rule capacity.

Figure 1: Classic and Next Generation policy engines and their rule capacity.

This separation changes how you design a policy. Because each engine has one job, you can plan access control and threat protection on their own, and different teams can work independently. For example, a networking team can manage access rules while a security team handles threat detection, and neither has to rewrite the other’s rules.

The firewall engine controls access

You configure access control by specifying an action for a protocol, along with a source and destination. Rules run in the order that you set. Traffic that no rule allows gets the policy’s firewall default action, which is drop unless you change it. In a Next Generation policy, the drop default action applies from the first packet, so for TCP traffic the firewall can drop the initial SYN. Unlike the drop established default action in a Classic policy, it doesn’t wait for a connection to be established.

A few terms explain how the firewall engine evaluates traffic. Connection states are the protocol states that a connection progresses through, such as the TCP handshake and the TLS client hello. A hook is the point at a connection state where your rules attach, so a rule’s hook sets when the firewall engine evaluates it. Each rule also has an action, such as accept, drop, or reject. Its action scope sets how much of the traffic the action applies to, from one packet or one transaction up to the whole connection, called the flow. For more details, see Firewall engine hooks.

When you build a rule in the console, you choose a protocol and then two settings: Connection state, which sets the rule’s hook, and Action scope. For example, to allow a domain over TLS, you match its server name at the Client Hello connection state with the This flow action scope.

Because the firewall engine is drop by default, a connection advances to the next connection state only while your rules keep accepting it. For example, a connection can pass the TCP handshake and still be dropped at the TLS client hello. That happens when its server name isn’t on your approved list (Figure 2).

Figure 2: A connection is accepted at the TCP handshake hook and dropped at the TLS client hello hook.

Figure 2: A connection is accepted at the TCP handshake hook and dropped at the TLS client hello hook.

In Figure 2, the rule for www.amazon.com accepts the flow when it matches the server name at the TLS client hello hook. No rule accepts example.com at that hook, so the firewall default action drops it.

You don’t have to write every rule in raw Suricata syntax. You can build rules in the console rule builder, or, as in the example later in this post, enter your domains in a domain list rule group, and Network Firewall builds the rules for you.

Action scope also sets where an accepted connection goes next. An accept with the hook scope allows the connection to advance to the next connection state, where the rules at that hook evaluate it. An accept with the flow scope lets the connection skip the remaining hooks and move to the IPS engine (Figure 3). A firewall rule can also bypass the IPS engine for specific traffic when you choose. For the valid combinations of action and scope at each type of hook, see Firewall engine actions and scopes.

Figure 3: An accept with the hook scope compared with an accept with the flow scope.

Figure 3: An accept with the hook scope compared with an accept with the flow scope.

The IPS engine looks for threats

Traffic that the firewall engine allows then reaches the IPS engine, which inspects it with Suricata compatible rules. The IPS engine is designed to look for specific threats, so it blocks only traffic that matches a threat rule. IPS rules evaluate in action order. Pass rules go first, then drop, reject, and alert rules, regardless of the order in which you define them. For the full path through both engines, see How Network Firewall filters traffic with a Next Generation policy.

We recommend that you start with the AWS managed rule groups. Because the IPS engine is built on the industry standard Suricata engine, you can also run Suricata compatible rule sets from specialized security providers, alongside rules that you write yourself.

Referenced rule groups and embedded rules

Each engine gets its rules from its own section of the policy. You can add rules in two ways and mix both in one section.

Referenced rule groups are separate resources, and they’re the only kind of rule group that Classic policies support. You create a rule group once and add it to as many policies as you need. You can also share it with other accounts through AWS Resource Access Manager (AWS RAM). For details, see Sharing AWS Network Firewall resources. When you update the rule group, each policy that references it picks up the change. You set a referenced rule group’s capacity when you create it, and you can’t change it afterward, so leave room for it to grow.

Embedded rules are new with Next Generation policies. You write them directly inside one policy, and they belong to that policy only, so you can’t share them with another policy. Use them to add rules quickly that are specific to that policy. They use that engine’s rule capacity, and you don’t set a capacity up front. Embedded rules in both engine sections share a combined limit. For all limits, see AWS Network Firewall quotas.

Read what each engine logs

Whichever way you add rules, both engines write to the same alert and flow logs, which you configure in the logging configuration. Each alert record carries new fields that show which engine wrote it and, for the firewall engine, the hook where the decision happened.

The following record came from a test, in enforce mode, of the example policy that you build later in this post. A host tried to reach example.com, which isn’t on the allow list.

{
  "firewall_name": "example-fw",
  "availability_zone": "us-east-1a",
  "event_timestamp": "1794341434",
  "event": {
    "event_type": "alert",
    "app_proto": "tls",
    "src_ip": "10.0.1.25",
    "src_port": 42698,
    "dest_ip": "203.0.113.10",
    "dest_port": 443,
    "proto": "TCP",
    "tls": {
      "sni": "example.com"
    },
    "alert": {
      "engine": "fw",
      "action": "blocked",
      "signature_id": 2201001,
      "signature": "SURICATA FW default app policy",
      "severity": 3
    },
    "firewall": {
      "hook": "tls:client_hello",
      "policy": "drop:flow,alert"
    },
    "verdict": {
      "action": "drop"
    },
    "aws_metadata": {
      "resource_arn": "arn:aws:network-firewall:us-east-1:111122223333:firewall-policy-v2/example-policy"
    },
    "timestamp": "2026-11-10T20:10:34.141643+0000"
  }
}

The following table explains the key fields in this record.

Field Value What it tells you
alert.engine fw The firewall engine wrote this record.
firewall.hook tls:client_hello The decision happened at the TLS client hello, where the client sends the server name example.com.
alert.signature SURICATA FW default app policy No rule matched, so the firewall default action applied. The default action logs its drops on its own, so you don’t need an alert rule to see what it blocks.
firewall.policy drop:flow,alert The action and scope that applied. The default action dropped the whole flow and wrote an alert.
aws_metadata.resource_arn arn:aws:network-firewall:us-east-1:111122223333:firewall-policy-v2/example-policy The policy itself is the source, because the record doesn’t come from one of your rule groups.

When a connection that the firewall engine allowed matches a threat rule, the IPS engine writes its own record. In this test, the firewall engine allowed TLS to one test server by IP address. The IPS section also held the following embedded rule, which drops TLS connections with a JA4 fingerprint that your threat intelligence flags. The fingerprint in this rule is a sample value:

drop tls $HOME_NET any -> $EXTERNAL_NET any (msg:"Example: flagged TLS client fingerprint (JA4)"; flow:to_server,established; ja4.hash; content:"t13d1516h2_aaaaaaaaaaaa_bbbbbbbbbbbb"; classtype:trojan-activity; sid:900002; rev:1;)

This is a sample rule to show the IPS engine at work. In your own policies, we recommend that you start with the AWS managed threat signature rule groups and add custom rules where you need them.

A test client with that fingerprint connected to that server without a server name, and the IPS engine wrote the following record.

{
  "firewall_name": "example-fw",
  "availability_zone": "us-east-1a",
  "event_timestamp": "1794377726",
  "event": {
    "event_type": "alert",
    "app_proto": "tls",
    "src_ip": "10.0.1.25",
    "src_port": 38342,
    "dest_ip": "198.51.100.7",
    "dest_port": 443,
    "proto": "TCP",
    "tls": {
      "version": "TLS 1.3",
      "ja4": "t13d1516h2_aaaaaaaaaaaa_bbbbbbbbbbbb"
    },
    "alert": {
      "engine": "td",
      "action": "blocked",
      "signature_id": 900002,
      "signature": "Example: flagged TLS client fingerprint (JA4)"",
      "category": "A Network Trojan was detected",
      "severity": 1
    },
    "verdict": {
      "action": "drop"
    },
    "aws_metadata": {
      "resource_arn": "arn:aws:network-firewall:us-east-1:111122223333:firewall-policy-v2/example-policy"
    },
    "timestamp": "2026-11-11T06:15:26.671435+0000"
  }
}

Field Value What it tells you
alert.engine td The IPS engine wrote this record. IPS records have no firewall object, because IPS rules don’t use hooks.
tls.ja4 t13d1516h2_aaaaaaaaaaaa_bbbbbbbbbbbb The JA4 fingerprint of the client, which matches the fingerprint in the rule.
alert.signature Example: flagged TLS client fingerprint (JA4) The IPS rule that matched, from the rule’s msg option.
alert.category A Network Trojan was detected The rule’s classtype, trojan-activity, sets this category.
verdict.action drop The IPS engine dropped the connection.
aws_metadata.resource_arn arn:aws:network-firewall:us-east-1:111122223333:firewall-policy-v2/example-policy The rule is embedded in the policy, so the record shows the policy ARN. A match from an AWS managed rule group or one of your referenced rule groups carries that rule group’s ARN instead.

To separate access control events from threat events in your queries, filter on the engine field. To find which rule group produced an event, use resource_arn. Embedded rules and the default action show the policy ARN.

Validate in monitor mode, then enforce

Each Next Generation policy has a policy mode, enforce or monitor. In enforce mode, the engines apply their actions. In monitor mode, both engines evaluate your traffic and log what they would do. Your rules and the default action don’t drop or reject traffic.

Monitor mode also turns on alert logging for your rules and the default action, so each firewall rule that would block traffic logs its matches. That makes monitor mode a lower-risk way to stage a rollout of a new policy or a change to an existing one. Monitor logs are close to enforce mode but can differ. When a firewall rule would block a connection, monitor mode lets the connection through but sends it past the IPS engine, just as a blocked connection never reaches the IPS engine in enforce mode. So the monitor logs don’t show IPS alerts for that connection. For the full list of differences, see Policy mode: enforce and monitor.

To validate a policy in monitor mode:

  1. Set Policy mode to Monitor, and confirm that alert logging is on for the firewall. Amazon Route 53 Resolved IP Validation still applies its configured action in monitor mode, so if your policy uses it, set its action to Alert.
  2. Send representative traffic for long enough to cover your normal patterns.
  3. In your alert logs, filter on engine = fw. Check the FirewallDefaultActionApplied metric in Amazon CloudWatch. Traffic that you meant to allow shouldn’t be reaching the default action.
  4. When the results look right, switch Policy mode to Enforce during a maintenance window. Changing the policy mode or the firewall default action restarts stateful inspection on the firewall, which interrupts established connections.

Example policy with a domain allow list and threat protection

The following example puts the engines, logs, and monitor mode together. It allows outbound traffic only to approved domains and checks that allowed traffic for known threats. The firewall engine holds the domain allow list, and the IPS engine runs the AWS active threat defense managed rule group. Figure 4 shows the policy and where each of the earlier log records comes from. Log record 2 comes from the sample embedded rule, which isn’t part of the policy that you create in the following steps.

Figure 4: The example policy, with the sample embedded rule behind log record 2.

Figure 4: The example policy, with the sample embedded rule behind log record 2.

To create the domain list rule group:

  1. In the Network Firewall console, choose Network Firewall rule groups, and then choose Create rule group. Choose Next Generation as the rule group version, Firewall rule group as the type, and Domain list as the format.

    Figure 5: Choosing the rule group version, type, and format for the domain list.

    Figure 5: Choosing the rule group version, type, and format for the domain list.

  2. Enter one domain per line, for example .amazon.com and checkip.amazonaws.com, and under Protocols, select HTTPS only. For HTTPS, the firewall matches the TLS Server Name Indication (SNI) without decrypting traffic. SNI is the server name that a client sends at the start of a TLS connection. To include a domain and its subdomains, start the name with a dot.
  3. For Capacity sizing, choose Allow room to grow, and then create the rule group.

To create the policy:

  1. Choose Firewall policies, and then choose Create firewall policy. Select Next Generation as the policy version and Drop as the firewall default action, so the firewall blocks traffic that you don’t allow. Set Policy mode to Monitor. We recommend rolling out a new policy in monitor mode first, then switching to enforce after you validate it. Enable Active Threat Defense is selected by default. Active threat defense is optional. Additional charges apply; for details, see AWS Network Firewall pricing.
    Figure 6: The policy details page, with Next Generation, Drop, and Monitor selected.

    Figure 6: The policy details page, with Next Generation, Drop, and Monitor selected.

  2. On the Add firewall rule groups step, add the domain list rule group that you created in the previous procedure.
  3. On the Add IPS rule groups step, the active threat defense managed rule group, listed as AttackInfrastructure, is already added. It comes from the Enable Active Threat Defense default that Figure 6 shows. Choose Add rule group to add more AWS managed rule groups, your own rule groups, or embedded rules.
  4. Create the policy, associate it with your firewall, and turn on alert and flow logging.
  5. After you validate the policy, as described in Validate in monitor mode, then enforce, switch Policy mode to Enforce.

For more detail, see Creating a rule group for a Next Generation policy and Generating firewall rules from domain names.

Already using Classic policies?

Classic Network Firewall policies remain supported, and your existing firewalls keep running as they are. Each firewall uses one policy type at a time, either a Classic policy or a Next Generation policy. For new firewalls, we recommend Next Generation policies. We’re working on migration guidance for existing policies, so you can plan a move when it suits you.

To try one now, create a test firewall with a Next Generation policy and start it in monitor mode. To compare the two policy types, see AWS Network Firewall firewall policy versions. Next Generation policies are available at no additional charge. You pay the standard Network Firewall charges for your firewall endpoints and the traffic they process. For Regions and pricing, see AWS Services by Region and AWS Network Firewall pricing.

Conclusion

In this post, we showed you how a Next Generation policy gives access control and threat protection separate engines, each with its own rule capacity, so you can grow your firewall rules and IPS rules independently. We also showed what each engine logs, how to validate a policy in monitor mode, and how to build a policy that allows only approved domains and checks the allowed traffic for threats. To learn more, see Getting started with a Next Generation policy, and to automate your policies, use the AWS Command Line Interface (AWS CLI) or the AWS SDKs.

If you have questions about this post, contact AWS Support or start a new thread on AWS re:Post.


Lawton Pittenger

Lawton Pittenger

Lawton is a Worldwide Security Specialist Solutions Architect at AWS, based in New York City. He helps customers design and implement effective network security controls, and works with AWS service teams to improve security services based on customer feedback. Outside of work, he enjoys skateboarding, snowboarding, and spending time in nature.

Santosh Shanbhag

Santosh is a seasoned product leader, specializing in security, data protection, and compliance. At AWS, he focuses on securing workloads through Network and Application Security services, including AWS Network Firewall and active threat defense.

Aneesh Patel

Aneesh Patel

Aneesh is a Software Development Engineer at AWS, based in Herndon, Virginia. He builds and maintains AWS Network Firewall, a managed service that helps customers protect their VPC networks. Outside of work, he enjoys snowboarding, working out, and playing video games.

Part 2: Generative bidders for ads at Grab

Post Syndicated from Grab Tech original https://engineering.grab.com/part-2-ads-simulation-blogpost

Introduction

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.

Generative bidders for ads

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.

Flowchart of the generative bidder loop. Historical data initializes the bidder, simulated auctions produce trajectories, guardrails decide whether the policy is ready for a live experiment, and live results calibrate the simulator.
Figure 1. Train in simulation, check the guardrails, and only then consider a live experiment.

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.

Why generative bidders need simulation

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.

Core components: Generator and Aligner

Diagram of the Generator and Aligner bidding architecture. Campaign context feeds a diffusion model that proposes 30-minute pacing plans. The Aligner predicts fulfillment, refines candidates, and the planner selects one plan to serve.
Figure 2. Generator and Aligner architecture.

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.

Generator

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)

Aligner

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.

Inference-time refinement

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: from historical behavior to simulator-driven learning

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.

Training at scale with the simulator and Ray

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:

  • Scale. The model can learn from many simulated days or campaign states in one training round, instead of waiting for sequential replay.
  • Diversity. Parallel simulation can cover different traffic patterns, markets, campaign types, and policy variants, which reduces the chance that the model overfits to one historical slice.
  • Repeatability. Each training round can be tied to a specific dataset window, simulator configuration, model version, and validation report, which makes failures easier to diagnose.

The training loop

The training loop has seven steps:

  1. Start with historical production data to learn a safe baseline.
  2. Train the initial Generator and Aligner on observed pacing sequences and outcomes.
  3. Launch parallel simulator runs across campaign states, traffic patterns, dates, markets, and candidate policies.
  4. Let the candidate bidder act inside simulated auctions.
  5. Collect trajectories, including bid plans, auction responses, budget movement, fulfillment progress, ROAS, and guardrail metrics.
  6. Train an improved model from successful and failed strategies.
  7. Register the updated Generator and Aligner as versioned artifacts for validation.

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.

Validation: from model metrics to marketplace safety

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.

Level 1: dataset and model validation

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.

Level 2: simulator validation against auction dynamics

Replay-day charts comparing a generative bidder with a PID baseline on budget delivery through the day, the direction of auction outcomes, and guardrail breach frequency.
Figure 3. Simulator-based validation.

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.

Level 3: stress testing and guardrails

A generative bidder also needs scenario validation. The simulator can stress the policy under cases that may be rare or risky in live traffic:

  • Sudden traffic spikes during high-value periods.
  • Campaigns that are behind target late in the day.
  • Campaigns with sparse or delayed conversion signals.
  • Markets with different budget and currency behavior.
  • Generated plans that approach budget exhaustion too early.

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: staged live handoff and calibration

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.

Conclusion

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.

Join us

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!

References

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

AWS Network Firewall introduces automated internet firewall mode (Preview)

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:

  • Inspect traffic at the internet gateway – Each VPC gets its own firewall for inbound and outbound IPv4 and IPv6 traffic, with built-in NAT for outbound-only IPv4 connections.
  • Manage centrally, inspect in each VPC – You define policies in AWS Network Security Manager or start from an AWS managed template. Each VPC’s traffic passes its own firewall, so each VPC you add brings its own inspection capacity. The same central policy also works for VPCs with overlapping Classless Inter-Domain Routing (CIDR) ranges.
  • Extend coverage to new VPCs – You can create a scope that includes all existing and future VPCs, so your policy applies to new VPCs when teams create them.

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.

How automated internet firewall mode works

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

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.

Subnet connectivity options

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.

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

Figure 3: Inbound and outbound traffic showing inbound, outbound, and excluded connections

Managing automated internet firewall mode

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):

  • Policy – Combines rules and templates with the connectivity type, enforcement mode, logging, and priority. Rules are the building blocks. A traffic inspection rule decides how the firewall handles traffic, and a firewall configuration rule sets options such as the enforcement mode or logging. A template is an ordered, reusable group of rules, such as AWSManagedTemplateIGWFirewallBaseline, that you can share across policies.
  • Scope – Selects your organization, OUs, accounts, or VPCs.
  • Deployment – Binds a policy to a scope. Network Security Manager then creates and manages a firewall in each VPC in scope.
Figure 4: A deployment binds a policy to a scope, and Network Security Manager creates a firewall in each VPC in scope

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.

Figure 5: The Account A policy, priority 100, takes priority in Account A. Other accounts get the organization policy, priority 1000.

Getting started

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.

  1. Start from the AWS Management Console for Network Firewall. On the Firewalls page, open the Internet firewalls tab and choose Create in AWS Network Security Manager. The Quick create and deploy page opens in the Network Security Manager console. Select Network Firewall automated internet firewall as the firewall type.

    Figure 6: Create a new internet firewall

    Figure 6: Create a new internet firewall

  2. Define protections. Choose Manage templates and add 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 7: Define protections and set destinations for logs

  3. Enter a name for the policy and check its Policy priority. Where policies overlap, the lower number takes priority. The new policy gets a priority that evaluates after your existing policies of the same firewall type, and you can change it later in the policy editor.

    Figure 8: Set the policy details

    Figure 8: Set the policy details

  4. Set the scope. For example, you can set the scope for Accounts and OUs to include the entire organization and the scope for VPCs to include all existing and future VPCs. To learn more about scopes, see How AWS Network Security Manager works.

    Figure 9: Set the scope

    Figure 9: Set the scope

  5. Choose the Subnet connectivity type. For example, select Flex (recommended).

    Figure 10: Choose the subnet connectivity type

    Figure 10: Choose the subnet connectivity type

  6. Review your settings and choose Create and deploy. Cross-account visibility lets Network Security Manager see resources in the accounts in the scope.

    Figure 11: Review and deploy

    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.

Migrating existing VPCs to automated internet firewall mode

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):

  • Instance with an Elastic IP address – The firewall inspects its traffic, and the instance keeps its Elastic IP address.
  • Instance behind a NAT gateway – The firewall inspects the traffic after the NAT gateway translates it and doesn’t translate it again. Your rules and logs see the NAT gateway’s private IP address as the source.
  • Instance with no public IP address in a subnet that routes to the internet gateway – The firewall inspects its traffic, and built-in NAT gives it outbound-only access, which it didn’t have before. To keep resources without a public IP address isolated from the internet, set the subnet’s connectivity type to bidirectional instead. Resources with a public IP address then keep bidirectional connectivity, and resources without one can’t reach the internet.
Figure 12: Day-one source addresses in an existing VPC with Flexible subnets

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.

Availability and pricing

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.

Conclusion

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.


Lawton Pittenger

Lawton Pittenger

Lawton is a Worldwide Security Specialist Solutions Architect at AWS, based in New York City. He helps customers design and implement effective network security controls, and works with AWS service teams to improve security services based on customer feedback. Outside of work, he enjoys skateboarding, snowboarding, and spending time in nature.

Akshay Choudhry

Akshay Choudhry

Akshay is a Principal Product Manager in the Networking and Security Services Team at Amazon Web Services. He’s focused on making virtual private clouds more intuitive and secure for the millions of customers running their workloads on AWS. In his free time, he enjoys exploring the outdoors, trying out new restaurants, and spending time with friends and family.

Delegate user access to AI agents with Amazon Cognito token exchange

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

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.

How token exchange works in Amazon Cognito

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:

  • Impersonation – The calling service doesn’t identify itself as the actor. The issued token represents the user. Its 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.
  • Delegation – The calling service identifies itself as the actor by also sending an actor token. Amazon Cognito adds an act claim that names the calling service, so the resource server can see and log who authorized the action and who carried it out.

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: Delegated access across two service hops

Figure 2 shows the flow for delegated access between services:

  1. The user signs in to your app through Amazon Cognito.
  2. Cognito issues the user’s access token to the client application.
  3. The client calls the downstream service, such as an MCP server, with the user’s access token.
  4. The service calls the Cognito /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.
  5. Cognito validates the request and returns an issued token. The issued token still identifies the user in sub. For delegation, it also identifies the service in the act claim.
  6. The service calls the resource server, such as an email API, with the issued token.
  7. The resource server checks that the token’s aud claim names itself, then authorizes the request for the user and returns the user’s data to the service.
  8. The calling service returns the result to the client.

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.

{
  "iss": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_EXAMPLE",
  "sub": "c4b82478-5678-90ab-cdef-EXAMPLE11111",
  "username": "[email protected]",
  "client_id": "invitations-mcp-client-id",
  "version": 2,
  "token_use": "access",
  "scope": "email-api/messages.send",
  "aud": "email-api",
  "act": {
    "sub": "invitations-mcp-client-id",
    "client_id": "invitations-mcp-client-id",
    "iss": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_EXAMPLE",
    "token_type": "urn:ietf:params:oauth:token-type:access_token"
  },
  "exp": 1735689600,
  "iat": 1735686000
}

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.

Security controls during an exchange

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.

Enable token exchange in your Amazon Cognito user pool

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:

  1. Open the AWS Management Console for Amazon Cognito, and choose your Cognito user pool.
  2. In the navigation pane, under Applications section, choose App clients, and then choose your app client.
  3. In App client information, choose Edit.
    Figure 3: Cognito token exchange app client

    Figure 3: Cognito token exchange app client

  4. On the Edit app client information page, under Authentication flows, go to Exchange OAuth 2 token for delegation and impersonation and select the following:
    1. For delegation, select ALLOW_TOKEN_EXCHANGE_DELEGATION.
    2. For impersonation, select ALLOW_TOKEN_EXCHANGE_IMPERSONATION.
    Figure 4: Amazon Cognito token exchange authentication flows

    Figure 4: Amazon Cognito token exchange authentication flows

  5. Choose Save changes.

Example token exchange use cases for agentic workload delegation

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.

Example 1: A shared intermediary as the actor

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

Figure 5: The invitations MCP server sending invites for a signed-in user

  1. The user signs in to the review app through Amazon Cognito.
  2. The review app’s AI agent calls the send_invites tool on the invitations MCP server with the user’s access token.
    {
      "sub": "c4b82478-...",
      "username": "[email protected]",
      "client_id": "<review app client ID>",
      "scope": "openid invitations-mcp/tools email-api/contacts.read email-api/messages.send",
      "token_use": "access",
      "iss": "https://cognito-idp.us-east-1.amazonaws.com/<user-pool-id>"
    }

  3. The MCP server authorizes the inbound request by checking the token’s 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.
  4. The MCP server sends the user’s token as subject token and its actor token to the Cognito /oauth2/token endpoint in a delegation token exchange. It requests only email-api/messages.send, because sending invites doesn’t require reading your contacts.
    curl -X POST "https://<domain>.auth.us-east-1.amazoncognito.com/oauth2/token" \
      -u "$MCP_SERVER_CLIENT_ID:$MCP_SERVER_CLIENT_SECRET" \
      -d grant_type=urn:ietf:params:oauth:grant-type:token-exchange \
      --data-urlencode "subject_token=$YOUR_TOKEN" \
      -d subject_token_type=urn:ietf:params:oauth:token-type:access_token \
      --data-urlencode "actor_token=$ACTOR_TOKEN" \
      -d actor_token_type=urn:ietf:params:oauth:token-type:access_token \
      -d audience=email-api \
      -d scope=email-api/messages.send

  5. Cognito validates both tokens and returns the issued token, while keeping the user in sub claim and adding the MCP server’s app client to act claim.
    {
      "sub": "c4b82478-...",
      "username": "[email protected]",
      "client_id": "<MCP server app client ID>",
      "aud": "email-api",
      "scope": "email-api/messages.send",
      "act": {
        "sub": "<MCP server app client ID>",
        "client_id": "<MCP server app client ID>",
        "iss": "https://cognito-idp.us-east-1.amazonaws.com/<user-pool-id>",
        "token_type": "urn:ietf:params:oauth:token-type:access_token"
      },
      "token_use": "access"
    }

  6. The MCP server calls the email API with the issued token. The email API checks 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:

  1. In Amazon Cognito user pool, register the email API (email-api) and the MCP server (invitations-mcp) as resource servers in your user pool, with the scopes used.
  2. Create an app client with a client secret for the MCP server in your user pool. Select 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.
  3. Have the review app request 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

Figure 6: AgentCore Gateway sending invites through AgentCore Identity

  1. The agent calls the AgentCore Gateway invite tool with user’s access token. The AgentCore Gateway inbound JWT authorizer validates the token against your user pool and accepts only tokens issued to the review app.
  2. AgentCore Gateway passes user’s access token to AgentCore Identity and asks for a token for the email API target.
  3. AgentCore Identity uses the AgentCore Gateway app client in a client credentials grant to get an actor token.
  4. AgentCore Identity sends your token and the actor token in a delegation token exchange, adding the subject_token_type and audience values from the target’s custom parameters.
  5. Amazon Cognito validates the request and returns the issued token, with the user in sub, and the AgentCore Gateway app client in act.
  6. AgentCore Identity passes the issued token to AgentCore Gateway.
  7. AgentCore Gateway calls the email API with the issued token, and the email API applies the same checks as for the preceding MCP server setup.

To set up AgentCore Gateway:

  1. In your Amazon Cognito user pool, create an app client for AgentCore Gateway in the same way as for the MCP server.
  2. In AgentCore Identity, create an AgentCore Identity credential provider for the AgentCore Gateway app client. A credential provider stores what AgentCore Identity needs to request tokens from Amazon Cognito: your user pool’s discovery URL and the app client’s ID and secret. Use the CustomOauth2 provider type, and enable delegation in its customOauth2ProviderConfig settings:
    {
      "oauthDiscovery": { "discoveryUrl": "https://cognito-idp.us-east-1.amazonaws.com/<user-pool-id>/.well-known/openid-configuration" },
      "clientId": "<Gateway app client ID>",
      "clientSecret": "<client secret>",
      "clientAuthenticationMethod": "CLIENT_SECRET_BASIC",
      "onBehalfOfTokenExchangeConfig": {
        "grantType": "TOKEN_EXCHANGE",
        "tokenExchangeGrantTypeConfig": { "actorTokenContent": "M2M" }
      }
    }

  3. In AgentCore Gateway, configure the AgentCore Gateway inbound JWT authorizer with your user pool’s discovery URL, and set allowedClients to the review app’s client ID.
  4. In the AgentCore Gateway target’s outbound authorization, reference the credential provider and add 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.
    {
      "providerArn": "arn:aws:bedrock-agentcore:us-east-1:<account-id>:token-vault/default/oauth2credentialprovider/cognito",
      "scopes": ["email-api/messages.send"],
      "grantType": "TOKEN_EXCHANGE",
      "customParameters": {
        "subject_token_type": "urn:ietf:params:oauth:token-type:access_token",
        "audience": "email-api"
      }
    }

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.

Example 2: The agent as the actor on AgentCore Runtime

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

Figure 7: The AI agent on AgentCore Runtime sending invites through AgentCore Identity

  1. The review app invokes the agent on AgentCore Runtime with the user’s access token.
  2. Runtime validates your token with its inbound JWT authorizer, exchanges it for a workload access token from AgentCore Identity, and passes that token to the agent. A workload access token is an opaque token that proves which agent is calling. It carries the user’s access token, which AgentCore Identity uses as the subject token in step 4.
  3. The agent asks AgentCore Identity for a token for the email API by calling GetResourceOauth2Token with the workload access token.
  4. AgentCore Identity gets an actor token with the agent’s app client, then sends user’s token and the actor token to Cognito in a delegation token exchange.
  5. Amazon Cognito returns the issued token, with user in sub and the agent’s app client in act, and AgentCore Identity passes it to the agent.
  6. The agent calls the email API with the issued token. The email API applies the same checks as in Example 1, and confirms that 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:

  1. In your Amazon Cognito user pool, create an app client for the agent in your user pool and select ALLOW_TOKEN_EXCHANGE_DELEGATION for it. To tell agents apart in act claim, give each agent its own app client and credential provider.
  2. In AgentCore Identity, create a credential provider for the agent’s app client in the same way as for AgentCore Gateway.
  3. In AgentCore Runtime, configure the inbound JWT authorizer on AgentCore Runtime to accept your user pool’s tokens, with allowedClients set to the review app’s client ID.
  4. In the agent’s code, request the issued token with the AgentCore SDK:
    from bedrock_agentcore.identity.auth import requires_access_token
    
    @requires_access_token(
        provider_name="<Agent name>",
        scopes=["email-api/messages.send"],
        audiences=["email-api"],
        auth_flow="ON_BEHALF_OF_TOKEN_EXCHANGE",
        custom_parameters={
            "subject_token_type": "urn:ietf:params:oauth:token-type:access_token"
        },
    )
    async def send_invites(friends: list[str], *, access_token: str):
        # Call the email API with access_token
        ...

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.

Conclusion

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.


Edward Sun

Edward Sun

Edward is a Senior Security Specialist Solutions Architect focused on identity and access management. He loves helping customers throughout their cloud transformation journey with architecture design, security best practices, migration, and cost optimizations. Outside of work, Edward enjoys hiking, golfing, and cheering for his alma mater, the Georgia Bulldogs.

Owen Hawkins

Owen is a Principal Solutions Architect at Amazon Web Services, working with independent software vendors in the UK. Building on more than 20 years in information security and digital banking, he now spends his time on agent identity and on helping engineering organizations improve their software development lifecycle with AI-driven approaches.

Varun Sharma

Varun is a Senior AWS Cloud Security Engineer who wears his security cape proudly. With a knack for unravelling the mysteries of Amazon Cognito and IAM, Varun is a go-to subject matter expert for these services. When he’s not busy securing the cloud, you’ll find him in the world of security penetration testing. And when the pixels are at rest, Varun switches gears to capture the beauty of nature through the lens of his camera.

AWS completed its second ISO/IEC 42001:2023 surveillance audit

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.


Basit Janjua

Basit Janjua

Basit is a Senior Security Industry Specialist at AWS. He leads the AWS assurance delivery strategy for security assurance audits and engagements across the globe. Basit has nearly 20 years of experience in information security engineering and assurance. He holds a Bachelor’s degree in Computer Science and a Master’s degree in Telecommunications, along with professional certifications including CISSP and CCSP.

Shalini Mishra

Shalini Mishra

Shalini is a Compliance Program Manager at AWS. She has over 5 years of experience leading end-to-end compliance programs across ISO, SOC, and cloud security frameworks, with deep expertise in third-party risk management and enterprise governance, driving measurable improvements in security posture and audit readiness. Shalini holds a Master of Science degree in Information Systems, CRISC and ISO 27001 lead auditor certification.

AWS achieves Spain’s national Limited Distribution (Difusión Limitada) and NATO Restricted accreditation in the AWS Europe (Spain) Region

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/

Spanish version »

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.

What this covers

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.

What is Spain’s classified information framework?

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.

What is NATO Restricted?

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.

Why this matters to customers

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.

How to get started

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

AWS obtiene la acreditación Difusión Limitada y NATO Restricted en la Región AWS Europa (España)

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.

Qué abarca

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.

¿Cuál es el marco español de información clasificada?

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).

¿Qué es NATO Restricted?

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.

Por qué es importante para los clientes

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.

Cómo empezar

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.


Borja Larrumbide

Borja Larrumbide

Borja is a Security Assurance Manager for AWS in Iberia. He has a bachelor’s degree in computer science from Boston University (USA) and has worked in companies such as Microsoft and BBVA in different roles and sectors. Borja is a seasoned security assurance practitioner with many years of experience engaging key stakeholders at national and international levels. His areas of interest include security, privacy, risk management, and compliance.

ASUS Turbo Radeon AI PRO R9700 Review

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.

How to compare MDR providers when every proposal looks promising

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.

Start with one investigation

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.

Compare the service you would actually receive

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.

Look for improvement you can trace

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.

Turn the answers into a decision

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.

The collective thoughts of the interwebz