Securing Your Smart Home Network

Image for post
Image for post

Introduction

Network Communications Security

Introduction to the Smart Home System

Image for post
Image for post

Attack and Defense

Method 1: No Encryption

Communication Process

Attack Method

Analysis

Method 2: Using Static Key

Analysis

Method 3: Adding a Time Stamp

Communication Process

Attack Process

Analysis

Method 4: Adding a Serial Number

Analysis

Disclosure of Static Key

Solution 1: Limiting Access to the Encryption Key

const char *encrypt_key = "adi3dfa;9era";
...
strings libEncrypt.a
//! The name should not expose the encryption key. It should be in a common phrase
char encrypt_key[128] = {0};
//! The name should not expose the encryption key. It should be in a common phrase
void GenerateEncryptKey()
{
//! The key in the encrypt_key is generated through a certain algorithm here
}

Solution 2: Automatically Generating an Encryption Key

SmartHost Logging on to the Server

Client and SmartHost

To search for SmartHost

Binding the SmartHost

Client and Server

Registering an Account

Logon

Attack Simulation

Conclusion

Follow me to keep abreast with the latest technology news, industry insights, and developer trends.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store