RL Blog

Topics

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

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 UsSupportBlogCommunity
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
Events
Press ReleasesIn the News
Pricing
Software Supply Chain SecurityMalware Analysis and Threat Hunting
Request a demo
Menu
Threat ResearchMay 26, 2026

Researcher's Notebook: Hunting Megalodon Fossils

Analyzing C2 responses from compromised GitHub Actions linked a current threat to an earlier one, showing the value of retrohunting.

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. Both of these campaigns connect to a C2 framework identified as NEXUS Listener by Cisco Talos.

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. 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
hxxp[://]144[.]172[.]116[.]48:8080/?h=MacBook&id=5BFF69DC-85FD-49E1-9E93-46A77A0A9B331777797917858&l=info
hxxp[://]144[.]172[.]116[.]48:8080/?h=cp2[.]hostable[.]com&id=94f7511e-08d6-421e-bdc1-d420f4c93d331777695161953&l=found
hxxp[://]144[.]172[.]116[.]48:8080/?h=buffalo&l=tokens&id=a49fd31b-bab5-45bb-a4ea-5b233ef5a3db1777797762271
hxxp[://]144[.]172[.]116[.]48:8080/?h=MacBook&l=info&id=5BFF69DC-85FD-49E1-9E93-46A77A0A9B331777797917858

IPs
216[.]126[.]225[.]129
144[.]172[.]116[.]48
144[.]172[.]102[.]88  
172[.]86[.]127[.]128  
144[.]172[.]112[.]136  
144[.]172[.]117[.]112

YARA Rule

rule NexusListener_C2_1
{
    meta:
        author = "Malware Utkonos"
        date = "2026-05-21"
        description = "Detects NEXUS Listener 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 Agentic Development Security tools landscape in this June 18 webinar with Forrester Sr. Analyst Janet Worthington.
  • Learn why binary analysis is a must-have control in the Gartner® CISO Playbook for Commercial Software Supply Chain Security.
  • Take a deep dive on the state of software security with RL's Software Supply Chain Security Report 2026. Plus: See the the webinar discussing the findings.

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

Device code phishing

Device code phishing bypasses password stealing

The Microsoft 365 phishing campaign persuades victims to complete a real authentication process that authorizes an attacker-controlled device.

Learn More about Device code phishing bypasses password stealing
Device code phishing bypasses password stealing
Cloud security ITScape

How to defend ARM64 cloud infrastructure from ITScape

RL has documented CVE-2026-46316, and developed two YARA rules to help detect exploits of the multi-tenant cloud vulnerability.

Learn More about How to defend ARM64 cloud infrastructure from ITScape
How to defend ARM64 cloud infrastructure from ITScape
Social Engineering Attacks Target One Tutorial at a Time

Phishing attacks leverage TikTok, Instagram Reels

RL has discovered two social engineering attack techniques targeting users via short-form videos. Here’s how they work.

Learn More about Phishing attacks leverage TikTok, Instagram Reels
Phishing attacks leverage TikTok, Instagram Reels
Thousands of developer projects compromised in npm hack

How 56 npm packages used binding.gyp to steal secrets

The attack is notable for its breadth, flooding npm with malicious package versions.

Learn More about How 56 npm packages used binding.gyp to steal secrets
How 56 npm packages used binding.gyp to steal secrets

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