__oblivion 699ece7085 Merge pull request #31 from CrossbowWalk/fix/fork-pipe-config
fix: fork pipe name configuration not working
2026-04-02 03:07:24 -03:00
2026-02-03 09:58:33 -03:00
2026-03-10 14:02:26 -03:00
2025-11-28 03:51:01 -03:00
2026-02-18 11:39:38 -03:00

Kharon v0.2

Kharon is a fully Position-Independent Code (PIC) agent that operates without a reflective loader. It incorporates multiple evasion mechanisms, including sleep obfuscation, heap obfuscation during sleep, stack spoofing with indirect syscalls, a BOF API proxy for spoofed and indirect BOF API execution, and AMSI/ETW bypass.

For detailed information about features, setup, and usage, check the official documentation here

PIC Logic

Kharon uses a class-based design to store the beacon instance.
The instance is retrieved using a magic value stored in a custom heap, allowing reliable access without relying on global symbols.

Core Features

This section covers the main capabilities related to evasion, malleable profiles, and runtime control.

HTTP Malleable Profile

  • Proxy configuration (URL, username, and password)
  • Domain rotation strategies:
    • Random
    • Failover
    • Round-robin
  • Multi-host configuration
  • Independent User-Agent and headers for GET and POST requests
  • Custom parameters
  • Fine-grained control over route behavior:
    • Output data via body, parameter, or header
    • Append / Prepend output data
  • Custom empty server responses
  • Custom error responses

Documentation here: http-malleable

Post-Exploitation Execution

Post-exploitation routines are based on Beacon Object Files (BOFs) and PIC shellcode, which can be executed:

  • In the current process (BOF/PIC)
  • In a remote target process (PIC)

Evasion

  1. Spoofed + Indirect Syscalls
    Applies call stack spoofing to selected API executions.

  2. BOF API Proxy
    Proxies BOF API calls to enable spoofed call stacks and indirect syscalls.

  3. Memory Evasion

    • Sleep obfuscation
    • Heap masking during beacon sleep

Runtime Configuration Changes

Kharon supports live runtime configuration updates using the config command.
This allows dynamic changes to beacon behavior, including:

  • Kill date (date-based or self-delete)
  • Working hours
  • BOF API proxy enable/disable
  • Spoofed + indirect syscall enable/disable
  • Memory obfuscation:
    • Heap masking status
    • Beacon masking technique
  • Process creation behavior:
    • Parent Process ID (PPID) spoofing
    • Block DLL policy
  • AMSI / ETW bypass
  • Sleep and jitter configuration

Check commands documentation.

S
Description
Automated archival mirror of github.com/entropy-z/Kharon
Readme GPL-3.0 30 MiB
Languages
C++ 58.8%
Go 16.2%
C 16.1%
Python 7.1%
Makefile 0.7%
Other 1.1%