Hackers Abuse GitHub to Host Malicious Infrastructure

GitHub has become a major platform that cybercriminals use for various attack methods such as payload delivery, dead drop resolution (DDR), C2 (Command and Control) and exfiltration. T

This is because GitHub is considered legitimate traffic, which threat actors can leverage to blend in with other legitimate network traffic.

However, cyberattacks are expected to increase, and there are high possibilities of new third-party risk vectors. This requires advanced detection methods and many other things to mitigate them.

In addition, organizations are advised to invest resources in understanding the abuse of Github and code repositories, which might provide more insights into the attacks.

Document
Free Webinar

Fastrack Compliance: The Path to ZERO-Vulnerability

Compounding the problem are zero-day vulnerabilities like the MOVEit SQLi, Zimbra XSS, and 300+ such vulnerabilities that get discovered each month. Delays in fixing these vulnerabilities lead to compliance issues, these delay can be minimized with a unique feature on AppTrana that helps you to get “Zero vulnerability report” within 72 hours.

Technical Analysis

According to the report shared with Cyber Security News, almost all threat actors use GitHub to evade detection, reduce costs, and reduce operational overhead. However, the primary infrastructure schemes have been changed to payload delivery, DDR, full C2, and exfiltration.

Breakdown of abused GitHub services (Source: RecordedFuture)

Among these, Payload delivery is the most prevalent scheme due to its simple implementation. Though this offers a great deal of benefits, there is a disadvantage to threat actors in using GitHub for payload delivery. The risks include unintended exposure, operational insight leakage, and many others.

Dead Drop Resolving is the second most common technique that uses the GitHub platform. DDR has a minimal risk of data removal from the platform, providing a great place for placing malicious files since GitHub-like platforms have challenges detecting files behind posted addresses or strings without further context.

Command and Control has also been found to be increasing with GitHub platforms but full implementation of C2 in GitHub is uncommon and are performed only by APTs. The reason behind is speculated to be functional constraints in using GitHub’s services.

As for exfiltration, it is also less common when compared to the other methods. This might be due to size and storage limitations, effective alternatives, cost issues, and detectability issues. 

Apart from these major usages, there are several other cases where GitHub is used for hosting phishing operations, fallback channels, infection vector serving, and many others. To date, there have been no effective solutions for mitigating the abuse of the GitHub platform.

This void space must be filled with detection strategies, usage patterns, log availability, and others.

With the increase in abuse of GitHub, network defenders need to allocate more resources to fight against this usage.

A complete report about this abuse has been published, which provides detailed information on infrastructure schemes, specific use cases of Github, and other information.

Looking for cost-effective penetration testing services? Try Kelltron’s to assess and evaluate the security posture of digital systems – .

Balaji

BALAJI is an Ex-Security Researcher (Threat Research Labs) at Comodo Cybersecurity. Editor-in-Chief & Co-Founder - Cyber Security News & GBHackers On Security.

Recent Posts

Critical TP-Link DHCP Vulnerability Let Attackers Execute Arbitrary Code Remotely

A critical security flaw has been uncovered in certain TP-Link routers, potentially allowing malicious actors…

1 day ago

Chinese SilkSpecter Hackers Attacking Black Friday Shoppers

SilkSpecter, a Chinese financially motivated threat actor, launched a sophisticated phishing campaign targeting e-commerce shoppers…

1 day ago

Cybercriminals Launch SEO Poisoning Attack to Lure Shoppers to Fake Online Stores

The research revealed how threat actors exploit SEO poisoning to redirect unsuspecting users to malicious…

1 day ago

Black Basta Ransomware Leveraging Social Engineering For Malware Deployment

Black Basta, a prominent ransomware group, has rapidly gained notoriety since its emergence in 2022…

1 day ago

Critical Laravel Vulnerability CVE-2024-52301 Allows Unauthorized Access

CVE-2024-52301 is a critical vulnerability identified in Laravel, a widely used PHP framework for building…

1 day ago

4M+ WordPress Websites to Attacks, Following Plugin Vulnerability

A critical vulnerability has been discovered in the popular "Really Simple Security" WordPress plugin, formerly…

1 day ago