Top Banner
http://null.co.in/ http://nullcon.net/
61
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: nullcon 2011 - Chupa Rustam

http://null.co.in/ http://nullcon.net/

Page 2: nullcon 2011 - Chupa Rustam

Remember these Titans???

Page 3: nullcon 2011 - Chupa Rustam

Spying was a manual labor!

Page 4: nullcon 2011 - Chupa Rustam

Spying has become digital

Page 5: nullcon 2011 - Chupa Rustam

Meet

Abhijeet Hatekar

Page 6: nullcon 2011 - Chupa Rustam

A Geek who works for

Who happens to be a hardcore

Linux Guy

Page 7: nullcon 2011 - Chupa Rustam

Delves into…

Page 8: nullcon 2011 - Chupa Rustam

Loves to develop

New Security /

Hacking Tools

Page 9: nullcon 2011 - Chupa Rustam

Also, a good cook!

Page 10: nullcon 2011 - Chupa Rustam

I was at

Page 11: nullcon 2011 - Chupa Rustam

Where I developed tools like…

oat.sf.net

Page 12: nullcon 2011 - Chupa Rustam

Presented papers at…

Page 13: nullcon 2011 - Chupa Rustam

And active contributor for

a magazine

Page 14: nullcon 2011 - Chupa Rustam

Can be followed at my blog

and reached at my website: www.chackraview.net

Page 15: nullcon 2011 - Chupa Rustam

What

brings

me here?

Page 16: nullcon 2011 - Chupa Rustam

What

brings

me here?

Page 17: nullcon 2011 - Chupa Rustam

What

brings

me here?

Page 18: nullcon 2011 - Chupa Rustam

What

brings

me here?

Page 19: nullcon 2011 - Chupa Rustam

What

brings

me here?

Page 20: nullcon 2011 - Chupa Rustam

Let’s go

a step

ahead

Page 21: nullcon 2011 - Chupa Rustam
Page 22: nullcon 2011 - Chupa Rustam

Unified Communication

Page 23: nullcon 2011 - Chupa Rustam

VoIP is a piece of technical excellence

Page 24: nullcon 2011 - Chupa Rustam

VoIP Benefits

�Cost efficient

�Flexibility

�Feature rich

�Simple and Scalable

infrastructure

Page 25: nullcon 2011 - Chupa Rustam

Competition: a Goose

race

To provide rich features,

Slick boxes within slim

timeline; vendors often

overlook security issues.

Page 26: nullcon 2011 - Chupa Rustam

VoIP Attack Vectors

Eavesdropping

Denial of Service(DOS)

Call Hijack

Call Teardown

Call Fraud

Media Manipulations

Codec Manipulation

Page 27: nullcon 2011 - Chupa Rustam

What’s at stake???

Money

Data

Reputation and faith

&...

Page 28: nullcon 2011 - Chupa Rustam

YOU

Page 29: nullcon 2011 - Chupa Rustam

Let’s focus on

something

more

interesting!

Page 30: nullcon 2011 - Chupa Rustam

Prologue

Page 31: nullcon 2011 - Chupa Rustam

Major Global Video Phone

Solutions Providers

Page 32: nullcon 2011 - Chupa Rustam

Why Grandstream???

Cheap

Reliable

Feature Rich

Page 33: nullcon 2011 - Chupa Rustam

Features of

Grandstream Video Phone

Page 34: nullcon 2011 - Chupa Rustam

nmap scan

Page 35: nullcon 2011 - Chupa Rustam

The Awareness Hurdle

Non-aware

95%

Page 36: nullcon 2011 - Chupa Rustam

The Hack Begins….

Page 37: nullcon 2011 - Chupa Rustam

Login Authentication

Page 38: nullcon 2011 - Chupa Rustam

Survey Facts

78% people do not change the default password.

Out of remaining 22%, 42.98% just increment a number.

e.g.Password1, admin2 etc.

Source: Symantec Inc.

75% of social networking username and password samples

collected online were identical to those used for email

accounts.

69.30% people write down their password to remember.

Source: www.securityweek.com

63% people do not change their password often.

Source: www.cnet.com

The Password

leaks some

facts ☺

Page 39: nullcon 2011 - Chupa Rustam

The Wireshark Trace

Page 40: nullcon 2011 - Chupa Rustam

The Wireshark Trace

Page 41: nullcon 2011 - Chupa Rustam

The Research

Page 42: nullcon 2011 - Chupa Rustam

After burning the midnight oil over couple of smokes

Packet captures

Grey cells

I found out different interesting configuration variables.

Page 43: nullcon 2011 - Chupa Rustam

The Research:

Mapping Configuration Variables

P2 = password

P97 = iLBC Frame size

P927 = Video packet size

P39 = local RTP port

P928 = ??? <interesting>

Page 44: nullcon 2011 - Chupa Rustam

The Research

These variables correspond

to some features directly

affecting the Grandstream

phone.

Among all the variables,P928

caught my attention because

as soon as I set that variable.

Page 45: nullcon 2011 - Chupa Rustam

The Research: 2nd nmap Scan

Page 46: nullcon 2011 - Chupa Rustam

The Research

P928 starts RTSP server on phone

P928 starts RTSP server on phone

Can stream video from the video phone camera Can stream video from

the video phone camera

User is not aware of this and moreover

User is not aware of this and moreover

User cannot control it from phone menu

User cannot control it from phone menu

Page 47: nullcon 2011 - Chupa Rustam

Cracking SRTP Authentication

• Phone tries to authenticate RTSP

client

• http digest authentication mode

• QoP is only auth and not

auth_int(little safe)

• Vulnerable to MiTM and

password brute force attacks

Page 48: nullcon 2011 - Chupa Rustam

So far I have not seen this

room getting into

the sleeping zone…

I believe then it’s not that

boring ☺

Page 49: nullcon 2011 - Chupa Rustam

Crack web password

Enable RTSP Server

Crack RTSP authentication

Profit / fun

Synopsis

Page 50: nullcon 2011 - Chupa Rustam

Presenting

Page 51: nullcon 2011 - Chupa Rustam

Chupa Rustam FundamentalsWritten in “C”..

Uses libvlc

For Linux Platform

Page 52: nullcon 2011 - Chupa Rustam

Generic Grandstreamweb cracking support

Remote administration of surveillance feature

RTSP password cracker SSL support

Chupa Rustam

Features

Page 53: nullcon 2011 - Chupa Rustam

Getting back to

“something more

interesting”…

Page 54: nullcon 2011 - Chupa Rustam
Page 55: nullcon 2011 - Chupa Rustam

Titans are back…

with ninja skills!

Page 56: nullcon 2011 - Chupa Rustam

Worldwide Usage of

Grandstream Video Phones

Grandstream GXV 3xx Series Clients

Page 57: nullcon 2011 - Chupa Rustam

Lessons Learned for Vendors

� Use strong authentication

mechanisms

� Document all features and secure

them

� provide features only if necessary

Page 58: nullcon 2011 - Chupa Rustam

Lessons Learned for End Users

Change default passwords

to something better than

alphanumeric

There is no fix for the human

stupidity

DON’T bring video phones to your bedroom ☺

Page 59: nullcon 2011 - Chupa Rustam

http://tools.chackraview.net/chuparustam

How can I get Chupa-Rustam?

Page 60: nullcon 2011 - Chupa Rustam

Got questions???

Hit ‘em!

Page 61: nullcon 2011 - Chupa Rustam

Thank You

&

Stay safe!

[email protected]