Samy (computer worm)

From WikiTech, the free technology encyclopedia

Self-spreading MySpace worm of October 2005

3 sources from SC Magazine, Vice (Motherboard) and InfoWorld. Checked by ByteExplained editors on 5 December 2026. How we check facts

Samy was a self-replicating worm that spread across the social networking site MySpace in October 2005. It is considered by many to be the first "Web 2.0" worm.[3] Rather than infecting computers, it copied itself between user profiles on the site using a Cross-site scripting (XSS) flaw.[2]

Contents
  1. Spread
  2. Legal consequences
  3. Impact
  4. See also
  5. References

Spread

The worm was written by Samy Kamkar, then 19, who released it around midnight on 4 October 2005 in Los Angeles.[2][1] Kamkar said it began as a way to customise his own profile page and took only a few days to write.[3] MySpace let users add some HTML to their profiles, and Kamkar found a way past the site's filters to hide a script on his page.[2]

When another user viewed the infected profile, the hidden script ran in their Web browser. It added Kamkar as a friend, placed the phrase "but most of all, Samy is my hero" on the visitor's own profile and copied itself there, so that anyone viewing that profile was affected in turn.[2] The worm spread exponentially: Kamkar had about 200 friend requests the next morning and nearly a million by that evening.[2] More than a million users ended up declaring Samy their "hero".[3] MySpace took the site offline to remove the worm, returning after about two hours with Kamkar's profile deleted.[2]

About six months later the US Secret Service and the Los Angeles Police Department obtained a warrant and seized Kamkar's computers.[2] In January 2007 he pleaded guilty in Los Angeles Superior Court.[3][1] He was sentenced to three years' probation and 90 days of community service, ordered to pay restitution to MySpace, and barred from using the internet for personal purposes.[1] His probation was lifted in 2008.[2]

Impact

The worm showed how quickly malicious code could spread through a large social site. At the time, a high proportion of websites were thought to be vulnerable to similar attacks, and the security community OWASP later created the AntiSamy project to help developers filter unsafe content.[2] Security researchers have described it as a watershed moment for the industry.[2]

See also

References

  1. ^ MySpace superworm creator sentenced to probation, community service. SC Magazine. scmagazine.com
  2. ^ The MySpace Worm That Changed the Internet Forever. Vice (Motherboard). 2015-10-04. vice.com
  3. ^ Samy worm creator hopes to be online again. InfoWorld. 2007-11-19. infoworld.com
Events & milestones on WikiTech
Malware
Online security
All events & milestones