Categories: HackingSecurity

Raspberry Pi as physical backdoor to office networks

Network security engineer “Richee” explained how to use a Raspberry Pi to realize a physical backdoor to gain remote access to an office network.

Network security engineer “Richee” published an interesting post on how to use a tiny Raspberry Pi computer to obtain physical access into a corporate network. I decided to publish this post because it gives us a lesson on security perspective, Richee has in fact used the tiny Raspberry Pi hiding it in an ordinary laptop power brick, an object very common in any office and realizing in this way a physical backdoor into the network.

Despite it is possible to detect the presence of a new device within a network, in the reality majority of network administrators don’t analyze this crucial aspect, this is also well known to the research team that in the past have sustained the development of hardware able to monitor the host network and scan it for information gathering purpose.


Raspberry PiRaspberry Pi

DARPA and some start-up companies have already proposed in the past battery chargers or surge protectors. Just one year ago it was designed a device that look like a surge protector, but that in reality is a powerful tool to infiltrate networks allowing remote access to its machines. The device was called the Power Pwn, it’s an all in one solution that contains all necessary hacking tools used by security experts and pen-tester to exploit a network, the device is also equipped with Wi-Fi and Bluetooth adapters and give the opportunity to an attacker to control it via the cellular network thanks to a “text-to-bash” feature that lets hackers to send commands to the device using SMS messages.

The device makes possible to conduct a full and accurate penetration, following the comment of the CEO of Pwnie Express, Dave Porcello:

It’s a device “you can just plug in and do a full-scale penetration test from start to finish,” Porcello says. “The enterprise can use stuff like this to do testing more often and more cheaply than they’re doing it right now.”

The rapid evolution of tiny computers such as The Raspberry Pi as made available a true computer in the size of a cigarette pack with obvious repercussion. Raspberry Pi uses Linux kernel-based operating systems, Raspbian, a Debian-based free operating system optimized for the Raspberry Pi hardware, it has a 700 MHz processor and also 512MB of RAM, enough to make it ideal for a wide range of application, including pen testing.

The Raspberry Pi is very cheap, a few tens of dollars to have a machine that has various connection options such as HDMI, USB ports and Ethernet. With a bit of imagination, lots of creativity and cunning an attacker could hide these devices in everyday objects and it is precisely what he did Richee that fit the Raspberry Pi into a power brick, hooked up a black Ethernet cord, and jimmied up a power supply out of a plug and a USB converter.

The hardware part was ready, the hacker has masquerade a “PC” within a power brick, but it has also worked on the software component of the object. Richee has written a simple script that will connect to server at home via SSH, in this way the Raspberry Pi gives to  the attacker access to the host network.

Now let’s imagine the potential effect of a similar device used for espionage, you can object me that it is possible to do it with many other solutions and it is true, but have a Raspberry Pi in a target network as explained before could give to the attackers a various range of opportunity.

The Achilles heel of the solution presented is that laptop power bricks presents an Ethernet that could anyway be simply hidden behind a plant or a furniture. A similar solution is very devious because an attacker to gain access to an internet network and its information remaining unnoticed for a long time … Never let your guard down!

[adrotate banner=”9″] [adrotate banner=”12″]

Pierluigi Paganini

(Security Affairs – Hacking, Raspberry Pi)

[adrotate banner=”5″]

[adrotate banner=”13″]

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

U.S. CISA adds Microsoft Windows flaws to its Known Exploited Vulnerabilities catalog

U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds Microsoft Windows flaws to its Known Exploited…

3 hours ago

Ivanti fixed two EPMM flaws exploited in limited attacks

Ivanti addressed two Endpoint Manager Mobile (EPMM) software vulnerabilities that have been exploited in limited…

5 hours ago

Microsoft Patch Tuesday security updates for May 2025 fixed 5 actively exploited zero-days

Microsoft Patch Tuesday security updates for May 2025 addressed 75 security flaws across multiple products, including…

13 hours ago

Fortinet fixed actively exploited FortiVoice zero-day<gwmw style="display:none;"></gwmw><gwmw style="display:none;"></gwmw>

Fortinet fixed a critical remote code execution zero-day vulnerability actively exploited in attacks targeting FortiVoice…

15 hours ago

How Interlock Ransomware Affects the Defense Industrial Base Supply Chain

Interlock Ransomware 's attack on a defense contractor exposed global defense supply chain details, risking…

1 day ago

Marks and Spencer confirms data breach after April cyber attack

Marks and Spencer (M&S) confirms that threat actors stole customer data in the ransomware attack…

1 day ago