Alert of the Month – GitHub, Credentials, and APTs
The Alert of the Month for May 2022 is a data exposure on GitHub that revealed high-level credentials risking network penetration, ransomware, and data exposure. This alert is emblematic of the continuing issues companies are experiencing with code repositories leaking credentials and other sensitive data. Without an External Risk Protection platform to locate this exposure, the risk to our client’s brand and continued operations would have gone unnoticed until they were exploited.
On May 6th, just after midnight, the CybelAngel platform identified a public code repository containing several of our client’s keywords. The Readme file reveals that the repository was created as a “compilation of useful data for an internal project.” Inside a YML was a series of credentials granting access to multiple systems, including production and test environments, Google Cloud Storage, MongoDB, and BigQuery.
CybelAngel Cybersecurity Analyst Camille Faidherbe discovered the initial alert and began her investigation. “My first steps are always to confirm the findings; in this case, I was able to identify the identity of the repository owner and confirmed they worked for the client,” Camille explained. “From our analyst’s platform, we have several tools to help pinpoint sensitive information, like credentials. That helped me locate the passwords in the YML file, and once I had an idea of what was exposed, I could write up the incident report and inform the client,” said Camille.
“What struck me was that the repository was not always publicly accessible as we would have seen it earlier. That tells me that at some point quite recently, someone who had access and the right permissions made the repository public,” explained Camille. “Changing a repository’s visibility is very risky, so much so that GitHub puts multiple warnings and checks in place to prevent users from making a mistake. It couldn’t be an accident, but that does not rule out someone needing to share this quick and ignoring warning labels,” she said. Having confirmed the platform findings, Camille prepared to inform the client of their risks.
“The client was pretty shocked at the levels of access anyone could have if they stumbled upon this public repository. When credentials are exposed, malicious actors don’t need to be technically skilled to cause harm since they will have direct access to internal tools. You can’t stop people from making mistakes or being negligent. That’s where CybelAngel comes in. We see the mistakes and exposures before threat actors can act on them,” Camille explained.
“I advised our client of the risks, namely network penetration, sabotage, and data theft. Part of what makes cybersecurity difficult are the many ways information can be used. Some malicious actors would steal data for sale on the dark web, some might install ransomware on databases, in rare cases, a threat actor could stay in their network as an Advanced Persistent Threat for weeks before making their move,” noted Camille.
She further informed the client that “obviously you need to change these credentials, but now is the time to review activity logs for suspicious activity. Since the repository had been open for just under 24 hours, the sooner a review occurred, the less “ground” the client would need to cover. That’s part of the value of CybelAngel is the speed of our detections. We make it, so problems don’t have time to grow out of hand.”
CybelAngel’s world-leading external risk protection platform detects and resolves external threats well before they’re exploited. Named a “Best of Breed” by Gartner in 2021, organizations worldwide rely on CybelAngel to discover, monitor, and resolve external threats across all layers of the Internet, keeping their critical assets, brand, and reputation secure.