MailRaider v0.1 released - Powershell MS Outlook Enumeration and Internal Phishing tool.

MailRaider v0.1 released – Powershell MS Outlook Enumeration and Internal Phishing tool.

MailRaider is a tool that can be used to browse/search a user’s Outlook folders as well as send phishing emails.internally using their Outlook client.

Example MailRaider

Example MailRaider

~ Quick Usage Guide ~
– Disable-SecuritySettings -AdminUser “LOCALHOST\Admin” -AdminPass “IamAdmin#123”
This function sets/creates the required registry keys in order to disable the Outlook programmatic access prompt. Please note that if Anti-Virus is not installed and updated on the host, changing these keys will not make a difference.

– View-Email -FolderName “Inbox” -Index 25
This function selects the specified folder and then displays the EmailItem at the selected index. This is useful for viewing individual e-mails, one at a time.

-Get-SMTPAddress -FullName “William Striker”
This function returns the Primary SMTP address of a user from the Global Address List based on there Full Name.

– Invoke-SendEmail -Targets “testuser@testing.com” -Subject “Wub Wub Wub” -Body “Hey! This is a test email” -Attachment .\Payload.rtf
This function will send an email to the specified target/s. The TargetList parameter can be used to read in targets from a file. HTML tags maybe used in the Body parameter to embed a URL or whatever suits your needs.

– Invoke-MailSearch -DefaultFolder “Inbox” -Keyword “password” -MaxSearch 400 -MaxResults 50 -MaxThreads 15
This function will conduct a multithreaded search through specified Outlook Default folder for emails that contain the keyword.

TESTED On: Windows 7/Outlook 2013 Windows 8/Outlook 2013

EXAMPLE:
— Invoke-SendMail -Targets $Emails -URL “http://bigorg.com/projections.xls” -Subject “Hi” -Body “Please check this <a href=’URL’>link</a> out!”
Send phishing email to the array of target email addresses with an embedded url.
EXAMPLEwith specific attachment:
— Invoke-SendMail -TargetList .\Targets.txt -Attachment .\Notice.rtf -Template .\Phish.html
Send phishing email to the list of addresses from file and include the specified attachment.

MailRaider.ps1 Script:

Added Template file and changes to MailMan.ps1 – template.html:

Source : https://github.com/xorrior