Agent Foskett Hub
Agent Foskett Hub is GEMXIT’s Microsoft Security Investigation Hub — built to help organisations understand real Microsoft security signals, KQL threat hunting patterns and practical defensive lessons. The hub focuses on Microsoft Defender XDR, Sentinel, Entra ID, EmailEvents, AuthenticationDetails, phishing investigations, cloud misconfigurations, session security and emerging AI governance risks. Each investigation highlights what happened, what was missed, and what organisations can do before small signals become serious incidents.
About the briefings
Agent Foskett briefings translate real technical observations into clear, practical lessons for organisations operating modern Microsoft environments. They focus on the kinds of issues that often go unnoticed until they become operational, security or governance risks.
New to Agent Foskett?
Start with the cornerstone investigations that explain how the hub works: follow the signal, question the dashboard, and use KQL to understand what really happened.
Investigation categories
The Agent Foskett Hub is organised around the Microsoft security signals that matter most during real investigations.
Why organisations use the Agent Foskett Hub
Microsoft Security Investigation Library
This Agent Foskett briefing introduces practical KQL threat hunting across Microsoft Defender, Sentinel and Entra ID, showing how simple queries can uncover suspicious sign-ins, email activity, endpoint behaviour and patterns that dashboards may not explain.
This Agent Foskett investigation uses KQL, EmailEvents and AuthenticationDetails to detect spoofed sender domains, DMARC failures, sender mismatch and suspicious delivery outcomes inside Microsoft Defender.
This Agent Foskett lesson explains how startswith and endswith help narrow evidence during Microsoft Defender XDR and Sentinel investigations.
Everything looked legitimate.
But the user approved a malicious OAuth application and granted access to the mailbox through Microsoft 365 permissions. This Agent Foskett investigation explores OAuth consent phishing, malicious app permissions, offline access, mailbox visibility and why successful MFA does not always mean the session is safe.
Then the user clicked Accept.
That single approval granted an application permission inside Microsoft 365. No malware was required. No password was needed.
This Agent Foskett investigation explores OAuth consent abuse, application permissions, service principals, Microsoft Entra ID and how attackers can gain access through trusted application workflows.
Then the permissions were reviewed.
A service principal had Global Administrator-level access.
This Agent Foskett investigation explores Microsoft Entra ID, service principals, enterprise applications, privileged permissions and how application identities can quietly become one of the most powerful attack paths inside a Microsoft 365 tenant.
Then the authentication methods were reviewed.
A new MFA method had been added at 3:14AM. The user was asleep.
This Agent Foskett investigation explores suspicious MFA registration, Microsoft Entra ID AuditLogs, authentication method changes, account takeover persistence and why password resets alone do not always remove attacker access.
Everything looked normal.
Then Entra ID flagged the sign-in as High Risk.
The login was successful. The investigation was only beginning.
This Agent Foskett investigation explores Microsoft Entra ID Identity Protection, risky sign-ins, SigninLogs, impossible travel indicators, unfamiliar locations, Conditional Access decisions and why successful authentication does not automatically mean a session is trustworthy.
A user appeared to sign in from Melbourne and then Singapore only minutes later. No commercial flight could explain the journey.
The risk score increased. The investigation suggested account compromise.
Then the device details, IP addresses and session timeline told a different story.
This Agent Foskett investigation explores Microsoft Entra ID Impossible Travel alerts, VPN exit nodes, risky sign-ins, device continuity, identity telemetry and why unusual location data does not always mean the user account was compromised.
This Agent Foskett investigation explores impossible travel sign-ins, suspicious location changes, risky authentication events and why identity telemetry must be reviewed before assuming the account is safe or compromised.
No malware alert fired. No suspicious attachment was opened. No impossible travel alert immediately explained what happened.
But the phone kept buzzing. Again and again.
Eventually, the user pressed Approve. This Agent Foskett investigation explores MFA fatigue attacks, push bombing, repeated authentication prompts, suspicious sign-in behaviour and why a normal-looking MFA prompt can still be part of an active compromise.
The user simply scanned a QR code. The Microsoft 365 login page looked familiar. The authentication flow looked legitimate.
But the QR code redirected the user into a credential harvesting and session theft workflow designed to move the attack away from the protected corporate device and onto a trusted mobile phone.
This Agent Foskett investigation explores QR phishing attacks, mobile authentication abuse, suspicious sign-ins, token theft, Microsoft Entra ID investigations and how attackers increasingly abuse trusted mobile workflows inside Microsoft 365 environments.
No impossible travel alert. No failed login attempts. Nothing appeared obviously malicious.
But the attacker never needed to bypass MFA. They inherited the authenticated session instead. This Agent Foskett investigation explores session hijacking, token theft, browser cookie abuse and how attackers operate inside trusted Microsoft 365 sessions after authentication has already succeeded.
But the attacker was already inside the trusted device. This Agent Foskett investigation explores how modern attackers abuse legitimate corporate endpoints, session tokens, browser cookies and inherited trust inside Microsoft environments.
But after a suspicious sign-in, a new inbox rule appeared. Messages were quietly moved out of sight before anyone knew to investigate.
This Agent Foskett investigation explores hidden mailbox rules, CloudAppEvents, EmailEvents, UrlClickEvents and KQL to uncover post-compromise activity designed to conceal suspicious email from users and defenders.
But at 2:13AM, a new inbox rule quietly appeared inside the mailbox. The rule forwarded messages externally, moved replies into hidden folders and reduced the chance the user would notice suspicious activity.
This Agent Foskett investigation explores hidden mailbox persistence, suspicious forwarding behaviour and post-authentication compromise activity across Microsoft 365 environments.
But hidden inside Microsoft Defender XDR telemetry were subtle behavioural signals: unusual sign-ins, suspicious SharePoint activity, persistent sessions and authentication patterns that did not match normal business behaviour.
This Agent Foskett investigation explores why modern security teams must move beyond dashboards and learn how to ask the data better questions.
“Did antivirus detect anything?”
But modern attacks rarely look like traditional malware anymore. The dashboard may stay green while attackers operate quietly through trusted sessions, successful MFA prompts, OAuth abuse, browser token theft and suspicious cloud activity.
This Agent Foskett investigation explores why Microsoft Defender XDR, Sentinel, Entra ID telemetry and KQL threat hunting have become critical for investigating the hidden signals modern antivirus often misses.
Then the permissions were checked.
The file was accessible to everyone. This Agent Foskett investigation explores SharePoint sharing links, OneDrive permissions, anonymous access, external collaboration and how sensitive information can become exposed without a single attacker.
But the investigation showed something uncomfortable: active sessions were still alive, authentication tokens still existed, and access continued quietly in the background.
This Agent Foskett investigation explores incomplete offboarding, persistent Microsoft 365 sessions, refresh token survival, remembered devices and why disabling an account does not always terminate access immediately.
No impossible travel alert. No malware detection. No obvious compromise warning.
But at 3:12AM, the user was quietly added to a privileged Microsoft Entra ID role. Global Administrator.
This Agent Foskett investigation explores privilege escalation, suspicious role assignments, PIM abuse, overnight administrative access and how attackers quietly move from user access to tenant control inside Microsoft 365.
Everything looked like it was protected.
But the policy was still in Report-Only mode. It evaluated the sign-in, recorded the result, and showed what would have happened.
It did not block anything.
This Agent Foskett investigation explores Conditional Access policies, report-only evaluation, MFA enforcement gaps, sign-in logs and the dangerous difference between a control that exists and a control that is actually enforced.
Yet during investigation, operational exposure still existed beneath apparently compliant Microsoft environments.
This Agent Foskett briefing explores how exclusions, configuration drift, incomplete telemetry and overlooked assumptions quietly survive inside environments that technically appear secure.
Nothing appeared broken… but nothing made sense either.
This Agent Foskett briefing explains the new unified Microsoft Defender and Sentinel experience, why the portal looks different, what UEBA actually means, why dashboards appear empty at first, and the first things organisations should configure after onboarding.
But one process launched another. Then another. Then PowerShell spawned silently in the background.
This Agent Foskett investigation follows parent and child process relationships inside Microsoft Defender XDR, using DeviceProcessEvents and KQL to uncover suspicious execution chains that dashboards may never explain.
A user opened a Word document. Nobody worries when WINWORD.EXE starts.
Then Word launched PowerShell.
The parent process made sense. The child process did not.
This Agent Foskett investigation follows parent-child process relationships inside Microsoft Defender XDR using DeviceProcessEvents, ProcessCommandLine analysis and KQL to uncover suspicious execution chains hidden behind trusted applications.
The data access looked normal.
The lateral movement looked normal.
The timeline changed everything.
This Agent Foskett investigation explores how Microsoft Defender XDR, IdentityLogonEvents, DeviceEvents, CloudAppEvents and KQL can reconstruct attacks by connecting events that appear unrelated in isolation.
But one device kept reaching out to an IP address nobody recognised. Every hour. Every day.
This Agent Foskett investigation explores how Microsoft Defender XDR, DeviceNetworkEvents, DeviceProcessEvents, remote IP analysis and KQL can reveal suspicious outbound communications hidden inside normal device activity.
Yet at exactly 1:22AM, a workstation connected to an IP address nobody recognised.
No alert fired. No ticket was created.
This Agent Foskett investigation explores how Microsoft Defender XDR, DeviceNetworkEvents, DeviceProcessEvents and KQL can uncover suspicious after-hours activity hidden inside normal endpoint telemetry.
Just a quiet PowerShell process using encoded commands, hidden execution and suspicious outbound behaviour that blended into normal activity.
This Agent Foskett briefing explores how Microsoft Defender telemetry can reveal suspicious execution chains even when no incident is generated.
Just a PowerShell command and a long string of characters that looked meaningless.
But the command wasn't meaningless. It was encoded.
This Agent Foskett investigation explores Base64 encoded PowerShell commands, DeviceProcessEvents, ProcessCommandLine analysis, suspicious parent processes and how Microsoft Defender XDR can reveal activity hidden inside encoded execution chains.
Just thousands of normal process events. Software updates. Management agents. Defender activity. Scheduled tasks.
Buried inside that operational noise was a single PowerShell EncodedCommand.
This Agent Foskett investigation explores PowerShell EncodedCommand activity, DeviceProcessEvents, ProcessCommandLine analysis, parent-child process relationships and how Microsoft Defender XDR can reveal suspicious execution hidden inside normal endpoint telemetry.
But the process chain was not.
Microsoft Defender XDR showed a browser process launching PowerShell, creating an execution path that deserved investigation.
This Agent Foskett investigation explores browser-spawned PowerShell, DeviceProcessEvents, parent-child process relationships, suspicious command lines, fake verification prompts and how endpoint telemetry can reveal activity hidden behind trusted applications.
Everything looked legitimate — until Microsoft Defender XDR telemetry showed unusual command-line arguments, suspicious DLL execution paths, strange parent process activity and unexpected outbound connections.
This Agent Foskett investigation explores how attackers abuse trusted Windows binaries like rundll32.exe, and how DeviceProcessEvents and DeviceNetworkEvents can reveal behaviour that the filename alone does not explain.
Everything appeared legitimate — until Microsoft Defender XDR telemetry revealed suspicious command lines, unusual parent process activity, LOLBin behaviour and outbound network connections that did not fit normal activity.
This Agent Foskett investigation explores how attackers abuse trusted Microsoft-signed binaries and why defenders must investigate behaviour, not just signatures.
Then CertUtil.exe downloaded a file from the internet.
The binary was trusted. The behaviour was not.
This Agent Foskett investigation explores CertUtil abuse, Living-Off-The-Land Binaries (LOLBins), DeviceProcessEvents, ProcessCommandLine analysis and how Microsoft Defender XDR can uncover suspicious downloads hidden behind legitimate Windows utilities.
But later, Microsoft Defender XDR showed suspicious file activity, PowerShell execution, outbound connections and endpoint behaviour that pointed toward something far more serious.
This Agent Foskett investigation follows attachment telemetry, SHA256 pivots, DeviceFileEvents and post-delivery activity across Microsoft Defender XDR.
Then on Wednesday afternoon, the attachment was opened.
This Agent Foskett investigation explores how Microsoft Defender XDR, EmailEvents, EmailAttachmentInfo, NetworkMessageId, timestamps and KQL can reveal when a suspicious attachment becomes dangerous long after the email was delivered.
This Agent Foskett briefing explains how UrlClickEvents can help defenders investigate clicked links, allowed clicks, blocked clicks, delayed user activity and post-delivery behaviour inside Microsoft Defender XDR.
All the recipient had to do was reply and begin the ownership confirmation process.
But the sender was using Gmail. The contact method was Telegram. And hidden inside the message was a tracking link.
This Agent Foskett investigation explores advance-fee social engineering, suspicious contact channels, fake unsubscribe prompts, Google Script tracking links, recipient identifiers and why engagement can be the real prize.
The email included a reference number, a compliance contact and a link to open the document.
But it wasn't coming from GEMXIT.
It was coming from halloweenville.uk.
This Agent Foskett investigation explores domain impersonation, redirect links, suspicious sender infrastructure and why routine business emails can be some of the most effective social engineering attacks.
But the sender was not Disney. The email came from an unrelated domain, used tracking infrastructure, and pushed the recipient toward suspicious external links.
This Agent Foskett investigation explores brand impersonation, sender mismatch, redirect chains and phishing analysis using Microsoft Defender XDR, EmailEvents and UrlClickEvents.
But the sender was not Microsoft. The sender was not GEMXIT.
This Agent Foskett investigation explores Microsoft brand impersonation, display name spoofing, secure document phishing lures, copied email threads and how sender evidence can expose the story the email body tried to hide.
But the scam wasn't hiding in an email attachment. It wasn't a fake login page.
It arrived as a calendar invitation.
This Agent Foskett investigation explores fake subscription renewals, calendar invitation abuse, social engineering, phone-based scams and how attackers increasingly use trusted platforms like Outlook and Google Calendar to bypass traditional email suspicion.
This is the full detection guide using real Microsoft Defender data — EmailEvents, AuthenticationDetails, DMARC failures, spoofed domains and user click activity.
👉 Built from real-world investigations where everything looked “normal”… until it wasn’t.
But the telemetry told a different story.
This Agent Foskett investigation explores SpoofedDomain, AuthenticationDetails, DMARC failures, sender alignment and Microsoft Defender XDR EmailEvents telemetry to help defenders investigate suspicious email behaviour using KQL.
But hidden inside Microsoft Defender XDR telemetry, EmailAuthenticationResults and AuthenticationDetails revealed a very different story.
This Agent Foskett investigation explores SPF, DKIM, DMARC, sender alignment, SpoofedDomain analysis and suspicious email authentication behaviour using KQL inside Microsoft Defender.
But the data told a different story — SpoofedDomain signals, EmailEvents, AuthenticationDetails, DMARC failures and suspicious sender alignment all pointed to something that did not add up.
👉 Built for the exact Microsoft Defender hunting questions security teams ask when spoofed email looks trusted.
This Agent Foskett briefing shows how modern scams use wallet connections, approval prompts and external channels to bypass traditional security controls.
But the authentication didn’t align — DMARC failed, signals conflicted, and the evidence told a different story.
This investigation shows how to read SPF, DKIM, DMARC and CompAuth in Microsoft Defender using KQL.
But behind the scenes, the domains didn’t align — what was shown and what was processed were not the same.
This investigation explains how to detect sender mismatch using EmailEvents and why it matters for spoofing detection.
But Microsoft Defender XDR showed something different.
SenderFromAddress, SenderMailFromAddress, ReturnPath, SpoofedDomain and AuthenticationDetails did not tell the same story.
This Agent Foskett investigation explores sender identity, envelope sender mismatch, spoofed email signals and why the visible From address is only one part of the email investigation.
But hidden inside AuthenticationDetails was a clue most teams never investigate.
dmarc=fail
This Agent Foskett investigation explores how Microsoft Defender XDR, EmailEvents and KQL can uncover DMARC failures, suspicious sender authentication and messages that deserve deeper investigation.
AuthenticationDetails showed a DMARC failure. Nobody investigated it.
Then somebody clicked the link.
This Agent Foskett investigation explores Microsoft Defender XDR, EmailEvents, NetworkMessageId, UrlClickEvents and KQL to determine what happened after the message reached the inbox.
It sat quietly in the inbox for three days.
Then somebody clicked the link.
This Agent Foskett investigation explores how Microsoft Defender XDR, EmailEvents, UrlClickEvents, NetworkMessageId and KQL can reveal when a delayed click turns an old email into an active security incident.
But behind the scenes, DMARC had failed — and the message was still delivered.
No block. No warning. Just a trusted email that shouldn’t have been trusted.
The email looked legitimate. Microsoft 365 delivered it successfully. No major alert triggered.
But deeper investigation exposed suspicious reply-chain behaviour, unusual URL activity, compromised sender indicators and authentication signals that did not align with normal business behaviour.
This Agent Foskett investigation explores how malicious emails can still appear trusted inside Microsoft Defender XDR even when authentication checks technically succeed.
But late at night, files started moving — dozens of downloads from SharePoint that didn’t match the user, the role, or the time.
No alert triggered. Because technically… everything was allowed.
GEMXIT PTY LTD GEMXIT UK LTD © GEMXIT 2026