Skip to content
Parallax Learn

Parallax Learn

  • Welcome
  • Tutorials
        • Tutorial Series head tag

          Tutorial Series
        • Tutorial Series

          The special, classroom-ready series pages are organized collections of tutorials for our most popular hardware and/or languages. The tutorials for each topic are conveniently accessible from a single page, shown in the order it is recommended that they be completed.
        • Robotics Series Head tag

          Robotics Series
        • Robotics Series

          • Artificial Intelligence
          • Cybersecurity: Radio Data tutorialCybersecurity
          • cyber:bot + Python
          • cyber:bot + MakeCode
          • Boe-Bot Tutorial SeriesBoe-Bot
          • Arduino Shield-Bot
          • ActivityBot with C TutorialsActivityBot + C
          • ActivityBot with BlocklyProp Tutorial SeriesActivityBot + BlocklyProp
          • Scribbler 3 Tutorial SeriesScribbler 3
        • Electronics & Programming Series Head tag

          Electronics & Programming Series
          • BS2 Board of Education Tutorial SeriesBS2 Board of Education
          • Propeller C-Language BasicsPropeller C Basics
          • FLiP Try-It Kit C Tutorial SeriesFLiP Try-It Kit + C
          • FLiP Try-It Kit BlocklyProp TutorialsFLiP Try-It Kit + BlocklyProp
          • Badge WX Tutorial SeriesBadge WX
          • Propeller BlocklyProp Basics and ProjectsPropeller BlocklyProp Basics
          • View All Tutorial Series »
        • Browse Tutorials
        • Browse Tutorials

          Individual tutorials sorted by robot or kit, and language.
        • By Robot or Kit
          • ActivityBot
          • SumoBot WX
          • Boe-Bot
          • Shield-Bot
          • cyber:bot
          • Badge WX
          • ELEV-8
          • ARLO
        • By Language
        • By Language

          • Propeller C
          • Arduino
          • BlocklyProp
          • PBASIC
          • Python
          • MakeCode
          • View All Tutorials »
  • Educators
  • Reference
  • Downloads
  • Home
  • All Courses
  • Cybersecurity with AI and micro:bit

Cybersecurity with AI and micro:bit

Sender Shuts Down Receiver


Did You Know? Back Door Benefits and Drawbacks

On the plus side, this radio-script-sending feature allows you to run scripts on remote micro:bit modules that aren’t even connected to a computer. You can just use one micro:bit to load the script into another. This could be really useful for some projects.

On the minus side, the Receiver script creates an opening for anyone to put their own code into the receiver micro:bit.  This can be considered a software vulnerability — a defect that an attacker could use to gain access to or control of your micro:bit.

This system could also be considered a back door.  Back doors allow access to a system.  Manufacturers might use back doors for maintenance purposes, but cybercriminals design them into software for the sake of gaining unauthorized access to a system.


Your Turn

Think about the User who got help creating the Sender and Receiver scripts.  Did they set up a system for easy micro:bit script updates, or did they intentionally get around the chatbot’s policy to not help with cyberattacks?

Let’s say that the User designed with a plan to cause your micro:bit to not accept any more updates.  For example, they could use this script to force you to have to reset the receiver micro:bit before it will work again.

  • Try sending the script below to the Receiver micro:bit, just as you did before: type one line at a time and press Enter after each one, use spaces to indent, enter run at the end.
from microbit import *
while True:
    print('Hello!')
    sleep(1000)

This attack simply makes the Receiver micro:bit unresponsive until it is reset.  Other attacks could actually monitor and forward data about how the Receiver is used to another micro:bit.

 


Printer-friendly version
Test the Scripts
Prev
Using AI to Help with Cyber Defenses
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

About | Terms of Use | Feedback: learn@parallax.com | Copyright©Parallax Inc. 2024

© 2025 Parallax Learn • Built with GeneratePress