Questions tagged [ports]

In computer networking a port is a software construct serving as a communications endpoint in a computer's host OS.

Filter by
Sorted by
Tagged with
2 votes
2 answers
232 views

Web application discovery: Can there be virtual hosts configured even when there is a response without host header?

I'm currently learning how to discover web applications running on a machine using port scanning, vhost bruteforcing and directory fuzzing. When it comes to port scanning, there is one thing I can't ...
  • 125
0 votes
1 answer
20 views

Deploy to Digital Ocean droplet from Github Action - Should I leave the SSH port open for future deployments?

I'm going to a deploy a web app (angular static frontend and node backend in docker) to digital ocean droplet. Deployment is done from Github Action by essentially loging via SSH to the droplet and ...
0 votes
4 answers
113 views

Benefits of non-standard SSH port when password authentication is turned off

Is there any benefit of using a non-standard SSH port when PasswordAuthentication is turned off in sshd? The only benefit of non-standard SSH ports I know of is a reduction of the amount of brute ...
  • 101
0 votes
2 answers
61 views

Windows IP Helper service listening on port 1000

On a Windows 10 Home machine (21H2 19044.1741), I noticed one of my applications failed to listen on port 1000, because something was already using that port. That struck me as peculiar, because I ...
0 votes
0 answers
46 views

nmap scanning Raspbian with strange results

I'm a high schooler in a CyberDefense Class and we are learning to PenTest. I'm on Red Team and my teacher set up a system with Rasbian as the OS. When I run a scan on the computer scanning the Top ...
0 votes
1 answer
444 views

Are there security implications of allowing Discord through Windows Firewall?

I just installed Discord (downloaded from the official Discord website) and after the install a Windows Firewall pop-up appears asking me if I want to allow Discord through Windows Firewall. I don't ...
0 votes
1 answer
88 views

Why is Nessus report HTTP running a web server on port 80 when I'm sure that it isn't?

From a Nessus scan I have the following output regarding HTTP and the use of port 80: Info N/A 43111 HTTP Methods Allowed (per directory) Info N/A 24260 HyperText ...
  • 23
1 vote
1 answer
61 views

What is the security impact to using a port different from 443 for HTTPS in my router

Are there any advantages or disadvantages for the security when using a non-standard port (i.e. not 443) for HTTPS in my router?
  • 13
1 vote
0 answers
47 views

How to evaluate a responsive but unknown network protocol?

I am studying CREST CPSA where the syllabus is listed here. There is a part of the syllabus which states I should know the Evaluation of responsive but unknown network applications. I find this ...
0 votes
0 answers
23 views

Disguising Device Information During IP and Open Port Scans

I am getting into the field of penetration testing and had a question about device information scans. I know that you can scan all of the devices on a network and scan for open ports, and in the ...
1 vote
1 answer
78 views

How much network noise is normal? [closed]

on my Ubuntu VPS I am getting a lot of requests and portscans from foreign sources. They are all blocked by UFW. However my question is, if this much "network noise" is normal or is my ...
1 vote
1 answer
224 views

Why when i nmap scan a machine i get the port 554 (RTSP) open?

I train on vulnerable boxes and during my recon phase, I use nmap to collect info on open ports. I use the command nmap -sS [IP|URL] and no matter the machine, I get the result that port 554 - RTSP ...
0 votes
1 answer
66 views

Is it possible to spoof a service running on a port in Ubuntu?

I was looking into the idea of port spoofing, and I came across this GitHub repository. I'm mainly looking to disguise my computer as something else, whereas this program opens every TCP port and ...
1 vote
1 answer
198 views

What are the drawbacks of a stealthy port scan?

I read that port scanning services like nmap will conduct a "TCP Connect Scan". They'll attempt to make a TCP connection to each of the ports within the range provided. But because each of ...
0 votes
0 answers
82 views

Mixed results from different port scanners - stealth vs closed

I did some port scanning of the local network, as a bit of security due diligence, expecting the first 1000 to be stealthed. However, the results are mixed, when running the scan with different ...
  • 1
0 votes
1 answer
78 views

ec2 instance insecure to allow ssh to any ip address

I have a linux instance deployed on AWS EC2. Sorry for my dumb question, but I'll ask anyways just to be safe. Q1. While creating an instance, I set anyone 0.0.0.0:0 for the ssh. Though, on the next ...
0 votes
3 answers
213 views

Why would a legitimate application run on a non-standard port?

Among the many "threats", I see on my SIEM, a non-standard port is a top one. It's always been a false positive, but I don't understand why this happens frequently?
0 votes
0 answers
31 views

How to configure Snort 3 to detect nmap's port scanning? [duplicate]

How to configure snort 3 to detect nmap's port scanning? For instance I want to know that an external machine A is looking with nmap for open ports on my machine B. Such a port scan can include all ...
  • 101
0 votes
2 answers
107 views

Selection of port for HTTPs based URL

I have an application and it will be exposed to HTTPs based URL. I want to put a port explicitly. So if I do I can select 8443 port. https://<IP_ADDRESS>:8443/myApplication If I don't put a ...
  • 103
0 votes
0 answers
147 views

Router scanning ports on all connected devices

From time to time, my router starts to scan ports on all the connected devices. I have an internal RPi server which I restricted its access to the internet from the router. I checked the "/var/...
  • 101
0 votes
3 answers
1k views

Nmap shows different results when connected to VPN [closed]

I am trying to determine why nmap would show different results when I am connected to a VPN service. When I am connected to Nord VPN, it shows two additional ports which do not seem to be open. No VPN ...
  • 101
-1 votes
1 answer
102 views

How can you attack or redirect the client from the server over an RDP or SSH conneciton? [closed]

I have a penetration testing scenario where I am on the network with two machines, Machine A and Machine B. I have complete control over Machine B and am trying to leverage that to get access to ...
1 vote
1 answer
241 views

How do I differentiate a DDoS attack from a DoS attack?

My server is under attack on an specific port but I am confused whether is a DDoS attack or a DoS attack (if it requires a botnet or is using some kind of trick). The entire server is available (...
0 votes
1 answer
446 views

How to check if my ports are exposed to the internet

[Crossposting from SO] I am trying to make a port scanner in Python and trying to list which all ports are accessible by anyone remotely. Using the socket.connect_ex package, I was able to check which ...
  • 115
4 votes
1 answer
6k views

What is insecure about the "insecure" option of NFS exports?

Why is it considered insecure for an NFS export to allow connections originating from high ports? Compare the manual: exportfs understands the following export options: secure This option requires ...
  • 200
0 votes
2 answers
278 views

If HTTPS only runs on a single port, why is SYN flooding an issue?

I've read online that SYN flooding is when "the attacker sends repeated SYN packets to every port on the targeted server." However, HTTPS only runs on port 443. Therefore, why is it ...
  • 47
0 votes
1 answer
169 views

Change ettercap default port

Guys does anyone know how I can change the port that ettercap runs? I need it to run on port 8080. When I try to run sudo ettercap -G it presents me with this error: ERROR : 13, Permission denied [/...
1 vote
0 answers
132 views

Closed Port on Metaspoilt framework [closed]

I run Kali Linux OS on my PC and I use the Metasploit Framework. But I'm unable to access any ports when I run sudo netdiscover it always outputs that all ports are closed, even though Metasploit has ...
  • 11
-1 votes
1 answer
183 views

Do you have to be on the same WIFI for a Buffer Overflow attack to work?

I know how Buffer Overflows work but in order to do them do you have to be on the same WIFI as your victim. You need to send a packet to a specific device on a specific port. Therefore, unless port ...
0 votes
3 answers
1k views

Is there a way to close 22 SSH port from public, ubuntu?

I am using putty and private key to access my development server. I used Nmap to see which ports are visible to the public, and in fact the 22 is open. Is it possible to hide open port from the public?...
2 votes
1 answer
256 views

Docker container exposed port vulnerabilities on Debian server?

I'm configuring a Debian (Stretch) webserver to run docker containers for socks requests. So, the application would be able to authenticate (on port 1080) with the Dante server running inside the ...
0 votes
1 answer
113 views

Estimate the number of host computers on the private network by port scanning

If we have a private network connected to the Internet with NAT, how can an attacker estimate the number of host computers in network using port scanning? For both possible modes, the attacker inside ...
  • 113
11 votes
2 answers
4k views

Security implications of granting non-root access to privileged ports (<1024)

Lots of solutions to this problem e.g. here and here but in order to decide which is best I'd need to know more about the security implications of each solution (or at least in general). My context: I'...
1 vote
1 answer
103 views

What is the threat/risk difference in opening multiple ports on one physical NIC on a home server vs creating VLANs and opening ports on each VLAN?

I have a single home server with a single NIC. I intend to run numerous services -- some will be internet exposed, some will not. I don't know if I am going to run them as VMs or Docker container but ...
0 votes
1 answer
214 views

What's this port? [closed]

Listing all the ports currently in use on my mac running $ sudo lsof -i -n -P | grep TCP, I see six entries starting with a weird-looking string of "2BUA8C4S2". A web search for that string ...
2 votes
1 answer
713 views

scan forwarded ports with OpenVAS/GVM?

I'm currently learning about network security and came across a problem, maybe I'm just missing something obvious but I'll try to explain my environment: I have a Kali Linux VM connected to the WAN ...
  • 23
0 votes
1 answer
347 views

Intensive 586 (ms-shuttle) port scan/exploit/hacking attempts

Recently i wanted to play a bit with TCP/UDP networking (and touch some custom HTTP server impl) on C# and found out that i'm getting requests from totally unknown dudes, such as this one: FROM: [::...
1 vote
0 answers
203 views

Is port scanning used by software for legitimate reasons?

Does normal network traffic sent out by software or anything else use port scanning for legitimate reasons? I'm using psad on my linux server and am unsure if setting the auto-ban IP feature on danger ...
  • 11
-1 votes
2 answers
624 views

What are the advantages of port scanning?

It seems like all the google results to this question answer what port scanning is, but go into little detail about how a pentester or hacker could use the information about what ports a network has ...
0 votes
1 answer
92 views

Can anyone tell me at this platform that what is the difference between filtered ports and blocked ports? [duplicate]

please help me out, I am confused in this.
1 vote
1 answer
429 views

Is it safe to expose port 22 on a database VM? [closed]

I have seen many answers to this question in different scenarios but I am still unsure of the actual answer. I have a VM in the cloud (Azure), which will be hosting my production database. Is it safe ...
  • 113
1 vote
3 answers
799 views

Is there a possible security advantage to using a non standard port for ssl/https?

There are documented (albeit debated) advantages to using a non standard port for SSH. I also read in various places about using a non-standard port for https (e.g. 8443). Is there a possible ...
  • 413
0 votes
2 answers
1k views

Nmap scanning with and without proxychains has different behaviour

I'm doing a nmap scan to my own machine to my own machine. First of all I set the port 333 to listen with this command sudo nc -lvnp 333 On the other terminal I run sudo nmap -O -sV -p 0-65535 IP ...
  • 103
1 vote
1 answer
2k views

Why can I access the internet with all ports closed on firewall? [closed]

For the heck of it I wanted to see how much I could close down my router from the rest of the internet. I was hoping turning on the firewall, removing any port forwarding and turning off UPnP would ...
  • 13
0 votes
0 answers
194 views

Very odd traffic - is it legit?

While troubleshooting an unrelated network problem, I noticed an interesting pattern on one of our networks for the last few days (at least). Before crying wolf, I wanted to see if somebody here may ...
  • 1,009
0 votes
1 answer
130 views

Attacking through an open but not listened port [duplicate]

Let us say, we open a port, say port 123, so that upon listening, an application on the server can receive incoming packets through the port 123. If there is no way that an inside application on the ...
  • 103
2 votes
1 answer
20k views

Microsoft DS vulnerability?

I heard that Microsoft DS is a port that is commonly used by hackers to hack computers due to its ability to transfer files. How do they transfer files with Microsoft DS? Do they need an exploit to ...
-1 votes
3 answers
16k views

Is TCP Port 80 (HTTP) vulnerable?

I heard hackers' top ports to hack computers through are port 80 and port 443. How do they do this though aren't port 80 and port 443 just for HTTP requests such as GET, POST?
1 vote
2 answers
552 views

Will blocking outgoing traffic from port 80 and only allowing port 443 from my home network lead to more security?

Is blocking outgoing HTTP connections from a home network and only allowing HTTPS connections reasonable? Will it reduce the chances of a man in the middle attack?
5 votes
1 answer
516 views

Is it security risk to host CS:GO server on my PC?

I have quite good hardware in my PC and an optic fiber connection. I opened a CS:GO (Counter Strike Global Offensive) server on it, and made it public. The IP for connecting to this server is my ...

1
2 3 4 5
9