Remediation
Remediation
Section titled “Remediation”Cyberzard proposes a dry‑run remediation plan based on scan results. It never executes destructive changes automatically.
Plan entries include:
type
,target
, optionalpattern
reason
andrisk
command_preview
(shell-quoted)
Action categories covered:
- Remove known IOC files (preview
rm -f
) - Kill suspicious process groups (preview
pkill -f
) - Stop/disable suspicious systemd units and remove unit files (previews)
- Remove unexpected
/etc/ld.so.preload
(preview) - Review
authorized_keys
files (previewsls
andsed -n
)
Always review the plan before executing any commands manually.
Verification-aware remediation workflow:
- Gather findings (scan).
- Rank by severity & exploitability.
- Draft ordered plan (advise or agent output).
- Optionally verify the plan (
--verify
) to reduce false positives using read-only probes.- Kept: action is supported by evidence or probes.
- Dropped: action no longer applies; reason provided.
- Downgraded: unknown or ambiguous; manual review recommended.
- Manually approve & execute outside agent.
JSON export includes a verification
object when --verify
is used. Execution remains manual; previews are for review only.