Skip to content

ethanlacerenza/SBC-RAT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Single Board Computer (SBC) Remote Control and Persistence

Python License

This project demonstrates how to establish remote control and persistence on a Single Board Computer (SBC) using a Telegram bot. Please ensure that you have proper authorization and adhere to all applicable laws and regulations when using this solution.

Introduction

This Proof of Concept (PoC) showcases how an SBC can be utilized to ensure persistence on a network and control the device remotely through a Telegram bot. This scenario can be employed for legitimate purposes such as remote management of IoT devices or home automation.

Requirements:

  1. Single Board Computer (SBC): Ensure you have a configured and operational SBC.

  2. Telegram Bot: Create a Telegram bot using the BotFather on Telegram and obtain the API token.

Setup

  1. Installation: Install a Python script on the SBC that establishes a connection to the Telegram bot using the API token.

  2. Persistence: Configure the script to run automatically on startup to ensure persistence on the network.

  3. Remote Control: Define a set of commands that the Telegram bot can recognize and execute on the SBC.

  4. Access Control: Implement access controls to restrict bot access to authorized users or administrators.

  5. Security Measures: Apply appropriate security measures, including secure authentication, encryption for communications, and secure handling of sensitive information.

Usage

  1. Start Chat: Start a chat with the Telegram bot associated with the SBC.

  2. Authorization: Authorize access to the bot using secure methods, such as a password or other authentication mechanisms.

  3. Remote Commands: Use the predefined commands to control and interact with the SBC remotely via the Telegram chat.

Security and Ethical Considerations

  • Ensure that the use of this PoC is legal and ethical and complies with all applicable laws and regulations.

  • Respect the privacy and security of the target system and its users.

  • Always use such tools and techniques for legitimate and authorized purposes only.

Disclaimer: Unauthorized or malicious use of this PoC is strictly prohibited and may have legal consequences. Always act in accordance with the law and ethical guidelines.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Thanks to the Telegram API for providing a secure and reliable messaging platform.

About

SBC Persistent backdoor managed via telegram bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages