<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/mythic-embarking-on-the-open-seas-containerized-payload-delivery-for-kubernetes-assessments-xjar4twic" -->

---
title: Mythic Embarking on the Open Seas: Containerized Payload...
description: SpecterOps introduces two new Mythic C2 extensions — container_wrapper and container_registry — designed to streamline container-centric penetration testing...
canonical: https://daily.dev/posts/mythic-embarking-on-the-open-seas-containerized-payload-delivery-for-kubernetes-assessments-xjar4twic
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Mythic Embarking on the Open Seas: Containerized Payload Delivery for Kubernetes Assessments | daily.dev
og:description: SpecterOps introduces two new Mythic C2 extensions — container_wrapper and container_registry — designed to streamline container-centric penetration testing...
og:url: https://daily.dev/posts/mythic-embarking-on-the-open-seas-containerized-payload-delivery-for-kubernetes-assessments-xjar4twic
og:image: https://api.daily.dev/og/posts/xJaR4TWIC.png
og:image:alt: Mythic Embarking on the Open Seas: Containerized Payload Delivery for Kubernetes Assessments
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Mythic Embarking on the Open Seas: Containerized Payload Delivery for Kubernetes Assessments

**[SpecterOps](https://daily.dev/sources/specterops)** · 9 min read · 0 upvotes · 0 comments

## Summary

SpecterOps introduces two new Mythic C2 extensions — container_wrapper and container_registry — designed to streamline container-centric penetration testing workflows, particularly for Kubernetes assessments. container_wrapper uses Buildah to package Mythic (Poseidon) payloads into OCI-compatible container images, while container_registry leverages Skopeo to push those images to a self-hosted OCI registry deployed behind an HTTPS reverse proxy. The setup allows operators to provide clients with a simple Kubernetes manifest for deploying the C2 payload inside their cluster, simulating realistic adversary execution paths without manual Docker CLI steps.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://specterops.io/blog/2026/06/16/mythic-embarking-on-the-open-seas-containerized-payload-delivery-for-kubernetes-assessments>

## Questions this post answers

### How do I wrap a Mythic C2 payload in an OCI-compatible container image for a Kubernetes assessment?

Use the container_wrapper Mythic extension, which leverages Buildah to add a Poseidon binary to a chosen base image at /entrypoint and sets it as the container entrypoint. The output is an OCI-compatible .tar file. A companion extension, container_registry, then uses Skopeo to push that image to a self-hosted OCI registry, after which you provide the client a Kubernetes Pod manifest referencing the image.

_Red teamers running Kubernetes engagements track tooling like this on daily.dev._

### How do I set up a self-hosted OCI container registry for C2 payload delivery behind an HTTPS reverse proxy?

Deploy the distribution project (docker.io/registry:3) alongside your Mythic server by adding it to the Mythic docker-compose.yml with network_mode: host. Place it behind a reverse proxy with TLS termination and a valid hostname to satisfy OCI distribution spec requirements. Use an .htaccess file restricting access to GET and HEAD methods and filtering by User-Agent (containerd, docker, helm) to enforce read-only access and limit exposure.

_Operators building container-centric red team infrastructure find relevant tradecraft on daily.dev._

## Similar posts on daily.dev

- [Understanding Current Threats to Kubernetes Environments](https://daily.dev/posts/understanding-current-threats-to-kubernetes-environments-fxdltzw1h) · Unit 42 · 1 upvotes · 0 comments
- [Trivy, KICS, and the shape of supply chain attacks so far in 2026](https://daily.dev/posts/trivy-kics-and-the-shape-of-supply-chain-attacks-so-far-in-2026-eowatzydv) · Docker · 0 upvotes · 0 comments
- [The Evolution of Container Security: From Reactive Fixes to Proactive Defense](https://daily.dev/posts/the-evolution-of-container-security-from-reactive-fixes-to-proactive-defense-l3gerlbkh) · Cloud Native Now · 0 upvotes · 0 comments
- [Beyond the Scan: The Future of Snyk Container](https://daily.dev/posts/beyond-the-scan-the-future-of-snyk-container-u7pxjqdyw) · Snyk · 0 upvotes · 0 comments
- [What to Look for in Container Security Tools](https://daily.dev/posts/what-to-look-for-in-container-security-tools-oa0xbj5tx) · Orca Security Blog · 4 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#kubernetes](https://daily.dev/tags/kubernetes), [#containers](https://daily.dev/tags/containers)

[View this post on daily.dev](https://daily.dev/posts/mythic-embarking-on-the-open-seas-containerized-payload-delivery-for-kubernetes-assessments-xjar4twic)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Mythic Embarking on the Open Seas: Containerized Payload Delivery for Kubernetes Assessments","url":"https://daily.dev/posts/mythic-embarking-on-the-open-seas-containerized-payload-delivery-for-kubernetes-assessments-xjar4twic","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/mythic-embarking-on-the-open-seas-containerized-payload-delivery-for-kubernetes-assessments-xjar4twic"},"datePublished":"2026-08-23T12:16:28.546Z","dateModified":"2026-08-23T12:17:07.911Z","description":"SpecterOps introduces two new Mythic C2 extensions — container_wrapper and container_registry — designed to streamline container-centric penetration testing...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9fd22ec6d9e2d635a1f67b6fecce3ff4?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9fd22ec6d9e2d635a1f67b6fecce3ff4?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"SpecterOps","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"SpecterOps","logo":"https://media.daily.dev/image/upload/s--lR36Z4gn--/f_auto,q_auto/v1787487384/logos/specterops?_a=BAMAMicg0","url":"https://daily.dev/sources/specterops"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/mythic-embarking-on-the-open-seas-containerized-payload-delivery-for-kubernetes-assessments-xjar4twic","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,kubernetes,containers","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"SpecterOps","item":"https://daily.dev/sources/specterops"},{"@type":"ListItem","position":3,"name":"Mythic Embarking on the Open Seas: Containerized Payload Delivery for Kubernetes Assessments"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/mythic-embarking-on-the-open-seas-containerized-payload-delivery-for-kubernetes-assessments-xjar4twic#faq","mainEntity":[{"@type":"Question","name":"How do I wrap a Mythic C2 payload in an OCI-compatible container image for a Kubernetes assessment?","acceptedAnswer":{"@type":"Answer","text":"Use the container_wrapper Mythic extension, which leverages Buildah to add a Poseidon binary to a chosen base image at /entrypoint and sets it as the container entrypoint. The output is an OCI-compatible .tar file. A companion extension, container_registry, then uses Skopeo to push that image to a self-hosted OCI registry, after which you provide the client a Kubernetes Pod manifest referencing the image. Red teamers running Kubernetes engagements track tooling like this on daily.dev."}},{"@type":"Question","name":"How do I set up a self-hosted OCI container registry for C2 payload delivery behind an HTTPS reverse proxy?","acceptedAnswer":{"@type":"Answer","text":"Deploy the distribution project (docker.io/registry:3) alongside your Mythic server by adding it to the Mythic docker-compose.yml with network_mode: host. Place it behind a reverse proxy with TLS termination and a valid hostname to satisfy OCI distribution spec requirements. Use an .htaccess file restricting access to GET and HEAD methods and filtering by User-Agent (containerd, docker, helm) to enforce read-only access and limit exposure. Operators building container-centric red team infrastructure find relevant tradecraft on daily.dev."}}]}
```

