Articles ยป
     
Apple worm infects MySpace
Written by Editor   
Monday, 04 December 2006 08:22
[Crosspost: Mining the Grid]

Some time ago, I became engaged in a rather interesting discussion with... lets just call them a neophyte where JavaScript is concerned. In any event, my contention at the time was, JavaScript can be used to deliver malicious code due to its tight coupling with the DOM. Those of us who hail from the Usenet group, alt.hackers.malicious, know full well just what can be done with a few judiciously placed JavaScript routines. So the individual was already on the losing end of the debate before it even began. That was about two years ago. Today Brian Krebs who writes the Security Fix blog for the Washington Post, penned an article regarding a MySpace worm. And it was delivered in an apple, no less. That is, via Apples program, QuickTime, which Mr. Krebs notes, "allows video files to load web content."[1]

Er... wha...?

While I have long griped about people jumping on the JavaScript bandwagon without really knowing what they were doing, this latest bit admittedly defies logic. And while this particular situation can be blamed on an overzealous, albeit, shortsighted, programmer, MySpace has been combatting malicious code insertion issues for quite some time. Their "combatting" if one can legitimately characterize it as such, leaves something to be desired--they utilize rather crude pattern matching routines to clean up content that people use to "Pimp out" their profile pages. This recent fiasco no doubt had coders scrambling. Again. This time truncating "OBJECT" tags, in hopes of rendering the embedded content inoperable. That is, for MSIE users. And while MySpace may be able to douse this particular fire (or would that be, squish this particular worm?) this time around, as long as they allow users to write their own content, they will continue to have problems. Why? Lets take a look at their poorly thought-out model.

Basically, one need only go into the Interests & Personality section, and enter their CSS and/or HTML in any of the sections provided. MySpace programs then attempt to scrub the CSS and HTML source, in hopes of removing malicious code. In the meantime, hackers continue to devise ways to get around said scrubbing. So what you end up with is MySpace coders playing catch-up to hackers. The latter will always be a step ahead in this scenario, simply because the coders are doing nothing more than addressing resulting symptomology, while ignoring the rather glaring hole. And this isnt about attempting to outfox cunning hackers either. After all, open-ended pattern matching can be quite challenging. In this case, browsers help that bit along by removing white noise, thereby reconstructing the munged content that manages to slip past the pattern matching algorithms. Thus, by the time Joe user sees the pages, the embedded JavaScript commands, if they made it through the scrubbing process, are set to do whatever damage they are designed to do. Or otherwise put, MySpaces model for allowing consumer branding was doomed from the beginning.

Since branding is, to some degree, the draw, at some point MySpace will be forced to consider another approach. That, or their whole site will come tumbling down in one cacophonous roar. One possibility is to "make up" their own language, which would then be parsed by a server side pseudo-compiler. The result would be renderable, yet clean and virus free content. The social networking site, LiveJournal does just that. And while LiveJournals implementation comes with its own set of limitations, the least of which involves learning a new language, so to speak, the risk to consumers is reduced by more than an order of magnitude. This bit is, of course, a moot point as MySpace is not in any way, shape, or form, even close to designing, much less, implementing, such a beast.

So... back to the problem at hand. What exactly happened, anyway? The worm basically replaces valid links with malicious links, which in turn redirects users to fake login pages. At that point, an unwary user hands over their username and password to a site that then uses their account to spam pornography to other MySpace users. This is loosely referred to as phishing, by the way. So, if youre a MySpace user, do read this article. Additionally, youll want to look for the " peculiar blue bar" as described by Mr. Krebs. Also, pay attention to the URL in your browsers address bar. If you do not see the following:

http://something.myspace.com/something

...then youve probably stumbled upon the worm. Heres an example of what a "bad" URL could look like:

http://something.myspacer.com/something

If you look closely, youll see that "r" tacked on to the URL. This, of course, is but an example of what a bad URL might look like. Or, the munged link may simply take you to a nothing page, as myspace appears to be in the process of trapping it on its way back to your browser (which is a good thing for you).

And finally, if your profile is infected, you need to clean out your cache, disable your JavaScript, and then go to the correct login page. Once you are there, you should log in, get rid of the infected file (which will be nothing more than an embedded link to a QuickTime movie), change your passoword, and turn comment moderation on. Oh and. Go to profile settings (under account settings), and check disable html for all comment sections (i.e. profile comments, pic comments & blog comments). In summary, this is not a worm that will infect your computer, rather it will mess up your MySpace account and use it for spamming porn. So, even if you do not see the "blue bar" on your profile page you may want to check out your code to make sure all is well.

 

Add to Google

Visitors

 »4,822,330
 »186,340
 »1,279
 »184,224
 »5,675
 »1,333
 »3,191
 »810,591
 »5,540
 »21,022
 »30,327
 »100,070
 »1,221
 »82,398
 »21,060
 »75,162
 »53,585
 »24,803
 »3,665
 »10,513
 »3,549
 »27,489
 »1,827
 »13,992
 »15,508
 »14,194
 »2,200
 »41,769
 »17
 »16
 »13,049
 »8,314
 »854
 »65,908
 »12,530
 »43,981
 »5,925
 »979
 »1,583
 »482
 »11,874
 »14,075
 »2,002
 »81
 »14,493
 »13,909
 »569
 »242
 »7,586
 »826
 »11,756
 »1,879
 »12,654
 »691
 »268
 »11,854
 »6,132
 »10,235
 »10,409
 »528
 »1,508
 »9,367
 »119
 »9,385
 »1,257
 »83
 »1,206
 »5,385
 »5,439
 »3,431
 »2,429
 »72
 »1,280
 »917
 »46
 »765
 »71
 »1,028
 »818
 »5,526
 »394
 »12
 »40
 »1,932
 »189
 »260
 »11,789
 »790
 »373
 »45
 »1,723
 »17
 »104
 »326
 »1,538
 »253
 »1,300
 »47
 »19
 »568
 »1,851
 »40
 »136
 »21
 »10
 »136
 »283
 »189
 »17
 »39
 »72
 »1,045
 »29
 »34
 »17
 »244
 »37
 »88
 »705
 »17
 »422
 »75
 »48
 »55
 »278
 »18
 »162
 »40
 »184
 »169
 »146
 »61
 »112
 »11
 »39
 »95
 »50
 »22
 »443
 »5
 »73
 »119
 »75
 »13
 »89
 »23
 »195
 »44
 »40
 »5
 »33
 »16
 »10
 »4
 »27
 »15
 »18
 »2
 »2
 »6
 »2
 »4
 »6
 »2
 »6
 »2
 »2

6,930,687 visitors
0 countries
Get Firefox
Copyright © 1996-2017
All Rights Reserved
Buy Bitcoins!
RocketTheme Joomla Templates