Security tips for peripheral devices (ITSAP.70.015)

Alternate format: Security tips for peripheral devices (ITSAP.70.015) (PDF, 993 KB)

Peripheral devices are devices that you connect to and use with a host computer or mobile device. You can use peripherals to enhance the capabilities of a computer or mobile device and improve your user experience. However, these devices can provide threat actors with another means to compromise your organization’s networks, systems, and information.

What are peripherals?

Peripherals include internal and external devices. Internal peripherals are built into a computer or mobile device by the manufacturer (e.g. video and sound cards, internal modems, and hard disk drives). External peripherals are connected either by cable, such as a USB or Thunderbolt cable, or to the host device’s port or even wirelessly using Wi-Fi or Bluetooth. Examples of external peripherals include keyboards, cameras, and external hard drives.

To assess the risks introduced by peripherals, your organization should identify the peripherals currently in use or planned for implementation. There are three general categories of peripheral devices:

  • An input peripheral sends information and instructions to the computer or the mobile device to which it is connected.
  • An output peripheral receives information and instructions from the computer or the mobile device to which it is connected.
  • A storage peripheral stores and retains information from a computer or a mobile device.

Knowing the types of peripherals (e.g. input, output, or storage) and the flow of information can help you choose and prioritize security controls that can protect sensitive systems and assets.

How do peripherals put me at risk?

Peripherals add convenience and improve your user experience. Threat actors try to exploit peripherals, such as in the example methods below, in the hopes of gaining access to your networks, systems, and sensitive information.

Smart cable manipulation

With smart connection cables, such as Lightning and USB-C cables, there are small microcontrollers embedded in the cable. Threat actors can program these microcontrollers, enabling them to attack the device you plug in. There are even commercial cables that contain a wireless hotspot, which can be targeted by threat actors.

Firmware vulnerabilities

Threat actors use the device firmware (the software that controls the device hardware) to run rootkits, a type of software that masks itself and hides malware on your device. This type of software enables threat actors to remotely control devices and access things like your network communications or your web cam.

Direct memory access attacks (DMA)

Once a threat actor has compromised device firmware or has physical access to a system, they can carry out DMA attacks to read and overwrite system memory. By overwriting memory, a threat actor can gain control of the system and perform malicious activities.

How can I use peripherals securely?

Assess peripherals

Your supply chain can impact your security. When purchasing peripherals, be sure to choose a reputable vendor that offers peripherals with security integrated. Use caution when gifted peripherals from unknown parties (e.g. a vendor at a conference). These free peripherals may contain malware that is designed to compromise devices that they are plugged into.

Verify and authenticate peripherals

Before you connect peripherals to networks and devices, verify that the listed device you are choosing is the known and trusted device (e.g. the correct printer).

To authenticate and authorize wireless connections, pairing codes and passkeys may be used. Be wary if you receive a pairing or connection request that you haven’t initiated. Once connected, devices remain on your list of paired devices. Always remove lost or stolen devices from your paired devices list.

Secure physical devices and cables

Maintain control and custody of your devices, including cables and chargers, to ensure they are not tampered with or switched out for other devices. Label all peripherals with a tamperproof asset label to ensure they can be identified easily and to prevent a threat actor from switching them out with other devices.

Never leave your devices unattended in public places. While it may be second nature to guard your phone or laptop, don’t forget to safeguard chargers, cables, and other peripherals.

Change default passwords

Typically, devices come with a default password that is provided by the manufacturer. Be sure to change default passwords, including administrator passwords.

You should use a unique and complex passphrase or password for each peripheral. If using a passphrase, ensure it consists of at least 4 words and is a minimum of 15 characters long.

Patch and update devices

You may know the importance of updating your computer and mobile device operating systems and applications, but don’t forget about peripherals. Ensure that you update, debug, and patch firmware regularly to ensure your devices are as secure as possible.

What else should I consider?

Before using peripheral devices, assess them against your business and security requirements to determine the associated risks and implement the appropriate safeguards. Your organization should also establish clear policies around the use of peripheral devices.

You can further protect your organization by taking the following actions:

  • Be wary when connecting to untrusted peripherals if you’re visiting a third-party facility (e.g. HDMI cables, USB dongles). Pay attention to any warnings or permissions requests from these peripherals.
  • Log off and shut down devices when not in use.
  • Turn off automatic connection capabilities to ensure that your devices do not automatically pair with unknown devices or connect to unsecure networks.
  • Connect peripheral devices to a guest network rather than your main internal network.
  • Sanitize peripherals to remove sensitive information before disposing of them.
  • Train your employees on the acceptable use of peripherals.

Learn more

If you’re looking for more cyber security tips on how to protect your devices, your information, and yourself, visit the Cyber Centre website ( To get you started, check out the following publications:

Report a problem on this page

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Please select all that apply:

Thank you for your help!

You will not receive a reply. For enquiries, please contact us.

Date modified: