August 7, 2017 By Shane Schick 2 min read

Researchers have created a tool that uses Git repositories to demonstrate how Agile and other accelerated software development approaches could have a serious trade-off in terms of enterprise security.

GitPwnd Highlights Vulnerabilities in Git Repositories

In a presentation at the recent Black Hat security conference, experts from NCC Group and Datadog discussed how repositories, which store software histories as code is being written, could be used to communicate malicious commands from threat actors. As proof, they developed GitPwnd, an open source penetration testing resource that takes advantage of popular services such as GitHub, GitLab or BitBucket.

Security Affairs explained how such attacks would work: Cybercriminals could use something like GitPwnd to host their Git repositories on GitHub, for instance. Then, as commands are sent to an infiltrated system, they could be easily disguised as legitimate traffic coming from a software developer, which use the same transport layer for legitimate work.

Though malicious actors could theoretically turn GitPwnd into a weapon, the researchers only made it to show that some companies are too lax in the trust they offer to third parties as they race to create innovative software.

Practice Security Over Speed

As SecurityWeek explained, trends in application development have tended to favor approaches, such as Agile, that drive teams to meet short-term deadlines and a series of fast iterations. When security controls may get in the way of speedy Agile techniques, firms could put themselves at risk by temporarily removing them and leaving Git repositories open to abuse.

Awareness of this issue seems to be growing. Just a few weeks ago, a columnist on Dark Reading called out the opportunities cybercriminals see in GitHub and similar services to infect many machines at once. He recommended private cloud environments as the best way to secure Git repositories. And earlier this year, TechTarget profiled a utility called Truffle Hog, which can search through Git repos for old text that could be exploited as a security key.

Neither of those things completely addresses the trust relationships that were the focus of the Black Hat session, of course. But the moral here is that no software project should be fast tracked to such an extent that major risks get introduced.

More from

Hive0137 and AI-supplemented malware distribution

12 min read - IBM X-Force tracks dozens of threat actor groups. One group in particular, tracked by X-Force as Hive0137, has been a highly active malware distributor since at least October 2023. Nominated by X-Force as having the “Most Complex Infection Chain” in a campaign in 2023, Hive0137 campaigns deliver DarkGate, NetSupport, T34-Loader and Pikabot malware payloads, some of which are likely used for initial access in ransomware attacks. The crypters used in the infection chains also suggest a close relationship with former…

Unveiling the latest banking trojan threats in LATAM

9 min read - This post was made possible through the research contributions of Amir Gendler.In our most recent research in the Latin American (LATAM) region, we at IBM Security Lab have observed a surge in campaigns linked with malicious Chrome extensions. These campaigns primarily target Latin America, with a particular emphasis on its financial institutions.In this blog post, we’ll shed light on the group responsible for disseminating this campaign. We’ll delve into the method of web injects and Man in the Browser, and…

Crisis communication: What NOT to do

4 min read - Read the 1st blog in this series, Cybersecurity crisis communication: What to doWhen an organization experiences a cyberattack, tensions are high, customers are concerned and the business is typically not operating at full capacity. Every move you make at this point makes a difference to your company’s future, and even a seemingly small mistake can cause permanent reputational damage.Because of the stress and many moving parts that are involved, businesses often fall short when it comes to communication in a crisis.…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today