Jump to content

Recommended Posts

Posted

I know, I know, it is DNS but I was reading an article about containing Crypto Ransomware and one suggestion was to block Port 53 at your edge firewall from all devices except your DNS servers. That way any legitimate device will go to your server, any dodgy device or dodgy software trying to DNS directly is blocked and shutdown.

 

This sounds sensible and logical but could I be causing issues if I do it? Is there any thing else that may legitimately want to contact DNS directly? Has anyone else done this all ready?

  • Thanks 1
Posted
Exchange could be configured with external forwarders. Anything that is vlan'd away from your internal DNS and has its own DHCP server (such as enterprise wifi or telephony) may well look outside for dns. Shouldn't be too hard to find out though. Is it common for ransomware to require access to public dns records? Guess so...
Posted
Exchange could be configured with external forwarders. Anything that is vlan'd away from your internal DNS and has its own DHCP server (such as enterprise wifi or telephony) may well look outside for dns. Shouldn't be too hard to find out though. Is it common for ransomware to require access to public dns records? Guess so...

 

The article (which of course I can't find now) was saying that ransomware normally has a DNS server address hardcoded in so blocking it from phoning home will stop it being able to communicate with its command and control server.

 

Would Exchange not use your internal DNS to resolve, the external forwarder would be using a different port for mail?

Posted
The article (which of course I can't find now) was saying that ransomware normally has a DNS server address hardcoded in so blocking it from phoning home will stop it being able to communicate with its command and control server.

 

Would Exchange not use your internal DNS to resolve, the external forwarder would be using a different port for mail?

 

Ah, thanks. Yes, usually Exchange would usually point to internal dns but can also be configured to look outside within the properties of the hub transport role in certain circumstances. Not the most common scenario but worth checking :)

  • Thanks 2
Posted
As a rule of thumb I block everything going out and only allow what needs to be, so for example on a site that isn't using a proxy only 80 and 443 are allowed for clients for web traffic and any other specific things and then only allowed to the IP's they need to.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...