May 26, 2016 By Larry Loeb 2 min read

Sometimes, changes believed to be for the best can have unintentional negative consequences. For example, the changes in the generic Top Level Domain (TLD) system seem to have enabled possible man-in-the-middle (MitM) attacks, according to a recent US-CERT alert.

Unintended Consequences

Web Proxy Auto-Discovery (WPAD) is a protocol used to ensure all systems in an organization have the same proxy configuration. But instead of individually modifying configurations on each device connected to a network, WPAD locates a proxy configuration file and applies it automatically.

Unfortunately, WPAD is known to be vulnerable. Researchers at Verisign Labs and the University of Michigan recently identified a new attack vector involving the protocol that may be a serious risk to enterprises.

The problem begins when an enterprise creates an internal namespace with domains such as .corp, .dev and .network for their corporate active directory and lightweight directory access protocol (LDAP). Usually, this would not be an issue because these internal TLDs are meant to be served only from an internal domain name system (DNS). However, it’s possible that these internal domains can exist on the open Internet.

Other issues could stem from a work laptop connecting to public Wi-Fi at a local coffee shop, for example. WPAD queries may be made in error to public DNS servers.

Another problem? The use of WPAD is enabled by default on all Microsoft Windows operating systems and Internet Explorer. It is also supported on most other modern browsers and OSs — so anyone could become a victim.

Actors Eyeing MitM Attacks

Here’s the barb: Attackers may exploit such leaked WPAD queries by registering the leaked domain and setting up MitM proxy configuration files on the Internet. They can launch a MitM attack on the entire enterprise. They don’t have to wait for a specific session, rather they just hang around and wait for it to happen.

US-CERT advised disabling WPAD on any computer that will be using public access. The agency also recommended that firewalls and proxies be configured to log and block outbound requests for files.

Enterprises will have to monitor the public namespace and register domains defensively to avoid future name collisions. That’s the only way to totally lock this problem down.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today