Module
OpenAEV
Concept

How expectations score an inject

What each expectation type measures, who answers it, how OpenAEV combines the answers of agents, assets, persons and groups into a score, and when an unanswered expectation expires.

OpenAEVFor security validation engineers, crisis exercise planners and SOC analysts

An expectation says what must happen for an inject to count as a success: that Meridian EDR prevents the command, that the SOC detects it, that the night auditor reports the phishing email. OpenAEV creates one per target when the inject runs, collects the answers of your security tools and of your people, and turns them into the scores on the result of the inject. This page explains the types, who answers each one, how the answers add up, and when an expectation expires. To add expectations to an inject, see Set the expectations of an inject; to answer them yourself, Add expectation results by hand.

The types and who answers them

TypeWhat it measuresWho answers
PreventionA security control blocked the actionCollectors of your security platforms, such as an EDR or an email security platform
DetectionA security tool raised an alert or an incidentCollectors of your security platforms, such as an EDR or a SIEM
VulnerabilityThe target carries a vulnerabilityThe action itself, such as a vulnerability scanner, through its output
ManualA person did what the exercise expects: decided, escalated, reportedAn organizer of the exercise
ArticleThe targeted persons read the media pressure articlesThe platform, when a person reads the article
ChallengeThe targeted persons solved the challengesThe platform, when a person submits a right answer

Prevention, detection and vulnerability are technical: they apply to assets and their agents. Manual, article and challenge measure a human response: they apply to persons and their teams. The actions of the Threat Arsenal say which types an inject can carry, and which it gets by default.

Each expectation can name the Expected security platforms that must answer it: EDR, XDR, SIEM, SOAR, NDR, EMAIL SECURITY and others. With none, any connected security platform may answer.

The results you read

TypeSuccessFailureIn betweenNot answered yet
PreventionPreventedNot PreventedPartially PreventedPending
DetectionDetectedNot DetectedPartially DetectedPending
VulnerabilityNot vulnerableVulnerablePartially VulnerablePending
Manual, article, challengeSuccessFailedPartialPending

A result is a score from 0 to 100. Each expectation has a success score: a result at or above it is a success, below it a failure. The success score is 100 by default, and 50 for a manual expectation (openaev.expectation.manual.default-score-value).

How the answers add up

SOURCESLEAVESGROUPSINJECTCollectorsEDR, SIEM, email securityPeopleRead, answer, are validatedExpirationScores what never cameAgent or personScored from its sourcesAssetFrom its agentsAsset group or teamAll must validate, or oneScore per typePrevented, Detected, Successful
  1. Collectors → Agent or person: results
  2. People → Agent or person: results
  3. Expiration → Agent or person: fails the rest
  4. Agent or person → Asset: rolls up
  5. Asset → Asset group or team: validation mode
  6. Asset group or team → Score per type: sums up
Sources score each agent or person, and the validation mode decides how those scores add up for an asset group or a team

On one agent or one person

An agent, or an asset without an agent, can receive several answers: one per security platform, plus the ones you add by hand.

  • Prevention and detection: the expectation is settled as soon as one platform reaches the success score, without waiting for the others. A later answer is recorded but cannot lower it: a negative result never overrides a positive one. Without a success, OpenAEV waits for every expected platform, then keeps the highest score.
  • Vulnerability: OpenAEV waits for every source. A Vulnerable answer wins over the others, even when the other sources found nothing.
  • Manual, article and challenge: a new answer replaces the previous one.

On an asset, a group or a team

The scores then go up: from the agents to their asset, from the assets to their asset group, from the persons to their team. At each level, the Validation mode of the expectation decides:

Validation modeSuccessFailureOtherwise
All assets (per group) must validate the expectation, or All persons (per team)Every member succeededOne member failedPending
At least one asset (per group) must validate the expectation, or At least one person (per team)One member succeededEvery member failedPending

A success gives the level the success score, a failure gives it 0. An asset targeted on its own, or a person, counts as a group of one. "All" suits a baseline that every workstation must meet; "at least one" suits a detection that one alert of the SOC is enough to prove.

In a simulation, only the enabled persons of a team get an expectation, and a team without any gets none.

When no security platform can answer

Only collectors of security platforms answer prevention and detection. When the inject runs, OpenAEV looks for a collector of one of the expected platform types, or of any type when none is set. If there is none, it fails the expectation at once, with a score of 0, instead of letting it wait. Its card reads No automated security platform detected. The check happens once, when the inject runs; vulnerability expectations are not concerned.

When an expectation expires

An expectation waits for its answers for a set time, counted from the run of the inject. When the time is up, every target still without an answer gets one from the expiration manager:

  • prevention and detection fail: Not Prevented, Not Detected;
  • manual, article and challenge fail: Failed;
  • vulnerability succeeds: Not vulnerable. No scanner reported anything, so nothing was found.
ExpectationDefaultConfiguration key, in seconds
Prevention, detection, vulnerability6 hoursopenaev.expectation.technical.expiration-time (21600), then openaev.expectation.prevention.expiration-time, openaev.expectation.detection.expiration-time, openaev.expectation.vulnerability.expiration-time for one type
Manual, article, challenge24 hoursopenaev.expectation.human.expiration-time (86400), then openaev.expectation.manual.expiration-time, openaev.expectation.article.expiration-time, openaev.expectation.challenge.expiration-time for one type

A key for one type wins over the key of its family. Each expectation can also set its own Expiration time in the inject. OpenAEV never lets a prevention or a detection expire before its collectors have polled twice: it extends the time to twice the longest polling period of the expected collectors. The keys are in the configuration reference.

A simulation finishes once every enabled inject has run and every expectation of the injects that did not fail is answered or expired.

ExampleScore the PowerShell loader on the front-desk group

The PowerShell loader inject of Grand Meridian Hotels runs on the asset group Front desk workstations, five endpoints with one agent each. It expects a Prevention with At least one asset (per group) must validate the expectation, and a Detection with All assets (per group) must validate the expectation, both from an EDR, success score 100.

The Nice workstation is off that night: its agent is inactive, so it gets no expectation. Meridian EDR's collector reports a block on fd-madrid-02 and alerts on Madrid and Paris; Barcelona sends nothing. The group's prevention is Prevented at once: one asset is enough. Its detection stays Pending until the 6 hours run out, then Barcelona expires as Not Detected, and the group reads Not Detected. The SOC manager learns that one front desk raised no alert at all.

What's next

NextAdd expectation results by hand
OpenAEV
Adversarial exposure validation: scenarios, simulations, atomic tests.

Published

Overview
Use
Build dashboards of your validation results
OverviewCreate the widgets of a dashboard
Check one attack technique with an atomic testConnect OpenAEV to OpenCTI to test security coveragesHow collectors measure what your security tools saw
How injectors deliver your injects
OverviewBuilt-in injectors and their injects
Install the OpenAEV agent on your endpointsReview what your injects discovered
Run a simulation and read its results
OverviewShare simulation results in a report
Set up your profile