Skip to content
NGTEdu Logo

NGTEdu

A PRODUCT OF NGTECH.CO.IN

NGTEdu Logo

NGTEdu

  • Home
  • Cyber Attacks
  • Malware
  • Vulnerabilities
  • Data Breach
  • Home
  • Data Breach
  • Keeping Your Garage Secure Using a Raspberry Pi
  • Data Breach

Keeping Your Garage Secure Using a Raspberry Pi

5 years ago Andrew Swoboda
Keeping Your Garage Secure Using a Raspberry Pi

It is always unfortunate when the garage door is left open when you leave for an extended period of time. This has happened to me a couple of times. By leaving the garage door open, I was inviting unwanted guests into the garage. An unwanted guest can be animals looking for a meal and spreading trash all over. It could also be another person that sees an opened garage door as an invitation to visit. Fortunately, this has not happened to me. It did, however, force me to figure out a solution to notify me when the garage door is opened.

Security Considerations/Requirements

  • A solution must provide me and my wife with a notification when the garage door is in an open state.
  • It must not relinquish control of monitoring to another service.
    • This required the door to be monitored by a device at home and not send data to another server.
  • An on-premise solution required the device to not have any open services.

Raspberry PI to the Rescue

The solution was to configure a Raspberry PI to service my garage door. The configuration required a relay, a magnetic switch, and access to Google’s email API. The relay was used to interface with the garage door. This allowed the Raspberry PI to close/open the garage door. However, to close the door, the Raspberry PI needs to know the current state of the garage door. This is where the magnetic switch was used to determine the state of the door.

When the garage door was in an open state, the Raspberry PI would notify me. This notification repeats every hour until the garage door is in a closed state. To enable notifications, I configured the Raspberry PI to send emails using Google’s Gmail API. Google’s API allowed the Raspberry Pi to send me notifications to alert me of a state change or if the door has been left open. A state change notification is nice if you have a means to shut the garage door. Using the API, the PI can also check for new email and determine if there was a response to a notification. If the garage door is in an open state and there was reply from the correct email address with the correct password, the Raspberry PI would close the garage door.  

Additionally, the notification emails contain images to document the current state of the garage. These images are captured using a camera attached to the Raspberry Pi. So, even If someone opens the garage door with the keypad, it will capture their image.

Not Perfect, but a Start

I have posted the experimental code here. This code has a high chance of containing bugs because it was written to test with my garage door. Some future possibilities for this project could be integrating SMS and other VoIP features. This would allow messages to go directly to the phone without waiting for your phone to pull down email. This would decrease the potential time between the garage door opening and an alert notifying the changed state.

It would be nice to improve some of the security mechanisms. Instead of sending a phrase in plaintext, the project could potentially incorporate rolling passwords and possibly some form of encryption. These mechanisms would ensure the confidentiality of the password. Furthermore, this project does not necessarily need to check an email to close the garage door because it could potentially have a timeout option. If the timer has expired, the garage door would automatically close.

The post ” Keeping Your Garage Secure Using a Raspberry Pi” appeared first on TripWire

Source:TripWire – Andrew Swoboda

Tags: Google, High Severity, TripWire

Continue Reading

Previous RCE ‘Bug’ Found and Disputed in Popular PHP Scripting Framework
Next NIST SP 800-128 – Because Patching May Never Fix Your Hidden Flaws

More Stories

  • Cyber Attacks
  • Data Breach

AISURU/Kimwolf Botnet Launches Record-Setting 31.4 Tbps DDoS Attack

2 hours ago [email protected] (The Hacker News)
  • Critical Vulnerability
  • Cyber Attacks
  • Data Breach
  • Malware
  • Vulnerabilities

ThreatsDay Bulletin: Codespaces RCE, AsyncRAT C2, BYOVD Abuse, AI Cloud Intrusions & 15+ Stories

7 hours ago [email protected] (The Hacker News)
  • Data Breach

The Buyer’s Guide to AI Usage Control

8 hours ago [email protected] (The Hacker News)
  • Cyber Attacks
  • Data Breach
  • Malware
  • Vulnerabilities

Infy Hackers Resume Operations with New C2 Servers After Iran Internet Blackout Ends

9 hours ago [email protected] (The Hacker News)
  • Critical Vulnerability
  • Cyber Attacks
  • Data Breach
  • Vulnerabilities

Critical n8n Flaw CVE-2026-25049 Enables System Command Execution via Malicious Workflows

13 hours ago [email protected] (The Hacker News)
  • Critical Vulnerability
  • Cyber Attacks
  • Data Breach
  • Vulnerabilities

Malicious NGINX Configurations Enable Large-Scale Web Traffic Hijacking Campaign

15 hours ago [email protected] (The Hacker News)

Recent Posts

  • AISURU/Kimwolf Botnet Launches Record-Setting 31.4 Tbps DDoS Attack
  • ThreatsDay Bulletin: Codespaces RCE, AsyncRAT C2, BYOVD Abuse, AI Cloud Intrusions & 15+ Stories
  • The Buyer’s Guide to AI Usage Control
  • Infy Hackers Resume Operations with New C2 Servers After Iran Internet Blackout Ends
  • Critical n8n Flaw CVE-2026-25049 Enables System Command Execution via Malicious Workflows

Tags

Android APT Bug CERT Cloud Compliance Coronavirus COVID-19 Critical Severity Encryption Exploit Facebook Finance Google Google Chrome Goverment Hacker Hacker News High Severity Instagram iPhone Java Linux Low Severity Malware Medium Severity Microsoft Moderate Severity Mozzila Firefox Oracle Patch Tuesday Phishing Privacy QuickHeal Ransomware RAT Sim The Hacker News Threatpost TikTok TripWire VMWARE Vulnerability Whatsapp Zoom
Copyright © 2020 All rights reserved | NGTEdu.com
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More here.Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT