4.2.3.3 Packet Tracer - Securing Cloud Services in the IoT (Answers)

Packet Tracer Packet Tracer Labs Original source

4.2.3.3 Packet Tracer - Securing Cloud Services in the IoT (Instructor Version)

Topology

Objectives

Deploy Basic Security Measures for IoT Systems with Cloud Services.

Background / Scenario

ABC Compnay is developing IoT systems in their main warehouse. The objective is to deploy some physical security devices around the warehouse so that, when the warehouse is closed, these devices will monitor the doors and windows. When an intruder is detected, the lights are turned on and web cameras will start recording.

The security is an important aspect in addition to the function of IoT systems with cloud services.

In this Packet Tracer activity you will complete configuration tasks:

Required Resources

Step 1 – Register IoT Devices to the Registration Server

  1. Use a PC in the WH office. Under Desktop tab, open Web Browser, type www.registrar1.pka and select Go. The Registration Server Login window displays.

  2. Click Sign up now and create your own account with a strong password (ensure a password is at least 8 characters long with combination of capital characters, lower case characters, and numbers).

  3. What is your username and password? Daniel Daniel

  1. Within the warehouse, click on Motion Detector. Under the Config tab, select Remote Server in the IoT Server section. Enter www.registrar1.pka as the server address and click Connect. Enter the username/password you just created.

  2. Does Motion Detector appear in the registration server? Yes

  3. Repeat steps 1 and 2 to register the Light, Webcam, and Trip Sensor.

Step 2 – Add Conditions in the Registration Server

You will add conditions in the registration server so that when either the Motion Detector or Trip Sensor is activated, the directed light and the webcam are turned on.

  1. Name it LightsOn1, if MD status On is true, then set Directed Light status to On AND set CAM status On to true.

  2. Name it LightsOn2, if TS status On is true, then set Directed Light status to On AND set CAM status On to true.

  3. Name it LightsOff, if both MD status On is false AND TS status On is false, then set Directed Light status to Off AND set CAM status On to false.

  4. Test the conditions.

    Hold the ALT key and move the mouse over Motion Detector. Are Directed Light and Webcam turned on?
    Yes

Move the mouse away and wait for a few seconds. Are Directed Light and Webcam turned off?
Yes


Step 3 – Configure Strong Authentication to Network Devices

  1. Within the warehouse, click on the WH Gateway device. Under the Config tab, Wireless option, set the SSID to WhGateway1, set Authentication to WPA2-PSK with Pass Phrase as IoTWh001. Leave Encryption Type as AES.

  2. Click on the Laptop. Under the Config tab, Wireless0 option, set the SSID to WhGateway1, set Authentication to WPA2-PSK with Pass Phrase as IoTWh001. Leave Encryption Type as AES.

Does the laptop connect to WH Gateway successfully?
Yes

  1. Click the Warehouse 2911 router, then click the CLI tab and enter these commands:

Copy

Warehouse> enable

Warehouse# config terminal

Warehouse(config)# banner login %Login with valid password%

Warehouse(config)# banner motd %Authorized Access Only! Unauthorized access is

subject to Federal Prosecution.%

Warehouse(config)#
  1. Set a secure Exec mode password:

Copy

Warehouse(config)# enable secret AbcWh001

Warehouse(config)# exit
  1. Set a local username for the console line and VTY lines access:

Copy

Warehouse# configure terminal

Warehouse(config)# username WhAdmin secret AbcLine001

Warehouse(config)# line console 0

Warehouse(config-line)# login local

Warehouse(config-line)# exit

Warehouse(config)# line vty 0 4

Warehouse(config-line)# login local

Warehouse(config-line)# end

Warehouse#

Step 4 – Configure Access Lists to Restrict Traffic between ABC Company IoT devices and the Cloud Service Provider Network

Copy

Warehouse# configure terminal

Warehouse(config)# access-list 10 permit host 172.18.1.5

Warehouse(config)# access-list 10 permit host 209.165.201.5

Warehouse(config)# interface g0/2

Warehouse(config-if)# ip access-group 10 out

Warehouse(config-if)# end

Warehouse#

Copy

CSP# configure terminal

CSP(config)# access-list 110 permit ip host 209.165.200.226 host 209.165.201.5

CSP(config)# access-list 110 deny ip any host 209.165.201.5

CSP(config)# access-list 110 permit ip any any

CSP(config)# interface g0/0

CSP(config-if)# ip access-group 110 out

CSP(config-if)# end

CSP#

In the ACL 110, why is the warehouse router interface IP address selected as the source in the ACL 110?
Because this IP address is used in NAT as the inside global IP address.

Step 5 – Configure Secure Web Communication to the Web Server in the Cloud Service Provider Network

  1. Click CSP Svr, then click the Services tab.

  2. Click HTTP on the left pane. Make certain that HTTP is off and HTTPS is on.

Step 6 – Test

Reflection

What security measures are implemented?
Hardening of network devices, secure wireless access and ACLs

What other security measures should be considered when deploying IoT solutions with cloud computing?
Answers may vary.

Download 4.2.3.3 Packet Tracer - Securing Cloud Services in the IoT

Icon

4.2.3.3 Packet Tracer - Securing Cloud Services in the IoT.PKA

1 file(s) 829.00 KB

Download

← All Packet Tracer articles Home