SAMY KAMKAR▊

Updated

On October 4, 2005 a nineteen-year-old wrote a few lines of JavaScript into his MySpace profile so that anyone who viewed it would add him as a friend, list him as a hero, and copy the code onto their own page. Twenty hours later he had more than a million friends and MySpace was down for maintenance. He wrote the whole day up on his own site as it happened, from "I need some more friends" to "I messed up, didn't I." Fourteen months later he pleaded guilty to a felony and was banned from using a computer for anything but work.

OWNAGE 0 LULZ 5
It's official. I'm popular. I have hit 1,000,000+ users. In less than 20 hours.

Samy Kamkar, his own account of 4–5 October 2005 (sa.my/myspace)

WHO
Samy Kamkar, 19 when the worm ran FACT
SCENE
The web-application hacking of the MySpace era; the first self-propagating cross-site scripting worm, as the 2007 coverage put it
THE DRAMA
A vanity hack that took the biggest social network of 2005 offline, written up live by its author, ending in a felony plea
RECORD
Pleaded guilty in Los Angeles Superior Court; three years' probation, 90 days of community service, restitution to MySpace, and a ban on personal internet use, per MySpace's statement FACT
STATUS
Living; security researcher who publishes his tools under his own name
AFTERLIFE
Livshits and Cui (Microsoft Research), 'Spectator: Detection and Containment of JavaScript Worms', USENIX Annual Technical Conference 2008, open on his worm by name: "The first and probably the most infamous JavaScript worm is the Samy worm". (usenix.org) FACT

LULZ INDEX

best act 8/15

  1. 8/15

    The Samy worm takes MySpace offline

    2005-10

    C++ T++ F+++ H+ A-

    F 'samy is my hero' is con-talk legend · H MySpace taken offline to clean it

    Over one million infections in twenty hours sa.my [press]

C craft T target F funny H harmless A anonymous. One plus a point, three at most. The number rates the act, not whoever's file it landed in. How the code reads · The full board

the drama timeline

ACT I — A PROFILE THAT NEEDED FRIENDS (October 2005)

He found a hole in MySpace's filters and decided to use it on himself.

  1. OCT 4, 2005

    "I need people to love me"

    His own write-up begins with the motive: "I need some more friends. I need people to love me." He tells the plan to IDG News Service in 2007: "Initially I was just trying to spruce up my MySpace profile. I also wanted to show off to a couple of friends." The code made every viewer add him as a friend and add "But most of all, Samy is my hero" to their heroes, and then: "If I can make this person my friend, if I can make myself their hero, couldn't I just copy this code onto their profile?"

  2. OCT 5, 2005

    The friend count, hour by hour

    His log of the next day: at 9:30 a.m., "You have 74 friends and 480 friend requests. Oh wait, it's exponential, isn't it. Oops." At 10:30, "518 friends and 561 friend requests. Oh no." At 1:30 p.m., "2,503 friends and 6,373 friend requests. I'm canceling my account. This has gotten out of control." At 6:20 p.m. the count passed a million, and then: "I refresh once more and now see nothing but a message that my profile is down for maintenance. I messed up, didn't I." By his account the whole site followed: "Messages are everywhere stating that myspace is down for maintenance."

ACT II — THE PLEA (2006–2007)

The payload never did anything but say his name. The court took it seriously anyway.

  1. JAN 2007

    Guilty, in Los Angeles Superior Court

    SC Magazine, on 1 February 2007: Kamkar "has pleaded guilty in Los Angeles Superior Court to charges stemming from his most infamous hacking" and "was sentenced to three years of probation and ordered to perform 90 days of community service, according to a MySpace statement released Wednesday. Kamkar also must pay an undisclosed amount of restitution to MySpace, and he is banned from accessing the internet for personal reasons for an unknown amount of time".

  2. 2007

    A talk given through someone else's hands

    At OWASP AppSec 2007 he was "treated like a celebrity," IDG reported, but "under the terms of his plea agreement, he can use computers only for work, so he was forced to show slides that he'd dictated to a friend on a computer that was operated by a conference staffer." His own summary: "I have computer restrictions now, so I can only use computers for work purposes. I also serve community service, and I'm on probation."

ACT III — THE RESEARCHER (after probation)

The kid who broke MySpace for friends became the man who publishes how to break things, under his own name.

  1. LATER

    Tools in his own name

    His site carries the work that followed: "evercookie - virtually irrevocable persistent cookies" and "PoisonTap - exploiting locked computers over USB", each published as research with the code.

both sides, on the record

The case: he wrote self-copying code into other people's profiles without their consent, it ran through more than a million accounts in under a day by his own count, and the site went down. He pleaded guilty, and the court restricted his computer use, ordered restitution and put him on probation [2].

The defense: the payload took nothing and broke nothing; it added a friend and a line of text. By his own account he expected "one friend tomorrow and a few in maybe a few days," and wrote "I messed up, didn't I" the moment the site went down [1] [3]. He served the terms and built a public research career on the same skill.

YOU DECIDE

The most-copied worm of its year had the payload of a yearbook signature. The court treated it as the first of its kind, which it was.

the profile

thefire.lol file data: case number, scores, ratings
title
SAMY KAMKAR
subject name
SAMY KAMKAR
subject number
27
case number
DCD-2005AD-027
status
ACTIVE (security researcher -- the kid who added "samy is my hero" to a million profiles)
classification
ACCIDENTAL WORM AUTHOR -- XSS POETRY SPECIALIST
archetype name
ACCIDENTAL WORM AUTHOR -- XSS POETRY SPECIALIST
troll score
60.6
formula score
47.4
bureau discretion
13.2
evil deduction
1.0
atk
5
def
10
hp
4
date
2026-03-07

Behavioral Archetype

On October 4, 2005, a nineteen-year-old added code to his MySpace profile after writing on his own site, "I need some more friends. I need people to love me." Twenty hours later he reported, "I have hit 1,000,000+ users. In less than 20 hours." (Samy Kamkar, sa.my/myspace)

THE PROOF-OF-CONCEPT ARTIST -- Subject wrote a few lines of JavaScript, added them to his MySpace profile, and twenty hours later had over one million friends and had forced MySpace to take the entire platform offline. The code did three things: added every visitor to his friends list, modified their profile to include "but most of all, samy is my hero," and copied itself onto their profile to propagate further. The fastest-spreading worm in history, and it was a vanity project.

Essence Indicators

On Camera

TNW Conference talk. Kamkar walks through his craft and tells the MySpace-worm story in his own words -- the month-one expectation, the overnight thousands, the "oh no" when he realized Fox had just bought the platform he'd accidentally taken down. Embedded as a primary source for the Ch. 7 account: the worm as curiosity overrunning a system, with a payload that never did anything but say "samy is my hero."

Social Persona / Impression Management

Immediate impression: A teenager who wanted more MySpace friends. The worm was not ideological, not criminal in intent, and not designed to cause harm. It was a technical demonstration wrapped in vanity, executed with elegance and punished with a sledgehammer.

Energy: Playful, technically gifted, slightly bewildered by the consequences. The worm's payload -- "samy is my hero" -- is the energy signature. This is not a manifesto. This is a kid who thought it would be funny.

Impression management strategy: TECHNICAL SHOWMANSHIP. The worm itself was the resume. After the legal consequences resolved, Kamkar leveraged his notoriety into a legitimate security research career, demonstrating that the skills that broke MySpace could be applied constructively.

Forensic Archetype Comparison

Pattern Match Level Evidence
The Enfant Provocateur EXTREME Nineteen. MySpace. "Samy is my hero." The classification writes itself.
The Accidental Revolutionary HIGH Did not intend to demonstrate that MySpace was fundamentally insecure. Demonstrated it anyway.
The Social Engineer LOW The worm was technical, not social. No manipulation of people -- manipulation of code.
The Calculated Predator LOW The payload was vanity, not predation.

Psychometric Assessment

Big Five (OCEAN): | Trait | Score | Evidence | |-------|-------|----------| | Openness | 85/100 | Technically creative. The worm was elegant -- exploiting XSS in a novel way. Post-conviction career shows sustained technical creativity. | | Conscientiousness | 45/100 | The worm was crafted, but the decision to deploy it suggests limited consideration of consequences. Nineteen years old. | | Extraversion | 60/100 | Moderate. The worm was inherently attention-seeking ("samy is my hero"). The post-conviction career involves public speaking and demonstrations. | | Agreeableness | 55/100 | The worm was not malicious. "Samy is my hero" is not a hostile payload. It is an annoying one. | | Neuroticism | 30/100 | Relatively low. Handled the legal consequences and transitioned to a legitimate career. |

Dark Triad: | Trait | Score | Notes | |-------|-------|-------| | Narcissism | 45/100 | "Samy is my hero" on a million profiles. The narcissism is performed, transparent, and kind of charming. | | Machiavellianism | 15/100 | Low. No strategic objective beyond vanity. | | Psychopathy | 5/100 | Minimal. No intent to harm. |

MBTI: ENTP ("The Debater") -- Sees a system, sees the vulnerability, exploits it to see what happens. The MySpace worm is a pure ENTP product: technically creative, socially provocative, consequentially underthought.

Threat Assessment

Category Level Notes
Physical threat NONE Teenager with JavaScript.
Institutional threat MODERATE Demonstrated that MySpace -- then the largest social network in the world -- could be taken down by a teenager's vanity project. The demonstration's value to the security industry exceeded any damage -- though, like weev's later web-exploit case and Kevin Mitnick's before it, the prosecution treated a nonviolent proof-of-concept as a serious crime.
Memetic threat HIGH "Samy is my hero" became a meme. The Samy worm became a case study in every web security course. The 19-year-old's MySpace exploit is more technically impressive than most corporate security audits.
Posthumous threat N/A Subject is alive and employed in security research.

Deception Analysis

Primary deception modality: TECHNICAL EXPLOITATION. The worm deceived MySpace's content filtering, not people. The XSS vulnerability was the entry point. The deception was machine-targeted, not human-targeted.

Authenticity assessment: MAXIMUM. The worm said "samy is my hero." It meant "samy is my hero." There was no hidden agenda, no secondary objective, no ideological payload. It was exactly what it appeared to be: a teenager's vanity project that accidentally proved the entire platform was insecure.

Flame Warrior Classification

Primary: Propeller Head Secondary: None on the evidence. Also reads as: Primary: Enfant Provocateur / Hacker Secondary: None needed. Notes: ATK 8 -- a million infections in twenty hours. DEF 3 -- no attempt to conceal identity; the worm literally had his name in the payload. HP 7 -- survived the Secret Service raid, the felony plea, the internet ban, and emerged with a career -- unlike Jonathan James, the teenage hacker the same federal apparatus pursued to a far worse end. The resilience score is high.


Sources: Samy Kamkar, "The MySpace Worm" (sa.my); Wikipedia: Samy (computer worm); SC Media: "MySpace superworm creator sentenced to probation, community service"; TNW Conference — Samy Kamkar, "Secret Hacking Techniques" (video); SC Media: "sentenced to three years of probation and ordered to perform 90 days of community service ... banned from accessing the internet for personal reasons".

evidence locker

FIRST-PARTY

  1. Samy Kamkar — his own account of the worm, October 2005 FIRST-PARTY — the motive, the hour-by-hour friend counts, the million, the maintenance page. sa.my/myspace
  2. IDG News Service interview, 2007 FIRST-PARTY — the plan in his words, the plea's computer restrictions, OWASP AppSec 2007. infoworld.com · abcnews.go.com

PRESS OF RECORD

  1. SC Magazine, "MySpace superworm creator sentenced to probation, community service," 1 Feb 2007 FACT — the plea and its terms from MySpace's statement. itnews.com.au
The standard. Samy Kamkar is a public figure; the plea and its terms are public record and are stated as MySpace's statement gave them. The worm's cosmetic payload and his own account of it are given at full strength. No motive is asserted beyond his own words.

The score on this file is computed by a published rule from sourced records, the same rule for every file. Nobody types a number: a value moves only when a record does. How the scoring works