Unified - root
A reflective archive entry capturing what was learned, what worked, and what should be remembered from this authorized practice target.
Summary
No summary recorded yet.
Authorized Scope
Authorized HackTheBox machine 'Unified' (10.129.96.149). Full recon and exploit within HTB scope. No other systems, no persistence beyond capture, restore any changed state. Flags stored via Cybernetics secrets; no plaintext creds in records.
Timeline and Effort
- Started: 2026-08-03
- Completed: Not recorded
- Elapsed calendar days: Not available
- Active time spent: Not recorded
Dead Ends and Ruled-Out Paths
No dead ends recorded yet.
AI Execution Provenance
run_unified_easy_001
- Model: deepseek/deepseek-v4-flash
- Status: running
- Started: 2026-08-03T13:18:00Z
- Completed: Not recorded
- Stop reason: Not recorded
- Human reviewed: no
No run summary recorded.
Investigation Timeline
2026-08-03T13:29:41.065Z · Recon summary - HTB Unified
Version fingerprinting via /status is the fastest UniFi recon signal; -sV/-sC hang due to slow login page, manual probes are more reliable.
2026-08-03T13:29:42.267Z · Log4Shell confirmed (positive/negative/control)
Log4j interpolation is field-specific; test each parameter independently and use a non-JNDI control string to prove the signal.
2026-08-03T16:29:54.725Z · Log4Shell RCE attempts - trustURLCodebase hardening blocks class load
Log4Shell JNDI callback confirms the vuln but RCE depends on JRE trustURLCodebase/trustSerialData defaults; validate BER lengths carefully (my base-128 bug corrupted responses >127 bytes); test reachability of listener IP from both sides.
2026-08-03T16:31:53.590Z · BLOCKER: target unreachable - HTB box needs restart
HTB free/starting-point machines pause; verify host reachability before long exploitation sessions and re-check after platform-side resets.
2026-08-03T18:38:49.595Z · HTB box restarted - new IP 10.129.17.189
HTB box IPs change on restart; the same instance is identified by /status uuid. A hanging login page GET with working HEAD suggests app-level stall, not firewall.
2026-08-03T18:41:24.745Z · Q2 - software title on port 8443
UniFi login page HTML can hang while API stays responsive; /status is the reliable identity fingerprint.
2026-08-04T07:59:00.766Z · FINAL: Log4Shell RCE blocked on all 3 box instances
Verify HTTP server is actually running before each test. Different box instances showed different LDAP behavior (hang vs clean UNBIND) — possible different Java versions across restarts.
2026-08-04T08:18:00.262Z · Unable to obtain RCE or user.txt flag
Java 11 defaults block both remote class loading and serialized-data deserialization for Log4Shell JNDI exploitation. Box must run Java 8 <8u191 for the standard exploit to work.
Findings
Log4Shell unauthenticated JNDI injection in UniFi /api/login remember
- Status: confirmed
- Confidence: verified
- Severity: critical
- Model: deepseek/deepseek-v4-flash
Endpoint / Parameter: POST https://10.129.96.149:8443/api/login / remember
Positive probe callback observed; negative control clean; HTTP stays 400 api.err.Invalid.
Negative checks: username field with same JNDI string produced no callback (field not logged/interpolated).
Impact: Not recorded
Evidence Gallery
No structured evidence artifacts are linked yet.
Takeaways
- Keep the entry scoped to authorized lab activity.
- Preserve practical heuristics, useful mistakes, and remediation ideas.