All Projects → Beyarz → Portforge

Beyarz / Portforge

Licence: Unlicense license
Lightweight utility to fool port scanners

Programming Languages

crystal
512 projects

Projects that are alternatives of or similar to Portforge

nmap-formatter
A tool that allows you to convert NMAP results to html, csv, json, markdown, graphviz (dot). Simply put it's nmap converter.
Stars: ✭ 129 (+460.87%)
Mutual labels:  port-scanner, port-scanning
cloudrasp-log4j2
一个针对防御 log4j2 CVE-2021-44228 漏洞的 RASP 工具。 A Runtime Application Self-Protection module specifically designed for log4j2 RCE (CVE-2021-44228) defense.
Stars: ✭ 105 (+356.52%)
Mutual labels:  protection, defense
ShonyDanza
A customizable, easy-to-navigate tool for researching, pen testing, and defending with the power of Shodan.
Stars: ✭ 86 (+273.91%)
Mutual labels:  reconnaissance, blue-team
Personal Security Checklist
🔒 A curated checklist of 300+ tips for protecting digital security and privacy in 2021
Stars: ✭ 2,388 (+10282.61%)
Mutual labels:  protection, defense
PortScanner
A go-to tool for scanning network. Scan all the open ports for a given host with just one click.
Stars: ✭ 99 (+330.43%)
Mutual labels:  port-scanner, port-scanning
C-Sharp-Multi-Threaded-Port-Scanner
C# multi threaded TCP port scanner console application.
Stars: ✭ 41 (+78.26%)
Mutual labels:  port-scanner, port-scanning
flydns
Related subdomains finder
Stars: ✭ 29 (+26.09%)
Mutual labels:  reconnaissance
phpwaf-phanalyzer
AliGuard PHP WAF
Stars: ✭ 12 (-47.83%)
Mutual labels:  defense
BlueCloud
Cyber Range including Velociraptor + HELK system with a Windows VM for security testing and R&D. Azure and AWS terraform support.
Stars: ✭ 88 (+282.61%)
Mutual labels:  blue-team
awesome-cybersecurity-blueteam-cn
网络安全 · 攻防对抗 · 蓝队清单,中文版
Stars: ✭ 494 (+2047.83%)
Mutual labels:  blue-team
apkizer
apkizer is a mass downloader for android applications for all available versions.
Stars: ✭ 40 (+73.91%)
Mutual labels:  reconnaissance
tcpie
CLI tool to ping any TCP port
Stars: ✭ 51 (+121.74%)
Mutual labels:  port-scanner
mqttinfo
Attempts to determine the configuration, behavior, and type of a remote MQTT broker
Stars: ✭ 17 (-26.09%)
Mutual labels:  reconnaissance
subdomainsEnumerator
A docker image which will enumerate, sort, unique and resolve the results of various subdomains enumeration tools.
Stars: ✭ 63 (+173.91%)
Mutual labels:  reconnaissance
smashblock
📡 🛡️A self-updating extensive blocklist filter for AdGaurd. Be sure to 🌟 this repository for updates!
Stars: ✭ 66 (+186.96%)
Mutual labels:  protection
XposedOrNot
XposedOrNot (XoN) tool is to search an aggregated repository of xposed passwords comprising of ~850 million real time passwords. Usage of such compromised passwords is detrimental to individual account security.
Stars: ✭ 120 (+421.74%)
Mutual labels:  reconnaissance
automate-branch-rules-cli
The tool lets you automate the addition, removal or alteration of the branch protection rules for 1 or more branches & repositories in one go.
Stars: ✭ 29 (+26.09%)
Mutual labels:  protection
hunter
🐺 Command-line application and golang client library for hunter.io
Stars: ✭ 28 (+21.74%)
Mutual labels:  reconnaissance
SafeValues
A simple Unity library for cheating prevention
Stars: ✭ 75 (+226.09%)
Mutual labels:  protection
FazPort
FazPort is an advanced Perl Port Scanner. Scan and Detect open port in every website(s) you want.
Stars: ✭ 16 (-30.43%)
Mutual labels:  port-scanner

Portforge

This script is intended to open as many sockets as you wish (between 1024 - 65535).
Lower than 1024 works too but you have to be a root user for that.

This can be useful when you don't want people to map out your device
to see what you're running and what not, so it's a small step to defeat reconnaissance.

Technology from the core

Portforge.cr uses a technique built-in the Crystal compiler called Fibers.
They are very much like system threads but Fibers is a lot more lightweight
& the execution is managed through the process 1.

The larger range you pick, the longer it takes for the script to
load up every socket but I've tried my best to optimize the script
so it should just take a couple of minutes (depending on the system of course).

Under the hood

The script works in 2 steps.
It first performs its own scan on the system to see which port is already open.
The open ports is then put on one list and the closed ports is put on another list.
The next step is opening the closed ports, so the script picks the list with all the closed
ports and opens a socket on every one of them.

While the main fiber is opening a socket on every port,
another fiber is called under the main one which listens for incoming connections and closes it directly.
This process is repeated indefinitely, or until you interrupt the script.

Getting started (you only need to do this once)

crystal build portforge.cr

Requirement

Usage

./portforge IP startport endport

Demo

The first picture is portforge.cr running and the second one is the result from an Nmap scan.
As you can see, Nmap thinks I'm running all these services when in reality, it is just portforge.cr running.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].