Ghost-Sender - Universal Email Spoofing against Exchange Onl...#304
Open
carlospolop wants to merge 1 commit into
Open
Ghost-Sender - Universal Email Spoofing against Exchange Onl...#304carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://labs.infoguard.ch/posts/ghost-sender Content Categories: Based on the analysis, this content was categorized under "Azure Pentesting / Microsoft 365 or Exchange Online Security / Initial Access & Phishing - Direct-to-tenant EOP SMTP spoofing". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
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.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Ghost-Sender - Universal Email Spoofing against Exchange Online
Ghost-Sender is a widespread Exchange Online / Exchange hybrid mail-flow weakness affecting organizations that use Exchange Online Protection (EOP) behind an external MX record, such as a third-party mail gateway, spam filter, or on-premises filtering solution. In vulnerable configurations, Exchange Online still accepts SMTP mail sent directly to the tenant endpoint
*.mail.protection.outlook.com...🔧 Technical DetailsDirect-to-tenant Exchange Online spoofing: When a Microsoft 365 tenant uses an external MX record but Exchange Online still accepts direct SMTP at
*.mail.protection.outlook.com, an attacker can bypass the external mail gateway by sending mail directly to the tenant's EOP hostname. The attacker chooses an arbitraryFrom:address and sends to a real recipient through the tenant endpoint. In vulnerable configurations, Exchange Online records SPF/DKIM/DMARC failures but still delivers the message. Example PoC:Send-MailMessage -SmtpServer redacted-com.mail.protection.outlook.com -To admin@redacted.com -From noreply@example.com -Subject "Spoofed Ghost-Sender Email" -Body "This email was sent using the Ghost-Sender vulnerability. https://labs.infoguard.ch/posts/ghost-sender/" -BodyAsHTML.Bypassing third-party email security by ignoring the MX path: If a domain's public MX points to a third-party gateway, for example
mxb.eu....🤖 Agent ActionsDone.
Updated:
src/pentesting-cloud/azure-security/az-unauthenticated-enum-and-initial-entry/README.mdAdded:
Validation:
git diff --checkpassedmdbook buildcould not be run becausemdbookis not installed in this environmentThis PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.