Jump to content

Samy Kamkar

From Wikipedia, the free encyclopedia
Samy Kamkar
Kamkar speaking at the Black Hat conference in 2010
Born (1985-12-10) December 10, 1985 (age 39)
NationalityAmerican
Occupation(s)Privacy and security researcher, computer hacker, whistleblower and entrepreneur
Known forReleasing the Samy worm, Evercookie, SkyJack, and iPhone, Android and Windows Mobile phone tracking research
Websitesamy.pl

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

[edit]

Samy worm

[edit]

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

[edit]

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][failed verification]

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

[edit]

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

[edit]

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

[edit]

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

[edit]

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

[edit]

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

[edit]

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

[edit]

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]

References

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