Experts at firmware security firm Eclypsium have discovered that many peripheral device manufacturers have not implemented security checks to prevent the installation of firmware from an
An attacker could exploit the lack of checks to execute malicious firmware and perform malicious actions on both Windows and Linux systems, such as the installation of persistent
“The problem is that peripheral devices often lack the same security best practices that we take for granted in operating systems and in other more visible components, like the UEFI or BIOS.” reads the post published by Eclypsium.
“Many peripheral devices do not verify that
Experts highlighted that attackers could tamper the firmware of devices, such as network cards, drives, and other peripherals, to remotely control them or for sabotage.
This kind of attack is not theoretical, the NSA-linked APT group Equation Group used these techniques to compromise the firmware on hard drives.
The researchers analyzed the flaws in four types of peripheral firmware for
Peripheral devices don’t implement mechanisms to validate that the firmware loaded by the device is authentic, this means that an attacker could simply insert a malicious or vulnerable firmware image, which the component would run.
Attackers can plant malicious firmware on a network adapter to intercept or alter traffic or hack into PCI devices to carry out DMA attacks.
Eclypsium has found security issues in the
The experts also published a video PoC of an attack on a network interface, a Broadcom chipset, that runs an unsigned firmware.
“A malicious attack on a NIC can have a profound impact on the server, compromising the operating system remotely, providing a remote backdoor, snooping and exfiltrating raw network traffic and bypassing operating system firewalls to extract data or deliver ransomware.” reads the analysis published by the experts. “Such an attack could disconnect a server from a network upon a signal, disrupting connectivity for an entire data center,”
The attack chain demonstrated by the experts sees the attackers initially delivering a piece of malware to the targeted machine via email, a malicious website or an evil maid attack. The malware act as an attack vector used to load the tainted firmware onto a peripheral device that is not able to validate its origin and authenticity.
Experts pointed out that the difficulty in carrying out the attack depends on specific devices. For some devices, the firmware could be updated by unprivileged users, such as the case of the Sunplus webcam firmware.
The experts pointed out that on Linux and Windows it is necessary to implement a mechanism to verify the firmware signature before an update, while Apple devices mitigate implements a verification of the signature of the files in a driver package, including the firmware, every time it’s loaded on a device.
“The issue of unsigned firmware in peripheral devices is a widespread problem affecting a broad spectrum of brands and their ODM suppliers.” concludes the report. “Unsigned firmware
(SecurityAffairs – unsigned firmware, hacking)