Coder Social home page Coder Social logo

canarytcppy's Introduction

Welcome to CanaryTCPpy

CanaryTCPpy is a project inspired by "Canarytokens" that can handle and trigger alerts when scanned by tools like Nmap, Masscan, etc. It utilizes the basic RFC of TCP to create a deception mechanism. By blocking the RST TCP flag, the scanner and hacker remain unaware that the services are fake or the ports are closed.

How CanaryTCPpy can help you:

  1. Set it up on your WAN (Wide Area Network) and trigger alerts to detect and investigate potential network intrusions.
  2. Monitor your network for any suspicious activity by identifying small Docker containers or Linux instances that may indicate attempts to "jump" to other servers.
  3. And more! Combine CanaryTCPpy with other security tools to build an active monitoring system, such as an Intrusion Detection System (IDS).

Example Flow Picture: TCP3 Flow Handling

Here's an example picture tcp 3 handshake flow:

TCP3 Flow Handling

Example Picture: Network Area

Here's an example picture showcasing the network area:

Network Area Example

Example: Nmap Scan Result

When an attacker scans a system running CanaryTCPpy with Nmap, the fake port is typically marked as yellow, indicating that it appears closed or filtered [you test by any nmap online or local]:

Nmap Scan Result Example

Getting Started

To run the project, follow these steps:

  1. Clone the repository to your local machine.
  2. Install Scapy, preferably using package managers like apt or yum.
  3. Run the provided examples in the code.
  4. run as sudo or root

canarytcppy's People

Contributors

idanless avatar

Watchers

 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.