Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Wartime Pigeons
Search
Takahiro Yoshimura
March 29, 2022
Technology
0
5
Wartime Pigeons
An analysis on the Telegram Android app (OWASP Saitama MTG #7, talk #2)
Takahiro Yoshimura
March 29, 2022
Tweet
Share
More Decks by Takahiro Yoshimura
See All by Takahiro Yoshimura
In The Middle Of Chatter #2
alterakey
0
10
Chaotic Channel
alterakey
0
27
In The Middle Of Chatter #1
alterakey
0
32
Shadow Runners 2
alterakey
0
6
Shadow Runners
alterakey
0
6
Looking Back: 2023
alterakey
0
8
Fill In The Blank
alterakey
0
8
Ticket To The Dark World
alterakey
0
11
Looking Back: 2022
alterakey
0
8
Other Decks in Technology
See All in Technology
"とにかくやってみる"で始めるAWS Security Hub
maimyyym
2
140
【Pycon mini 東海 2024】Google Colaboratoryで試すVLM
kazuhitotakahashi
2
630
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
600
Making your applications cross-environment - OSCG 2024 NA
salaboy
0
210
SRE×AIOpsを始めよう!GuardDutyによるお手軽脅威検出
amixedcolor
1
260
組織成長を加速させるオンボーディングの取り組み
sudoakiy
3
340
The Role of Developer Relations in AI Product Success.
giftojabu1
0
160
もし大規模障害が、10分で解決できたら?
masaaki_k
0
110
EventHub Startup CTO of the year 2024 ピッチ資料
eventhub
0
130
Storybook との上手な向き合い方を考える
re_taro
5
3.5k
Flutterによる 効率的なAndroid・iOS・Webアプリケーション開発の事例
recruitengineers
PRO
0
170
初心者向けAWS Securityの勉強会mini Security-JAWSを9ヶ月ぐらい実施してきての近況
cmusudakeisuke
0
150
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
380
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
24k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
Ruby is Unlike a Banana
tanoku
97
11k
Music & Morning Musume
bryan
46
6.2k
Docker and Python
trallard
40
3.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Code Reviewing Like a Champion
maltzj
520
39k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Transcript
WARTIME PIGEONS 2022.3.29 OWASP SAITAMA MTG #7, TALK #2
TEXT SESSION FLAGS ▸ ըɾԻɾެ։: OK Image by Nico Kaiser
on flickr, CC-BY 2.0
TEXT WHO I AM ▸ Takahiro Yoshimura (@alterakey) https://keybase.io/alterakey
▸ Monolith Works Inc. Co-founder, CTO Security researcher ▸ ໌࣏େֶαΠόʔηΩϡϦςΟݚڀॴ ٬һݚڀһ
TEXT WHAT I DO ▸ Security research and development ▸
iOS/Android Apps →Financial, Games, IoT related, etc. (>200) →trueseeing: Non-decompiling Android Application Vulnerability Scanner [2017] ▸ Windows/Mac/Web/HTML5 Apps →POS, RAD tools etc. ▸ Network/Web penetration testing →PCI-DSS etc. ▸ Search engine reconnaissance (aka. Google Hacking) ▸ Whitebox testing ▸ Forensic analysis
TEXT WHAT I DO ▸ CTF ▸ Enemy10, Sutegoma2 ▸
METI CTFCJ 2012 Qual.: Won ▸ METI CTFCJ 2012: 3rd ▸ DEF CON 21 CTF: 6th ▸ DEF CON 22 OpenCTF: 4th ▸ ൃදɾߨԋͳͲ DEF CON 25 Demo Labs (2017) DEF CON 27 AI Village (2019) CODE BLUE (2017, 2019) CYDEF (2020) etc. Image by Wiyre Media on flickr, CC-BY 2.0
TEXT BACKGROUND ▸ ϩγΞʹΑΔΫϥΠφ৵߈ ▸ IT Army of Ukraine
ΫϥΠφ͕ࢦش͢ΔαΠόʔٛ༐܉ ▸ Ճೖཁ݅: ಛʹͳ͠ ▸ ใୡ: Telegram
TEXT TELEGRAM ▸ Telegram ▸ ϩγΞͰVKΛڵͨ͠Durovܑఋ͕ॻ͍ͨ IMϓϥοτϑΥʔϜ →VKϓʔνϯݖʹऩ͞ΕɺPavel͕ѹྗ
Λݏͬͯࠃ֎Ҡॅͨ͠ޙɺͬͨNikolaiΛۚમ తʹࢧԉ͠MTProto (લ) ͕ग़དྷͨ… ▸ ӳࠃόʔδϯॾౡͱυόΠʹHQ͕͋Δ ▸ ӦརΛతͱ͠ͳ͍ɺ͕ͩඇӦརஂମͰͳ͍
TEXT TELEGRAM ▸ Telegram ▸ L&Fͱͯ͠LINEʹ͍ۙ →ଟରௌऺ͕͍ۙͷͰ ▸ ຊͰٗूஂ͕ࢦش໋ྩܥ౷ʹ࠾༻
▸ Self-destruction / E2EE ▸ ͕͍͠ͱ͍͏͜ͱͰݏΘΕΔ ▸ ϓϥοτϑΥʔϜతʹѱ͍ͷͰͳ͍
TEXT TELEGRAM ▸ Telegram ▸ ҉߸ܥͷܽؕ → Ұ࣌ظ͕͋ͬͨɺݱࡏվम ͞Ε͍ͯΔ (Royal
Holloway/ETH Zurich) ※ݖʹΑΔׯবʹ͍ͭͯใ͕ͳ͍ ▸ ߴͳ҉߸Խʁˠ E2EEݸਓ͚ؒͩ ▸ ߴͳಗ໊ੑʁ → ి൪߸ʹඥ͚ Self-destructionSnapchat/WhatsappͰ ׂͱී௨ʹ͋Δ
TEXT OPEN QUESTIONS ▸ αʔόͲ͜ʹ͋Δͷ͔ ▸ ݖͷख͕ಧ͘Մೳੑʁ ▸ ٛ༐܉ͷࢦشʹ͑ΔΑ͏ͳ҆શੑͳͷ͔ ▸
Ϣʔβͷݩׂ͕ΕΔՄೳੑʁ ▸ Ϣʔβͷपลਓׂ͕ΕΔՄೳੑʁ ▸ ཪΓ͔Ͷͳ͍Ӆ͠ػೳͳͲͷଘࡏʁ Image by ☼☼Jo Zimny Photos☼☼ on flickr, CC-BY-NC-ND 2.0
TEXT TELEGRAM ▸ Telegram ▸ ΫϥΠΞϯτFLOSS (GPL-2) ▸ UI/UXඇৗʹ༏Ε͍ͯΔͱײ͡Δ ▸
αʔόॳެ։͢Δͱ͍ͯͨ͠ͷ͕ͩ… ެ։ʹ͚ͨಈ͖ࠓͷͱ͜Ζͳ͍
TEXT ANALYSIS ▸ Telegram for Android 8.6.2 (࠷৽) ▸ πʔϧΩοτ
▸ Trueseeing 2.1.2 ▸ github (FLOSSͱ͍͏͜ͱͰ) Swiss Army Knife on black by Edgar Pierce on flickr, CC-BY 2.0
TEXT MANIFEST ANALYSIS ▸ API: 23ʙ (target: 30) ▸ Network
Security Con fi g: ͳ͠ ▸ ݖݶཁٻ: ඇৗʹଟ͍͕ɺ·ͩଥͳൣғ
TEXT DATACENTER GEOLOCATION ▸ GB: 149.154.175.50:443 2001:b28:f23d:f001:0000:0000:0000:000a:443
149.154.167.51:443 2001:67c:4e8:f002:0000:0000:0000:000a:443 149.154.175.100:443 2001:b28:f23d:f003:0000:0000:0000:000a:443 149.154.167.91:443 2001:67c:4e8:f004:0000:0000:0000:000a:443 149.154.171.5:443 2001:b28:f23f:f005:0000:0000:0000:000a:443 149.154.175.40:443 2001:b28:f23d:f001:0000:0000:0000:000e:443 149.154.167.40:443 2001:67c:4e8:f002:0000:0000:0000:000e:443 149.154.175.117:443 2001:b28:f23d:f003:0000:0000:0000:000e:443
TEXT DATACENTER GEOLOCATION ▸ NL/GB: 95.161.76.100:443 ▸ Telegram Messenger
Inc (AS62041) ▸ Global Network Management Inc (AG) ; AS31500 ▸ Vodafone Group PLC (GB) ; AS1273 ▸ Telecom Italia S.p.A (IT) ; AS3269 ▸ Amsterdam Internet Exchange B.V. (NL) ; AS6777
TEXT FINDINGS ▸ AS62041ͷදऀNikolai ▸ ࠃ֎Ҡॅͨ͠ͷఋͷPavelͷํͳͣ ▸ Wikipedia͕ؒҧ͍ͬͯΔʁ ▸ ࿐ʹ͍ͭͭࠃ֎اۀͷCEOΛ͍ͯ͠Δʁ
TEXT FINDINGS ▸ API: 23ʙ (target: 30) Network Security
Con fi g: ͳ͠ ▸ TLS interception (API == 23) ▸ ݱ࣌ͰAPI 23Λٹࡁ͢Δཧ༝ͱ…
TEXT FINDINGS ▸ ฏจ௨৴ ▸ Google Map Directions: ݱࡏͱߦ͖ઌ͕࿙ ΕΔՄೳੑ
TEXT FINDINGS ▸ ฏจ௨৴ ▸ ͋Δಈըڞ༗αʔϏεΛ༻ͨ͠ࡍʹɺӾཡ ཤྺ͕࿙ΕΔՄೳੑ
TEXT FINDINGS ▸ ฏจ௨৴ ▸ ଂWebViewʹ͓͍ͯMIXED_MODEͷ໌ࣔ త༗ޮԽͷࣔࠦ → ϚϧΣΞૠೖՄೳੑ
TEXT REPORTING POLICY? ▸ Issueͷӡ༻͕ͳ͍, PRͷϚʔδ͕ۃʹগͳ͍ →ಁ໌ͳҹड͚ͳ͍
TEXT FINDINGS ▸ ి൪߸ͷൣͳ༻ ▸ ͳͥి൪߸ʹؔ࿈͚͕ͨΔͷ͔… ▸ ॳظcontactsͷੜ
TEXT PHONE NUMBERS AS IDS ▸ ి൪߸ͷൣͳ༻ ▸ SignalͳͲͰ͜ͷ ▸
Session͕͜ΕΛഉ͢Δ࣮ݧΛ͍ͯ͠Δ͕…
TEXT TAKEAWAYS ▸ IT ArmyͷࢦشʹTelegram͕༻͞Ε͍ͯΔ ▸ TelegramΫϥΠΞϯτFLOSS ▸ αʔόӳࠃ·ͨΦϥϯμ ▸
ཱͬͯ҆શͱ͍͏Θ͚Ͱͳ͍ ▸ Ή͠Ζएׯͷෆ͕҆Δ →͍͔ͭ͘ͷɺՃ͑ͯӡӦ͕ෆಁ໌ →ݸਓతʹ͍ͨ͘ͳ͍
TEXT TAKEAWAYS ▸ ͲͪΒ͔ͱ͍͑Signalͷ΄͏͕͍͍͕… ▸ ి൪߸ʹؔ࿈͚ΔͷΊͯ΄͍͠
TEXT OPEN QUESTIONS, REVISITED ▸ αʔόͲ͜ʹ͋Δͷ͔ ▸ ݖͷख͕ಧ͘Մೳੑʁ → ଟͳ͍
▸ ٛ༐܉ͷࢦشʹ͑ΔΑ͏ͳ҆શੑͳͷ͔ ▸ Ϣʔβͷݩׂ͕ΕΔՄೳੑʁˠ͋Δ ▸ Ϣʔβͷपลਓׂ͕ΕΔՄೳੑʁˠ͋Δ ▸ ཪΓ͔Ͷͳ͍Ӆ͠ػೳͳͲͷଘࡏʁ →ଟͳ͍ Image by ☼☼Jo Zimny Photos☼☼ on flickr, CC-BY-NC-ND 2.0
FIN. 2022.3.29 TAKAHIRO YOSHIMURA (@ALTERAKEY)