Internet of Terrible: Can you hear me meow?

71
Internet of Terrible Can you hear me meow?

Transcript of Internet of Terrible: Can you hear me meow?

Page 1: Internet of Terrible: Can you hear me meow?

Internet of Terrible

Can you hear me meow?

Page 2: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

• Name: Brandon McCrillis

• Company: Rendition InfoSec

• Email: [email protected]

• URL: RSEC.US

• Twitter: @13M4C

• Model: DA243A-ABA 6415cl NA910 • TotalPhysicalMemory: 804765696

Get-WmiObject -Class Win32_ComputerSystem

Page 3: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Objectives:

Discuss case studies of conducting network

enumeration using VoIP infrastructure and other

embedded devices

Page 4: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Objectives:

Highlight attack methodologies that can be

used for credential harvesting, enumeration,

denial of service, and persistence

Page 5: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Objectives:

Practical Defensive techniques and real-world attacker mitigations via monitoring and secure

configuration

Page 6: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Objectives:

Therapeutically work through some *minor* cat issues

Page 7: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Times have changed…

Page 8: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

The Internet of Terrible

1983: CYBER

CSI++

Page 9: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

IoT: All the things!

Page 10: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis©2016 RSEC.US

Spy-on-you Barbie!

Page 11: Internet of Terrible: Can you hear me meow?

Embedded Devices…Doing things with stuff

Page 12: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Embedded Devices

In-flight Entertainment

Page 13: Internet of Terrible: Can you hear me meow?

Much Services, Many Lulz

Y’know, living off the land…

Page 14: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 15: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 16: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 17: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 18: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 19: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 20: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 21: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 22: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 23: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 24: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 25: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 26: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 27: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 28: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 29: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 30: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Real-world Assessments…

Page 31: Internet of Terrible: Can you hear me meow?

Voice over IP…Teh VoIP

Page 32: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

What is VoIP?

Page 33: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

What is Asterisk?

Page 34: Internet of Terrible: Can you hear me meow?

Where it’s at..Two turn-tables and a Polycom phone

Page 35: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

What’s in the box…

Page 36: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Reduce, Reuse, Recycle

Page 37: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Can you hear me meow?

Page 38: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Factory Reset Devices pls!

Page 39: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Meh?

Page 40: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

I have wut u need…

Page 41: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Default SoundPoint 501 Creds

• Default TFTP || FTP:username: PlcmSpIppassword: PlcmSpIp

• DEFAULT HTTP:username: Polycompassword: 456

Default User Pass: 123Default Admin Pass: 456

Page 42: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Ye Old Web GUI

Page 43: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Sure, I’ll bite…

Page 44: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Sure, I’ll bite…

Page 45: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Base64 Decode

Polycom : 456

Page 46: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

AsteriskNOW

Page 47: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

AsteriskNOW

Page 48: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

AsteriskNOW

Page 49: Internet of Terrible: Can you hear me meow?

Attacking VoIP…Calling your mother

Page 50: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

• Information Gathering / Enumeration• Monitoring and Eavesdropping • Attacking Authentication• VLAN Hopping• Denial of Service / Flooding• Spoofing Caller ID

Common Attack Vectors

Page 51: Internet of Terrible: Can you hear me meow?

VoIP WeaponizedI shouldn’t be able to do this!

Page 52: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Oh so sexy….

Page 53: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

CHECK-SYNC

Many vendors allow for a remote reboot of phones to facilitate SIP configuration

updates.

When an attacker 0wn yer VoIP

Page 54: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

CHECK-SYNC

When an attacker 0wn yer VoIP

Page 55: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

CHECK-SYNC

Using this for pure evil, an attacker can force consumption of a tampered

configuration to the phone… unauthenticated.

When an attacker 0wn yer VoIP

Page 56: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

CHECK-SYNC

Check-sync DoS

When an attacker 0wn yer VoIP

Page 57: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

• Python-based SIP Packet Forging Tool by Pietro Bertera (bertera.it)

https://github.com/pbertera/SIPPing

Also, wrote a blog post regarding SIP packet filtering using iptables

SIPPing …FTW!

Page 58: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Crafted check-sync packet

Page 59: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

SPECIAL EXTENSIONS

Configuration of a “special extension” with auto-answer can force the phone to

answer a call (without ringing) and immediately force the speakerphone mic

to listen. …a real time audio feed… without user interaction or knowledge.

When an attacker 0wn yer VoIP

Page 60: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

SPECIAL EXTENSIONS

When an attacker 0wn yer VoIP

Page 61: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

SPECIAL EXTENSIONS

When an attacker 0wn yer VoIP

Page 62: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

VLAN Hopping

Often times VoIP VLANs are not monitored (read: trusted) -- “Plug and

Play” hopping…

When an attacker 0wn yer VoIP

Page 63: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

VLAN Hopping

When an attacker 0wn yer VoIP

Page 64: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

VLAN Hopping

When an attacker 0wn yer VoIP

Page 65: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

More phun with VoIP

auxillary/voipauxillary/scanner/sip

SIPvicious / SIPdump / SIPCrack

Kali/Metasploit

Page 66: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Future Development

• SIP Tunneling

• Exploit and Exfiltration Framework

• Enumeration of trusted devices within the information system

• Flashing Custom Firmware

Page 67: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Trusted can’t be trusted

Wrapping it up…

©2016 RSEC.US

Page 68: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Secure configuration and Monitoring FTW!

Wrapping it up…

©2016 RSEC.US

Page 69: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

Know your network better than I will

Wrapping it up…

©2016 RSEC.US

Page 70: Internet of Terrible: Can you hear me meow?

©2016 RSEC.US -=- Brandon McCrillis

The Last Meow…