Twenty Year Anniversary

Iframe URI Phishing

Iframe URI Phishing
Posted Apr 23, 2013
Authored by G2

This is a brief tutorial that discusses obfuscation techniques used by phishers.

tags | paper
MD5 | 4195784dcfb2b2f2eaacc419cdd7220a

Iframe URI Phishing

Change Mirror Download
# Exploit Title: IFRAME-URI-PHISHING
# Date: 21/2/2012
# Exploit Author: G2 / Marusira
# Tested on:
[ Browsers ] - Chrome, Firefox , Internet Explorer , Opera , Safari
[ Environment] - Linux & IIS

# Demo : http://www.youtube.com/watch?v=Zmr63mYiZu8
# Video Tutorial : http://youtu.be/zN_3AzKKnNs

# Description

Today We are going to use DATA URI's to bring back the old school Phishing
back to life again. What we will be doing is basically getting the content / source of a specific web page and encode them with base64 to use as a Data URI. To read more about data URI : https://en.wikipedia.org/wiki/Data_URI_scheme

data:text/html, <marquee>marusira.com</marquee>

Just type the above uri in your browser to see uri's in action. now in the same way we could paste an entire web page source their. Since the plain html is readable to everyone easily we could encode the source using base64

data:text/plain;charset=utf-8;base64,PG1hcnF1ZWU+TWFydXNpcmEuY29tPC9tYXJxdWVlPg==

Now this is harder to read and understood by a human while the same result is rendered in the browser, the same technique will be applied during the exploitation process so you know what the heck is going on.

If you are from earth you already know that coping an entire web page source even encoded with base64 is way too long , so I came up with a neat solution to use iframes instead ;-) Use of iframes on popular web sites are blocked using javascript and X-Frame. So a little bit of tweaking is required.

Today the demo will be on facebook but could be amended for any web site our their.

# Exploit Instructions

1) Download the modified source of facebook from here
http://pastebin.com/PDhaVqkS

2) If required, the entire phisher and source can be
downloaded from here :
http://marusira.com/forum/thread-6324.html

3) Now upload the file to a prefered web host and grab the URL
of the phishing page ( Note : Make Sure you create a custom
phisher or download the entire package from [2] )

4) <style> body { margin: 0; overflow: hidden; } </style>
<iframe src="ur link" height="100%" width="100%" border="no" frameBorder="0" scrolling="auto" >Iframe Failed</iframe>

now repalce the iframe source where "ur link" is written with your phishing url

goto http://dopiaza.org/tools/datauri/ and generate your data uri by pasting the
modified exploit code

img 1 : http://i.imgur.com/us5QTx4.png
img 2 : http://i.imgur.com/WSr6Bpn.png

Now that you've got your data URI , Note that the data is set to
data:text/plain;charset=utf-8

This should be changed to
data:text/html;charset=utf-8

After you've done that , try pasting the generated URI in the browser

img : http://i.imgur.com/54e4GwX.png

Now you can use http://tinyurl.com/ to generate a short URL to provide to your victims.

img 1 : http://i.imgur.com/0UC0zNu.png
img 2 : http://i.imgur.com/aOFCxad.png

5) Use Any SE Trick you prefer to fish ;) This is way harder to detect to
normal day to day internet users.

Good Luck ~!
G2.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

November 2018

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    10 Files
  • 2
    Nov 2nd
    15 Files
  • 3
    Nov 3rd
    2 Files
  • 4
    Nov 4th
    2 Files
  • 5
    Nov 5th
    32 Files
  • 6
    Nov 6th
    27 Files
  • 7
    Nov 7th
    8 Files
  • 8
    Nov 8th
    9 Files
  • 9
    Nov 9th
    17 Files
  • 10
    Nov 10th
    2 Files
  • 11
    Nov 11th
    2 Files
  • 12
    Nov 12th
    33 Files
  • 13
    Nov 13th
    29 Files
  • 14
    Nov 14th
    23 Files
  • 15
    Nov 15th
    45 Files
  • 16
    Nov 16th
    11 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close