Showing posts with label DNS attacks. Show all posts
Showing posts with label DNS attacks. Show all posts

Wednesday, 17 June 2015

Does DNSCrypt Help in Dealing with DNS Attacks?



DNS is the most fundamental block of the internet. It is basically used while sending a mail, visiting any website, having an IM conversation or any kind of work related to the internet. DNS is one of the most attractive attack targets as it is an infrastructure service. In past, Kaminsky DNS Vulnerability has affected almost all the DNS implementation over the world. This problem was a result of some underlying foundations that were weak specifically at the “last mile.” The “last mile” is the connection between the ISP and the computer. 



DNSCrypt is a way to secure the “last mile” of DNS traffic as well as resolving the entire class of security issues that may be of serious concern with DNS protocol. There are several users of the web. Nowadays, mobile usage has been increased for which people are using several Wi-Fi networks. So, there is a need for more secure network. There have been several examples like the man in the middle attacks, tampering, snooping of DNS etc. These are serious security risks that can’t be avoided. But these need to be fixed.

Significance of DNSCrypt
 
DNSCrypt provides Internet security. It encrypts the DNS traffic that becomes secure from the man in the middle attacks or any tampering. It does not require any change in the domain name. It simply serves a way to communicate securely by encrypting between DNS servers and the end users. Claims don’t work out in the internet world. For this, there is a source to this code that is available over GitHub.  

DNS Denial-of-Service (DoS) Attacks or DNS attacks and Securing DNS Servers

 
Reflector attacks: These are the most common example of DNS vulnerabilities in the default configurations of ISC BIND as well as the DNS Server service. 

Dos attacks: These DNS attacks are difficult to defend. It was invoked against the application by taking the specific DNS lookup. Separate the recursive resolvers and the authoritative name servers so that the sites only with the authoritative name server can be queried. It prevents the external users and provides security.
Request Redirection: It occurs when the DNS query gets intercepted on the DNS server. When the request gets redirected, the name server indicates that the interception has occurred in a LAN connection. Query interception may occur on recursive queries that may be outside of the local network.

DNS cache-poisoning attack: These DNS attacks can cause high level damage as the information are sent to malicious sites. The recent attack is named as Kaminsky bug. It happened when the random values for the transactions were easily guessed. When this issue was encountered, then it was found that the sites running DNSSEC having DNSSEC validation is prone to attack. 

Zone enumeration: Enumeration of zone data happens when the user uses the DNS diagnostic commands like nslookup for a site so as to know the information regarding the network of the site.
Mitigating zone-Enumeration threats require advertising over the internet. Most of the sites run internal and external servers to splits DNS views.

Tunnels: Attention is mostly focused on the DNS query as well as the response transaction. It is a UDP transaction. However UDP and TCP transport mechanism are used. DNS TCP is used for secondary zone transfers.  

Mitigating DNS tunneling traffic depends on a combination of both traffic monitoring as well as server configuration. Zone transfers occur between the secondary server and the authoritative server.

Secure DNS Servers

 
DNSCrypt is used to secure DNS servers by encrypting the data so as to make sure that every part of the internet connection to secure DNS servers. It is a side-project at OpenDNS, which is used to protect browsing, filter content, speed up browsing experience, and correct wrong or mistyped URLs. It's a kind of simple software that can be easily downloaded and installed on the Mac, Linux or Windows system to secure DNS servers.

Conclusion


There are several types of DNS attacks like Mitigating DNS risks that depend on DNSSEC, traffic monitoring as well as configurations that separate the various DNS functions. OpenDNS has provided a world class security for several years. It is the most secure service available on the web. It is an open source tool used to secure DNS servers. The packages are available over the internet and can be downloaded directly from the OpenDNS. Officially it can be downloaded and used by the Mac OS X and Windows. But nowadays special instructions are available by following which it can be used with other systems like Android devices.

Wednesday, 10 June 2015

Encrypting DNS Traffic with DNSCrypt



The Domain Name System (DNS) is a pervasive component of our computing and Internet. We do not realize its existence even though we use it all the time. It acts like the phone book of the Internet where it translates computer hostnames that are readable by human to IP addresses. The DNS server stores DNS records of domain names. Hence, it is of importance to the user by locating services on the network.. It is a technology that like all other systems and also network protocols is vulnerable to attacks. You need to secure DNS because of its huge role and importance. 



The DNS is prone to attacks such as Cache poisoning where DNS attacks exploit vulnerabilities in the DNS security to add wrong addressing information to the caches. Because of it when you access the cache to go to a site you will instead find yourself on a different server controlled by attackers. Though, DDOS are not specific to the DNS, it is still vulnerable to the Distributed Denial of Service attack that results from the infrastructure of the DNS not being able to handle the amount of requests received. Another threat is of the Register Hijacking where attackers compromise the chosen registrar on your account and in the process gaining control of the domain name. This and other modes of threats mean that you have to prevent your servers against DNS attacks. The OpenDNS have come up with a software that serves to secure the protocol from future threats.

The security program provides an added security level solution on Windows and Mac where it is used as a form of DNS security. It encrypts the DNS by creating a connection that is encrypted to the DNS servers then it creates a DNS proxy in your computer. Therefore, when you try to access a site, the browser sends a DNS query to a local host address. Now, the request gets forwarded to a DNS server through the connection which is encrypted. The DNS information gives a complete account on the internet activity, the domains, and all the servers that you made the connection to hence are very valuable. By encrypting hence, making sure of a secure DNS, the spies who are in the middle of eavesdropping on your connection get blocked from accessing your information.

How to Get DNSCrypt?


The package is available free and can get downloaded from the official website. From the main site choose DNSCrypt Proxy ZIP package for Windows and download it. Configuring it on your computer is easy.

How to Install?


The software works where there are OpenDNS setting therefore before installing set the internet connection so that OpenDNS gets used as the provider. 

1. Once the internet settings get configured, from the downloaded package, extract the folder contained in it and put it in a drive on your computer and then rename it to “DNSCrypt.” 

2. Open the command prompt as an administrator 

3. When you have opened the command prompt, go to the folder named “bin” inside the folder that you extracted, that is the DNSCrypt folder. You can do it by providing the path to the drive and folder in which it gets stored. For example: c:\name\dnscrypt\bin.

4. Enter the command “DNSCrypt-proxy.exe which will install the program.

5. After executing, you should get a message to confirm the success along with information on the registry key used and settings on the DNS resolver that you have to change.

6. Press “Win + X” then choose “Network Connections” that will open the Network connection pane. For those using Windows 7 and Vista, go to “Network and Sharing Centre.”

7. Right-click on the network adapter then choose “properties,” this opens the properties window where you scroll down to “internet protocol version 4 (TCP/IPv4)” and select the Properties button.

8. Click on the button “use the following DNS server addresses” where you enter 127.0.0.1 localhost address as the preferred DNS. 

9. Once it is done click on the button “OK.”

Conclusion


Encryption of the DNS server is sensible and advisable more so if you are getting access to the internet through public connections. The virtual private network can be used as an additional measure when you use a public network and where you do not have full control of the network. The software does not reduce the speed of your browser and neither does it use many resources from your machine while it does its duty to give you a secure DNS.

Thursday, 7 May 2015

Dnscrypt Guide: Some Tips to Fix ‘Dnscrypt-proxy.exe’ Errors


Undoubtedly, it is becoming highly important for Internet users to avail full DNS protection in order to avoid major cyber attacks. Security breaches in the DNS servers may lead to some serious DNS attacks such as snooping, man-in-the-middle attacks and other severe online frauds. Managing DNS security is a challenging task as virtual threats are becoming stronger day-by-day. Encrypted web browsing is one of the safest methods to avoid such annoying situations and stubborn virtual threats, but you will need to decide which tool you wish to apply and why. Some will have capabilities to block malicious threats, some can offer full DNS safety while others may come handy to manage DNS servers. Dnscrypt is one of the best server encryption tools that can help you fight against leading cyber crimes and security threats.



Sometimes you may confront some uncertain ‘Dnscrypt-proxy.exe’ errors that may create loopholes in your server’s security shield. Follow the below-mentioned tips to ensure that you stay protected from virtual threats, DNS attackers, and other cyber troubles:

Tip1. Repair Third-Party Application’s Registry Entries

Sometimes ‘dnscrypt-proxy.exe’ errors may relate to the problems in the Windows registry just because some programs sharing the same ‘dnscrypt-proxy.exe’ file gets uninstalled or changed. It simply means that the actual file path has changed, and your Windows system is still having records of an incorrect former location in the Windows registry. When Windows tries to connect to such incorrect file references, ‘dnscrypt-proxy.exe’ errors can occur and interrupt your regular computing operations. Additionally, a stubborn infection or malware may have corrupted the registry entries, resulting in showing the DNS security error message. Follow these steps for repairing your Windows registry manually:

1.       Create a backup by exporting a portion of the ‘dnscrypt-proxy.exe’ registry
2.       Click the ‘Start’ button
3.       Type ‘command’ in the search box, hold ‘CTRL+Shift’ keys on your keyboard and hit Enter
4.       You will see a permission dialog box
5.       Click ‘Yes’ to continue
6.       A black box having a blinking cursor will appear
7.       Type "regedit" and hit Enter
8.       Select the ‘dnscrypt-proxy.exe-related’ key in the ‘Registry Editor’
9.       Click the ‘File’ menu and choose ‘Export’
10.   Choose a folder to save the Third-Party Application backup key in the ‘Save In’ list  
11.   Name your backup file in the ‘File Name’ box
12.   Confirm that the ‘Selected branch’ option is selected in the ‘Export Range’ box
13.   Click ‘Save’ and the file will get saved with a ‘.reg’ file extension
14.   Now, start editing your registry manually, but beware as it carries the high risk of damaging your system. 

Tip2. Clean Out PC's Junk With Disk Cleanup

 
Your system accumulates junk files over time from normal web surfing and computer operations. If the junk isn't cleaned out, it can cause serious PC problems like system slowdowns, the application hangs, computer freezes and others. Accumulated junk files may also end up showing the ‘dnscrypt-proxy.exe’ error. Junk files may showcase the error message because of constant file conflicts or an overloaded hard disk drive. Cleaning up the temporary files with Disk Cleanup can solve your dnscrypt-proxy.exe error, so follow these steps to run Disk Cleanup on Windows-based PCs:

1.       Click the ‘Start’ button
2.       Type ‘command’ in the Search box
3.       Hold ‘CTRL+Shift’ keys on your keyboard and hit Enter
4.       You will see a permission dialog box
5.       Click ‘Yes’ to continue
6.       A black box having a blinking cursor will appear, type ‘cleanmgr’ and hit Enter
7.       Disk Cleanup start calculating the occupied disk space that you clean
8.       Select your desired actions from the series of checkboxes located on the ‘Disk Cleanup’ dialog box and click ‘OK’ to clean out junk files.

Tip3. Utilize Windows System Restore to "Undo" Recent System Changes

 
Windows System Restore feature comes handy while repairing faulty PCs and it sets your system back to the time when it was working fine. The feature also helps you to fix your ‘dnscrypt-proxy.exe’ problems. System Restore saves your system state and revert the faulty system to PC's system files and programs when it was working fine. Use the following tips and get rid of the DNS security failure error message:

1.       Click the ‘Start’ button
2.       Type ‘System Restore’ in the Search Box and hit Enter
3.       Click System Restore in the Search results 
4.       Enter any administrator passwords, if required
5.       Follow the Wizard’s instructions to choose a restore point and restore your computer to an earlier working state.

Conclusion


Sometimes it is also possible that the ‘dnscrypt-proxy.exe’ error could be a result of a malware infection on your PC. An incomplete installation or loopholes in the Dnscrypt security layer may also display the error. If you wish to avail full DNS protection, ensure that you follow all the common DNS security tips and other protective online measures. Establishing an encrypted web browsing environment isn’t easy, but you should make every possible effort to prevent DNS attacks and stay safe online.