Skip to content

RedGuard for Kubernetes. RedGuard is a C2 front flow control tool,Can avoid Blue Teams,AVs,EDRs check.

License

Notifications You must be signed in to change notification settings

3ayazaya/RedGuard-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedGuard logo RedGuard in Kubernetes

Using RedGuard redirector on Kubernetes.

Overview

Use this Helm-chart to run RedGuard redirector on k8s (k3s) clusters.

What is RedGuard RedGuard, a derivative tool based on command and control (C2) front flow control technology, has a lighter design, efficient traffic interaction, and reliable compatibility with development in the go programming language.As cyber attacks are constantly evolving , the red and blue team exercises become progressively more complex, RedGuard is designed to provide a better C2 channel hiding solution for the red team, that provides the flow control for the C2 channel, blocks the "malicious" analysis traffic, and better completes the entire attack task.

RedGuard is a C2 front flow control tool that can avoid Blue Team, AVS, EDR, Cyberspace Search Engine detects.

Features

  • ConfigMap with RedGuard Config
  • Port forwarding (LoadBalancer, NodePort or Ingress-controller port streaming)
service:
  type: LoadBalancer
  ports:
    - name: http
      port: 80
      targetPort: 80
      protocol: TCP
    - name: https
      port: 443
      targetPort: 443
      protocol: TCP

You can change (customize) ports in value.yaml.

Installation

Before running helm in k8s, you need to build a Docker image with RedGuard. An example would be the Dockerfile from the repository.

Prerequisites

  • Kubernetes or k3s
  • Helm install
  • kubectl configured to authenticate to a Kubernetes cluster with a valid kubeconfig file
  • Docker on local machine

CLI

  1. Clone repo.
git clone https://github.com/3ayazaya/RedGuard-k8s
cd RedGuard-k8s/charts
  1. Build Docker image with RedGuard (if you need it).
export BUILD_ARCHS="linux/amd64,linux/arm64"
docker buildx build --platform $BUILD_ARCHS --progress plain --pull -t <image:tag> --push . --no-cache
  1. Change values.yaml if need in charts folder.
  2. Install Helm-chart with RedGuard in k8s (k3s) cluster.
helm install redguard redguard -f redguard/values.yaml -n <namespace> --create-namespace

Helm

  1. Add a chart repository.
helm repo add shmel https://charts.shmel.xyz
  1. Download values.yaml if need.
helm show values shmel/redguard > values.yaml
  1. Change values.yaml if need.
  2. Install Helm-chart with RedGuard in k8s (k3s) cluster.
helm install redguard shmel/redguard -f values.yaml -n <namespace> --create-namespace

About

RedGuard for Kubernetes. RedGuard is a C2 front flow control tool,Can avoid Blue Teams,AVs,EDRs check.

Resources

License

Stars

Watchers

Forks

Packages

No packages published