CWISA-102 Chapter Ten

Below you will find the key ideas from Chapter 10 of CWISA-102.

Importance of Security Solutions

  • Protection of data.
  • Protection of users.
  • Protection of machinery.

Security is a crucial component of wireless solutions, especially in user-based networks where mobile devices access network resources. Protecting both data and users is a primary concern, and safeguarding their devices is equally important. Regardless of the wireless solution at hand, security should be a top priority throughout the entire lifecycle of the system, from selection and planning to implementation, maintenance and decommissioning.

ISO/IEC 27033-6:2016

ISO/IEC 27033-6:2016 outlines common security threats to wireless devices, with the aim of defining specific risks, design techniques and control measures for securing IP wireless networks. Some of the common threats include:

  1. Unauthorized access.
  2. Packet sniffing.
  3. Rogue wireless access points.
  4. Denial-of-service attacks.
  5. Device tracking.

OWASP IoT Security Threats

  1. Weak, guessable or hardcoded passwords.
  2. Insecure network services.
  3. Insecure ecosystem interfaces.
  4. Lack of a secure update mechanism.
  5. Use of insecure or outdated components.
  6. Insufficient privacy protection.
  7. Insecure data transfer and storage.
  8. Lack of device management.
  9. Insecure default settings.
  10. Lack of physical hardening.

CIA

  1. Confidentiality: only authorized individuals or systems should have access to information, and it should not be shared with third parties without consent.
  2. Integrity: data and systems must be protected from intentional, unauthorized or accidental changes. If any alteration occurs, the intended recipient should be able to detect it.
  3. Availability: data and systems are operational and accessible when required, in a timely manner.

Several technologies and practices can be used to implement CIA and secure information systems:

  • Encryption: keeps data confidential, as it can only be read by someone who has the correct decryption key.
  • Access control: protects the integrity of data by limiting who can access it and what they can do with it.
  • Backup and disaster recovery: ensures the availability of data, which is important for keeping an information system running.
  • Firewalls: a key technology for securing networks by blocking unauthorized access and limiting the flow of traffic between networks.
  • Intrusion Detection and Prevention Systems: monitor network traffic and alert administrators to suspicious activity or potential threats.
  • Security Information and Event Management (SIEM): collects and analyzes security-related data from various sources to identify potential threats and alert administrators.

Privacy, Non-Repudiation, Authenticity

  • Privacy: the terms privacy and confidentiality are often used interchangeably because they share commonalities. However, privacy is more concerned with an individual’s right to keep personal information to themselves and not to be recorded. Confidentiality, on the other hand, is the assurance of data privacy, limiting access to information to authorized entities.
  • Non-repudiation: prevents a person or entity from denying that they performed a specific action.
  • Authenticity: confirms the identity of the parties involved in a transaction, ensuring that each entity is who it claims to be.

Authentication

With authentication, we can ensure confidentiality, integrity and non-repudiation. Authentication can be based on:

  • Something you know.
  • Something you are.
  • Something you have.

A combination of these methods is known as multi-factor authentication.

Encryption

Because wireless signals are transmitted over the air, it is critical to protect communications from eavesdropping. The most effective tool against it is encryption.

Encryption converts plaintext, or any other form of data, into an encoded format that can only be deciphered by a party that holds the decryption key. Its primary objective is confidentiality: a third party will only see encrypted data and will be unable to understand the message, even if it knows the encryption algorithm.

Conventional cryptographic algorithms can be hard to apply on small IoT devices such as RFID tags, sensors and smart cards. For these systems, lightweight cryptographic techniques have been proposed. Some examples are:

  • Tiny Encryption Algorithm (TEA).
  • Extended TEA (XTEA).
  • PRESENT.
  • SIMON.
  • Scalable Encryption Algorithm (SEA).

Secure Boot

Secure boot ensures that a device’s firmware, operating system and other critical software have not been tampered with or compromised. It protects against bootkits and malware that can infect the firmware and operating system. Before allowing them to load, secure boot verifies their integrity by checking cryptographic signatures against a trusted database of known good signatures.

Implementing secure boot on an IoT device requires a trusted platform module (TPM) or a similar hardware security module. The TPM stores the cryptographic keys needed to verify the signatures of the firmware and operating system, which protects the integrity of the boot process.

Trusted Software / Signed Software

Trusted software is recognized as reliable and secure. It is commonly used where the software manages sensitive data or performs critical functions, and it is typically developed and maintained by reputable organizations, with extensive testing and validation.

Signed software has been digitally signed by its developer or publisher to verify authenticity and integrity. A digital signature confirms that the software has not been tampered with and that it comes from a trusted source.

Segmentation: Traditional (North / South)

Network segmentation divides a network into multiple segments or subnets, each operating as an independent, smaller network. It is achieved by managing the flow of traffic, which can be controlled by factors such as location, traffic type, source and destination.

Segmentation should not be mistaken for microsegmentation, a strategy that reduces an organization’s attack surface by applying targeted security controls to restrict east-west communication at the workload level. The two differ in several ways:

  • Traditional segmentation covers a larger part of the network. Microsegmentation can be applied at the device level, which makes it great for IoT and edge devices.
  • Network segmentation works with the physical network. Microsegmentation is for virtual networks.
  • Segmentation policies are broad. Microsegmentation policies are much more granular.
  • Network segmentation is hardware-based. Microsegmentation is typically software-based.
  • Network segmentation limits north-south traffic at the network level. Microsegmentation limits east-west traffic at the workload level.

Zigbee Security

Zigbee uses link keys and network keys. Link keys are shared between two communicating devices and are used mainly for unicast encryption. Network keys are used by all devices in the network and are designed for broadcast encryption. In a centralized architecture, a single trust center oversees the entire network, and Zigbee coordinators and routers rely on it to provide keys and to handle provisioning and joining. In a distributed architecture, Zigbee coordinators and routers may act as the trust center for the network they manage.

An installation code can be used for joining the network, and it must match a code previously registered with the trust center or Zigbee coordinator. The code may be a number or a QR code and acts as a pre-shared key established out of band. The install code is a 128-bit number with a 16-bit CRC, and the link key is derived from it using the Matyas-Meyer-Oseas (MMO) hash function.

Z-Wave Security

All modern Z-Wave devices fall into one of three security classes:

  • S2 Access Control: highest security (out-of-band key exchange, encryption of all command transmissions).
  • S2 Authenticated: medium security (out-of-band key exchange, encryption of all command transmissions).
  • S2 Unauthenticated: lowest security (no authentication of the device during inclusion).

Z-Wave comes in two primary security versions: S0 and S2. S2 is required for devices certified by the Z-Wave Alliance after April 2017. Z-Wave 500 and Z-Wave 700 devices both use the Smart Start specification to join the Z-Wave network. S2 devices are joined using a PIN, a Device Specific Key (DSK) or a QR code.

LoRa/LoRaWAN Security

The LoRa side of the network uses the NwkSKey to secure the integrity of MAC frames. LoRaWAN uses the AppKey to encrypt payloads all the way to the destination. All encryption is implemented using AES-128.

Devices may join the LoRaWAN network using Over-the-Air Activation (OTAA) or Activation by Personalization (ABP).

With OTAA, session keys are negotiated during activation, which makes it the more secure approach. With ABP, the session keys are hardcoded into the device, and the device must be pre-registered on the LoRaWAN network.



Deja una respuesta