[New Rule] AWS GetFederationToken Followed by Console Login via Federation Exchange - #6660
Open
bryans3c wants to merge 5 commits into
Open
[New Rule] AWS GetFederationToken Followed by Console Login via Federation Exchange#6660bryans3c wants to merge 5 commits into
bryans3c wants to merge 5 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new AWS CloudTrail EQL sequence detection rule to identify an aws_consoler-like federation exchange flow (GetFederationToken → GetSigninToken → ConsoleLogin) correlated by source.ip within a 2-minute window.
Changes:
- Introduces a new production AWS EQL sequence rule for federation-token-to-console-login chaining.
- Adds investigation guidance, references, and ATT&CK mapping for analyst triage.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
Rule: New - GuidelinesThese guidelines serve as a reminder set of considerations when proposing a new rule. Documentation and Context
Rule Metadata Checks
New BBR Rules
Testing and Validation
|
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…in_via_federation_exchange.toml
imays11
approved these changes
Aug 24, 2026
terrancedejesus
approved these changes
Aug 25, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Isai <59296946+imays11@users.noreply.github.com> Co-authored-by: Terrance DeJesus <99630311+terrancedejesus@users.noreply.github.com>
…in_via_federation_exchange.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Issue link(s):
Summary - What I changed
Added an
eqlsequence rule that detects the three-event chain produced by tools likeaws_consoler:GetFederationToken→GetSigninToken→ConsoleLogin, all from the same source IP within two minutes.Why it matters
Adversaries who exfiltrate long-term IAM access keys (AKIA* prefix) can use tools like
aws_consolerto convert those keys into browser-accessible AWS console sessions without triggering additional authentication challenges. The tool callsGetFederationTokento obtain temporary credentials, exchanges them at the AWS federation endpoint for a signed console URL viaGetSigninToken, and opens that URL triggeringConsoleLogin. The source IP correlation across all three events makes this sequence highly specific to automated tooling, distinguishing it from coincidental federation activity.How To Test
Query to verify in our TRaDE stack:
Checklist
Rule: NewContributor checklist