Samy Kamkar Explained

Samy Kamkar
Birth Date:December 10, 1985
Nationality:American
Known For:Releasing the Samy worm, Evercookie, SkyJack, and iPhone, Android and Windows Mobile phone tracking research
Occupation:Privacy and security researcher, computer hacker, whistleblower and entrepreneur

Samy Kamkar (born December 10, 1985)[1] is an American privacy and security researcher, computer hacker and entrepreneur. At the age of 16, he dropped out of high school.[2] One year later, he co-founded Fonality, a unified communications company based on open-source software, which raised over $46 million in private funding.[3] In 2005, he created and released the fastest spreading virus of all time,[4] the MySpace worm Samy, and was subsequently raided by the United States Secret Service under the Patriot Act.[5] He also created SkyJack, a custom drone which hacks into any nearby Parrot drones allowing them to be controlled by its operator [6] and created the Evercookie, which appeared in a top-secret NSA document[7] revealed by Edward Snowden and on the front page of The New York Times.[8] He has also worked with The Wall Street Journal, and discovered the illicit mobile phone tracking where the Apple iPhone, Google Android and Microsoft Windows Phone mobile devices transmit GPS and Wi-Fi information to their parent companies. His mobile research led to a series of class-action lawsuits against the companies and a privacy hearing on Capitol Hill.[9] Kamkar has a chapter giving advice in Tim Ferriss' book Tools of Titans.

Work

Samy worm

See main article: Samy (computer worm). In 2005, Kamkar released the Samy worm, the first publicly released self-propagating cross-site scripting worm, onto MySpace.[10] The worm carried a payload that would display the string "but most of all, Samy is my hero" on a victim's profile and cause the victim to unknowingly send a friend request to Kamkar. When a user viewed that profile, they would have the payload planted on their page. Within just 20 hours[11] of its October 4, 2005 release, over one million users had run the payload,[12] making it the fastest spreading virus of all time.[4] The MySpace team temporarily shut down MySpace to fix the problem that allowed the worm to operate.

In 2006, Kamkar was raided by the United States Secret Service and Electronic Crimes Task Force, expanded from the Patriot Act, for releasing the worm.[5] After being presented with a plea bargain for no prison time, but paying a fine of US$20,000, serving three years of probation, working 720 hours of community service, Kamkar pled guilty to a felony charge of computer hacking in Los Angeles Superior Court.[13] Also per the aforementioned agreement, Kamkar was allowed to keep a single computer that was not connected to a network, but explicitly prohibited from any internet access during his sentence.[14] Since 2008, Kamkar has been doing independent computer security and privacy research and consulting.[15]

Notable works

In 2008, after Kamkar's restriction from computers was lifted, he demonstrated weaknesses in Visa, MasterCard and Europay credit cards with near field communication (NFC) and radio-frequency identification (RFID) chips built in and released software demonstrating the ability to steal credit card information, including name, credit card number, and expiration date, wirelessly from these cards.[16] [17] He also released code demonstrating wireless identity theft of physical access control cards, including that of HID Global cards, using RFID with the use of only a credit card sized device, removing the need for any computer to be connected.[18] [19]

In 2010, Kamkar traveled to more than a dozen countries speaking about his mobile security research and weaknesses he discovered from his cryptanalysis of the PHP programming language, including speaking at some of the largest annual hacker conventions in the world such as DEF CON, Black Hat Briefings and ToorCon.[20] [21] [22]

In late 2010, Kamkar traveled to Bratislava to attend Faraday Hack Day to help expose political and corporate corruption within Slovakia's government.[23]

In early 2011, Kamkar joined the Board of Directors of Brave New Software,[24] a non-profit organization originally funded by a multimillion-dollar U.S. State Department grant.[25] The nonprofit is responsible for creating uProxy with the University of Washington and Google Ideas, a browser extension intended to allow users in repressive regimes to access the Internet without being monitored. The nonprofit also created Lantern, a network designed to circumvent Internet censorship and defeat the suppression of digital information and freedom of speech.[26]

In addition to releasing the Evercookie as free and open source software, and exposing the surreptitious collection of data by Apple, Google and Microsoft,[27] in 2011, Kamkar also exposed KISSmetrics, an online advertising network, and Hulu as recreating tracking cookies after consumers deleted them by storing the unique tracking identifiers in Flash cookies and HTML5 Local Storage, which were not automatically deleted when consumers cleared their browser cookies.[28] [29] Several companies identified as performing cookie respawning were subsequently sued by class-action lawyers. In January 2013, KISSmetrics settled its cookie respawning related lawsuit for $500,000.[30]

Flaw in PHP

In early 2010, Kamkar discovered a major flaw in all versions of the PHP programming language, specifically in the pseudorandom number generator, which allowed an attacker to hijack the session ID of a user and take over their session.[31] Kamkar released a patch[32] and once fixed, released exploit code demonstrating the attack which was possible on major banks, social networks, and forums.[33] [34] [35]

Evercookie

See main article: Evercookie. In 2010, Kamkar released Evercookie, a cookie that "apparently cannot be deleted", which subsequently was documented on the front page of The New York Times.[8] [36] [37] In 2013, a top-secret NSA document was leaked[7] by Edward Snowden citing Evercookie as a method of tracking Tor users.

Mobile research

See main article: Mobile phone tracking. In 2011, Kamkar discovered the iPhone, Android and Windows Phone mobile devices were continuously sending GPS coordinates, correlated to Wi-Fi MAC addresses, back to Apple, Google and Microsoft respectively, and released his research through several front page The Wall Street Journal articles.[27] [38] [39] The iPhone would continue to send location data "even when the location services were turned off".[38] The Windows Phone would also continue to send location data "even when the user has not given the app permission to do so". He discovered that some of this data was exposed by Google and he released Androidmap, a tool exposing Google's database of Wi-Fi MAC addresses correlated to the physical coordinates populated by Android phones.[40]

Parrot AR Drone research

See main article: SkyJack. In 2013, Kamkar created SkyJack, a combination of open source software and hardware to run on an unmanned aerial vehicle which was "engineered to autonomously seek out, hack, and wirelessly take over other Parrot drones within wifi distance, creating an army of zombie drones".[6] [41] The entire software and hardware specification was released as open source and detailed on his website.[41] [42] The software was released one day after Amazon.com announced Amazon Prime Air, a possible future delivery service using drones to deliver small packages in as early as 2015.[43]

Automotive security research

On July 30, 2015, Kamkar introduced OwnStar - a small electronic device that could be concealed on or near a General Motors vehicle to interpose itself between the vehicle's OnStar link and the driver's OnStar RemoteLink app. In this classic man-in-the-middle attack, Kamkar, or any unauthorized user, could substitute his OnStar commands to locate, unlock, or start the vehicle. By August 11, General Motors had released upgrades to the OnStar server software and RemoteLink app to block such attacks.[44]

In 2015, it was reported that Kamkar had built an inexpensive electronic device about the size of a wallet that could be concealed on or near a locked vehicle to capture a single keyless entry code to be used at a later time to unlock the vehicle. The device transmits a jamming signal to block the vehicle's reception of rolling code signals from the owner's fob, while recording these signals from both of his two attempts needed to unlock the vehicle. The recorded first code is sent to the vehicle only when the owner makes the second attempt, while the recorded second code is retained for future use. Kamkar stated that this vulnerability had been widely known for years to be present in many vehicle types, but was previously undemonstrated.[45] A demonstration was announced for DEF CON 23.[46]

Magnetic stripe and credit card emulation device

On November 24, 2015, Samy Kamkar released MagSpoof;[47] a portable device that can spoof/emulate any magnetic stripe or credit card "wirelessly", even on standard magstripe readers by generating a strong electromagnetic field that emulates a traditional magnetic stripe card.

In his own words, MagSpoof can be used as a traditional credit card and simply store all of your credit cards (and with modification, can technically disable chip requirements) in various form factors, or can be used for security research in any area that would traditionally require a magstripe, such as readers for credit cards, drivers licenses, hotel room keys, automated parking lot tickets, etc.

Internet traffic hijacking

On November 16, 2016, Samy Kamkar released PoisonTap;[48] a USB Ethernet emulator that can be used to hijack all Internet traffic on a target machine, even if the computer was password protected and locked.

A backdoored device can be remotely forced to make a request with its user's cookies on HTTP (unsecured) websites that have no security flags, meaning that the attacker can remotely impersonate a local user.

On May 2, 2022, a suspected North Korean spy recruited a 38-year-old South Korean crypto exchange executive and a 29-year-old military officer to use PoisonTap in order to hack into the Korean Joint Command and Control System (KJCCS).[49]

Notes and References

  1. Web site: Twitter / samykamkar. Twitter.
  2. Web site: Samy Kamkar got 3-year computer ban now he's a hacker hero. Fusion (TV channel). September 28, 2015. 2015-09-28.
  3. Web site: Open Source - Fonality. Intel.
  4. Web site: Cross-Side Scripting Worms and Viruses: The Impending Thread and the Best Defense . April 2006 . Jeremiah Grossman . Whitehat Security . https://web.archive.org/web/20110104191201/http://net-security.org/dl/articles/WHXSSThreats.pdf . 2011-01-04.
  5. Web site: [Owasp-losangeles] OWASP LA]. 25 December 2015.
  6. News: Flying hacker contraption hunts other drones, turns them into zombies . Ars Technica . Dan . Goodin . 2013-12-08.
  7. News: 'Tor Stinks' presentation . The Guardian .
  8. Web site: New Web Code Draws Concern Over Privacy Risks. The New York Times. October 10, 2010. 2011-05-19.
  9. Web site: Google and Apple on Capitol Hill for high-tech privacy hearing. CNN.
  10. Web site: Cross-Site Scripting Worm Hits MySpace. October 13, 2005. Betanews.
  11. Web site: MySpace Worm Explanation. 25 December 2015. dead. https://web.archive.org/web/20150924043923/http://namb.la/popular/tech.html. 24 September 2015.
  12. Web site: Cross-Site Scripting Worm Floods MySpace. Slashdot. 14 October 2005 .
  13. News: MySpace speaks about Samy Kamkar's sentencing. TechSpot. 2017-07-15. en-us.
  14. Web site: Greatest Moments In Hacking History: Samy Kamkar Takes Down Myspace. Vice-videos. en. 2017-07-15.
  15. Web site: Background Data. April 22, 2011. The Wall Street Journal.
  16. Web site: chap.py.
  17. Web site: RFIDiot Documentation.
  18. Web site: SpiderLabs - Getting in with the Proxmark3.
  19. Web site: Proxmark3 Code.
  20. Web site: Samy Kamkar Talks . 2013-04-28.
  21. Web site: DEF CON 18 Speakers . 2013-04-28 . 2010-10-20 . https://web.archive.org/web/20101020231800/http://defcon.org/html/defcon-18/dc-18-speakers.html . dead .
  22. Web site: Black Hat USA 2010 Speakers . 2013-04-28.
  23. Web site: Faraday Hack Day . 2013-04-28.
  24. Web site: Brave New Software.
  25. Web site: Brave New Software . 2013-10-30 . 2013-10-31 . https://web.archive.org/web/20131031155004/http://www.nantucketproject.com/adam-fisk . dead .
  26. Web site: Lantern.
  27. Web site: Apple, Google Collect User Data. April 22, 2011. The Wall Street Journal. 2011-05-19.
  28. Web site: Respawn Redux by Ashkan Soltani. 11 August 2011.
  29. Web site: Samy Kamkar KISSmetrics Research.
  30. News: KISSmetrics Finalizes Supercookies Settlement . 2013-01-18 . Davis. Wendy . 2013-01-23 . MediaPost New.
  31. Web site: PHP blunders with random numbers.
  32. Web site: PHP 5.3.2 Release Announcement.
  33. Book: Baldoni . Roberto . Roberto Baldoni. Chockler . Gregory . Gregory Chockler. 2012 . Collaborative Financial Infrastructure Protection.
  34. Web site: Attack on PHP sessions and random numbers.
  35. Web site: Advisory: Weak RNG in PHP session ID generation leads to session hijacking.
  36. Web site: 'Evercookie' is one cookie you don't want to bite. https://web.archive.org/web/20100924150912/http://technolog.msnbc.msn.com/_news/2010/09/22/5157641-evercookie-is-one-cookie-you-dont-want-to-bite-. dead. September 24, 2010. MSNBC. September 22, 2010. 2011-05-19.
  37. Web site: Q&A: Evercookie Creator Samy Kamkar. 31 August 2022 .
  38. Web site: Jobs Tries to Calm iPhone Imbroglio. April 28, 2011. The Wall Street Journal. 2011-05-19.
  39. Web site: Microsoft collects phone location data without permission. September 2, 2011. CNET Networks. 2011-05-19.
  40. Web site: Google's Wi-Fi Database May Know Your Router's Physical Location. Huffington Post. April 25, 2011. 2011-05-19.
  41. Web site: Samy Kamkar - SkyJack .
  42. Web site: SkyJack source code . GitHub. 2013-12-08 . 2013-12-08 .
  43. Web site: Strange. Adario. Amazon Unveils Flying Delivery Drones on '60 Minutes'. Mashable. 2013-12-01.
  44. News: OnStar Plugs Hacker Attacks . . Glen . Woodcock . 2015-08-11 . 2015-08-11.
  45. News: A hacker made a $30 gadget that can unlock many cars that have keyless entry . . Cadie . Thompson . 2015-08-06 . 2015-08-11.
  46. Web site: Drive It Like You Hacked It: New Attacks and Tools to Wirelessly Steal Cars . DEF CON 23 . Samy . Kamkar . 2015-08-07 . 2015-08-11.
  47. Web site: samyk/magspoof. GitHub. 25 December 2015.
  48. Web site: samyk/poisontap. GitHub. 16 November 2016.
  49. Web site: Two South Koreans arrested for helping Pyongyang steal 'military secrets' | NK News . www.nknews.org . 15 May 2022 . https://web.archive.org/web/20220503043111/https://www.nknews.org/2022/05/two-south-koreans-arrested-for-helping-pyongyang-steal-military-secrets/ . 3 May 2022 . dead.