1 of 7

GenCyber Teacher Camp

Raspberry Pi

Purdue University Northwest

2 of 7

What is a Raspberry Pi?

  • Raspberry Pi: a low cost, small-sized, single-board computer that plugs into a computer monitor and uses a standard keyboard and mouse.
  • Raspberry Pi 400 (Nov. 2020): integrated keyboard, upgraded power supply, 1.8 GHz processor with 4 GB of RAM, microSD card for file storage (Secure Digital flash memory card).
  • Peripherals: can be attached through the various pins and connectors.
  • Operating System: Raspberry Pi OS (formerly Raspbian) is based on Debian (uses Linux kernel) optimized for Raspberry Pi hardware.

Purdue University Northwest

3 of 7

Raspberry Pi 400

Reference: https://www.zdnet.com/article/raspberry-pi-400-its-designer-reveals-more-about-the-faster-pi-4-in-the-70-pcs-keyboard/

Purdue University Northwest

4 of 7

What can you do with a Raspberry Pi

  • Teach Python programming.
  • Teach Linux shell commands.
  • Browse internet, play video, do word processing, play games.
  • Interact with the outside world - weather stations, infra-red cameras, or interface with other hardware.
  • Build robots, create games, do cybersecurity projects.

Purdue University Northwest

5 of 7

Using Raspberry Pi with Cybersecurity Lessons

  • Brute Force Attack on a Raspberry Pi
  • Install Kali Linux which is available for Raspberry Pi. The OS has several dedicated tools for learning about information security in a practical hands-on way. Also, the portability of the Raspberry Pi makes it a desirable device for professional penetration testers.
  • USB Sanitizer – transfer information from a potentially infected USB flash drive to a clean and trusted USB flash drive without passing on malware or alerting anyone of the transfer. (alternate to VM)

Purdue University Northwest

6 of 7

Using Raspberry Pi with Cybersecurity Lessons

  • Facial Recognition Using OpenCV
    • Requires a Raspberry Pi and a camera module (plus a battery to make it mobile) and use OpenCV to distinguish between faces.
  • Home Network Monitoring With a Raspberry Pi
    • Install Nagios network monitoring on home network.
  • Build an IoT-based Smart Home System with Raspberry Pi
    • Connect Raspberry Pi using Bluetooth to an appliance (or multiple appliances) and then configure it with your mobile so you can control that particular appliance through your mobile device. 
  • Turn Raspberry Pi Into an Amazon Echo/Dot Using Alexa
  • Control an attached device on Pi through malicious software.
    • Turn LED on and off through Python software loaded onto Pi.

Purdue University Northwest

7 of 7

Raspberry Pi GenCyber Exercises

  • Write Caesar Cipher using Python (either on Windows or Pi)
  • Review common Linux Bash shell commands (either on Pi or VM)
  • Optional: Review Python code for vulnerabilities (either on Windows or Pi)
  • Optional (demo only): Turn an attached breadboard LED on and off using a breadboard hardware switch and a Python program. (Pi)

Purdue University Northwest