Questions tagged [security]

Questions related to security of data on the Raspberry Pi. Also includes questions on using it in a security system (e.g. as a firewall).

1
vote
1answer
223 views

“Bind” linux kernel to a specific cpu?

I'd like to build a linux kernel that's specific to a given Raspberry, ie. one that won't boot on any other Raspberries. My idea is to bind the kernel to the cpu's serial number bit I haven't found ...
0
votes
2answers
1k views

How to crypt a specific folder in raspbian?

I wrote a bit of php code in my r-pi on which I installed raspbian. I would like know to protect this code from the possibility to being copied or read. I looking for a solution that crypt my ...
0
votes
0answers
72 views

Security aspects: set a password to recovery mode, encrypt a directory

I wish to give more security to my r-pi which will be left in a public place. Particularly, I would like know how to set a password to "revovery mode" encrypt a specific folder in which there is my ...
1
vote
1answer
611 views

Arch Linux Encrypt entire drive

My Pi is set up as a PHP MySQL (Percona) server and I think that I have managed to make it quite resilient against online attacks but it is still very vulnerable against someone just taking out the SD ...
7
votes
4answers
8k views

Locking down Raspbian to only allow limited features

In a public environment a computer can get a lot of abuse, leading to system failures, viruses, compromised security, etc. In many schools, the computers are setup to only allow basic features to be ...
3
votes
1answer
6k views

RaspberryPi as a passive Man in the Middle

I think about using a Pi to sniff LAN traffic in an fixed environment. Main problem is that the Pi should not have an IP adress nor being "visible" in the network. I got an second lan interface (USB) ...
2
votes
4answers
3k views

Restrict remote access to Pi from ONE computer

Disclaimer: I am not sure if this is a question for the Pi StackExchange site, but I am posting it here anyway. If it should be moved elsewhere, please do not hesitate to suggest where it should be ...
0
votes
2answers
1k views

How do I protect Raspberry Pi Webcam over internet

I have already worked out how to use the Pi with a webcam and have even managed to link it to a port on the router and access from an external pc it over the internet. But I am very aware that it was ...
1
vote
3answers
9k views

Setting up Raspbian and WiFi on a private network

I just got raspbian installed on my SD card and am trying to get my Pi on my network. It's protected with WPA2 Personal. I opened up the gui network connect and added a new network with the proper ...
2
votes
3answers
6k views

use ssh to control tty1

if I ssh in to my Pi that has a tv attached to the svideo I can set tty1 writable but it does not seem to "see" the input, the characters just appear on the screen. sudo chmod 666 /dev/tty1 echo msg1 ...
15
votes
3answers
21k views

Is there a way to perform a full system encryption of Raspbian?

My Question is: I'd like to use my Raspbian encrypted, just like it is standard on Debian, Ubuntu or other Linux-Distros. My Problem: Technically, you are not installing Raspbian on a Raspberry Pi or ...
4
votes
1answer
3k views

Simple TOR gateway

I've got some problems with a simple TOR project I'm actually working on. My goal is to have TOR running on my Pi, so I can browse the web anonymously from another computer (on the same ethernet LAN) ...
2
votes
2answers
925 views

Raspberry Pi Air gap

can i Use a Raspberry Pi as a air gap set up? I have heard that some people will use a separate computer for decrypting messages. When they revive a message they will put it on a thumb drive and then ...
4
votes
3answers
3k views

peerguardian / moblock installation on raspbmc

Since I'm thinking of using my pi to do some downloads, i would like to setup a peerblock/peerguardian equivalent. I searched the internet, and I've found this. i'm using latest raspbmc, cat /...
2
votes
3answers
910 views

How to play my music on my RPI outside my local network

I have ripped all my CDs to a hard drive. The hard drive is connected to my RPI at home, and I use it to play my music on my stereo and control it with my mobile using WIFI. Currently I'm using ...
3
votes
1answer
2k views

Security issues in PHP executing PYTHON scrips

So I've got a PHP script thats capable of executing Python commands (to control GPIO), thanks to the users of StackExchange. My previous question here. Now I'm able to control the GPIO pins from a ...
49
votes
5answers
85k views

Using the Raspberry Pi as a router?

Has anyone used their Raspberry Pi as a routing device? Mainly I want to use it to monitor my network, and it would be great if it had an input and output for Ethernet, but it doesn't, so I am ...
2
votes
4answers
11k views

Network Security Toolkit on a Raspberry Pi

I am planning on putting either the NST (http://www.networksecuritytoolkit.org/nst/index.html) on my Pi or just downloading a lot of similar tools and then using my Pi as a security device to monitor ...
9
votes
2answers
15k views

Are there any issues changing default username in Raspbian or Raspbmc?

I know that security by obscurity is not real security, however, why make it easy by keeping a well known username such as "pi". Therefore, what are the implications to changing the username of "pi" ...
1
vote
1answer
918 views

How to run program that accesses GPIO as remote application in Eclipse?

Cross-compilation with remote launch from Eclipse is very useful approach to develop RaspberryPi applications. There is a serious security problem however. One who need access to GPIO (ex, using ...
5
votes
1answer
2k views

Security issue on raspberry pi: too many open connections?

I have just run netstat on my raspberry pi and found out there more than 100 (!) open connections. Is this something I should be worried about? How do I stop my rasp pi from opening so many ...
23
votes
2answers
25k views

How do I encrypt my Raspberry?

The Raspberry is all well and nice and can run pretty quick. But how can I protect my SD card from offline data attacks. SSH can be protected with a good password or a SSH key but if somebody gets ...
81
votes
4answers
91k views

What should be done to secure Raspberry Pi?

Having tens of thousands of Raspberry Pi's connected to the internet is eventually going to capture the interest of some people who would like to do unsavory things to the little computers especially ...
13
votes
1answer
14k views

Raspberry Pi as a Linux firewall?

Can I use the Raspberry Pi as a Linux firewall? Can anyone tell me the best way of doing this? Including network connection details and hardware I may need.
59
votes
3answers
19k views

How can I protect against intrusion and malware before connecting it to the internet (especially on a public IP address)?

With the large number of Raspberry Pis in the wild, and the fact that large groups of them are configured identically (when a newly-flashed SD card is installed with one of the few available images), ...
27
votes
5answers
25k views

How do I create a new user?

Are there any security implications for creating (or not creating) a new user? If need be, how do I create a new user or change the default user?