8
PHISHING WITH DATA URI

Phishing With Data URI

Embed Size (px)

DESCRIPTION

New way of phishing with Data URI

Citation preview

Page 1: Phishing With Data URI

PHISHING WITH DATA URI

Page 2: Phishing With Data URI

DATA URI• The data URI scheme is a URI scheme (

Uniform Resource Identifier scheme) that provides a way to include data in-line in web pages as if they were external resources.

• MORE INFO : http://en.wikipedia.org/wiki/Data_URI_scheme

Page 3: Phishing With Data URI

PHISHING OLD METHOD

login.phpLogs.txtUsername: [email protected]: strong p@ssw0rd

FAKE URL

All these are hosted under a website

Page 4: Phishing With Data URI

Phishing with Data URI

mailer.phpHyperlink / Redirect

This fake page is not hosted anywhere. Its made up of DATA URI, Base64 encoded data

Mails the hacker the stolen username and password.

Page 5: Phishing With Data URI

Modified source code Base64 encoded

Modification: send the username and password logged to a php file which may mail/logs it.

Source code

Page 6: Phishing With Data URI

data:text/html;base64, PHNjcmlwdD5hbGVydCgiS0NGIik8L3NjcmlwdD4=

Spreading<script>window.location = "data:text/html;base64,PHNjcmlwdD5hbGVydCgiS0NGIik8L3NjcmlwdD4="</script>

DATA URI PHISHING

Page 7: Phishing With Data URI

Limitations

• Difficult to inject JavaScript in websites.• Internet Explorer won’t support Data URI

Page 8: Phishing With Data URI

DEMO