1. Home
  2. Darknet Diaries

Aug 4

He hacked his company, then joined the investigation team

Read only

Overview

Host Jack Rhysider and an anonymous guest examine how cloud engineer Nickolas Sharp stole confidential data to extort his employer, Ubiquiti, before investigating his own crime and crashing the company's stock.

3 things to know

Jack Rhysider says one master key unlocked Ubiquiti's passwords

Jack Rhysider details how Nickolas Sharp logged into Ubiquiti's AWS environment at 3:00 a.m. in December 2020, located a master key unlocking all other credentials, and tested it behind a VPN at 3:18 a.m.

More

In December 2020, Nick applied for a job at a tech company in California, a nine-hour drive away from Portland. Two minutes later, at 3:18 a.m., he logged back into AWS behind his VPN using the master key, ran the command `get-caller-identity` to verify his user status, and logged out, waiting for the next week or so to see if anyone noticed the test run. This highlights why failing to enforce the principle of least privilege and leaving master keys unsegmented allows a single insider to compromise an entire enterprise.

▶ Watch at 14:11

Jack Rhysider says GitHub logged Nick's Portland house IP

Jack Rhysider explains that while Nickolas Sharp cloned over 100 Ubiquiti repositories through a VPN, his home internet went out for 30 minutes, and GitHub logged his Portland house IP for reasons that remain unsure.

More

As Jack notes via a quote from Teddy Lewis in the movie Body Heat, there are 50 ways you can screw up a crime, and a genius can only think of 25. On December 21, 2020, after dinner, Nick logged into Ubiquiti's GitHub with standard credentials, logged out, and a minute later logged back in via SSH using a VPN and a shared, high-level master account. While cloning top-secret files and the entire history of changes and logs to his home computer, his home internet went out, forcing him to spend 30 agonizing minutes (a half an hour) on the phone with his ISP.

Jack hedges on why this happened, noting we are not sure if the kill switch failed or if the ISP outage caused it. By 5:00 a.m., Nick had cloned and downloaded over 100 repositories totaling gigabytes of confidential data.

▶ Watch at 3:18

Jack Rhysider says Ubiquiti put Nick on its investigation

Jack Rhysider notes that after Nickolas Sharp set AWS log retention to one day and renamed 18 sessions to look like DevOps colleagues, Ubiquiti placed him on the incident response task force investigating his own data theft.

More

On December 22, 2020, Nick messaged a colleague asking if an employee could get paid through Ubiquiti's bug bounty program (run by HackerOne) for discovering a security issue; the colleague replied it only pays for reporting found credentials and saved the suspicious message. Nick then logged into AWS and changed lifecycle retention policies to just one day to delete logs of his downloads, and renamed 18 sessions (including his own and the VPN sessions) to look like DevOps colleagues; Jack notes he is not sure if Nick was trying to throw coworkers under the bus or just hide his tracks.

▶ Watch at 14:11

Also in this episode

Jack Rhysider says Ubiquiti ignored Nick's 25-Bitcoin ransom demand

Jack Rhysider recounts that Nickolas Sharp anonymously demanded 25 Bitcoin not to publish stolen data and another 25 Bitcoin to reveal a backdoor, and when Ubiquiti paid nothing by January 9, 2021, Keybase removed the uploaded files.

More

Another senior employee received a direct encrypted message on Keybase with a copy of the ransom email and an attachment proving the theft. When Ubiquiti ignored the deadline and paid no Bitcoin, Nick messaged on Keybase, "No BTC.

No talk. We done here." and uploaded the data to a public Keybase folder, which Keybase immediately removed after Ubiquiti contacted them.

▶ Watch at 4:00

Jack Rhysider says a router logged Nick's personal MacBook

Jack Rhysider explains that a forensics team examining Nickolas Sharp's company-provided home router found a separate personal MacBook connected via its MAC address that transferred massive amounts of data through a VPN during the attack.

More

Investigators matched Nick's leaked home IP in the logs to the IP he used for work. Ubiquiti hired a forensics team and ordered Nick to hand over his company-provided router, video cameras, and work computer. While the FBI waited for a search warrant, Nick wiped and reset his personal MacBook and kept it in his house.

▶ Watch at 29:33

Jack Rhysider says Nick's fake tip erased $4 billion

Jack Rhysider reports that immediately after an FBI search on March 24, 2021, Nickolas Sharp posed as a whistleblower to journalist Brian Krebs, sparking an article that crashed Ubiquiti's stock 20% in two days and erased $4 billion.

More

On March 24, 2021, the FBI executed a search warrant at Nick's Portland home, seizing his MacBook and questioning him; confronted with his July 2020 Surfshark VPN purchase, Nick claimed he was being framed and someone used his PayPal account. Immediately after the FBI left, Nick anonymously contacted cybersecurity journalist Brian Krebs (KrebsOnSecurity.com) posing as a whistleblower, claiming Ubiquiti lied in its customer breach disclosures to save its stock price, that hackers got AWS root access via logins in a LastPass account, and that Ubiquiti kept no logs.

Arrested in December 2021 on a four-count indictment (with wire fraud carrying up to 20 years in prison), Nick pleaded guilty in February 2023 to three counts: intentionally damaging protected computers, wire fraud, and making false statements to the FBI. After he pleaded for no prison time by claiming the attack was an unsanctioned security drill, the judge sentenced him to six years in prison.

▶ Watch at 33:44

Jack Rhysider: Ubiquiti cloud boss made $250,000 a year

Jack Rhysider reports that Nickolas Sharp rose to lead Ubiquiti's entire cloud team at $250,000 a year while accumulating access to the company's AWS cloud environment, all GitHub source code, and all Slack channels.

More

Nickolas Sharp previously worked for Nike Shoes doing cloud engineering and by 2018 worked for Amazon Web Services (AWS) in Portland, Oregon, handling video/media encoding and live streaming. In August 2018, Ubiquiti (located about a mile away from AWS, making routers, switches, and IP cameras) recruited Nick to join its team of 800 employees.

Jack Rhysider notes some online forum rumors from people claiming to have worked with Nick, advising listeners to take them with a grain of salt since you cannot believe everything online, and also notes online sources saying Nick had a beef with Ubiquiti CEO Robert Pera, who became one of the youngest billionaires in the world at age 36. Regarding why Nick accumulated so much access early on, Jack hedges: "Now I don't think for any malicious reason, some people just like feeling important..."Meanwhile, Ubiquiti made hundreds of millions of dollars in annual profits and its stock price doubled in 2020.

▶ Watch at 27:41

Jack Rhysider says Nick bought Surfshark VPN with PayPal

Jack Rhysider explains that in July 2020, as ransomware attacks hit Carlson Wagonlit Travel and Garmin, Nickolas Sharp purchased a 27-month subscription to Surfshark VPN using his personal PayPal account.

More

Nick's scheme unfolded alongside major corporate extortion events. In July 2020, hackers stole two terabytes of data from Carlson Wagonlit Travel (CWT) and deployed ransomware, demanding $10 million for the decryption key before CWT negotiated it down to $4.5 million and paid it. Right after CWT, Evil Corp hit GPS company Garmin with ransomware, taking its network down for four days; Jack notes that some rumors say the hackers demanded $10 million, rumors say Garmin hired a cybersecurity team to negotiate, and many speculate Garmin paid the ransom.

▶ Watch at 31:25

Once-a-month office visits let a worker steal lunches undetected

An anonymous guest explains that visiting the main office only about once a month meant only about eight people recognized them, letting them steal unlabeled sandwiches from office refrigerators without coworkers piecing the thefts together.

More

The episode opens with an anonymous guest who is simultaneously a full-time employee and a university student. The guest began stealing an unlabeled sandwich from one of three refrigerators in the two-story office on a floor their team never uses, later escalating to the busy first-floor fridge and trying pastrami on rye for the first time, relying on infrequent visits so coworkers could not piece the thefts together.

▶ Watch at 0:11

Quotes

“When his laptop connects to the Wi-Fi router, that's a layer two connection of the OSI model, MAC addresses. A VPN works on layer three, IP addresses. So they can see which MAC address connected to that Ubiquiti router, and it was a MacBook.”

▶ Watch at 29:57

“One of the things Nick complained about is that users and passwords weren't audited enough or locked down. The principle of least privilege is something he tried to tell them about, where a user should only get access to what they need. But at Ubiquiti, some keys and users had wide open access, which will give an attacker a lot of access if they had malicious intent.”

▶ Watch at 14:11

“Investors catch wind of the fallout and start selling their shares, not just a couple, but a whole lot of them. In just two days, Ubiquiti stock crashes by 20%. That's $4 billion in market capitalization. Poof, gone, practically overnight.”

▶ Watch at 33:44

3 more quotes

“It's one of those things where I, I always get a little bit of a rush, cuz I know nobody will ever figure it out and nobody's going to piece it together since I'm there maybe once a month or so.”

▶ Watch at 2:35

“And Nick has a good point, he shouldn't have all this access to all the company's products, the source code, root access to the whole AWS environment. Data should be segmented, and only the people who need access should have access.”

▶ Watch at 20:50

“We recently became aware of unauthorized access to certain information technology systems hosted by a third-party cloud provider. We have no indication that there has been unauthorized activity with respect to any user's accounts.”

▶ Watch at 27:41

Full summary

Episode Overview

  • Host Jack Rhysider and an anonymous guest examine insider threats in Episode 178 of Darknet Diaries, detailing how cloud engineer Nickolas Sharp stole confidential data to extort his employer, Ubiquiti, and ultimately wiped out $4 billion of the company's market value.
  • After an opening story from an anonymous guest about stealing office sandwiches undetected, the episode traces Nick's rise to head of Ubiquiti's cloud team and how he abused unsegmented root credentials to clone over 100 data repositories.
  • The narrative covers Nick's failed 50-Bitcoin ransom demand, his assignment to the internal task force investigating his own crime, and the technical mistakes that exposed his home IP and personal MacBook to forensic investigators.
  • Following an FBI raid on his home, Nick posed as an anonymous whistleblower to journalist Brian Krebs and regulators, causing a 20% crash in Ubiquiti's stock before his arrest and eventual six-year prison sentence.

Key Concepts

  • Low-Frequency Insider Anonymity (Cold Open): The episode opens with an anonymous guest who is simultaneously a full-time employee and a university student. Having started a new remote-work job a couple of months back that requires visiting the main office only about once a month, only about eight people at the main office would recognize them. The guest began stealing an unlabeled sandwich from one of three refrigerators in the two-story office on a floor their team never uses, later escalating to the busy first-floor fridge and trying pastrami on rye for the first time, relying on infrequent visits so coworkers could not piece the thefts together.
  • The Psychology and Context of a Privileged Insider: Nickolas Sharp previously worked for Nike Shoes doing cloud engineering and by 2018 worked for Amazon Web Services (AWS) in Portland, Oregon, handling video/media encoding and live streaming. In August 2018, Ubiquiti (located about a mile away from AWS, making routers, switches, and IP cameras) recruited Nick to join its team of 800 employees. Nick rose to lead the entire cloud team, earning $250,000 a year, and accumulated access to Ubiquiti's AWS cloud environment, all GitHub source code, and all Slack channels. Jack Rhysider notes some online forum rumors from people claiming to have worked with Nick, advising listeners to take them with a grain of salt since you cannot believe everything online, and also notes online sources saying Nick had a beef with Ubiquiti CEO Robert Pera, who became one of the youngest billionaires in the world at age 36. Regarding why Nick accumulated so much access early on, Jack hedges: "Now I don't think for any malicious reason, some people just like feeling important..."Meanwhile, Ubiquiti made hundreds of millions of dollars in annual profits and its stock price doubled in 2020.
  • 2020 Ransomware Landscape: Nick's scheme unfolded alongside major corporate extortion events. In July 2020, hackers stole two terabytes of data from Carlson Wagonlit Travel (CWT) and deployed ransomware, demanding $10 million for the decryption key before CWT negotiated it down to $4.5 million and paid it. Right after CWT, Evil Corp hit GPS company Garmin with ransomware, taking its network down for four days; Jack notes that some rumors say the hackers demanded $10 million, rumors say Garmin hired a cybersecurity team to negotiate, and many speculate Garmin paid the ransom. In July 2020, Nick purchased a 27-month subscription to Surfshark VPN using his personal PayPal account.
  • Unsegmented Master Keys and the Principle of Least Privilege: In December 2020, Nick applied for a job at a tech company in California, a nine-hour drive away from Portland. That same night at 3:00 a.m., he logged into Ubiquiti's AWS environment with his normal credentials, located a master key (password vault) unlocking all other credentials, and logged out at 3:16 a.m. Two minutes later, at 3:18 a.m., he logged back into AWS behind his VPN using the master key, ran the command get-caller-identity to verify his user status, and logged out, waiting for the next week or so to see if anyone noticed the test run. This highlights why failing to enforce the principle of least privilege and leaving master keys unsegmented allows a single insider to compromise an entire enterprise.
  • Operational Security Failures During Exfiltration: As Jack notes via a quote from Teddy Lewis in the movie Body Heat, there are 50 ways you can screw up a crime, and a genius can only think of 25. On December 21, 2020, after dinner, Nick logged into Ubiquiti's GitHub with standard credentials, logged out, and a minute later logged back in via SSH using a VPN and a shared, high-level master account. While cloning top-secret files and the entire history of changes and logs to his home computer, his home internet went out, forcing him to spend 30 agonizing minutes (a half an hour) on the phone with his ISP. Although Nick had enabled a VPN kill switch, when the internet resumed, GitHub's logs recorded two different IPs logging in with that username: one from a VPN, and one from Nick's house in Portland. Jack hedges on why this happened, noting we are not sure if the kill switch failed or if the ISP outage caused it. By 5:00 a.m., Nick had cloned and downloaded over 100 repositories totaling gigabytes of confidential data.
  • Log Tampering and Investigating Oneself: On December 22, 2020, Nick messaged a colleague asking if an employee could get paid through Ubiquiti's bug bounty program (run by HackerOne) for discovering a security issue; the colleague replied it only pays for reporting found credentials and saved the suspicious message. Nick then logged into AWS and changed lifecycle retention policies to just one day to delete logs of his downloads, and renamed 18 sessions (including his own and the VPN sessions) to look like DevOps colleagues; Jack notes he is not sure if Nick was trying to throw coworkers under the bus or just hide his tracks. When Ubiquiti announced internally that strange activity and data exfiltration were spotted, they formed an incident response task force that included Nick himself, during a crisis where Jack notes some reports say people were quitting over the stress.
  • Failed Extortion: After the New Year in 2021, at 4:00 a.m., senior employees at Ubiquiti (then valued at over $23 billion in market cap) received an anonymous ransom email demanding 25 Bitcoin (worth about $2 million / $1.9 million at the time) not to publish the stolen data, and offering to reveal a hidden backdoor for another 25 Bitcoin, with a deadline of midnight, January 9, 2021. Another senior employee received a direct encrypted message on Keybase with a copy of the ransom email and an attachment proving the theft. When Ubiquiti ignored the deadline and paid no Bitcoin, Nick messaged on Keybase, "No BTC. No talk. We done here." and uploaded the data to a public Keybase folder, which Keybase immediately removed after Ubiquiti contacted them.
  • Layer 2 vs. Layer 3 Forensics: Investigators matched Nick's leaked home IP in the logs to the IP he used for work. Ubiquiti hired a forensics team and ordered Nick to hand over his company-provided router, video cameras, and work computer. While the cameras and work computer showed nothing, the company-provided home Ubiquiti router revealed a separate personal MacBook connected via Layer 2 (MAC address) transferring massive amounts of data via Layer 3 (VPN) during the exact hours of the attack. While the FBI waited for a search warrant, Nick wiped and reset his personal MacBook and kept it in his house.
  • Whistleblower Retaliation and Legal Fallout: On March 24, 2021, the FBI executed a search warrant at Nick's Portland home, seizing his MacBook and questioning him; confronted with his July 2020 Surfshark VPN purchase, Nick claimed he was being framed and someone used his PayPal account. Immediately after the FBI left, Nick anonymously contacted cybersecurity journalist Brian Krebs (KrebsOnSecurity.com) posing as a whistleblower, claiming Ubiquiti lied in its customer breach disclosures to save its stock price, that hackers got AWS root access via logins in a LastPass account, and that Ubiquiti kept no logs. After Krebs published the article "Whistleblower: Ubiquiti Breach 'Catastrophic'," Ubiquiti's stock crashed 20% in two days, erasing $4 billion in market cap, and Nick also contacted domestic and foreign regulators. Arrested in December 2021 on a four-count indictment (with wire fraud carrying up to 20 years in prison), Nick pleaded guilty in February 2023 to three counts: intentionally damaging protected computers, wire fraud, and making false statements to the FBI. After he pleaded for no prison time by claiming the attack was an unsanctioned security drill, the judge sentenced him to six years in prison.

Quotes

  • At 2:35 - "It's one of those things where I, I always get a little bit of a rush, cuz I know nobody will ever figure it out and nobody's going to piece it together since I'm there maybe once a month or so." - The anonymous guest explains the psychology of using low-frequency physical presence to get away with insider theft.
  • At 14:11 - "One of the things Nick complained about is that users and passwords weren't audited enough or locked down. The principle of least privilege is something he tried to tell them about, where a user should only get access to what they need. But at Ubiquiti, some keys and users had wide open access, which will give an attacker a lot of access if they had malicious intent." - Jack Rhysider explains the exact security vulnerability Nick warned Ubiquiti about before exploiting it himself.
  • At 20:50 - "And Nick has a good point, he shouldn't have all this access to all the company's products, the source code, root access to the whole AWS environment. Data should be segmented, and only the people who need access should have access." - Jack Rhysider highlights why even senior cloud leaders should not hold unsegmented root access across an entire company.
  • At 27:41 - "We recently became aware of unauthorized access to certain information technology systems hosted by a third-party cloud provider. We have no indication that there has been unauthorized activity with respect to any user's accounts." - Jack Rhysider reads Ubiquiti's initial email disclosure to customers, which Nick later attacked when speaking to the press and regulators.
  • At 29:57 - "When his laptop connects to the Wi-Fi router, that's a layer two connection of the OSI model, MAC addresses. A VPN works on layer three, IP addresses. So they can see which MAC address connected to that Ubiquiti router, and it was a MacBook." - Jack Rhysider breaks down the networking forensics that allowed investigators to prove Nick's personal laptop conducted the heist despite his VPN.
  • At 33:44 - "Investors catch wind of the fallout and start selling their shares, not just a couple, but a whole lot of them. In just two days, Ubiquiti stock crashes by 20%. That's $4 billion in market capitalization. Poof, gone, practically overnight." - Jack Rhysider describes the financial impact of Nick's fake whistleblower campaign following the FBI raid on his home.

Takeaways

  • Enforce the Principle of Least Privilege and Segment Master Vaults: Never store unsegmented master credentials in a single shared vault, and restrict even senior engineers and team leads to only the specific repositories and environments required for their daily duties.
  • Make Audit Logs Immutable: Prevent administrators from altering log lifecycle retention policies (such as changing retention to one day) or renaming session histories within cloud environments like AWS, ensuring that an insider cannot erase their own forensic trail.
  • Isolate Incident Response from Privileged Suspects: When investigating internal data exfiltration or compromised master credentials, use independent forensic teams rather than automatically placing the internal cloud or security leads on the task force, as they may be the perpetrators.

Watch the full episode 36 min

Read along with the audio summary

This episode covers how Ubiquiti cloud engineering lead Nickolas Sharp abused root credentials to steal corporate data, extort his employer, and wipe out four billion dollars in market value.

There are four key takeaways from this investigation. First, failing to enforce the principle of least privilege allows a single insider to compromise an entire enterprise. Second, minor operational security failures will expose even technically sophisticated attackers. Third, organizations must make audit logs immutable and isolate incident response from privileged insiders. Fourth, retaliation from an exposed insider can inflict more financial damage than the initial data breach.

Regarding access controls, Sharp earned two hundred fifty thousand dollars a year leading Ubiquiti's cloud team and accumulated unchecked access to AWS, GitHub source code, and Slack. In December 2020, he located an unsegmented master password vault within AWS that unlocked all other company credentials. Even senior leaders should never hold unsegmented root access, which enabled Sharp to clone over one hundred confidential repositories totaling gigabytes of data.

However, technical mistakes quickly unraveled his operational security. While Sharp downloaded repositories over a Surfshark VPN paid for with his personal PayPal account, his home internet cut out for thirty minutes. When the connection resumed, a failed kill switch or ISP glitch briefly exposed his true Portland home IP address in GitHub's logs. Furthermore, forensic investigators later examined his company-provided home router and matched Layer 2 MAC address data to a personal MacBook transferring massive files over a Layer 3 VPN during the exact hours of the heist.

Before he was caught, Sharp exploited weak logging controls and his position on the incident response task force. He altered AWS lifecycle retention policies to one day to delete download logs and renamed eighteen sessions to implicate DevOps colleagues. Because Ubiquiti placed him on the internal team investigating the breach, he monitored the company's defense while anonymously demanding a fifty Bitcoin ransom worth nearly two million dollars.

Finally, when Ubiquiti refused to pay and the FBI raided his home in March 2021, Sharp shifted from extortion to financial sabotage. Immediately after agents seized his wiped MacBook and questioned him about his PayPal VPN purchase, he posed as an anonymous whistleblower to journalist Brian Krebs and regulators. He claimed the breach was catastrophic and that Ubiquiti lied to protect its stock, triggering a twenty percent stock crash that erased four billion dollars in market capitalization in two days.

Ultimately, Sharp pleaded guilty to wire fraud, damaging protected computers, and making false statements to the FBI, resulting in a six-year federal prison sentence that underscores the catastrophic potential of privileged insider threats.

More from Darknet Diaries