Showing posts with label traffic. Show all posts
Showing posts with label traffic. Show all posts

05 April 2020

Analysis of Xiaomi YI camera connections

I have Xiaomi YI (YHS-113) camera at home and once I was wondering what servers does it connects to and what information it transmits. I had caught camera traffic on my router while it was booting and working.

Analysis revealed the following:
  1. Camera tried to connect to more than 20 servers.
  2. A part of connection is TCP, and other part is UDP.
  3. Not all connections were established (a part of servers didn't answer).
  4. Most of servers are in China, but several servers are in Amazon Cloud.
  5. Camera transfers to the "log.xiaoyi.com" server information about settings and WiFi name & ssid (see below).
  6. Camera checks is your router is Xiaomi Router or not.
  7. Connection to the "api.xiaoyi.com" server is secured by HTTPS with TLS 1.2.