Skip to content

Conversation

@ghost-ng
Copy link
Owner

@ghost-ng ghost-ng commented Oct 5, 2025

No description provided.

ghost-ng and others added 4 commits September 27, 2025 19:44
- Add 'agent build' CLI command with x86/x64 architecture support
- Implement C++ agent builder with polymorphic encryption for unique signatures
- Focus on named pipe command execution without sandbox/process detection
- Add agent templates: agent_main.cpp and build_config.cmake
- Integrate agent_handler into SlingerClient for CLI processing
- Support cross-platform compilation with CMake

Features:
- Function name obfuscation via compile-time randomization
- Control flow obfuscation using goto statements
- Polymorphic builds with unique encryption seeds
- No detection mechanisms, pure command execution focus

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
## Agent Communication via Named Pipes
- Added deterministic XOR encryption for agent/client message sync
- Fixed handshake workflow to prevent off-by-one response issues
- Removed duplicate handshake sending in agent_main.cpp
- Agent now sends single handshake via wait_for_connection()

## Agent Improvements
- Added debug logging with --debug flag support
- Enabled multiple client connections with PIPE_UNLIMITED_INSTANCES
- Added connection timeout handling (30 seconds inactivity)
- Implemented disconnect_client() for clean reconnection cycles
- Added non-blocking pipe reads with PeekNamedPipe

## Client Improvements
- Implemented XOR key storage in build registry and agent registry
- Added proper IPC$ tree cleanup after pipe operations
- Fixed WMI connection corruption by clearing cached connections
- Simplified handshake: read initial message and discard
- Added rm -n option for deleting multiple files with shlex parsing
- Added history command to display slinger command history

## Bug Fixes
- Fixed broken pipe errors after agent interaction
- Fixed agent check/kill WMI query issues
- Fixed share connection prerequisite checks
- Corrected import path for get_config_value in history command

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Fix agent reconnection bug by enforcing consistent BYTE mode in pipe recreation
- Add agent reset command for bulk cleanup (kill + rm all agents)
- Fix WMI temp file cleanup using share-root paths (\Windows\Temp\...)
- Update agent disk presence tracking in deploy, rm, and check commands
- Add comprehensive agent system documentation to README
- Implement X25519 key exchange and AES-256-GCM encryption
- Add challenge-response authentication protocol
- Update CLI menu documentation with agent commands
- Add UPX compression tools for agent binary packing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@ghost-ng ghost-ng merged commit a040f56 into main Oct 5, 2025
1 check passed
@ghost-ng ghost-ng deleted the pipe_exec branch October 5, 2025 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants