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

What we can learn from the best collegiate cyber defenders

3 min read - This year marked the 19th season of the National Collegiate Cyber Defense Competition (NCCDC). For those unfamiliar, CCDC is a competition that puts student teams in charge of managing IT for a fictitious company as the network is undergoing a fundamental transformation. This year the challenge involved a common scenario: a merger. Ten finalist teams were tasked with managing IT infrastructure during this migrational period and, as an added bonus, the networks were simultaneously attacked by a group of red…

A spotlight on Akira ransomware from X-Force Incident Response and Threat Intelligence

7 min read - This article was made possible thanks to contributions from Aaron Gdanski.IBM X-Force Incident Response and Threat Intelligence teams have investigated several Akira ransomware attacks since this threat actor group emerged in March 2023. This blog will share X-Force’s unique perspective on Akira gained while observing the threat actors behind this ransomware, including commands used to deploy the ransomware, active exploitation of CVE-2023-20269 and analysis of the ransomware binary.The Akira ransomware group has gained notoriety in the current cybersecurity landscape, underscored…

New proposed federal data privacy law suggests big changes

3 min read - After years of work and unsuccessful attempts at legislation, a draft of a federal data privacy law was recently released. The United States House Committee on Energy and Commerce released the American Privacy Rights Act on April 7, 2024. Several issues stood in the way of passing legislation in the past, such as whether states could issue tougher rules and if individuals could sue companies for privacy violations. With the American Privacy Rights Act of 2024, the U.S. government established…

Topic updates

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