Chapter purpose
Build enough retained evidence to answer who connected, what message moved, what permission changed and when.
Learning objectives
- Separate SMTP protocol logs, message tracking and mailbox/admin audit evidence.
- Use UTC/timestamps consistently.
- Retain logs off the affected system where appropriate.
- Build a cross-system incident timeline.
Why this matters in a real company
Without logs, a security incident becomes guesswork. Evidence is what separates 'maybe' from an actionable finding.
7.1 Different logs answer different questions
| Evidence | Question |
|---|---|
| SMTP protocol log | What did this remote SMTP peer say/do? |
| Message tracking | Where did this message travel inside Exchange? |
| Web/proxy log | Which client/IP requested this endpoint? |
| Mailbox/admin audit | Who changed or accessed what, where supported? |
| Windows event log | What happened to the OS/service/authentication layer? |
7.2 Time alignment is non-negotiable
Central investigation requires timestamps that can be compared across Exchange, Active Directory, firewalls and identity providers. Know whether each log is UTC or local time.
Record the user's reported local time and convert carefully.
7.3 Preserve before remediation
Disabling an account may be urgent, but wiping logs, rebooting unnecessarily or deleting suspicious messages can destroy evidence. Take snapshots/exports appropriate to the incident before cleanup where practical.
Follow organizational privacy and legal requirements.
7.4 Build a minimal incident timeline
- Reported event/time.
- Sign-in/access evidence.
- Message tracking.
- SMTP/web protocol evidence.
- Permission/config changes.
- Containment action.
- Recovery/verification.
7.5 Retention should match investigation needs
Short retention may save disk but make recurring incidents impossible to reconstruct. Measure log volume and retain enough history for the business/security requirement.
Threatening message sent from a real employee mailbox
The employee denies sending it. The message is genuine and internal.
Decision: Investigate mailbox access, sign-ins, delegates, Send As permissions and message trace rather than assuming spoofing.
What to prove: Construct a timeline tying the send event to account/delegate/session evidence or showing the gap that remains.
Hands-on lab
Take fictional timestamps from firewall, SMTP, message tracking and sign-in logs. Normalize them into one UTC incident timeline.
Troubleshooting exercise
- Message tracking exists but no web log. The send may have come from another client/protocol.
- Web login appears legitimate but Send As delegate exists. Review mailbox permissions.
- Logs rolled over. Treat retention as a control failure and fix it.
Field checklist
- Log sources inventoried.
- Time format known.
- Retention adequate.
- Central collection used where appropriate.
- Admin/delegation changes auditable.
- Incident export process documented.
Chapter summary
Forensics is the disciplined assembly of evidence from several layers. Logging is useful only if it is enabled, retained, time-aligned and understood before the incident.
Current technical references
The supplied historical books are used as curriculum and operational context. Current implementation details are checked against current Microsoft documentation.