Bundled with Unleash skills pack. Source: C:\Users\Admin.agents\skills\enterprise-server-rce-research\SKILL.md
Enterprise Server RCE Research
Priority Model
Prefer, in order:
- unauthenticated default-listening service;
- pre-auth parser reachable during handshake, discovery, health check, upload, federation, or authentication;
- low-privilege tenant/user path reaching privileged backend workers;
- management agent reachable from enterprise networks;
- file/message ingestion requiring normal user interaction or routine automation.
Reject targets that are latest-version ineligible, niche without strategic deployment, or reachable only through disabled legacy modules.
Phase 1: Deployment-Accurate Baseline
Record:
- latest stable product/build, hotfixes, plugins, runtime, OS image, and container digest;
- default installation profile and exposed ports;
- service accounts, containers, namespaces, sandboxing, and outbound access;
- authentication modes and first-run configuration;
- cluster versus standalone differences;
- reverse proxy/load balancer normally deployed in front;
- protocol encryption and test certificates;
- clean snapshot and reset automation.
Test both a clean default and a representative enterprise configuration. Do not weaken security merely to expose a harness unless the weakened mode is separately labeled.
Completion criterion: one command or automation recipe restores the exact target state.
Phase 2: Enumerate Remote Entry Points
Inventory from network capture, binaries, configs, OpenAPI/IDL/protobuf schemas, route tables, and service registration:
- TCP/UDP/QUIC listeners;
- HTTP routes, WebSocket upgrades, gRPC methods, GraphQL operations;
- RPC/DCERPC/COM remoting, Java RMI, .NET remoting, custom IPC relays;
- discovery, heartbeat, replication, backup, restore, migration, import/export;
- file upload, archive extraction, document/media conversion, report generation;
- identity federation, SSO metadata, certificate enrollment, directory sync;
- message queues, webhook receivers, mail/calendar ingestion;
- agent/controller and node/cluster protocols;
- admin APIs accidentally sharing pre-auth middleware.
For each entry point record auth state, parser, worker process, privilege, default exposure, and sensitive sink.
Completion criterion: every listener maps to protocol methods and handling binaries/processes.
Phase 3: Trace Pre-Auth Data Flow
Capture one valid transaction, then trace fields through:
socket -> framing -> decompression/decryption -> parser -> validation
-> object construction -> dispatch -> filesystem/process/interpreter/native sink
High-value transitions:
- length/count/offset arithmetic before authentication;
- compressed-to-expanded size changes;
- deserialization with type selection or callbacks;
- template/expression/query interpreters;
- archive member paths and link handling;
- command construction and helper-process arguments;
- dynamic module/class/plugin loading;
- path-to-handle reopen under service authority;
- request queued to a more privileged worker;
- SSRF reaching local management or metadata endpoints as a chain primitive.
Completion criterion: identify the earliest untrusted field and final operation under the effective server principal.
Phase 4: Harness Strategy
Choose the narrowest faithful harness:
- in-process parser/API harness for native libraries;
- socket-level replay proxy preserving state and checksums;
- protocol client mutator for stateful services;
- forkserver/snapshot around a long-lived worker;
- container/VM snapshot for appliance-only targets;
- differential harness across versions or implementations.
Seed from valid production-like transactions. Preserve dependent fields with a grammar or custom mutator. Split campaigns by parser stage so authentication failures do not dominate coverage.
Instrumentation:
- ASan/UBSan/MSan where source builds are realistic;
- page heap, Application Verifier, WinDbg, ETW, ProcDump on Windows;
- sanitizers, rr, gdb, eBPF/uprobes, core dumps on Linux;
- coverage through source instrumentation, DynamoRIO/Frida/QEMU, or protocol-state feedback;
- syscall/file/process traces for logic bugs that do not crash.
Completion criterion: valid seeds reach the intended handler and coverage or semantic feedback distinguishes new paths.
Phase 5: Bug-Class Campaigns
Run separate campaigns for:
Native memory safety
- frame lengths, nested counts, decompression, integer conversions;
- lifetime across async callbacks, cancellation, timeout, and reconnect;
- allocator mismatch across modules/plugins;
- malformed optional fields and duplicate records;
- race between disconnect and worker completion.
Injection and interpreter boundaries
- command/argument construction;
- template, expression, query, rule, workflow, and scripting engines;
- unsafe object deserialization and polymorphic type loading;
- server-side include, transform, and report engines;
- environment/config expansion under service accounts.
File and package processing
- traversal after canonicalization, links, junctions, hard links, ADS;
- archive extraction races and overwrite semantics;
- signed outer package containing unchecked inner content;
- parser chains selected by filename, MIME, magic, or metadata disagreement;
- temporary files later executed or loaded by privileged jobs.
Authorization/state machine
- pre-auth method reachable after failed/partial negotiation;
- request smuggling between proxy and backend;
- cross-tenant object identifiers;
- stale session/resume tokens;
- controller/agent trust confusion;
- operation validated as user but completed as system worker.
Completion criterion: each campaign has a corpus, feedback signal, timeout policy, and triage queue.
Phase 6: RCE Triage
For each candidate prove:
- remote reachability on default/representative deployment;
- exact authentication and interaction requirement;
- root cause and affected process;
- controlled data, offset, type, target, or interpreter expression;
- mitigations and process boundary;
- service account privileges and container/sandbox escape needs;
- network egress and lateral value;
- clean latest-stable reproduction.
Use harmless proof first: controlled crash, marker file in test directory, predictable callback to a lab listener, or execution of a benign fixed command in an isolated target.
Completion criterion: impact follows from the bug rather than preexisting administrative configuration.
Phase 7: Cluster and Enterprise Variants
Test:
- node versus controller/coordinator;
- primary versus replica;
- upgrade/migration compatibility endpoints;
- backup/restore and disaster-recovery workers;
- Windows versus Linux packages;
- embedded JRE/.NET/Python/runtime versions;
- appliance and cloud-managed editions;
- direct listener versus standard reverse proxy;
- default and hardened authentication.
A bug in a rarely exposed worker can still be high value if normal enterprise automation feeds it attacker-controlled data.
Common Pitfalls
- Fuzzing random bytes before preserving protocol state.
- Claiming unauthenticated reachability when a proxy or enrollment secret is required.
- Testing an optional plugin absent from widespread deployments.
- Confusing SSRF or file write with RCE before proving the chain.
- Ignoring clean-install defaults and cluster topology.
- Using only crash feedback for logic and authorization bugs.
- Failing to update embedded runtimes independently of product version.
- Testing production/live services instead of a controlled product instance.
Verification Checklist
1---2name: enterprise-server-rce-research3description: Use when hunting new remote code execution vulnerabilities in the latest stable enterprise server, appliance, middleware, management-plane, gateway, identity, backup, monitoring, messaging, database, or file-processing product. Maps unauthenticated and low-privilege network paths, builds protocol-aware harnesses, traces attacker data to native or interpreter sinks, and validates practical serve...4license: MIT5---67> Bundled with Unleash skills pack. Source: C:\Users\Admin\.agents\skills\enterprise-server-rce-research\SKILL.md89# Enterprise Server RCE Research1011## Priority Model1213Prefer, in order:14151. unauthenticated default-listening service;162. pre-auth parser reachable during handshake, discovery, health check, upload, federation, or authentication;173. low-privilege tenant/user path reaching privileged backend workers;184. management agent reachable from enterprise networks;195. file/message ingestion requiring normal user interaction or routine automation.2021Reject targets that are latest-version ineligible, niche without strategic deployment, or reachable only through disabled legacy modules.2223## Phase 1: Deployment-Accurate Baseline2425Record:2627- latest stable product/build, hotfixes, plugins, runtime, OS image, and container digest;28- default installation profile and exposed ports;29- service accounts, containers, namespaces, sandboxing, and outbound access;30- authentication modes and first-run configuration;31- cluster versus standalone differences;32- reverse proxy/load balancer normally deployed in front;33- protocol encryption and test certificates;34- clean snapshot and reset automation.3536Test both a clean default and a representative enterprise configuration. Do not weaken security merely to expose a harness unless the weakened mode is separately labeled.3738Completion criterion: one command or automation recipe restores the exact target state.3940## Phase 2: Enumerate Remote Entry Points4142Inventory from network capture, binaries, configs, OpenAPI/IDL/protobuf schemas, route tables, and service registration:4344- TCP/UDP/QUIC listeners;45- HTTP routes, WebSocket upgrades, gRPC methods, GraphQL operations;46- RPC/DCERPC/COM remoting, Java RMI, .NET remoting, custom IPC relays;47- discovery, heartbeat, replication, backup, restore, migration, import/export;48- file upload, archive extraction, document/media conversion, report generation;49- identity federation, SSO metadata, certificate enrollment, directory sync;50- message queues, webhook receivers, mail/calendar ingestion;51- agent/controller and node/cluster protocols;52- admin APIs accidentally sharing pre-auth middleware.5354For each entry point record auth state, parser, worker process, privilege, default exposure, and sensitive sink.5556Completion criterion: every listener maps to protocol methods and handling binaries/processes.5758## Phase 3: Trace Pre-Auth Data Flow5960Capture one valid transaction, then trace fields through:6162```text63socket -> framing -> decompression/decryption -> parser -> validation64 -> object construction -> dispatch -> filesystem/process/interpreter/native sink65```6667High-value transitions:6869- length/count/offset arithmetic before authentication;70- compressed-to-expanded size changes;71- deserialization with type selection or callbacks;72- template/expression/query interpreters;73- archive member paths and link handling;74- command construction and helper-process arguments;75- dynamic module/class/plugin loading;76- path-to-handle reopen under service authority;77- request queued to a more privileged worker;78- SSRF reaching local management or metadata endpoints as a chain primitive.7980Completion criterion: identify the earliest untrusted field and final operation under the effective server principal.8182## Phase 4: Harness Strategy8384Choose the narrowest faithful harness:8586- in-process parser/API harness for native libraries;87- socket-level replay proxy preserving state and checksums;88- protocol client mutator for stateful services;89- forkserver/snapshot around a long-lived worker;90- container/VM snapshot for appliance-only targets;91- differential harness across versions or implementations.9293Seed from valid production-like transactions. Preserve dependent fields with a grammar or custom mutator. Split campaigns by parser stage so authentication failures do not dominate coverage.9495Instrumentation:9697- ASan/UBSan/MSan where source builds are realistic;98- page heap, Application Verifier, WinDbg, ETW, ProcDump on Windows;99- sanitizers, rr, gdb, eBPF/uprobes, core dumps on Linux;100- coverage through source instrumentation, DynamoRIO/Frida/QEMU, or protocol-state feedback;101- syscall/file/process traces for logic bugs that do not crash.102103Completion criterion: valid seeds reach the intended handler and coverage or semantic feedback distinguishes new paths.104105## Phase 5: Bug-Class Campaigns106107Run separate campaigns for:108109### Native memory safety110111- frame lengths, nested counts, decompression, integer conversions;112- lifetime across async callbacks, cancellation, timeout, and reconnect;113- allocator mismatch across modules/plugins;114- malformed optional fields and duplicate records;115- race between disconnect and worker completion.116117### Injection and interpreter boundaries118119- command/argument construction;120- template, expression, query, rule, workflow, and scripting engines;121- unsafe object deserialization and polymorphic type loading;122- server-side include, transform, and report engines;123- environment/config expansion under service accounts.124125### File and package processing126127- traversal after canonicalization, links, junctions, hard links, ADS;128- archive extraction races and overwrite semantics;129- signed outer package containing unchecked inner content;130- parser chains selected by filename, MIME, magic, or metadata disagreement;131- temporary files later executed or loaded by privileged jobs.132133### Authorization/state machine134135- pre-auth method reachable after failed/partial negotiation;136- request smuggling between proxy and backend;137- cross-tenant object identifiers;138- stale session/resume tokens;139- controller/agent trust confusion;140- operation validated as user but completed as system worker.141142Completion criterion: each campaign has a corpus, feedback signal, timeout policy, and triage queue.143144## Phase 6: RCE Triage145146For each candidate prove:1471481. remote reachability on default/representative deployment;1492. exact authentication and interaction requirement;1503. root cause and affected process;1514. controlled data, offset, type, target, or interpreter expression;1525. mitigations and process boundary;1536. service account privileges and container/sandbox escape needs;1547. network egress and lateral value;1558. clean latest-stable reproduction.156157Use harmless proof first: controlled crash, marker file in test directory, predictable callback to a lab listener, or execution of a benign fixed command in an isolated target.158159Completion criterion: impact follows from the bug rather than preexisting administrative configuration.160161## Phase 7: Cluster and Enterprise Variants162163Test:164165- node versus controller/coordinator;166- primary versus replica;167- upgrade/migration compatibility endpoints;168- backup/restore and disaster-recovery workers;169- Windows versus Linux packages;170- embedded JRE/.NET/Python/runtime versions;171- appliance and cloud-managed editions;172- direct listener versus standard reverse proxy;173- default and hardened authentication.174175A bug in a rarely exposed worker can still be high value if normal enterprise automation feeds it attacker-controlled data.176177## Common Pitfalls1781791. Fuzzing random bytes before preserving protocol state.1802. Claiming unauthenticated reachability when a proxy or enrollment secret is required.1813. Testing an optional plugin absent from widespread deployments.1824. Confusing SSRF or file write with RCE before proving the chain.1835. Ignoring clean-install defaults and cluster topology.1846. Using only crash feedback for logic and authorization bugs.1857. Failing to update embedded runtimes independently of product version.1868. Testing production/live services instead of a controlled product instance.187188## Verification Checklist189190- [ ] Eligibility gate passes on latest stable191- [ ] Default and representative enterprise deployments captured192- [ ] Listener/method/process/privilege map complete193- [ ] Valid transaction traced through final sink194- [ ] Stateful harness reaches intended handler195- [ ] Campaigns separated by bug class196- [ ] Authentication, interaction, and default exposure proven197- [ ] Root cause and controlled primitive established198- [ ] Cluster/platform variants tested199- [ ] Novelty search and clean reproduction completed200