ENNAENNA

MailSniper

MIT

๐Ÿ”ฅ Offensive Ops ยท PowerShell

MailSniper is a PowerShell tool for searching through email in Microsoft Exchange and Office 365 environments during penetration tests. It can log into mailboxes using stolen credentials and search for terms like 'password', 'creds', 'SSN', or custom keywords across the Global Address List. MailSniper supports Exchange Web Services (EWS), Exchange ActiveSync, and Office 365 REST API. It can enumerate valid usernames via timing attacks, perform password sprays against OWA/EWS, and extract valuable data from mail folders, contacts, and calendar entries. Essential for demonstrating email-based data exposure in enterprise assessments.

3.2kstars
599forks
21issues
Updated 8mo ago
+I use this

Installation

$ git clone https://github.com/dafthack/MailSniper.git

Use Cases

  • Searching Exchange mailboxes for sensitive data during pentests
  • Password spraying against OWA and EWS
  • Enumerating valid Active Directory usernames
  • Extracting credentials stored in email

Tags

exchangeemail-searchoffice365credential-huntingpowershell

Community Reviews

More in Offensive Ops