SlideShare une entreprise Scribd logo
1  sur  58
Télécharger pour lire hors ligne
IoT security is a nightmare. But
what is the real risk?
Camp++ 0x7e0
root@kali:~# whoami
Zoltán Balázs
root@kali:~# whoami
root@kali:~# whoami
I’m NOT a CEH
Creator of the Zombie Browser Toolkit
https://github.com/Z6543/ZombieBrowserPack
Creator of the HWFW Bypass tool
– Idea later(?) implemented by nation state attackers in Duqu 2.0
https://github.com/MRGEffitas/hwfwbypass
Creator of the Malware Analysis Sandbox Tester tool
https://github.com/MRGEffitas/Sandbox_tester
Invented the idea of encrypted exploit delivery via Diffie-Hellman key exchange,
to bypass exploit detection appliances
– Implemented by Angler and Nuclear exploit kit developers
https://www.mrg-effitas.com/generic-bypass-of-next-gen-intrusion-threat-breach-detection-systems/
How did I get into this?
I bought an IP camera
Found multiple high severity issues
Notified manufacturer, published blogpost
After one year, no patch available
The question is:
• Now what?
I wanted to solve this generic issue
Examples of terrible home IoT devices
– IP Camera
– Router
– Baby monitor
– Smart home
– Automated NAS ransomware
– Car hacked
Mandatory Shodan slide
https://www.shodan.io/search?query=nas
https://www.shodan.io/search?query=ipcam
Assumptions
For the next ~5-10 years, assume
– Your IoT device has horrible security holes
– It won’t receive any patches, ever
For the sake of this presentation, I assumed:
• The IoT device is not intentionally malicious
• Is not preloaded with malware
I know, I am an optimistic guy ¯_(ツ)_/¯
IoT Security Excuses
a.k.a #YOLOSEC
I am safe, I changed all IoT passwords
I am safe, I changed all IoT passwords
Vulnerabilities bypassing password protection
• Memory corruption issues (BoF, Format string, …)
• CSRF (later)
• Backdoor accounts
• Lack of brute-force protection
• …
I am safe, I regularly patch all of my IoT
devices
I am safe, I regularly patch all of my IoT
devices
Patches are late by years
Most IoT devices do not get a patch, EVER
Problems with direct IPv4 connection
If your IoT device has an Internet routable IPv4
address, without any firewall port filtering
Just prepare for apocalypse
Seriously, don’t do that
CCTV is OCTV today
The IoT device is only available in a
closed network
The IoT device is only available in a
closed network
(•_•)
<) )╯What
/ 
(•_•)
( (> The
/ 
(•_•)
<) )> fuck were you thinking???
/
The device is only exposed in my area
Physically nearby to open WiFi
The device is only exposed in my area
Physically nearby to open WiFi
The device is only exposed in my area
Smart rifle hacking – open WiFi
Full of FUD
– but still, interesting research based on the devices
you can expect to network connected
I am safe, home network, behind NAT
NAT is sneaky evil
Due to NAT:
• Users believe they are safe behind home router
NAT
• Developers created ways to connect devices behind
NAT, seamlessly
What could possibly go wrong?
https://youtu.be/v26BAlfWBm8
But, but NATs are good …
I am safe, home network, behind NAT
Think again
– UPNP
– IPv6
– Teredo
– Cloud
UPNP
IPv6
IPv6
Market for private IPv6
Timespan for private IPv6 addresses: ~1 day
ICMP means every device is reachable
• network stack hack possible
Predictable IPv6 addresses (mostly enterprise)
• ::0, ::1, ::2, ::service_port, ::IPv4, ::1000-::2000, ::100-::200, ::1.0-::1-2000,
::b00b:babe
Reverse DNS enumeration (mostly enterprise)- dnsrevenum6
Zone transfer … AXFR … (mostly enterprise)
DNSSEC chain walk (mostly enterprise)
DNS brute force (mostly enterprise) – dnsdict6
Recommended:
• Marc van Hauser: IPv6 insecurity revolutions
• THC IPv6
Teredo bubble
IPv4
Teredo client
1.
Teredo server
2.
Teredo NAT hole
IPv4 IPv6
Teredo client
Teredo relay
1.
2.
3.
4.
Teredo server
IPv6 peer
1ce:c01d:bee2:15:a5:900d:a5:11feFirewall
5.
2001:0000:53aa:064c:0055:6bbf:a67b:7887
Teredo in practice
According to a study by Arbor Networks, the 2008 adoption of IPv6 by µTorrent caused a
15-fold increase in IPv6 traffic across the Internet over a ten-month period.
IP camera cloud hack
IP camera cloud hack
This research is work in progress
– Lot of stuff to fine-tune, research
The camera has an Android app
The app can connect to the IP camera even when
it is behind NAT, no port forward
But how???
Demo time
I am safe, none of these apply, my home
network is Sup3rFirewalled
I am safe, none of these apply, my home
network is Sup3rFirewalled
uBlock demo
uBlock is like Adblock, just better
I use two browsers, one for Internet access
And the other, only use to access internal network
I am safe, I changed the network range
from default (192.168.0.0/24)
I am safe, I changed the network range
from default (192.168.0.0/24)
WebRTC (Web Real-Time Communication) is an API
definition … that supports browser-to-browser
applications for voice calling, video calling, and P2P file
sharing …
WebRTC + STUN
Natively supported in
• Chrome (2012)
• Firefox (2013)
• Opera 18 (2013)
• Edge 21 (2015)
• Blackberry
Not in Safari, mobile Chrome, IE
BeEF demo
Same-Origin Policy (SOP)
“a web browser permits scripts contained in a first
web page to access data in a second web page,
but only if both web pages have the same
origin”
Port, protocol and host has to be the same
Goal
• an ad on webmail won’t be able to access the e-
mails
DNS rebind attack
It is (was) possible to bypass browser same origin
policy
One public and one private IP address for a domain
• Use the public IP in first request, deliver malicious
script
• Use the private IP later, malicious script can access
private IP, and leak data
Cat and mouse game started in 1996
https://www.usenix.org/conference/usenixsecurity13
/technical-sessions/presentation/johns
Filet – o – firewall
https://github.com/filetofirewall/fof/
Attackers and motives
Script-kiddies: for fun, point-and-click tool, annoy, prank or
extort ordinary people.
Political activists: Not important, unless operated by government
Organized criminals: for profit. Physical presence or no physical
presence. NAS ransomware attacks. Smart homes hacked by
burglers, internet connected IP-cameras hijacked before
burglary, smart-cars stolen via unsecured WiFi, etc.
Nation-state attackers: “collect everything”. domestic or foreign
surveillance, track and profile people, direct surveillance
(audio, video).
Bonus - Advertisment industry: smart devices will be sold either
exclusively, or at a cheaper price, profit for advertisers, more
targeted ads to the people
IoT development guideline in a Utopia
Secure by design
Tested for security
Patch released if security issues are found
Current IoT development guideline in
reality
Secure by design
Tested for security
Patch released if security issues are found
Cheap
Be the first on the market
Linux (Busybox ?) embedded
Webserver or VNC embedded
IoT Risks
Lessons learned for home users
Disconnect power cord/remove batteries if IoT is not needed 7*24
Patch (if possible)
Change passwords to complex, non-reused passwords
Disable direct inbound connections (check router)
Disable UPnP (check router)
Filter IPv6 (inbound default deny a’la NAT)
Disable Teredo
Monitor for tunneling protocols
Prevent CSRF from browser (see uBlock slide)
Scan your home network for new devices (LAN, Bluetooth, new AP, Zigbee, IrDA, FM)
Dedicated network for IoT devices (use old Wi-Fi router)
Separate your guests from your IoT network
Disable WebRTC in browser (Chrome: WebRTC Network Limiter)
Disable cloud connection (on device and/or router/firewall)
Prevent DNS rebind attack – see next slide
Moar tips for home users
Private IP addresses can be filtered out of DNS
responses.
– External public DNS servers with this filtering
e.g. OpenDNS
– Local sysadmins can configure the organization's
local nameservers to block the resolution of external
names into internal IP addresses.
– DNS filtering in a firewall or daemon e.g. dnswall
Firefox NoScript ABE feature
“Smart devices will make our life easier”
Maybe in ~2100, but until then, it will make our
life a nightmare
My best advice: don’t buy IoT devices ;)
Lessons learned for IoT vendors
SDLC
Continuous security testing and bug bounties
Seamless auto-update
Opt-in cloud
Lessons learned for goverments
Follow Federal Trade Comission FTC – fine
vendors who put users at risk to maximize profit
https://www.ftc.gov/news-events/press-
releases/2016/02/asus-settles-ftc-charges-
insecure-home-routers-cloud-services-put
References, interesting links
Best IoT Talk ever! 115 batshit stupid things you can put on the internet in as fast
as I can go by Dan Tentler
https://www.youtube.com/watch?v=hMtu7vV_HmY
https://github.com/mandatoryprogrammer/sonar.js/tree/master
https://www.youtube.com/watch?v=34GtH4tghjA
https://jumpespjump.blogspot.com/2015/08/how-to-secure-your-home-
against.html
https://jumpespjump.blogspot.com/2015/09/how-i-hacked-my-ip-camera-and-
found.html
http://www.theverge.com/circuitbreaker/2016/7/12/12159766/internet-of-
things-iot-internet-of-shit-twitter
Hack the planet! One computer at a time
…
zoltan.balazs@mrg-effitas.com
https://hu.linkedin.com/in/zbalazs
Twitter – @zh4ck
www.slideshare.net/bz98
Greetz to @CrySySLab, @SpamAndHex
Thx to Attila Bartfai for the conversation starter
JumpESPJump.blogspot.com

Contenu connexe

Tendances

Adversary Emulation and the C2 Matrix
Adversary Emulation and the C2 MatrixAdversary Emulation and the C2 Matrix
Adversary Emulation and the C2 Matrix
Jorge Orchilles
 
SCYTHE Purple Team Workshop with Tim Schulz
SCYTHE Purple Team Workshop with Tim SchulzSCYTHE Purple Team Workshop with Tim Schulz
SCYTHE Purple Team Workshop with Tim Schulz
Jorge Orchilles
 
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Donato Onofri
 

Tendances (20)

Adversary Emulation and the C2 Matrix
Adversary Emulation and the C2 MatrixAdversary Emulation and the C2 Matrix
Adversary Emulation and the C2 Matrix
 
IoT (l'Internet des Objets) et le protocole de telecommunication LoRaWan
IoT (l'Internet des Objets) et le protocole de telecommunication LoRaWanIoT (l'Internet des Objets) et le protocole de telecommunication LoRaWan
IoT (l'Internet des Objets) et le protocole de telecommunication LoRaWan
 
Security of RPL in IoT
Security of RPL in IoTSecurity of RPL in IoT
Security of RPL in IoT
 
EIGRP - EIGRP sur frame relay
EIGRP - EIGRP sur frame relayEIGRP - EIGRP sur frame relay
EIGRP - EIGRP sur frame relay
 
Présentation sécurité informatique naceur chafroud de cynapsys
Présentation sécurité informatique naceur chafroud de cynapsysPrésentation sécurité informatique naceur chafroud de cynapsys
Présentation sécurité informatique naceur chafroud de cynapsys
 
Socket Programming
Socket ProgrammingSocket Programming
Socket Programming
 
NAT (network address translation) & PAT (port address translation)
NAT (network address translation) & PAT (port address translation)NAT (network address translation) & PAT (port address translation)
NAT (network address translation) & PAT (port address translation)
 
SCYTHE Purple Team Workshop with Tim Schulz
SCYTHE Purple Team Workshop with Tim SchulzSCYTHE Purple Team Workshop with Tim Schulz
SCYTHE Purple Team Workshop with Tim Schulz
 
System and Enterprise Security Project - Penetration Testing
System and Enterprise Security Project - Penetration TestingSystem and Enterprise Security Project - Penetration Testing
System and Enterprise Security Project - Penetration Testing
 
Introduction to MITRE ATT&CK
Introduction to MITRE ATT&CKIntroduction to MITRE ATT&CK
Introduction to MITRE ATT&CK
 
End-to-End Security Analytics with the Elastic Stack
End-to-End Security Analytics with the Elastic StackEnd-to-End Security Analytics with the Elastic Stack
End-to-End Security Analytics with the Elastic Stack
 
Cyber attaques APT avec le framework MITRE ATT&CK
Cyber attaques APT avec le framework MITRE ATT&CKCyber attaques APT avec le framework MITRE ATT&CK
Cyber attaques APT avec le framework MITRE ATT&CK
 
Network security - Defense in Depth
Network security - Defense in DepthNetwork security - Defense in Depth
Network security - Defense in Depth
 
L2 tp
L2 tpL2 tp
L2 tp
 
Les malwares
Les malwaresLes malwares
Les malwares
 
idsecconf2023 - Neil Armstrong - Leveraging IaC for Stealthy Infrastructure A...
idsecconf2023 - Neil Armstrong - Leveraging IaC for Stealthy Infrastructure A...idsecconf2023 - Neil Armstrong - Leveraging IaC for Stealthy Infrastructure A...
idsecconf2023 - Neil Armstrong - Leveraging IaC for Stealthy Infrastructure A...
 
IoT
IoTIoT
IoT
 
Mikrotik basic configuration
Mikrotik basic configurationMikrotik basic configuration
Mikrotik basic configuration
 
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
 
La Sécurité informatiques
La Sécurité informatiquesLa Sécurité informatiques
La Sécurité informatiques
 

En vedette

Hacktivity 2016: The real risks of the IoT security-nightmare: Hacking IP cam...
Hacktivity 2016: The real risks of the IoT security-nightmare: Hacking IP cam...Hacktivity 2016: The real risks of the IoT security-nightmare: Hacking IP cam...
Hacktivity 2016: The real risks of the IoT security-nightmare: Hacking IP cam...
Zoltan Balazs
 

En vedette (7)

Ransomware - what is it, how to protect against it
Ransomware - what is it, how to protect against itRansomware - what is it, how to protect against it
Ransomware - what is it, how to protect against it
 
How to hide your browser 0-days
How to hide your browser 0-daysHow to hide your browser 0-days
How to hide your browser 0-days
 
Hacktivity 2016: The real risks of the IoT security-nightmare: Hacking IP cam...
Hacktivity 2016: The real risks of the IoT security-nightmare: Hacking IP cam...Hacktivity 2016: The real risks of the IoT security-nightmare: Hacking IP cam...
Hacktivity 2016: The real risks of the IoT security-nightmare: Hacking IP cam...
 
DEFCON 22: Bypass firewalls, application white lists, secure remote desktops ...
DEFCON 22: Bypass firewalls, application white lists, secure remote desktops ...DEFCON 22: Bypass firewalls, application white lists, secure remote desktops ...
DEFCON 22: Bypass firewalls, application white lists, secure remote desktops ...
 
Sandbox detection: leak, abuse, test - Hacktivity 2015
Sandbox detection: leak, abuse, test - Hacktivity 2015Sandbox detection: leak, abuse, test - Hacktivity 2015
Sandbox detection: leak, abuse, test - Hacktivity 2015
 
Hacking Windows 95 #33c3
Hacking Windows 95 #33c3Hacking Windows 95 #33c3
Hacking Windows 95 #33c3
 
Sandboxes
SandboxesSandboxes
Sandboxes
 

Similaire à IoT security is a nightmare. But what is the real risk?

Luiz eduardo. introduction to mobile snitch
Luiz eduardo. introduction to mobile snitchLuiz eduardo. introduction to mobile snitch
Luiz eduardo. introduction to mobile snitch
Yury Chemerkin
 
[CB19] I KNOW WHAT YOU DID LAST NIGHT : Pwning The State-Of-The-Art the IoT H...
[CB19] I KNOW WHAT YOU DID LAST NIGHT : Pwning The State-Of-The-Art the IoT H...[CB19] I KNOW WHAT YOU DID LAST NIGHT : Pwning The State-Of-The-Art the IoT H...
[CB19] I KNOW WHAT YOU DID LAST NIGHT : Pwning The State-Of-The-Art the IoT H...
CODE BLUE
 
IoT_and_the_Impact_on_Security_Brian_Knopf_ISSA-OC_July-2014
IoT_and_the_Impact_on_Security_Brian_Knopf_ISSA-OC_July-2014IoT_and_the_Impact_on_Security_Brian_Knopf_ISSA-OC_July-2014
IoT_and_the_Impact_on_Security_Brian_Knopf_ISSA-OC_July-2014
Brian Knopf
 
CODE BLUE 2014 : DeviceDisEnabler : A hypervisor which hides devices to prote...
CODE BLUE 2014 : DeviceDisEnabler : A hypervisor which hides devices to prote...CODE BLUE 2014 : DeviceDisEnabler : A hypervisor which hides devices to prote...
CODE BLUE 2014 : DeviceDisEnabler : A hypervisor which hides devices to prote...
CODE BLUE
 

Similaire à IoT security is a nightmare. But what is the real risk? (20)

IoT security zigbee -- Null Meet bangalore
IoT security zigbee -- Null Meet bangaloreIoT security zigbee -- Null Meet bangalore
IoT security zigbee -- Null Meet bangalore
 
Luiz eduardo. introduction to mobile snitch
Luiz eduardo. introduction to mobile snitchLuiz eduardo. introduction to mobile snitch
Luiz eduardo. introduction to mobile snitch
 
OWASP Cambridge Chapter Meeting 13/12/2016
OWASP Cambridge Chapter Meeting 13/12/2016OWASP Cambridge Chapter Meeting 13/12/2016
OWASP Cambridge Chapter Meeting 13/12/2016
 
Sergio González - WiFiSlax 4.0 [RootedCON 2010]
Sergio González - WiFiSlax 4.0 [RootedCON 2010]Sergio González - WiFiSlax 4.0 [RootedCON 2010]
Sergio González - WiFiSlax 4.0 [RootedCON 2010]
 
Rajarshi Gupta at AI Frontiers : Security is AI’s biggest challenge, AI is Se...
Rajarshi Gupta at AI Frontiers : Security is AI’s biggest challenge, AI is Se...Rajarshi Gupta at AI Frontiers : Security is AI’s biggest challenge, AI is Se...
Rajarshi Gupta at AI Frontiers : Security is AI’s biggest challenge, AI is Se...
 
[CB19] I KNOW WHAT YOU DID LAST NIGHT : Pwning The State-Of-The-Art the IoT H...
[CB19] I KNOW WHAT YOU DID LAST NIGHT : Pwning The State-Of-The-Art the IoT H...[CB19] I KNOW WHAT YOU DID LAST NIGHT : Pwning The State-Of-The-Art the IoT H...
[CB19] I KNOW WHAT YOU DID LAST NIGHT : Pwning The State-Of-The-Art the IoT H...
 
Security PWNing 2018 - Penthertz: The use of radio attacks during redteam tests
Security PWNing 2018 - Penthertz: The use of radio attacks during redteam testsSecurity PWNing 2018 - Penthertz: The use of radio attacks during redteam tests
Security PWNing 2018 - Penthertz: The use of radio attacks during redteam tests
 
Exfiltrating Data through IoT
Exfiltrating Data through IoTExfiltrating Data through IoT
Exfiltrating Data through IoT
 
Cybercon 2015 brandon kravitz
Cybercon 2015   brandon kravitzCybercon 2015   brandon kravitz
Cybercon 2015 brandon kravitz
 
Attacking Embedded Devices (No Axe Required)
Attacking Embedded Devices (No Axe Required)Attacking Embedded Devices (No Axe Required)
Attacking Embedded Devices (No Axe Required)
 
Privacy and security in IoT
Privacy and security in IoTPrivacy and security in IoT
Privacy and security in IoT
 
The Internet of Things: We've Got to Chat
The Internet of Things: We've Got to ChatThe Internet of Things: We've Got to Chat
The Internet of Things: We've Got to Chat
 
Embedded linux 악성코드 동향 20150323 v1.0 공개판
Embedded linux 악성코드 동향 20150323 v1.0 공개판Embedded linux 악성코드 동향 20150323 v1.0 공개판
Embedded linux 악성코드 동향 20150323 v1.0 공개판
 
OWASP Appsec USA 2014 Talk "Pwning the Pawns with Wihawk" Santhosh Kumar
OWASP Appsec USA 2014 Talk "Pwning the Pawns with Wihawk" Santhosh Kumar OWASP Appsec USA 2014 Talk "Pwning the Pawns with Wihawk" Santhosh Kumar
OWASP Appsec USA 2014 Talk "Pwning the Pawns with Wihawk" Santhosh Kumar
 
20130226 How Personal Is Your Cloud?
20130226 How Personal Is Your Cloud?20130226 How Personal Is Your Cloud?
20130226 How Personal Is Your Cloud?
 
Henrik Strøm - IPv6 from the attacker's perspective
Henrik Strøm - IPv6 from the attacker's perspectiveHenrik Strøm - IPv6 from the attacker's perspective
Henrik Strøm - IPv6 from the attacker's perspective
 
IoT_and_the_Impact_on_Security_Brian_Knopf_ISSA-OC_July-2014
IoT_and_the_Impact_on_Security_Brian_Knopf_ISSA-OC_July-2014IoT_and_the_Impact_on_Security_Brian_Knopf_ISSA-OC_July-2014
IoT_and_the_Impact_on_Security_Brian_Knopf_ISSA-OC_July-2014
 
CIRA Labs - Secure Home Gateway Project 2019-03.pptx
CIRA Labs - Secure Home Gateway Project 2019-03.pptxCIRA Labs - Secure Home Gateway Project 2019-03.pptx
CIRA Labs - Secure Home Gateway Project 2019-03.pptx
 
Hack one iot device, break them all!
Hack one iot device, break them all!Hack one iot device, break them all!
Hack one iot device, break them all!
 
CODE BLUE 2014 : DeviceDisEnabler : A hypervisor which hides devices to prote...
CODE BLUE 2014 : DeviceDisEnabler : A hypervisor which hides devices to prote...CODE BLUE 2014 : DeviceDisEnabler : A hypervisor which hides devices to prote...
CODE BLUE 2014 : DeviceDisEnabler : A hypervisor which hides devices to prote...
 

Plus de Zoltan Balazs

Explain Ethereum smart contract hacking like i am a five
Explain Ethereum smart contract hacking like i am a fiveExplain Ethereum smart contract hacking like i am a five
Explain Ethereum smart contract hacking like i am a five
Zoltan Balazs
 
[ENG] OHM2013 - The Quest for the Client-Side Elixir Against Zombie Browsers -
[ENG] OHM2013 - The Quest for the Client-Side Elixir Against Zombie Browsers - [ENG] OHM2013 - The Quest for the Client-Side Elixir Against Zombie Browsers -
[ENG] OHM2013 - The Quest for the Client-Side Elixir Against Zombie Browsers -
Zoltan Balazs
 
[HUN] Védtelen böngészők - Ethical Hacking
[HUN] Védtelen böngészők - Ethical Hacking [HUN] Védtelen böngészők - Ethical Hacking
[HUN] Védtelen böngészők - Ethical Hacking
Zoltan Balazs
 
[ENG] Hacker halted 2012 - Zombie browsers, spiced with rootkit extensions
[ENG] Hacker halted 2012 - Zombie browsers, spiced with rootkit extensions[ENG] Hacker halted 2012 - Zombie browsers, spiced with rootkit extensions
[ENG] Hacker halted 2012 - Zombie browsers, spiced with rootkit extensions
Zoltan Balazs
 
[ENG] Zombie browsers spiced with rootkit extensions - Hacktivity 2012
[ENG] Zombie browsers spiced with rootkit extensions - Hacktivity 2012[ENG] Zombie browsers spiced with rootkit extensions - Hacktivity 2012
[ENG] Zombie browsers spiced with rootkit extensions - Hacktivity 2012
Zoltan Balazs
 

Plus de Zoltan Balazs (16)

[ Hackersuli ] Privacy on the blockchain
[ Hackersuli ] Privacy on the blockchain[ Hackersuli ] Privacy on the blockchain
[ Hackersuli ] Privacy on the blockchain
 
MLSEC 2020
MLSEC 2020MLSEC 2020
MLSEC 2020
 
Web3 + scams = It's a match
Web3 + scams = It's a matchWeb3 + scams = It's a match
Web3 + scams = It's a match
 
MIPS-X
MIPS-XMIPS-X
MIPS-X
 
How to hide your browser 0-day @ Disobey
How to hide your browser 0-day @ DisobeyHow to hide your browser 0-day @ Disobey
How to hide your browser 0-day @ Disobey
 
Explain Ethereum smart contract hacking like i am a five
Explain Ethereum smart contract hacking like i am a fiveExplain Ethereum smart contract hacking like i am a five
Explain Ethereum smart contract hacking like i am a five
 
Test & Tea : ITSEC testing, manual vs automated
Test & Tea : ITSEC testing, manual vs automatedTest & Tea : ITSEC testing, manual vs automated
Test & Tea : ITSEC testing, manual vs automated
 
Hacking with Remote Admin Tools (RAT)
 Hacking with Remote Admin Tools (RAT) Hacking with Remote Admin Tools (RAT)
Hacking with Remote Admin Tools (RAT)
 
[ENG] Hacktivity 2013 - Alice in eXploitland
[ENG] Hacktivity 2013 - Alice in eXploitland[ENG] Hacktivity 2013 - Alice in eXploitland
[ENG] Hacktivity 2013 - Alice in eXploitland
 
[ENG] OHM2013 - The Quest for the Client-Side Elixir Against Zombie Browsers -
[ENG] OHM2013 - The Quest for the Client-Side Elixir Against Zombie Browsers - [ENG] OHM2013 - The Quest for the Client-Side Elixir Against Zombie Browsers -
[ENG] OHM2013 - The Quest for the Client-Side Elixir Against Zombie Browsers -
 
[HUN] Védtelen böngészők - Ethical Hacking
[HUN] Védtelen böngészők - Ethical Hacking [HUN] Védtelen böngészők - Ethical Hacking
[HUN] Védtelen böngészők - Ethical Hacking
 
[ENG] Hacker halted 2012 - Zombie browsers, spiced with rootkit extensions
[ENG] Hacker halted 2012 - Zombie browsers, spiced with rootkit extensions[ENG] Hacker halted 2012 - Zombie browsers, spiced with rootkit extensions
[ENG] Hacker halted 2012 - Zombie browsers, spiced with rootkit extensions
 
[ENG] Zombie browsers spiced with rootkit extensions - Hacktivity 2012
[ENG] Zombie browsers spiced with rootkit extensions - Hacktivity 2012[ENG] Zombie browsers spiced with rootkit extensions - Hacktivity 2012
[ENG] Zombie browsers spiced with rootkit extensions - Hacktivity 2012
 
[HUN] Zombi tűzróka, avagy mire képes egy rosszindulatú böngősző kiegészitő
[HUN] Zombi tűzróka, avagy mire képes egy rosszindulatú böngősző kiegészitő[HUN] Zombi tűzróka, avagy mire képes egy rosszindulatú böngősző kiegészitő
[HUN] Zombi tűzróka, avagy mire képes egy rosszindulatú böngősző kiegészitő
 
[ENG] IPv6 shipworm + My little Windows domain pwnie
[ENG] IPv6 shipworm + My little Windows domain pwnie[ENG] IPv6 shipworm + My little Windows domain pwnie
[ENG] IPv6 shipworm + My little Windows domain pwnie
 
[HUN] Hacktivity2009 - M&M’s: Mafia & Malware’s
[HUN] Hacktivity2009 - M&M’s: Mafia & Malware’s[HUN] Hacktivity2009 - M&M’s: Mafia & Malware’s
[HUN] Hacktivity2009 - M&M’s: Mafia & Malware’s
 

Dernier

₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
Diya Sharma
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Dernier (20)

VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...
VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...
VVIP Pune Call Girls Mohammadwadi WhatSapp Number 8005736733 With Elite Staff...
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls Dubai
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
 
Dubai Call Girls Milky O525547819 Call Girls Dubai Soft Dating
Dubai Call Girls Milky O525547819 Call Girls Dubai Soft DatingDubai Call Girls Milky O525547819 Call Girls Dubai Soft Dating
Dubai Call Girls Milky O525547819 Call Girls Dubai Soft Dating
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
 

IoT security is a nightmare. But what is the real risk?

  • 1. IoT security is a nightmare. But what is the real risk? Camp++ 0x7e0
  • 4. root@kali:~# whoami I’m NOT a CEH Creator of the Zombie Browser Toolkit https://github.com/Z6543/ZombieBrowserPack Creator of the HWFW Bypass tool – Idea later(?) implemented by nation state attackers in Duqu 2.0 https://github.com/MRGEffitas/hwfwbypass Creator of the Malware Analysis Sandbox Tester tool https://github.com/MRGEffitas/Sandbox_tester Invented the idea of encrypted exploit delivery via Diffie-Hellman key exchange, to bypass exploit detection appliances – Implemented by Angler and Nuclear exploit kit developers https://www.mrg-effitas.com/generic-bypass-of-next-gen-intrusion-threat-breach-detection-systems/
  • 5. How did I get into this? I bought an IP camera Found multiple high severity issues Notified manufacturer, published blogpost After one year, no patch available The question is: • Now what? I wanted to solve this generic issue
  • 6. Examples of terrible home IoT devices – IP Camera – Router – Baby monitor – Smart home – Automated NAS ransomware – Car hacked
  • 8. Assumptions For the next ~5-10 years, assume – Your IoT device has horrible security holes – It won’t receive any patches, ever For the sake of this presentation, I assumed: • The IoT device is not intentionally malicious • Is not preloaded with malware I know, I am an optimistic guy ¯_(ツ)_/¯
  • 10. I am safe, I changed all IoT passwords
  • 11. I am safe, I changed all IoT passwords Vulnerabilities bypassing password protection • Memory corruption issues (BoF, Format string, …) • CSRF (later) • Backdoor accounts • Lack of brute-force protection • …
  • 12. I am safe, I regularly patch all of my IoT devices
  • 13. I am safe, I regularly patch all of my IoT devices Patches are late by years Most IoT devices do not get a patch, EVER
  • 14. Problems with direct IPv4 connection If your IoT device has an Internet routable IPv4 address, without any firewall port filtering Just prepare for apocalypse Seriously, don’t do that CCTV is OCTV today
  • 15. The IoT device is only available in a closed network
  • 16. The IoT device is only available in a closed network (•_•) <) )╯What / (•_•) ( (> The / (•_•) <) )> fuck were you thinking??? /
  • 17. The device is only exposed in my area Physically nearby to open WiFi
  • 18. The device is only exposed in my area Physically nearby to open WiFi
  • 19. The device is only exposed in my area Smart rifle hacking – open WiFi Full of FUD – but still, interesting research based on the devices you can expect to network connected
  • 20. I am safe, home network, behind NAT
  • 21. NAT is sneaky evil Due to NAT: • Users believe they are safe behind home router NAT • Developers created ways to connect devices behind NAT, seamlessly What could possibly go wrong? https://youtu.be/v26BAlfWBm8 But, but NATs are good …
  • 22. I am safe, home network, behind NAT Think again – UPNP – IPv6 – Teredo – Cloud
  • 23. UPNP
  • 24. IPv6
  • 25. IPv6 Market for private IPv6 Timespan for private IPv6 addresses: ~1 day ICMP means every device is reachable • network stack hack possible Predictable IPv6 addresses (mostly enterprise) • ::0, ::1, ::2, ::service_port, ::IPv4, ::1000-::2000, ::100-::200, ::1.0-::1-2000, ::b00b:babe Reverse DNS enumeration (mostly enterprise)- dnsrevenum6 Zone transfer … AXFR … (mostly enterprise) DNSSEC chain walk (mostly enterprise) DNS brute force (mostly enterprise) – dnsdict6 Recommended: • Marc van Hauser: IPv6 insecurity revolutions • THC IPv6
  • 27. Teredo NAT hole IPv4 IPv6 Teredo client Teredo relay 1. 2. 3. 4. Teredo server IPv6 peer 1ce:c01d:bee2:15:a5:900d:a5:11feFirewall 5. 2001:0000:53aa:064c:0055:6bbf:a67b:7887
  • 28. Teredo in practice According to a study by Arbor Networks, the 2008 adoption of IPv6 by µTorrent caused a 15-fold increase in IPv6 traffic across the Internet over a ten-month period.
  • 30. IP camera cloud hack This research is work in progress – Lot of stuff to fine-tune, research The camera has an Android app The app can connect to the IP camera even when it is behind NAT, no port forward But how???
  • 31.
  • 32.
  • 33.
  • 35. I am safe, none of these apply, my home network is Sup3rFirewalled
  • 36. I am safe, none of these apply, my home network is Sup3rFirewalled
  • 37. uBlock demo uBlock is like Adblock, just better I use two browsers, one for Internet access And the other, only use to access internal network
  • 38. I am safe, I changed the network range from default (192.168.0.0/24)
  • 39. I am safe, I changed the network range from default (192.168.0.0/24) WebRTC (Web Real-Time Communication) is an API definition … that supports browser-to-browser applications for voice calling, video calling, and P2P file sharing … WebRTC + STUN Natively supported in • Chrome (2012) • Firefox (2013) • Opera 18 (2013) • Edge 21 (2015) • Blackberry Not in Safari, mobile Chrome, IE
  • 40.
  • 42. Same-Origin Policy (SOP) “a web browser permits scripts contained in a first web page to access data in a second web page, but only if both web pages have the same origin” Port, protocol and host has to be the same Goal • an ad on webmail won’t be able to access the e- mails
  • 43. DNS rebind attack It is (was) possible to bypass browser same origin policy One public and one private IP address for a domain • Use the public IP in first request, deliver malicious script • Use the private IP later, malicious script can access private IP, and leak data Cat and mouse game started in 1996 https://www.usenix.org/conference/usenixsecurity13 /technical-sessions/presentation/johns
  • 44. Filet – o – firewall https://github.com/filetofirewall/fof/
  • 45. Attackers and motives Script-kiddies: for fun, point-and-click tool, annoy, prank or extort ordinary people. Political activists: Not important, unless operated by government Organized criminals: for profit. Physical presence or no physical presence. NAS ransomware attacks. Smart homes hacked by burglers, internet connected IP-cameras hijacked before burglary, smart-cars stolen via unsecured WiFi, etc. Nation-state attackers: “collect everything”. domestic or foreign surveillance, track and profile people, direct surveillance (audio, video). Bonus - Advertisment industry: smart devices will be sold either exclusively, or at a cheaper price, profit for advertisers, more targeted ads to the people
  • 46. IoT development guideline in a Utopia Secure by design Tested for security Patch released if security issues are found
  • 47. Current IoT development guideline in reality Secure by design Tested for security Patch released if security issues are found Cheap Be the first on the market Linux (Busybox ?) embedded Webserver or VNC embedded
  • 48.
  • 50. Lessons learned for home users Disconnect power cord/remove batteries if IoT is not needed 7*24 Patch (if possible) Change passwords to complex, non-reused passwords Disable direct inbound connections (check router) Disable UPnP (check router) Filter IPv6 (inbound default deny a’la NAT) Disable Teredo Monitor for tunneling protocols Prevent CSRF from browser (see uBlock slide) Scan your home network for new devices (LAN, Bluetooth, new AP, Zigbee, IrDA, FM) Dedicated network for IoT devices (use old Wi-Fi router) Separate your guests from your IoT network Disable WebRTC in browser (Chrome: WebRTC Network Limiter) Disable cloud connection (on device and/or router/firewall) Prevent DNS rebind attack – see next slide
  • 51. Moar tips for home users Private IP addresses can be filtered out of DNS responses. – External public DNS servers with this filtering e.g. OpenDNS – Local sysadmins can configure the organization's local nameservers to block the resolution of external names into internal IP addresses. – DNS filtering in a firewall or daemon e.g. dnswall Firefox NoScript ABE feature
  • 52. “Smart devices will make our life easier” Maybe in ~2100, but until then, it will make our life a nightmare
  • 53. My best advice: don’t buy IoT devices ;)
  • 54. Lessons learned for IoT vendors SDLC Continuous security testing and bug bounties Seamless auto-update Opt-in cloud
  • 55. Lessons learned for goverments Follow Federal Trade Comission FTC – fine vendors who put users at risk to maximize profit https://www.ftc.gov/news-events/press- releases/2016/02/asus-settles-ftc-charges- insecure-home-routers-cloud-services-put
  • 56. References, interesting links Best IoT Talk ever! 115 batshit stupid things you can put on the internet in as fast as I can go by Dan Tentler https://www.youtube.com/watch?v=hMtu7vV_HmY https://github.com/mandatoryprogrammer/sonar.js/tree/master https://www.youtube.com/watch?v=34GtH4tghjA https://jumpespjump.blogspot.com/2015/08/how-to-secure-your-home- against.html https://jumpespjump.blogspot.com/2015/09/how-i-hacked-my-ip-camera-and- found.html http://www.theverge.com/circuitbreaker/2016/7/12/12159766/internet-of- things-iot-internet-of-shit-twitter
  • 57.
  • 58. Hack the planet! One computer at a time … zoltan.balazs@mrg-effitas.com https://hu.linkedin.com/in/zbalazs Twitter – @zh4ck www.slideshare.net/bz98 Greetz to @CrySySLab, @SpamAndHex Thx to Attila Bartfai for the conversation starter JumpESPJump.blogspot.com