O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. ·...
Transcript of O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. ·...
![Page 1: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/1.jpg)
O Real Valor da Nuvem
![Page 2: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/2.jpg)
copyright USTORE
uMessenger
![Page 3: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/3.jpg)
copyright USTORE
1. Introdução ao uMessenger
1.1 Motivação
1.2 Objetivos
2. Arquitetura do uMessenger
2.1 Topologia
2.2 Telegram como Serviço de Mensagem
2.3 Criptografia
2.3 KeyServer
2.3.1 Arquitetura
2.3.2 Implementação
2.3.3 KeyServer API
SUMÁRIO
![Page 4: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/4.jpg)
copyright USTORE
SUMÁRIO3. Apps uMessenger
3.1 uMessenger Android
3.2 uMessenger iOS
4. uMessegnger Maluhia: uMessenger em ambiente fechado
![Page 5: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/5.jpg)
copyright USTORE
CONCORRENTES
![Page 6: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/6.jpg)
copyright USTORE
PROBLEMASPrivacidade?
Onde estão armazenadas as mensagens?
Quem detém as chaves secretas?
E o prism/nsa?
Bring your own device(BYOD)
Concorrentes
![Page 7: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/7.jpg)
CONFIDENCIALcopyright USTORE
PROBLEMASPrivacidade
7
B A S I C F L A W I N W H A T S A P P C O U L D A L L O W
A T T A C K E R S T O D E C R Y P T M E S S A G E S *
I S S O M E O N E T R A C K I N G Y O U O N W H A T S A P P ?
H A C K E R S R E V E A L T O O L T O B Y P A S S P R I V A C Y
S E T T I N G S * *
![Page 8: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/8.jpg)
copyright USTORE
NOSSA SOLUÇÃOuMessenger
![Page 9: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/9.jpg)
copyright USTORE
O QUE É?"É uma suíte de comunicação nacional focada para o mercado corporativo. Utiliza-se de criptografia de nível militar para prover privacidade, integridade e autenticidade de mensagens.”
uMessenger
![Page 10: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/10.jpg)
copyright USTORE
+
uMessenger uMail
PLATAFORMA COLABORATIVAuConnect faz parte de uma
![Page 11: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/11.jpg)
copyright USTORE
COMPONENTESVisão Geral
uMessenger
Servidor de Mensagens MensaMensagem
0 1 0 1 0 1 0 1 0 1 0 0 0 1 1 0 1 0 1 0 0
0 1 0 1 0 1 0 1 0 1 0 0 0 1 1 0 1 0 1 0 0
elit
uMessenger KeyServer Push ServerAuth Server
![Page 12: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/12.jpg)
copyright USTORE
COMPONENTESPasso a passo
![Page 13: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/13.jpg)
copyright USTORE
SERVIÇO DE MENSAGEM
Telegram1. Velocidade no desenvolvimento da Solução
2. Serviço como cloud
3. API aberta
4. Clientes Open Source
5. Esquema de Criptografia Open Source
Mas trafegar mensagens sob um serviço desconhecido?
![Page 14: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/14.jpg)
copyright USTORE
PROTOCOLOS INSEGUROS E SERVIÇOS1. Sniffing
2. Sequestro de Sessão
3. Payload Crafting
4. Negação de Serviço
Etc…
![Page 15: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/15.jpg)
copyright USTORE
TÚNELProtocolos inseguros e serviços
ATRAVÉS DE UM "TÚNEL" PODEMOS CONECTAR CLIENTES EM AMBIENTE SEGURO MESMO EM UM AMBIENTE DITO INSEGURO.
SEGUIMOS A IDEIA DA PILHA TCP/IP ONDE CADA CAMADA É DELEGADA A UMA ÙNICA RESPONSABILIDADE.
![Page 16: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/16.jpg)
copyright USTORE
TÚNELComo?
Telegram pode escutar nossas mensagens? SIM
Telegram pode armazenar nossas mensagens? SIM
É preciso proteger a informação
Não podemos modificar o pacote do Telegram
Precisamos criptografar apenas o conteúdo real da mensagem
![Page 17: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/17.jpg)
copyright USTORE
TELEGRAM SCHEMAMessage
![Page 18: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/18.jpg)
copyright USTORE
CRIPTOGRAFIAMessage
![Page 19: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/19.jpg)
copyright USTORE
CRIPTOGRAFIAMessage
E2E CRIPTO
E2CCRIPTO
![Page 20: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/20.jpg)
copyright USTORE
CRIPTOGRAFIAMessage
Servidor de Mensagens
0 1 0 1 0 1 0 1 0 1 0 0 0 1 1 0 1 0 1 0 0
0 1 0 1 0 1 0 1 0 1 0 0 0 1 1 0 1 0 1 0 0
uMessenger KeyServer
![Page 21: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/21.jpg)
copyright USTORE
UCONNECT KEYSERVER
Escrito em Java & Play Framework
Responsável por criar/gerenciar chaves
Depende: uDrive Auth & MYSQL/MARIADB
Implementado on site ou cloud
Cluster e container friendly
![Page 22: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/22.jpg)
copyright USTORE
IMPLEMENTAÇÃO
A P IU _ C O NT R O L L E
R
G R O U P K E Y U S E R
K _ C O N T R O L L E R
U M E S S E N G E R K E Y S E R V E R
![Page 23: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/23.jpg)
copyright USTORE
![Page 24: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/24.jpg)
copyright USTORE
P O S T / C R E A T E G R O U P
![Page 25: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/25.jpg)
copyright USTORE
P O S T / G E T K E Y F O R G R O U P
![Page 26: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/26.jpg)
copyright USTORE
MEIO NÃO TÃO INSEGUROMTProto
![Page 27: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/27.jpg)
copyright USTORE
APPS uMessenger
![Page 28: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/28.jpg)
copyright USTORE
IMPLEMENTAÇÃO APPS
![Page 29: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/29.jpg)
copyright USTORE
uMessenger OS
![Page 30: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/30.jpg)
copyright USTORE
uMessenger ANDROID
![Page 31: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/31.jpg)
copyright USTORE
uMessenger Maluhia
![Page 32: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/32.jpg)
copyright USTORE
COMPONENTESVisão Geral
![Page 33: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/33.jpg)
copyright USTORE
VISÃO TÉCNICA Privacidade
![Page 34: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/34.jpg)
copyright USTORE
VISÃO TÉCNICA Privacidade
![Page 35: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/35.jpg)
copyright USTORE
UMQTT BROKER
Escrito em Erlang
Responsável pelo roteamento de mensagens
Implementado on site ou cloud
Cluster e container friendly (docker)
Fork de Projeto Open Source
Benchmark -> 1.3M conexões concorrentes (12 Cores,32G)
![Page 36: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/36.jpg)
copyright USTORE
DISCOVERY SERVER
Escrito em Node.JS
Responsável pelas informações persistentes
Responsável por conhecer os clientes online e offline
Implementado on site ou cloud
![Page 37: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/37.jpg)
copyright USTORE
UMQTT
Protocolo de transporte de mensagens
Extremamente leve e simples
Visa aplicações com conexões restritas/limitadas
Utiliza padrão Publish-Subscribe
E.g. Troca de mensagens entre satélites
Compatível com o MQ TELEMETRY TRANSPORT
![Page 38: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/38.jpg)
copyright USTORE
PUB/SUB
Desagregação de publisher e subscriber
publisher e subscriber não precisam rodar simultaneamente
Mensagens filtradas por tópico
Uso de QoS
UMQTT
![Page 39: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/39.jpg)
copyright USTORE
QoS
No máximo uma -0
Pelo menos uma -1
Exatamente uma -2
UMQTT
![Page 40: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/40.jpg)
copyright USTORE
ROADMAP
Multimedia -Fotos-Áudio-Video
Criptografia
Voice over IP
Web Client
Shared Work (uDrive)
Video Conf
uMQTT 2.0
Real Time Metrics
Chat Bots
.
.
.
2017.1 ~ 2017.2 ~ 2018.1
![Page 41: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/41.jpg)
copyright USTORE
SCREENSHOTS IOS
![Page 42: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/42.jpg)
copyright USTORE
SCREENSHOTS ANDROID
![Page 43: O Real Valor da Nuvemustore.com.br/wp-content/uploads/2020/03/uMessenger.pdf · 2020. 3. 20. · CONFIDENCIAL copyright USTORE +55 11 99101 3507 +55 81 3224 5271 ncampelo@usto.re](https://reader036.fdocumento.com/reader036/viewer/2022090810/611c66770fee3815be364511/html5/thumbnails/43.jpg)
CONFIDENCIALcopyright USTORE
+55 11 99101 3507
+55 81 3224 5271
Rua do Rocio, 423 conj 306São Paulo – SP
www.ustore.com.br
CONTATO