Replies: 4 comments 1 reply
-
This is so cool, thank you for testing the security of BirdNET-Pi! I think Patrick gave us a great foundation with his attention to security, which becomes obvious with a glance through the source code. I think It definitely helps that this project is open source, since 1) we can't hide with security by obscurity, and 2) we have a community (including people like you) constantly auditing the way our stuff works. All of that makes for a pretty robust and secure application. Thanks again! Definitely feel free to post if you do further scans or discover anything of interest. 🙂 |
Beta Was this translation helpful? Give feedback.
-
OK let's thrash it a bit directly with Apache Bench, this is making 1000 requests, 100 per second. My laptop is wifi connected to my home network and the Pi is gigabit connected. So I have much better connectivity to it than the internet connection. I am using my laptop to "bully" the Raspberry Pi and the Pi responds well. Bear in mind I am using a Pi 3 which is quite old nowadays.
|
Beta Was this translation helpful? Give feedback.
-
I've just done another run and all good. Do make sure you update your BNP via Tools -> System Controls, Update will have a number in red on it it. Please do this job monthly - that is the IT norm. |
Beta Was this translation helpful? Give feedback.
-
All clear apart from the click jacking thing. I'm inclined to mitigate this but it will break embedding BNP pages in another website. I think the best thing would be to make it an option in Tools/Settings/Advanced which defaults to on. That will protect everyone and only mildly inconvenience people who want to embed BNP in another website. I'll file a bug with some details. |
Beta Was this translation helpful? Give feedback.
-
TL;DR: Out of the box, I think a BirdNET-Pi installation is decently secure, and will continue to be so provided it is kept up to date.
I run a small IT company in the UK and one of the things we as a company worry about quite a lot is security. I recently installed BirdNET-Pi on a Pi 3B+ that was lying around. It is next to a park and at this time of year the noise from the birds is nigh on deafening. All good - love the interface, ease of install. Noted the caddy frontend - great choice.
We have a system called Nessus which does IT security scanning and quite a lot of other tools. I have just done a PCI/DSS internal scan with credentials on my Pi. In English that means I let Nessus login and poke around at everything from the point of view of being secure enough to run point of sale credit card equipment - PCI means Payment Card Industry, DSS means Data Security Standard. It passed with four "medium" issues that I evaluated and considered OK. Please bear in mind that this is not official certification of any sort and only an indicator of how well I personally evaluate the system and the output from my scanner.
Nessus does tend to "batter" things when it scans and we encourage that to look for weaknesses. Only today we knackered a school's telephone system with it! BNP was unruffled and ticked on. I deliberately used a Pi 3 which is way slower than a 4 and left everything at defaults. I did use a USB stick and not a SD card. I installed the latest Pi OS 64 bit lite and updated it first and then ran the .sh installer (once I'd quickly read it through)
I will run more scans against it but I fully expect it to be fine. If not I'll be posting issues.
So, out of the box, I consider BNP is decently secure but you must keep it up to date if you put it on the internet. If you only have it available on your home LAN then it is still good practice to update regularly but not quite so imperative. If you put it on the internet, you must set a password otherwise it will soon cease to belong to you alone!
If you have any worries about security, post back here and I'll keep an irregular eye on this thread.
Beta Was this translation helpful? Give feedback.
All reactions