How to Evade URL Filters With (Not-So) Fancy Math
In their constant quest to find new and interesting ways to abuse the Internet, attackers recently have begun using an old technique to obfuscate URLs and IP addresses to bypass URL filters and direct users to malicious sites.
The technique takes advantage of the fact that modern browsers will allow users to specify IP addresses in formats other than base 10. So a typical IP address that looks something like this-- 192.10.10.1--can also be written in base 8, hexadecimal or a handful of other formats, and the browser will recognize it and take the user to the specified site. In a blog post describing the technique, Josh Phillips, a Kaspersky Lab malware analyst, explains how effective this could be against current URL-filtering technologies:
What is interesting though is that due to the relative obscurity of using such methods to denote an IP or URL, it is quite feasible that existing security products do not correctly identify the URLs as valid or flag them as malicious when they point to existing known bad websites.
Recommended Reads
In my testing, Firefox on Windows supports all of the above addresses, under Linux however, Marco from our German office says some are unsupported. Based on poor browser support for such features, it’s possible to imagine URL filtering tools having the same lack of support.
In addition to potential weak tool support for such URLs, it is likely that unsuspecting users may be more easily convinced that a particular URL is legitimate, which I think is the obvious goal of using such URL obfuscation techniques.
That's clearly the goal of these kind of attackers, and it's not surprising to see them going back to a technique that's worked in the past. Not every attack needs a zero-day exploit to be effective. Sometimes the old way is still the good way.
Kaspersky Lab Channel and Alliance Partners
Newsletter Sign-up
Newsletter Sign-up
Security news and analysis with expert opinion and perspective from the Threatpost editors.
Take Our Poll
Listen to Latest Podcasts
-
-
You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.
-
You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.


Comments
These URLs don't work in Camino on the Mac.
well stop being the douche that uses camino and a mac
They don't work in either Safari or Firefox on the Mac either... but that's really besides the point, since the Mac wouldn't run any viral code attached to malware pages which use this method anyway.
Here is a similar post from 2002:
http://www.pc-help.org/obscure.htm
It worked just fine, osx 10.5.8, safari 4.0.5
Works!
This Thunderbird bug report from 2007 mentions the problem and is older than the "Phishing with encode IP address" you mentioned in your post: https://bugzilla.mozilla.org/show_bug.cgi?id=393759.
Regards.
All of the different formats work in Chrome on Windows.
All of them also work on Linux + Chrome
Older than the internet, but, this is still useful for historical insight. OK, now I gotta flame someone using a Mac from my equally ubiquitous OS...
still work firefox 3.6 in windows..huhuhuh
Post new comment