Before You Begin

Read this section before you install Cobalt Strike.

System Requirements

The following items are required for any system hosting the Cobalt Strike client and/or server components.

Java

Cobalt Strike's GUI client and Team Server require one of the following Java environments:

 

NOTE:

If your organization does not have a license that allows commercial use of Oracle's Java, we encourage you to use OpenJDK 17.

Supported Operating Systems

Cobalt Strike Team Server is supported on a Linux system that meets the Java requirements and has been tested on the following Debian based Linux distributions (other versions may work but have not been tested):

  • Debian
  • Ubuntu
  • Kali Linux

Cobalt Strike Client runs on the following systems:

  • Windows 7 and above
  • macOS 10.13 and above
  • GUI based Linux, such as: Debian, Ubuntu and Kali Linux (other versions may work but have not been tested)

Hardware

In addition to an accepted operating system, the below minimum requirements should be met:

  • 2 GHz+ processor
  • 2 GB RAM
  • 500MB+ available disk space

On Amazon EC2, choose an instance that meets or exceeds the minimum hardware requirements listed above.

Linux glibc

Be aware that certain Linux distributions may be missing or don't have the correct version of glibc. If you run into that issue, review the Knowledge Article, glibc Missing From Older Linux Distributions, on the Fortra Portal.

Installing OpenJDK

Cobalt Strike is tested with OpenJDK 17 and its launchers are compatible with a properly installed OpenJDK 17 environment.

Linux (Kali 2018.4, Ubuntu 18.04)

  1. Update APT:

    Copy
    sudo apt-get update
  2. Install OpenJDK 17 with APT:

    Copy
    sudo apt-get install openjdk-17-jdk
  3. Make OpenJDK 17 the default:

    Copy
    sudo update-java-alternatives -s java-1.17.0-openjdk-amd64

Linux (Other)

  1. Uninstall the current OpenJDK package(s).
  2. Download OpenJDK for Linux/x64 at: https://jdk.java.net/archive/.
  3. Extract the OpenJDK binary:

    Copy
    tar zxvf openjdk-17.0.0.1+2_linux-x64_bin.tar.gz
  4. Move the OpenJDK folder to /usr/local:

    Copy
    mv jdk-17.0.0.1 /usr/local
  5. Add the following to ~/.bashrc:

    Copy
    export JAVA_HOME="/usr/local/jdk-17.0.0.1"
    PATH=$PATH:$JAVA_HOME/bin
  6. Refresh your ~/.bashrc to make the new environment variables take effect:

    Copy
    source ~/.bashrc

macOS

  1. Download OpenJDK for macOS/x64 at: https://jdk.java.net/archive/.
  2. Open a Terminal and navigate to the Downloads/ folder.
  3. Extract the archive:

    Copy
    tar zxvf openjdk-17.0.2_osx-x64_bin.tar.gz
  4. Move the extracted archive to /Library/Java/JavaVirtualMachines/:

    Copy
    sudo mv jdk-17.0.2.jdk/ /Library/Java/JavaVirtualMachines/

The java command will use the highest Java version in /Library/Java as the default.

Windows

  1. Download OpenJDK for Windows/x64 at: https://jdk.java.net/archive/.
  2. Extract the archive to c:\program files\jdk-17.0.2.
  3. Add c:\program files\jdk-17.0.2\bin to your user's PATH environment variable:
    1. Go to Control Panel-> System-> Change Settings-> Advanced-> Environment Variables....
    2. Highlight Path in User variables for user.
    3. Press Edit.
    4. Press New.
    5. Type: c:\program files\jdk-17.0.2\bin.
    6. Press OK on all dialogs.

Wayland Desktop - Not Supported

Wayland is a modern replacement for the X Windows System. Wayland has made great strides, as a project, and some desktop environments use it as their default window system. Don't let the adoption fool you though. Not all applications or application environments work 100% perfectly on Wayland. There are still bugs and issues to address.

There are bugs in Java (or Wayland) that may cause a graphical Java application to crash, during normal use, when run in a Wayland desktop. These bugs affect Cobalt Strike users. Fortra does not support the use of Cobalt Strike on Wayland desktops.

Am I using Wayland?

Type echo $XDG_SESSION_TYPE to find out if you're on wayland or x11.

Switching to X11 on Kali Linux

The available X11 sessions depend on your desktop environment. Xfce uses X11. For KDE Plasma, select Desktop Session and then Plasma (X11) on the login screen if that option is available.

GNOME on Kali Linux 2025.4 and later supports only Wayland. To run Cobalt Strike on these releases, use a desktop environment that provides an X11 session. For details, see the Kali Linux Wayland documentation.

The following procedure applies to older GNOME releases that support X11 and use /etc/gdm3/daemon.conf for GDM configuration:

  1. Open /etc/gdm3/daemon.conf in a text editor with administrator privileges.
  2. Find the [daemon] section.
  3. Add WaylandEnable=false and reboot your system.