Raspberry Pi OS update bolsters security against brute force attacks
The security change was made in line with increasing number of countries choosing to outlaw default credentials
Raspberry Pi has announced a new change to the device’s operating system that aims to improve its defences against cyber attacks.
First-time set up processes for Raspberry Pis have previously required users to set a custom password, but the latest change will mandate a custom default user name too.
Although developers have said that obtaining a common default user name, which was previously set to “pi” unless changed, isn't all that useful to hackers, they believe this change should help prevent brute force attacks and password spraying attempts.
“Just knowing a valid user name doesn’t really help much if someone wants to hack into your system; they would also need to know your password, and you’d need to have enabled some form of remote access in the first place,” said Simon Long, senior principal engineer at Raspberry Pi.
“But nonetheless, it could potentially make a brute-force attack slightly easier, and in response to this, some countries are now introducing legislation to forbid any Internet-connected device from having default login credentials.”
The UK’s Product Security and Telecommunications Infrastructure (PSTI) Bill was introduced in 2021 but drew criticism from experts who argued the Bill did not go far enough to ensure adequate protection for internet-connected devices.
The PSTI’s scope does not cover desktop and laptop computers, among an array of other devices, Martin Tyley, head of cyber security at KPMG UK, said to IT Pro earlier this year - a category under which Raspberry Pis would fall.
Sign up today and you will receive a free copy of our Future Focus 2026 report - the leading resource for IT decision-maker insight on priorities and investment areas in AI, security and more.
Edge to cloud security: A new WAN and security edge
A practical guide to adopting a secure access service edge (SASE) architecture
Long said the change to Raspberry Pi OS may introduce “a few issues” where software and its accompanying documentation assumes a default “pi” user is present, though “it feels like a sensible change to make at this point”.
After flashing a new OS image, users will be presented with a new, but familiar, Raspberry Pi OS set up wizard, which will no longer be optional. Users could previously press ‘cancel’ and were not forced to use it.
If users choose to manually set their user name and password to ‘pi’ and ‘raspberry’ respectively, the previous default credentials, they will be met with a warning prompt but such a configuration won’t be prohibited.
Raspberry Pi: Top projects to try yourself The top 12 password-cracking techniques used by hackers
There are also alternative options for users who cannot work through the first-time set up wizard, should they wish to bolster the security of their devices.
For users running a headless Raspberry Pi, there exists an option to preconfigure the OS image with a user account. Raspberry Pi has instructions on how to do this.
Existing Raspberry Pi installations can also configure their default user name by first updating their OS and then running the ‘sudo rename-user’ command. Users will be prompted to reboot and then a more basic version of the first-time set up wizard will appear, allowing users to set default credentials at this stage.
As part of the new set up wizard, users will also be able to pair Bluetooth peripherals without requiring an initial USB connection. The update removes the need for USB cables at any stage of connection, an occurrence Long said was "a bit irritating".
Connor Jones has been at the forefront of global cyber security news coverage for the past few years, breaking developments on major stories such as LockBit’s ransomware attack on Royal Mail International, and many others. He has also made sporadic appearances on the ITPro Podcast discussing topics from home desk setups all the way to hacking systems using prosthetic limbs. He has a master’s degree in Magazine Journalism from the University of Sheffield, and has previously written for the likes of Red Bull Esports and UNILAD tech during his career that started in 2015.
-
Need a fleet of solid Windows business laptops? Modernize with the Dell Pro 3Sponsored Aging laptops can nix a small business’s efficiency and productivity, but the Dell Pro 3 can help bring you up to date
-
5 features that make the Dell Pro 7 the ultimate travel laptop for business professionalsSponsored Discover five Dell Pro 7 features for business professionals on the move: lightweight design, privacy display options, premium collaboration tools, battery life, and layered security
-
Why is Windows 11 so disliked by programmers – and can Microsoft do anything to change things?In-depth Windows isn't the most useful OS in the eyes of developers, with programmers preferring macOS or Linux. But is its bad reputation uncalled for?
-
AI is coming to Ubuntu: Canonical exec teases future AI features and agentic workflow capabilities for version 26.10 — but on a ‘strictly opt-in basis’News A range of new AI features are coming to Ubuntu over the next year, according to maintainers, but only providing they’re of “sufficient maturity and quality”.
-
Windows 10 extended support costs could top $7 billionNews Enterprises sticking with Windows 10 after the October deadline face huge costs
-
A journey to cyber resiliencewhitepaper DORA: Ushering in a new era of cyber security
-
A new framework for third-party risk in the European Unionwhitepaper Report: DORA and cyber risk
-
Tiny11 review: Windows 11 with only 2GB of RAMReview A version of Windows 11 for older machines that don't meet the full requirements
-
Red Hat Enterprise Linux becomes foundational operating system for Cohesity Data CloudNews New strategic partnership between Red Hat and Cohesity aims to drive innovation in the data security and management space
-
Ubuntu shifts to four-week update cycleNews Critical fixes will also come every two weeks, mitigating the issues involved with releasing prompt patches on the old three-week cadence