RL Blog

Topics

All Blog PostsAppSec & Supply Chain SecurityDev & DevSecOpsProducts & TechnologySecurity OperationsThreat Research
Why RL Built Spectra Assure Community
April 14, 2026

Why RL Built Spectra Assure Community

We set out to help dev and AppSec teams secure the village: OSS dependencies, malware, more. Learn how.

Read More about Why RL Built Spectra Assure Community
Why RL Built Spectra Assure Community

Follow us

XX / TwitterLinkedInLinkedInFacebookFacebookInstagramInstagramYouTubeYouTubeblueskyBluesky

Subscribe

Get the best of RL Blog delivered to your in-box weekly. Stay up to date on key trends, analysis and best practices across threat intelligence and software supply chain security.

ReversingLabs: The More Powerful, Cost-Effective Alternative to VirusTotalSee Why
Skip to main content
Contact UsSupportLoginBlogCommunity
reversinglabsReversingLabs: Home
Solutions
Secure Software OnboardingSecure Build & ReleaseProtect Virtual MachinesIntegrate Safe Open SourceGo Beyond the SBOM
Increase Email Threat ResilienceDetect Malware in File Shares & StorageAdvanced Malware Analysis SuiteICAP Enabled Solutions
Scalable File AnalysisHigh-Fidelity Threat IntelligenceCurated Ransomware FeedAutomate Malware Analysis Workflows
Products & Technology
Spectra Assure®Software Supply Chain SecuritySpectra DetectHigh-Speed, High-Volume, Large File AnalysisSpectra AnalyzeIn-Depth Malware Analysis & Hunting for the SOCSpectra IntelligenceAuthoritative Reputation Data & Intelligence
Spectra CoreIntegrations
Industry
Energy & UtilitiesFinanceHealthcareHigh TechPublic Sector
Partners
Become a PartnerValue-Added PartnersTechnology PartnersMarketplacesOEM Partners
Alliances
Resources
BlogContent LibraryCybersecurity GlossaryConversingLabs PodcastEvents & WebinarsLearning with ReversingLabsWeekly Insights Newsletter
Customer StoriesDemo VideosDocumentationOpenSource YARA Rules
Company
About UsLeadershipCareersSeries B Investment
EventsRL at RSAC
Press ReleasesIn the News
Pricing
Software Supply Chain SecurityMalware Analysis and Threat Hunting
Request a demo
Menu

Spectra Assure Free Trial

Get your 14-day free trial of Spectra Assure for Software Supply Chain Security

Get Free TrialMore about Spectra Assure Free Trial
Blog
Events
About Us
Webinars
In the News
Careers
Demo Videos
Cybersecurity Glossary
Contact Us
reversinglabsReversingLabs: Home
Privacy PolicyCookiesImpressum
All rights reserved ReversingLabs © 2026
XX / TwitterLinkedInLinkedInFacebookFacebookInstagramInstagramYouTubeYouTubeblueskyBlueskyRSSRSS
Back to Top
Threat ResearchMay 26, 2026

Researcher's Notebook: Hunting Megalodon Fossils

By pivoting from malicious GitHub Actions to C2 telemetry, bad actors re-targeted a campaign. That's why retrohunting matters.

glasses beard man animated face
Robert SimmonsRobert Simmons
FacebookFacebookXX / TwitterLinkedInLinkedInblueskyBlueskyEmail Us
Hunting Megalodon Fossils

The "megalodon" supply chain attack starting on approximately May 18, 2026 compromised numerous GitHub Action YAML configuration files with a base64 encoded malicious script. The C2 used in this campaign was hosted on the IP address 216.126.225[.]129. By analyzing the response content from the web server running on this IP, the campaign is found to be related to an earlier attack that included a similar credential stealer script as well as a coin miner in a malicious Docker container.

The Script: Malicious GitHub Actions

As reported on X by user @abh1sek, a large number of repositories were compromised and malicious GitHub actions were added to the CI configuration YAML as a base64-encoded malicious script. One example of this script is shown in the following figure.

Malicious GitHub Action with Base64 encoded script

Figure 1: Malicious GitHub Action with Base64 encoded script

Decoding the base64 reveals the malicious script. The C2 URL is highlighted at the top of the next figure.

Base64 decoded malicious script with C2 URL highlighted

Figure 2: Base64-decoded malicious script with C2 URL highlighted

URL analysis in Spectra Analyze shows the C2 to be hosted on RouterHosting LLC (ASN 14956). The campaign string "megalodon" can be seen in the query as well as "gh_dump" indicating GitHub dump.

C2 URL analysis in Spectra Analyze

Figure 3: C2 URL analysis in Spectra Analyze

The C2 response content, when it does not receive the expected request from a malicious script, contains help text from the C2 software. This help text can be seen in the following figure.

Preview Sample / Visualization

C2 help text response

Figure 4: C2 help text response

Notice that the exfiltrated data from GitHub repos is written to files in a directory in root named "loot". The next line in the help text contains the same set of query keys as the C2 URL collected from the malicious GitHub action. This whole line of text can be converted into a YARA hexadecimal string so that escapes are not needed.

00000000  50 4f 53 54 20 2f 61 6e 79 20 3f 68 3d 26 6c 3d  |POST /any ?h=&l=|
00000010  26 69 64 3d 26 74 3d 20 20 62 6f 64 79 3d 72 61  |&id=&t=  body=ra|
00000020  77 20 62 79 74 65 73                             |w bytes|

The result is the YARA rule seen in the next figure. This rule is also provided at the end of this blog post.

Megalodon C2 detection YARA rule

Figure 5: Megalodon C2 detection YARA rule

Performing a retrohunt in Spectra Analyze reveals similar C2 response content collected two weeks ago on May 8, 2026. The results of the hunt are shown in the next figure.

YARA retro hunt revealing historical C2 response content

Figure 6: YARA retro hunt revealing historical C2 response content

The location that this response content was collected from is shown in the Network Locations list. In the next figure, it shows the related C2 URL from the related campaign from two weeks ago. The campaign name embedded in this URL is cp2.hostable[.]com. This is shown in the next figure.

Historical C2 URL

Figure 7: Historical C2 URL

An OSINT search for the IP address of this prior campaign reveals a few different reports about the activity. These are shown in the following two figures.

Reporting on Reddit about related campaign

Figure 8: Reporting on Reddit about related campaign

Salah-Eddine El Ouali's Post

Reporting on LinkedIn about related campaign

Figure 9: Reporting on LinkedIn about related campaign

Trusted CI infrastructure is the target

The megalodon campaign highlights how rapidly large scale supply chain attacks can spread through trusted CI infrastructure. By pivoting from the malicious GitHub Action payload to the C2 response content and historical telemetry, it is possible to connect this activity to an earlier credential theft and cryptomining campaign. This demonstrates the value of retrohunting in associating current threats with prior campaigns and adversary activity.

IOCs

hxxp[://]216[.]126[.]225[.]129:8443?h=megalodon&l=gh_dump&id=4ny72dgixww6
hxxp[://]144[.]172[.]116[.]48:8080/?h=cp2[.]hostable[.]com&l=found&id=94f7511e-08d6-421e-bdc1-d420f4c93d331777695161953

YARA Rule

rule Megalodon_C2_1
{
    meta:
        author = "Malware Utkonos"
        date = "2026-05-21"
        description = "Detects Megalodon C2 response content."
    strings:
        $body = { 504F5354 202F616E 79203F68 3D266C3D 2669643D
                  26743D20 20626F64 793D7261 77206279 746573 }
    condition:
        $body
}

Keep learning

  • Get up to speed on the state of software security with RL's Software Supply Chain Security Report 2026. Plus: See the the webinar to discussing the findings.
  • Learn why binary analysis is a must-have in the Gartner® CISO Playbook for Commercial Software Supply Chain Security.
  • Take action on securing AI/ML with our report: AI Is the Supply Chain. Plus: See RL's research on nullifAI and watch how RL discovered the novel threat.
  • Get the report: Go Beyond the SBOM. Plus: See the CycloneDX xBOM webinar.

Explore RL's Spectra suite: Spectra Assure for software supply chain security, Spectra Detect for scalable file analysis, Spectra Analyze for malware analysis and threat hunting, and Spectra Intelligence for reputation data and intelligence.

Tags:Threat Research

More Blog Posts

Hackers Abuse Parental Controls To Hijack Google Accounts

Hackers Abuse Parental Controls to Hijack Google Accounts

Learn how attackers are re-casting adults as minors to bypass recovery and lock users out.

Learn More about Hackers Abuse Parental Controls to Hijack Google Accounts
Hackers Abuse Parental Controls to Hijack Google Accounts
How DirtyFrag rose from the Linux privilege escalation exploit

How Dirty Frag rose from the Copy Fail exploit

RL documented 163 samples of the Linux exploit's new variants, active malware — and developed YARA rules.

Learn More about How Dirty Frag rose from the Copy Fail exploit
How Dirty Frag rose from the Copy Fail exploit
Copy Fail Linux yara rules

Copy Fail Flaw: 5 YARA Rules for Detection

Here’s what you need to know about the Linux kernel privilege escalation — and how to use YARA rules to get on top of it.

Learn More about Copy Fail Flaw: 5 YARA Rules for Detection
Copy Fail Flaw: 5 YARA Rules for Detection

Claude adds malware to crypto agent

PromptMink has evolved into a malicious dependency in a package that allows access to crypto wallets and funds.

Learn More about Claude adds malware to crypto agent
Claude adds malware to crypto agent
Claude AI adds PromptMink malware to crypto trading agent