Automatically generated based on tag:
| Title | Type | Summary | Location |
|---|---|---|---|
| Microsoft Exchange | Page | Microsoft Exchange is a complex mail server ecosystem, running exclusively on the Windows operating system. Microsoft Exchange logs telemetry and events in various text-based log files (100+) and EVTX event logs (40+). The following sources of logs can be of forensic interest to investigate the compromise of a Microsoft Exchange server or account: - Exchange IIS logs, which contain information on the HTTP requests made to the various Exchange HTTP web services. - EVTX event logs, of Exchange ETW channels (such as the "MSExchange Management" channel), and of other providers, depending on the Exchange server's Windows logging configuration. - 20+ text-based log files, each associated with a given Exchange service. |
Exchange IIS logs: %SystemDrive%\inetpub\logs\LogFiles\W3SVC1 and W3SVC2 folders. ETW channels: MSExchange Management, for usage of cmdlets from the ExchangePowerShell module (which interact with the Exchange Web Services API). Microsoft-Windows-Windows Defender/Operational, events 1006 / 1116 and 1007 / 1117, for detections of suspicious behavior related to Exchange. Security event 4688, if "Audit Process Creation" is enabled, to identify suspicious processes spawned by the Exchange IIS process. Exchange components (EWS, ECP, OWA, ExchangePowerShell, ActiveSync, MAPI, etc.) text-based logs: %SystemDrive%\Program Files\Microsoft\Exchange Server\V15\Logging and TransportRoles folders. |
| SMTP email headers | Page | An email object contains an envelope and content. The envelope is the information that the email client and server use to send the email to the correct recipient(s). The email content is composed of the header section and the email body. A number of email headers are common/mandatory for the email lifecycle, and some headers can be of great forensic value. Additionally, some headers are linked to optional security mechanisms (SPF, DKIM, and DMARC) that can help detect illegitimate/spoofed emails. |
Email sender: Return-Path, From, and Reply-To headers. The Return-Path header can be protected against spoofing with SPF. The From header can be protected using DMARC (with SPF and/or DKIM). Originating server and MTA: Received header(s), with only the Received headers added by trusted MTAs being reliable. Email legitimacy and anti-spoofing mechanisms, with associated headers (Authentication-Results, Received-SPF, and DKIM-Signature headers): SPF: validates that the originating server is authorized to send emails for the sender domain. DKIM: digitally signs (part of) the email using a private key of the signing domain, with the associated public key published in the DNS records of the signing domain for verification. DMARC: extends SPF and DKIM by checking that the domain of the "From" header is aligned with the domain validated by SPF (domain of the SMTP "MAIL FROM" command) and/or DKIM (signing domain). Additionally, DMARC indicates to the receiver the policy to follow (none, quarantine, or reject) for emails failing the DMARC validation and the addresses to which reports should be sent. |
View on GitHub