3

I hope this is the right place to ask this, but I've been browsing Shodan in the hope of gaining some insight as to how many services my organisation has that are externally accessible so I can work with our networking teams to get these closed or work with the academics responsible for services to ensure the boxes are updated and configured correctly or pull the server off the net to be internal-only.

I am noticing a trend among some universities where they have port 179 for BGP open among many thousands of IP addresses in the same IP address scope. To my knowledge, BGP responds to a telnet connection, even if it's just to say that access was denied but Shodan shows no banner for these at all. If I try connecting using putty, the window opens then closes very quickly suggesting whatever is on the other end is terminating the session, possibly because I'm not on an access list.

I haven't done BGP yet in my studies so happy to learn, but this has me curious. I can say for certain that we don't have an AS number, our ISP owns the AS, and it's used for other institutions too, so in my basic knowledge of BGP we don't use it but our ISP does, so theoretically there isn't any reason for us to have such a large number of port 179s across thousands of IPs open to the internet and can therefore be safely closed without affecting any. I don't believe that we are acting as a peer for other organisations routes either.

So, ultimately, is there any reason for an organisation that isn't large enough to run BGP to have port 179 open across a large scope of IP addresses?

Working in IT Security I feel I should know this!

  • 1
    If you're not running BGP, it wouldn't seem to be much of a risk. – Ron Trunk Jul 12 '18 at 11:29
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide and accept your own answer. – Ron Maupin Dec 25 '18 at 9:04
1

Port 179 is responsible for forming the peer between the ISP and the client. In fact, few providers realize firewall protection on port 179 to avoid peering problems with their clients. In good practice, the ISP should perform an ACL by allowing TCP connections on port 179 only on the IPS that it provides to its clients closing a BGP session and blocking the rest, but I believe that it should be a very poorly performed practice. So since you do not have an AS, I can not see how this "security breach" can impact your network.

0

Many Universities seem to take a relatively open approach to network security. Rather than having a default-deny set-up with special requests needed to open stuff up they often have a default-allow setup with only high-risk services blocked by default.

There is no law requiring people to only use ports for the IANA-assigned services. I would guess that if you are finding a port open on thousands of machines that it is probablly not being used for BGP. If these machines are in your organisation then it may be worth tracking one down and seeing what id going on.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.