Archive for December, 2009

30
Dec

tidnybbles, revisited

I have always been fond of neologisms.  I was quite surprised that apparently in the entire World Wide Web, “tidnybble” does not exist.

So… it’s mine.  I made that!

There are lots of references on the Web to “tidbyte” (which of course would be eight tidbits), but no one has ever used “tidnybble”.

Not. Ever.

Not even using the (incorrect, IHMO) “nibble” version of “nybble” (which, if you don’t know already, means four bits or half a byte).

I guess “nybble” is an old school (very 80s) word in the first place.  Very much fallen out of favor these days.

29
Dec

Nmap 5.10BETA2 and SOCKS

I’ve been using nmap for close to ten years.

Recently, after installing the latest beta version, I decided to read the docs.

I was quite surprised to find that proxy-detecting code (both http and SOCKS) was available.  Then I was somewhat disappointed that the method used was a bizarre scripting language nobody uses (Lua).

And when I finally tested the code out, I was incredibly unimpressed, especially with the SOCKS code.  It does nothing more than request an http from Google (terribly unoriginal).

I have an issue with that.

The reason I started looking at SOCKS proxies in the first place was that I discovered the vast majority of open port 1080 SOCKS proxies were improperly configured Microsoft ISA 2004/2006 (now known as Forefront TMG) boxes.  That in itself is not unusual, as there are thousands of server room Trevors and study-at-home MCSE wannabees who have no clue what they’re doing.

The issue with SOCKS and ISA is that Microsoft despises SOCKS.  And due the the architecture of ISA server (since the 2004 version), is that ISA SOCKS can’t do any Web protocols (http, https, ftp) if you have the ISA Web proxy service enabled.  So, requesting a Web page is bound to fail 99% of the time, making the Google Web page test an Instant FAIL.  However, they fail distinctively, and the nmap SOCKS script fails to realize that.

True, ISA servers are not the only SOCKS servers on the Web, but they’re the lowest of the low-hanging fruit.  They do have one major advantage: ISA servers do not log SOCKS traffic.

That’s pure, unadulterated anonymity, boys and girls!

The hard part, after finding an ISA SOCKS server open to the outside world, is to find a usable, non-Web port you can use.  For that you have to get creative with a stable, public, SOCKS judge, which is something I have personally failed miserably at over the last two years of this project.

However, I am working on the SOCKS judge part.  The best port to check is undoubtedly TCP 1935 (Flash server).  There are thousands of them, all public.  Ssh (TCP 22) is a good one as well.  It’s easier to identify (the initial ssh handshake is 100% clear text), but much harder to find and generally better protected.  TCP 53 (DNS zone transfer) probably has some good possibilities, but might raise too many red flags (still, it’s the SOCKS server owner’s problem – not yours).  If and when the usual Web protocols (80, 443, 21) work, that’s just fine, but using SOCKS for Web browsing is a complete waste of a valuable resource.

I’ve only lightly browsed the nmap Lua SOCKS script but I’m certain I could adapt it to these methods.

Meanwhile, nmap has added some other useful techniques that I missed over the last few revisions.  Notably, it can generate random IP addresses for scanning.  Nice feature, although that’s not what I do, since I am loathe to violate my ISP’s EULA.

Much.

28
Dec

tidnybbles

Get it?  Four tidbits = one tidnybble.

First, look at what Google did to the old project page.  What a gawdawful looking pile of crap.  To tell the truth, I had almost forgotten about it.  I ran across the new site Googling “mrhinkydink pwns you”, looking for the proxy judge page I put up  last week.

Second, I have been pissed off at GoDaddy and their Tech Support Lackey “Just Jonathan” (more here).  I need to pull up stakes and move on.  I am seriously sick of their bullshit.

Third, as a result of that crap, I’m looking into what it takes to move a WordPress site.  It turns out there’s a teensy bit more to it than just doing an export and import into a new site.  If you’ve uploaded graphics, the exported links still point back to the old site and all those graphics have to exist there.  That’s not too difficult to work around.

Fourth, completing the tidnybble, although I almost forgot about the old Google Pages content, I completely forgot that I had already moved the site once to WordPress.com!

So it seems the obvious solution is to bail on GoDaddy and move everything back to WordPress.

Unfortunately, although I do like WordPress-the-software (genital warts and all) I don’t like WordPress-dot-com that much.

22
Dec

Best Proxy Browser: SRWare Iron

It’s Chrome without Google! A winning non-combination!

Ever since I started plugging IP addresses into combo boxes (circa 1995), I have been frustrated by the lack of an easy cut&paste method to change addresses quickly, as well as the fact there has never been a standardized IP address interface (some you have to tab through octets, others will take a space, etc).

Just give me a freakin’ Crtl-V. Hell, I’d even settle for a Shift-Ins!

Browsers are halfway there, but you have to copy the port in separately.

Not so with Iron (Chrome as well). It takes a command line option in the form:

-proxy-server=[address]:[port]

DUH!

I can copy out of the List and paste right into the shortcut, adding the colon if required.

THAT’S A QUICK SWITCH, BITCH!

And what is the point of running multiple browsers if you can’t run multiple proxies?  That’s one of the things that always pissed me off about Safari (although originally it did support the http_proxy environment variable even in Windows – why the Hell did they take that out?).

Iron is available here.  There’s also a Linux version, but watch out because you may never go back to Firefox (or whatever) again!

21
Dec

Hinky’s Proxy Judge…

… And why you shouldn’t use it!

Now available here, Mr. Hinky Dink’s Proxy Judge is open for your proxy testing needs.

This page is completely bullshit-free, aside from… ahem… some editorial commentary that will not affect its proper operation.  There is very minimal HTML markup on the page and it includes all the HTTP headers you need for fast, easy scripting!

But there’s one teensy weensy problem…

Many commercial Web filtering solutions tend to block – of all things – proxy sites!  In fact the first time I tested it I was presented with a blocking page written in Portuguese (yes, I’ve been using a lot of Brazilian proxies lately).  So, it’s use may be somewhat limited.

BTW, if you care, this is my first PHP hack ever.

12
Dec

OOPS 12/12/09

I did a kernel upgrade this weekend on the UT99 servers and as a result had to stop The List for a few hours.

After everything was up and running I manually refreshed The List but I accidentally ran an old script – one that still had CoDeeN servers listed.  As soon as I caught that I fixed it, but it was up for about a half an hour before I noticed.

At noon (EST) today everything should be back in sync.

05
Dec

Runnin’ the Numbers, Part 2

Here we have a chart of all 2.3M proxies in the database for the entire length of the project, from March 15, 2008 to November 30, 2009.

project chart

The Koobface Bump of May-July 2009 is dwarfed by the July-September 2008 spike, which represents two major developments:

  1. The discovery of Interesting Site #1, the Mother Lode of all Proxy Lists
  2. To a lesser extent, the development of the Google Hack

Interesting Site #1 (a.k.a. IS-1) is no longer with us.  The domain name is dead and nobody bothered to park it when it died (probably because it got blacklisted as a SPAM domain).  They managed to keep whatever they were doing out of sight from everyone except Google (and me).

The List didn’t go online until June 2008, so everything between March and May represents gearing up for it.  So, with that in mind, “business as usual” is represented on the graph between 10/2008 and 11/2009.

And correcting for the Koobface Bump, it appears that 6,000-10,000 new proxies per month is pretty much the norm, which pisses me off because I wanted to show that business is actually dropping off!

04
Dec

Runnin’ the Numbers

I queried the database for the number of new proxies discovered over the last twelve months & came up with the chart below.

Koobface Surge

I almost forgot about the Koobface Flood, but there it is!  Those were the days, boys and girls.

“New proxies” are not necessarily “live proxies”.  They are IP address/port combinations that weren’t already in the database.  99.9% of “new” proxies are dead proxies, but this does give you an idea of what’s out there on the various proxy lists across the Web.

This really doesn’t show how bad the proxy business has been lately.  I haven’t run the numbers on the Gold database yet, but I’m working on it.

04
Dec

Flash Media Servers As Proxies

This week an interesting thread popped up in my email. You can find the original here.

I recently found out that the Adobe Flash Media Server (FMS) can operate “out of the box” as an open proxy, enabling other people to steal server resources and bandwidth. Furthermore, I also found that there is an ecosystem of pirates taking advantage of this “feature” to illegally stream sports events (and maybe other stuff as well). Each event uses multiple (stolen) servers and can amount to thousands of streams and Gbps of consumed bandwidth.

Steal resources and bandwidth?  Preposterous!  Who would do such a thing?

And, really, “an ecosystem of pirates”?  Jeez…

But… the subject is right up my alley so I did a little Googling.

Also, it just so happens I have about ten months of firewall logs with a lot of FMS (port 1935 – a.k.a RTMP – “Real Time Messaging Protocol”) traffic at my disposal.  As I write this the database is churning away getting all the unique FMS server requests (this could be another good use of SHODAN).

I did an initial query on three random addresses from the firewall database and got nowhere using my standard scripts to test for proxies on port 1935.  I also discovered that port 1935 is not one of the default ports nmap looks for in a standard scan (-F), which came as a surprise since I have been aware of the port 1935 & 1936 requirement for (some) Flash applications for about nine years.

Someone should tell Fyodor.

Anyway, my firewall log query is finally done and I ended up with 2,927 FMS servers (lots of Akamai addresses) to play around with.  Google pointed me to the RTMP specification (in pdf format here), so I have some poking around to do.

This is definitely going to be a fun weekend!

02
Dec

Cameroon: Bustin’ The Charts For Malware

It seems our Cameroonian pals have been busy the last year making their home domain (.cm) the riskiest place on the Internet, according to a report by McAfee.

Cameroon, a small African country that borders Nigeria, jumped to the number one spot this year with 36.7 percent of the .cm domain posing a security risk, but did not even make the list last year. Because the domain .cm is a common typo for .com, many cybercriminals set up fake typo-squatting sites that lead to malicious downloads, spyware, adware and other potentially unwanted programs.