Author Topic: Can a host have zero open port? Is it possible?  (Read 1980 times)

0 Members and 1 Guest are viewing this topic.

Offline hack3rcon

  • Peasant
  • *
  • Posts: 80
  • Cookies: -216
    • View Profile
Can a host have zero open port? Is it possible?
« on: September 05, 2015, 06:36:59 pm »
Hello.
I scanned an IP with Nmap and tested different scanning method but Nmap show me that the IP has 0 open port. Is it possible? If a host have 0 open port, Then how administrator connect to it ?
I used Nmap slow method too but not matter.


Any idea?


Tnx.
« Last Edit: September 05, 2015, 06:37:14 pm by hack3rcon »

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Can a host have zero open port? Is it possible?
« Reply #1 on: September 05, 2015, 08:43:05 pm »
It is possible, maybe it's a local NAS server and admins don't need remote access to it, so...

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Can a host have zero open port? Is it possible?
« Reply #2 on: September 05, 2015, 11:49:02 pm »
Hello.
I scanned an IP with Nmap and tested different scanning method but Nmap show me that the IP has 0 open port. Is it possible? If a host have 0 open port, Then how administrator connect to it ?
I used Nmap slow method too but not matter.


Any idea?


Tnx.
It is called firewalling.
Likely IP filtering, also a machine does not need open inbound ports.
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline hcac

  • Serf
  • *
  • Posts: 25
  • Cookies: 4
    • View Profile
Re: Can a host have zero open port? Is it possible?
« Reply #3 on: September 06, 2015, 09:00:33 am »
Admin could even get a "connect back" from that machine

Offline hack3rcon

  • Peasant
  • *
  • Posts: 80
  • Cookies: -216
    • View Profile
Re: Can a host have zero open port? Is it possible?
« Reply #4 on: September 07, 2015, 09:42:47 am »
It is a Router modem and I'm sure firewall is ON, But how can deep scanning it? It is very odd if a router not have any Open ports. It is true that via a cable network admin can configure it and no open ports are need but an Internet router need open ports like SSH and telnet.

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Can a host have zero open port? Is it possible?
« Reply #5 on: September 07, 2015, 02:24:45 pm »
It is a Router modem and I'm sure firewall is ON, But how can deep scanning it? It is very odd if a router not have any Open ports. It is true that via a cable network admin can configure it and no open ports are need but an Internet router need open ports like SSH and telnet.
You are really fucking clueless.
OPEN INBOUND PORTS ARE NOT REQUIRED.
Nothing odd about it, in fact most of the hosts on the web don't have open ports.
« Last Edit: September 07, 2015, 02:25:39 pm by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline hack3rcon

  • Peasant
  • *
  • Posts: 80
  • Cookies: -216
    • View Profile
Re: Can a host have zero open port? Is it possible?
« Reply #6 on: September 07, 2015, 08:39:08 pm »
A router needs SSH and Telnet to route packets to the internet?


No, For connect to it remotely.

Offline hack3rcon

  • Peasant
  • *
  • Posts: 80
  • Cookies: -216
    • View Profile
Re: Can a host have zero open port? Is it possible?
« Reply #7 on: September 07, 2015, 08:39:55 pm »
You are really fucking clueless.
OPEN INBOUND PORTS ARE NOT REQUIRED.
Nothing odd about it, in fact most of the hosts on the web don't have open ports.
Then, How can admin configure it remotely?

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Can a host have zero open port? Is it possible?
« Reply #8 on: September 07, 2015, 11:37:45 pm »
Then, How can admin configure it remotely?
There are many methods; machine in the same network(IPfilter/MACfilter,ACL whatever), multiple NIC 's, VLANs , connect back etc etc etc.
I really suggest you read up on networking and security before making a fool out of yourself.
« Last Edit: September 07, 2015, 11:39:18 pm by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline hack3rcon

  • Peasant
  • *
  • Posts: 80
  • Cookies: -216
    • View Profile
Re: Can a host have zero open port? Is it possible?
« Reply #9 on: September 08, 2015, 10:10:01 am »
There are many methods; machine in the same network(IPfilter/MACfilter,ACL whatever), multiple NIC 's, VLANs , connect back etc etc etc.
I really suggest you read up on networking and security before making a fool out of yourself.


Thank you for your idea.
I know Routers have some method as you said. Like MAC Filtering or IP Filtering, But if the admin enable MAC filtering or IP filtering the router must have an open port that just let special MAC or IP for connect to it remotely. Can these ports Ability to find?
« Last Edit: September 08, 2015, 10:10:43 am by hack3rcon »

Offline hcac

  • Serf
  • *
  • Posts: 25
  • Cookies: 4
    • View Profile
Re: Can a host have zero open port? Is it possible?
« Reply #10 on: September 08, 2015, 01:30:43 pm »
proxx said "in the same network". You are probably not in the same network as that machine.
Also by NIC meant that machine could have DIFFERENT network interfaces and probably different IPs or even internal or... .
Eventually the answer to your thread's subject ("Can a host have zero open ports?") was given so many times: YES!

Offline 0E 800

  • Not a VIP
  • VIP
  • Baron
  • *
  • Posts: 895
  • Cookies: 131
  • • тнε ιηтεяηεт ιs мү яεcүcℓε-вιη •
    • View Profile
Re: Can a host have zero open port? Is it possible?
« Reply #11 on: September 09, 2015, 01:11:17 am »
Get the mac address, look up the vendor.
Download the manual for the device.
Read it.
The invariable mark of wisdom is to see the miraculous in the common.

Offline m0rph

  • The People's Champ
  • VIP
  • Peasant
  • *
  • Posts: 50
  • Cookies: 44
  • Master Debator
    • View Profile
    • unkn0wn
Re: Can a host have zero open port? Is it possible?
« Reply #12 on: September 09, 2015, 03:14:50 pm »
But if the admin enable MAC filtering or IP filtering the router must have an open port that just let special MAC or IP for connect to it remotely. Can these ports Ability to find?
Please read this first: https://en.wikipedia.org/wiki/OSI_model

So, as you can see from the OSI model. MAC filtering takes place at layer 2, IP filtering takes place at layer 3, and ports operate at layer 4. Therefor, it is entirely possible for a router to not have any open ports, and still be able to route, filter macs, and other basic network-relevant malarkey.

So when you throw in a scenario where an admin logs into a device that appears to not have any open ports, that's exactly a farse. In those cases, access is allowed or disallowed via filtered ports - ports that are neither open, nor closed, they are filtered by a firewall. That's not entirely accurate either though, because a port doesn't actually listen in a "filtered" state, but rather the firewall filters datagrams depending on rulesets and sends a reject message if the datagram isn't allowed.

So if you run a scan, and it says "all X ports are closed" what it actually means is that the host 1) doesn't have daemons/services listening on the port range you specified 2) is either logically or physically inaccessible from you or 3) is up, but because you were able to resolve an address with ARP it is actually up and legitimately doesn't have any listening daemons/services listening on the network you share with it which is where the suggestions proxx gave you would came into play (vlans, ACLs, IP filtering, so on and so forth).
« Last Edit: September 09, 2015, 03:15:40 pm by m0rph »
The code is strong with this one.

Offline hack3rcon

  • Peasant
  • *
  • Posts: 80
  • Cookies: -216
    • View Profile
Re: Can a host have zero open port? Is it possible?
« Reply #13 on: September 09, 2015, 06:11:52 pm »
proxx said "in the same network". You are probably not in the same network as that machine.
Also by NIC meant that machine could have DIFFERENT network interfaces and probably different IPs or even internal or... .
Eventually the answer to your thread's subject ("Can a host have zero open ports?") was given so many times: YES!


Can you explain it more? What is you mean about not on a same network?

Offline hcac

  • Serf
  • *
  • Posts: 25
  • Cookies: 4
    • View Profile
Re: Can a host have zero open port? Is it possible?
« Reply #14 on: September 09, 2015, 06:32:04 pm »
It can have different interfaces, for example in Linux you have eth0, eth1, wlan0, usb0, ... net interfaces. The machine can "bind" specific IP addresses, e.g.: You have a wireless network router that gives your machine the IP "192.168.0.2" and you have a wired connection with the IP "173.73.77.34".
Then when you want to run a service such as FTP, you can tell it to just bind it to "192.168.0.2" which is your wlan0 (wireless network interfaces). After that your machcine won't open the port on 173.73.77.34 it will open it on 192.168.0.2. Totally seperated.
*When you open a port and bind it to 0.0.0.0, it's applied to all net interfaces.