.

Email Clicker

<<

khaberstroh

Newbie
Newbie

Posts: 6

Joined: Thu Mar 03, 2011 2:11 pm

Post Wed Sep 05, 2012 1:55 pm

Email Clicker

Hi All! I am trying to figure out a way to have all email sent to a certain email box (most likely in Out Look) which contains links to have the link automatically opened.

I'm thinking this is going to require at least 3 different processes.
1. Open the new email to the box
2. Find all URL links in email body
3. Initiate connection (navigate) to those URL links

Does anyone know of already existing software/scripts out there that can do this, or have tips on how I could perform this type of automation?
<<

dynamik

Recruiters
Recruiters

Posts: 1119

Joined: Sun Nov 09, 2008 11:00 am

Location: Mile High City

Post Wed Sep 05, 2012 4:31 pm

Re: Email Clicker

Does it have to be in Outlook? You could use something like http://docs.python.org/library/imaplib.html to pull in messages from a mail server. After that, it's relatively easy to parse for links and launch an external program (i.e. IE) while passing the URL as an argument. The example at the bottom of the page will actually take you most of the way there.
The day you stop learning is the day you start becoming obsolete.
<<

tturner

User avatar

Sr. Member
Sr. Member

Posts: 435

Joined: Thu Jun 26, 2008 4:50 pm

Post Thu Sep 06, 2012 8:43 am

Re: Email Clicker

This would be extremely useful for building bots for CTF if the CTF designer wants to allow client side attacks. Unfortunately most CTF's I've seen don't allow for this. My local DC group is designing a new CTF now and I think this will be pretty beneficial for us. Thanks for sharing!
Certifications:
CISSP, CISA, GPEN, GWAPT, GAWN, GCIA, GCIH, GSEC, GSSP-JAVA, OPSE, CSWAE, CSTP, VCP

WIP: Vendor WAF stuff

http://sentinel24.com/blog @tonylturner http://bsidesorlando.org
<<

khaberstroh

Newbie
Newbie

Posts: 6

Joined: Thu Mar 03, 2011 2:11 pm

Post Fri Sep 07, 2012 6:48 am

Re: Email Clicker

ajohnson wrote:Does it have to be in Outlook? You could use something like http://docs.python.org/library/imaplib.html to pull in messages from a mail server. After that, it's relatively easy to parse for links and launch an external program (i.e. IE) while passing the URL as an argument. The example at the bottom of the page will actually take you most of the way there.


Thanks I'll take a look at that. The problem I'm trying to solve is we are about to deploy an automated email analysis tool which will sandbox all attachments and will sandbox links once the users click on them. The problem is we would have to deploy an appliance at all our web gateways around the world to have the link piece work, while all of our email servers are in 1 country. SO if I can open all links in 1 country where the URL sandbox appliance is located the deployment wouldn't be as bad.

Return to Other

Who is online

Users browsing this forum: No registered users and 2 guests

cron
.
Powered by phpBB® Forum Software © phpBB Group.
Designed by ST Software