Slashdot Mirror


Virus Trackers Find Malware With Google

Casper the Angry Ghost writes "Malware hunters have figured out a way to use the freely available Google SOAP Search API, as well as WDSL, to find dangerous .exe files sitting on thousands of Web servers around the world. Queries can be written to examine the internals of web-accessible binaries, thus allowing the hunters to identify malicious code from across the internet." From the article: "We're finding literally thousands of sites with malicious code executables. From hacker forums, newsgroups to mailing list archives, they're all full of executables that Google is indexing. About 15 percent of the results came back from legitimate Web sites hijacked by malicious hackers and seeded with executables."

38 of 113 comments (clear)

  1. do no evil, rat out evil by yagu · · Score: 5, Interesting

    This raises Google's "no evil" equity significantly. Any mechanism to sniff out, identify, and hopefully proactively take measure to protect against the evil that is the web and its sinister demographic is a good thing.

    So, Google takes the "do no evil" a step further and calls evil out.

    There is a quote from the article I don't quite understand,

    "While we do not believe that the fact that Google is indexing binary file contents is a large threat, this is further evidence of a rise in Web sites being used as an method of storing and distributing malicious code," Websense said in a research note announcing the experiment.

    Is there some potential badness that Google is indexing binary file content? What might that be?

    1. Re:do no evil, rat out evil by mrxak · · Score: 5, Interesting

      It's not really Google that's doing it, it's Websense using a Google tool.

      In any case, the only thing I can figure about the quote is that Google indexing these sites helps to spread the malware around. Somebody could type in "l337 hax0rs hax" and end up at a malware site.

    2. Re:do no evil, rat out evil by Anonymous Coward · · Score: 2, Insightful

      I think you're getting a little ahead of yourself in giving Google credit for this. It's not like creating an interface for malware hunting was intentional on their part...

    3. Re:do no evil, rat out evil by ZachPruckowski · · Score: 3, Insightful

      In any case, the only thing I can figure about the quote is that Google indexing these sites helps to spread the malware around.

      Only if you're looking for it in the first place (like if your a hacker). It doesn't affect Joe-Average.

    4. Re:do no evil, rat out evil by diersing · · Score: 2

      Why not? Gun manufacturers have been sued for less.

    5. Re:do no evil, rat out evil by jc42 · · Score: 4, Insightful

      Is there some potential badness that Google is indexing binary file content? What might that be?

      The computer industry does have a nasty history of "shooting the messenger" when malware is reported. People really don't want to know that their machine has been compromised, especially if it implies lax security on their part. They routinely react by firing or prosecuting the people who do anything to pinpoint security problems like this. We can expect to read stories of threats against people who use this Google feature to find security problems.

      The obvious explanation here is the old "stupidity rather than malice" saying. But this might not always be true. When someone in authority attempts to punish someone for exposing a security problem, you should probably assume that they understand what they're doing and have a motive for their action. It's likely that some of those with the authority to punish messengers are doing so because they don't want the problems exposed, for reasons of personal (or institutional) profit.

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    6. Re:do no evil, rat out evil by Elemenope · · Score: 2, Funny

      I really have no idea why this was included in the article at all.

      For 'balance'. Duuuuhhh!

      --
      All the techniques ever used to make men moral have been themselves thoroughly immoral... (Nietzsche)
    7. Re:do no evil, rat out evil by BecomingLumberg · · Score: 2, Funny
      Somebody could type in "l337 hax0rs hax" and end up at a malware site.

      You know, in Alaska, they have a joke about how one is goes about hunting Polar Bears.... 'just go out there, they will find you.'

      --
      If a nation expects to be ignorant and free, in a state of civilization, it expects what never was and never will be.-TJ
    8. Re:do no evil, rat out evil by pclminion · · Score: 4, Insightful

      So, Google takes the "do no evil" a step further and calls evil out.

      Drop the stupid melodrama. Google is a mechanism for searching for strings of bytes inside other strings of bytes, and prioritizing the results according to certain algorithms. "Calling evil out?" You're insane. I suppose the ANSI C function strstr() is also a Wielder Of The Sword Of Righteousness?

      Is there some potential badness that Google is indexing binary file content? What might that be?

      How about the RIAA using it to locate caches of MP3 files? It's plausible that a person might have personal backups of their music collection (or *shock* music they purchased on iTunes) and accidentally have those files on a public web server. (Or they could be pirates -- the point is, the technology is not "good" nor is it "evil").

    9. Re:do no evil, rat out evil by JW.Axelsen.Sr. · · Score: 2, Funny
      Somebody could type in "l337 hax0rs hax" and end up at a malware site.

      http://www.google.com/search?q=l337+hax0rs+hax

      too right, some of the results are humorous

      (2nd page)

      Is Your Son a Computer Hacker - Comments - Page 1
      sooo in other words... i must be a "l337" hacker because as a magic 8ball says ... what Flash really is, or is 75% of all companies of THE WORLD, hax0rs? ...
      www.adequacy.org/stories/hacker.comments.page.1.ht ml - 887k - Cached - Similar pages

      N074H4x0r ... I'm no Hacker
      The B3atles Were Hax0rs. They were singing about SQL Injection, and like encryption and stuff ... I don't sp34k l337, I refer to my friends by their names, ...
      n074h4x0r.blogspot.com/ - 144k - Cached - Similar pages
  2. SOAP? by breckinshire · · Score: 5, Funny
    Google SOAP Search API
    Is there anything that the Snakes on a Plane Search API can't do?
  3. Correction by BRSQUIRRL · · Score: 4, Informative

    That's WSDL, not WDSL. I felt really stupid for a moment trying to figure out what the heck WDSL was.

  4. What Are They Taking About by Anonymous Coward · · Score: 2, Funny

    What is a *.exe? Never seen that kind of file on any of my three operating systems. Good, one thing less to worry about.

  5. So wait... by Skynet · · Score: 3, Funny

    Google is connecting to the whole Internet to fight a global virus infection?

    MY DAY HAS COME!!! MNMUAUAUAU!

    EXECUTE? [Y/N] _

    --
    Execute? [Y/N] _
  6. Little did you know by neonprimetime · · Score: 3, Funny

    About 15 percent of the results came back from legitimate Web sites hijacked by malicious hackers and seeded with executables

    Little did you know, even /. was hijacked! But the /. masses were not affected because the executables don't run on linux!

    1. Re:Little did you know by yourOneManArmy · · Score: 5, Funny

      Actually, the real reason it was ineffective was because they put the executables in an article link.

  7. SiteAdvisor by torunforever · · Score: 2, Insightful

    Is this similar to what SiteAdvisor is doing?

  8. Web Site Contact by RetroGeek · · Score: 3, Interesting

    I hope the authors are planning to contact the affected site owners. The article did not mention this.

    They could also build a list of these sites to periodically check them to make sure the malware files have been removed.

    And it would be nice if they allowed a search facility so some FireFox/SeaMonkey plugin could check to see if that site you are going to has malware installed.

    --

    - - - - - - - - - - -
    I am a programmer. I am paid to produce syntax not grammar. Deal with it.
    1. Re:Web Site Contact by badfish99 · · Score: 3, Insightful
      Given the current state of the law, it is really dangerous to contact a site owner and tell him that his site is insecure. It is quite likely that you will be prosecuted for "unauthorised access" to the site.

      Much better to just add the site to your personal list of things to avoid, and then forget about it.

    2. Re:Web Site Contact by jafiwam · · Score: 3, Interesting

      Actually, what would be cool is a plugin that can do searches in the background (maybe based on urls linked in a page being currently viewed) and put up an automatic block or popup for the user to know that the link has malware.

      Or maybe a system to allow automatic DNS cache injection (on my own DNS client) to prevent lookups going to the correct (infected) site.

      Once sites realize that big parts of user base is cutting them off premptively, they'll take notice and get rid of the crap so they can get users back.

    3. Re:Web Site Contact by Web+Goddess · · Score: 2, Interesting

      Exactly! I was wondering how to use this tool to scan my own website for bad critters.

    4. Re:Web Site Contact by Billosaur · · Score: 2, Interesting
      Given the current state of the law, it is really dangerous to contact a site owner and tell him that his site is insecure. It is quite likely that you will be prosecuted for "unauthorised access" to the site. Much better to just add the site to your personal list of things to avoid, and then forget about it.

      Which doesn't help the rest of us. And why should a site owner get all bent out of shape if you tell them something they didn't happen to know? They must not be in direct control of the site or are pretty lazy if they are allowing this malware to pile up. And they won't be popular for very long if people catch on that the site is infecting them.

      --
      GetOuttaMySpace - The Anti-Social Network
  9. This has... by Joebert · · Score: 2, Funny

    ... worlds dumbest criminals written all over it.

    --
    Wanna fight ? Bend over, stick your head up your ass, and fight for air.
  10. Securing the Search Engine? by Alamoth · · Score: 5, Interesting

    It seems to me that the possibilities for uses of this application of SOAP would be highly beneficial. My initial thought would be the ability to filter your Google searches so that websites that are potentially carrying MalWare are either flagged or not shown at all.

    The 15% of sites that are reputable sites being attacked are the biggest threat. These are probably websites people visit often, and people should be warned. Perhaps even web browsers such as firefox and i.e. could incorporate the API into a toolbar and warn users before a dangerous site loads.

    My only question is how long does it take for the API to verify the potential threat of a webserver? Is it fast enough for these applications to be feasible? No one wants to wait for their websites to load.

    1. Re:Securing the Search Engine? by ZachPruckowski · · Score: 3, Insightful

      I think the real question is "How accurate is it?" I mean that in the sense that "false positives" could be the basis of a slander lawsuit, and "false negatives" are even more dangerous than no warning.

      I mean, Joe Average, assuming we get him to eventually worry about malware, might look at the SOAP thing, not see a warning, and assume that means it's a safe site (which may or may not be true). Then he'll get nailed, thinking other precautions are unnecessary.

    2. Re:Securing the Search Engine? by Secret+Agent+X23 · · Score: 2, Insightful
      My initial thought would be the ability to filter your Google searches so that websites that are potentially carrying MalWare are either flagged or not shown at all.
      I thought of that, too. But then it occurred to me that the legal folks at Google would probably see it as nothing more than a lawsuit waiting to happen.
  11. How to by mailspam · · Score: 5, Interesting

    Search on google for something like signature:00004550 inurl:exe
    Then, click View HTML

    1. Re:How to by MrVictor · · Score: 2, Informative

      Google can also filter results by file extension. eg: filetype:exe

    2. Re:How to by Opportunist · · Score: 2, Informative

      Well, a lot of current malware is binary (mostly) identical in most of its variants. There are (sadly or luckily) few of the "old school" virus writers around anymore that take their time to carefully craft polys, so you have a decent chance that if you have a sample, you get an idea of its spread.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  12. Just be careful when clicking the search links... by jbarr · · Score: 4, Funny

    Though it may be obvious to most, if you execute the Google search, don't just start clicking on the returned links, because the links point to virus-infected files. Our Trend Micro Office Scan immediately caught several viruses after clicking on several links...

    --
    My mom always said, "Jim, you're 1 in a million." Given the current population, there are 7000 of me. God help us all!
  13. Well, malware *writers* can do the same by iamacat · · Score: 2, Interesting

    Sniff everyone's servers for vulnerable binaries and do targeted attacks instead of random IP scans.

  14. Indexing these MAY be exploitable by ratboy666 · · Score: 5, Interesting

    The idea is to code the exploit in such a way that Google extracts the exploit itself as the content description in the index. This probably gives 200 bytes or so for the entire exploit (maybe more, I don't have time to try this stunt right now).

    The idea is to put up useful content into the web site, along with the exploit. Google will index, and when the target searches google, the code will be injected into the search results.

    Of course, this needs hacking; both trying to figure out what google will allow in the content section, and to find a browser exploit that can be exploited.

    Just sayin...

    Your point of trust (as the target) is your browser. Which means ONLY open source browsers should be used. Those, at least, are controllable as to the exposure and behaviour when being delivered content.

    Ratboy

    --
    Just another "Cubible(sic) Joe" 2 17 3061
    1. Re:Indexing these MAY be exploitable by ratboy666 · · Score: 2

      You are right. I am knee-deep in a job, and just wanted to rant at the end. Sorry.

      Ratboy.

      --
      Just another "Cubible(sic) Joe" 2 17 3061
  15. Re:But legit sites have URLs with exe? by AndrewNeo · · Score: 2, Informative

    No. Two problems with that: One, that type would not return as a binary executable (aka download and run), it'd return HTML or the like. Two, they're looking for malicious programs (or, more likely, using Google to search for the actual malicious code in them.) If they were looking for all executables then they'd have to sift through every file on shareware sites, SourceForge, etc.

  16. Hmmmm.... by cdr_data · · Score: 3, Funny

    Does it include NTKERNEL32.DLL in the list?

    Cdr. Data

  17. Re:So... by mozkill · · Score: 2, Informative

    the new firefox 2.0 beta will query the Google blacklist... its built into the browser and you can enable it by just checking a checkbox in the browser settings...

    --

    -- Betting on the survival of the media industry is a serious risk. I advise investing elsewhere.
  18. Roll Your Own Google API Searches by ejoe · · Score: 2, Insightful

    In case you want to try this at home, presuming you're on a MacOS X box and you've got your own free API key from Google, you can easily access the Google API SOAP service using Anthracite Web Mining Desktop toolkit. Combine it with AppleScript and you're off to the races making your own automated searches. In addition to the Google API interface, there's also a generic SOAP source object for accessing any other SOAP services you want to try. Several examples are included with the download, like how to build a ranked list of top keywords for any given search term. Not only does it get the search results, it will also go load the URLs returned for you automatically. Yes, I wrote the software, and that's why I'm always busy promoting it.

  19. they're just like .com files by bigtrike · · Score: 3, Funny

    They're similar to the .com files on one of your operating systems, only newer