Top Banner
UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI Daniel Chechik, Anat (Fox) Davidi
14

UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

Sep 14, 2018

Download

Documents

lexuyen
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI Daniel Chechik, Anat (Fox) Davidi

Page 2: UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

Security Web Scanners

Page 3: UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

What is RDI?

3

Reflected DOM Injection

Legit

Legit

Malicious

Page 4: UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

A Recipe for Disaster

4

§  1 simple web page

§  1 trustworthy web utility

§  1 script that behaves differently within a certain context

§  2 cups of funny cat pictures

Page 5: UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

RDI in Action – Yahoo Cache

5

Yahoo Cache

Page 6: UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

What Just Happened?!

6

Page 7: UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

Let’s Take it a Step Further

7

Google Translate

Page 8: UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

Go back in time (10 minutes ago)

8

§  Producing a malicious URL “hosted” on Google

§  We will be able to access it directly without the interface: hxxp://translate.google.com/translate?hl=en&sl=iw&tl=en&u=http%3A%2F%2Fhandei.ueuo.com%2Ftran.html

Page 9: UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

What happens behind the scenes

9

Content is translated

Page 10: UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

§  After the text is translated, the malicious code is generated, decrypted and executed

Let’s Check Out the Code

10

script Bob Marley

Generated

Decrypted

Executed

Page 11: UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

Reflected DOM Injection

11

§  RDI is a technique

§  Context makes the difference

§  Very hard to detect

§  RDI is awesome!

Page 12: UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

VirusTotal / Wepawet ?

12

Page 13: UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

Thank You!

13

Q & A Daniel Chechik: [email protected] @danielchechik Anat (Fox) Davidi: [email protected] @afoxdavidi

Page 14: UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES … · UTILIZING POPULAR WEBSITES FOR MALICIOUS PURPOSES USING RDI ... a Canadian French language news channel owned by Radio-Canada

More Cats!