Coder Social home page Coder Social logo

appfabs / securetea-project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from owasp/securetea-project

0.0 1.0 0.0 289 KB

The purpose of this application is to warn the user (on twitter) whenever her laptop accessible. This small application was developed and tested in python in linux machine likely to be working well in the Raspberry Pi as well.

Home Page: https://www.owasp.org/index.php/OWASP_SecureTea_Project

License: MIT License

Python 100.00%

securetea-project's Introduction

OWASP SECURETEA TOOL PROJECT:

Small IoT (Internet of Things) to notify users via twitter, whenever someone accesses their laptop. This application uses the touchpad / mouse / wireless mouse to determine activity and is developed in Python and tested on Linux.

The purpose of this application is to warn the user (via twitter) whenever their laptop accessed. This small application was developed and tested in python in linux machine is likely to work well on the Raspberry Pi as well.

Target User:

It was written to be used by anyone who is interested in Security IOT (Internet of Things) and still needs further development.

How it functions:

  • Keep track of the movement of the mouse / touchpad
  • Detect who access the laptop with mouse / touchpad is installed
  • Send warning messages on Twitter

Objective:

To alert the user via twitter, whenever her laptop had been accessed someone.

Pre-requisites:

I. HARDWARE :

  • Linux OS / Raspberry Pi - have sudo access on the terminal / console
  • Mouse / Wireless Mouse / Touchpad congenital laptop
  • Mobile phones are already installed Twitter application (Optional)

II. SOFTWARE :

Procedure Installation :

  1. Python and python-setuptools must be installed. (If not already installed: sudo apt-get install python python-setuptools)

  2. Download/Clone repository from: https://github.com/OWASP/SecureTea-Project.git

  • git clone https://github.com/OWASP/SecureTea-Project.git
  1. Install twitter package of this repo:
  • cd SecureTea/twitter-1.17.1
  • sudo python setup.py build install
  1. Visit https://apps.twitter.com and "Create new app" to obtain authentication and token codes.

  2. Open the "SecureTea.py" with a text editor and edit the following variables :

Copy/Paste API KEY and TOKEN from Twitter apps

  • API_KEY = 'XXXX'
  • API_SECRET = 'XXXX'
  • ACCESS_TOKEN = 'XXXX'
  • ACCESS_TOKEN_SECRET = 'XXXX'
  • TWITTER_USERNAME = 'XXXX'
  1. Optionally in "SecureTea.py" You can set debug = 1 to enable the console log (default: enabled). or set debug = 0 to disable logging to console.

  2. Install Mouse / Wireless Mouse Touchpad if not functioning properly (Linux / Raspberry Pi machine).

  3. Okay, Run program -> sudo python SecureTea.py

  4. Notice a WELCOME_MSG Like this: Welcome to SecureTea .. !! Initializing System @ Mon Mar 20 17:06:28 2017

  5. laptop access by moving the mouse / touchpad to see the cumulative X and Y coordinates on the console. If you have a twitter app installed on your phone, you can get updates on the "message" from your twitter account.

  6. Checks Alert message on the console and on twitter your inbox. Alert (1): Someone has access your laptop when Mon Mar 20 17:04:13 2017

Tested on:

For Suggestions and Contributing :

Roadmap:

  1. Notify by Twitter (done)
  2. Notify by Whatsapp
  3. Notify by SMS Alerts
  4. Notify by Line

securetea-project's People

Contributors

adeyosemanputra avatar idbmb avatar lojikil avatar felexkemboi avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.