CONTRABAND

Automated Egress Assessment & Data Smuggling Forensics
Target: {{ .TargetHost }}
Generated: {{ formatRFC3339MS .GeneratedAt }}
Duration: {{ .DurationText }}
v{{ .Version }}

Egress Exposure Index

{{ printf "%.1f" .Summary.EEIScore }}%
{{ if eq .Summary.Posture "Hardened" }}
Hardened Perimeter
{{ else if eq .Summary.Posture "Moderate" }}
Moderate Exposure
{{ else }}
Critical Exposure
{{ end }}
L4 Ports (Sport 30%){{ printf "%.1f" .Summary.Sport }}%
L7 Protocols (Sproto 40%){{ printf "%.1f" .Summary.Sproto }}%
DLP Efficacy (Sdlp 30%){{ printf "%.1f" .Summary.Sdlp }}%
Probes Tested
{{ .Summary.TotalProbes }}
{{ .Summary.SuccessCount }} successful / open
L4 Blocked
{{ .Summary.BlockedL4 }}
Firewall drops & resets
L7 Blocked
{{ .Summary.BlockedL7 }}
Proxy & DPI rejections
DLP Intercepted
{{ .Summary.BlockedDLP }}
Content filters triggered
Exfiltrated Volume
{{ formatBytes .Summary.TotalBytesSent }}
{{ formatBytes .Summary.TotalBytesRecv }} received back
Average Latency
{{ formatMS .Summary.AvgLatencyMS }}
Per probe round-trip
Credentials Vault
{{ .Summary.TotalCredentials }}
Harvested hashes & keys
Findings Total
{{ len .Findings }}
SARIF rules flagged

Layer 4 Egress Port Heatmap

{{ range .Probes }} {{ if gt .TargetPort 0 }}
{{ .TargetPort }}
Port {{ .TargetPort }}/{{ .Protocol }}
Verdict: {{ .Verdict }}
Latency: {{ formatMS (divDurMS .Timestamps.TotalDuration) }}
{{ if .ErrorMessage }}Error: {{ .ErrorMessage }}{{ end }}
{{ end }} {{ end }}

Layer 7 Protocol Smuggling

{{ range .Probes }} {{ if and (ne .Protocol "tcp") (ne .Protocol "udp") }} {{ end }} {{ end }}
ProtocolPortVerdictLatency
{{ .Protocol }} {{ .TargetPort }} {{ verdictBadge .Verdict }} {{ formatMS (divDurMS .Timestamps.TotalDuration) }}

uTLS & JA4 Fingerprints

{{ range .Probes }} {{ if .JA4String }} {{ end }} {{ end }}
ProfileJA4 FingerprintVerdict
{{ .TLSProfile }} {{ truncateHash .JA4String 24 }} {{ verdictBadge .Verdict }}

Synthetic DLP & Steganography Efficacy Scorecard

{{ range .Probes }} {{ if .PayloadType }} {{ end }} {{ end }}
Payload Type Carrier Volume Throughput Payload SHA-256 Verdict
{{ .PayloadType }} {{ .CarrierType }} {{ formatBytes .TargetVolume }} {{ printf "%.1f" .ThroughputBps }} KB/s {{ truncateHash .PayloadHash 16 }} {{ verdictBadge .Verdict }}

Captured Credentials Vault (Hashcat Mode 5600)

{{ if eq (len .Credentials) 0 }}

No credentials or NetNTLMv2 authentication hashes were exposed during assessment.

{{ else }} {{ range .Credentials }}
{{ .Protocol }} • User: {{ .Username }} • Domain: {{ .Domain }}
{{ .Hash }}
{{ end }} {{ end }}

Forensic Event Log

{{ range $i, $p := .Probes }} {{ end }}
Time (UTC) Stage Proto Port Verdict Latency Action
{{ formatRFC3339MS $p.Timestamp }} {{ $p.Stage }} {{ $p.Protocol }} {{ $p.TargetPort }} {{ verdictBadge $p.Verdict }} {{ formatMS (divDurMS $p.Timestamps.TotalDuration) }}

Forensic Timing Breakdown (ms)

TCP: {{ formatMS (divDurMS $p.Timestamps.TCPDuration) }} TLS: {{ formatMS (divDurMS $p.Timestamps.TLSDuration) }} Transfer: {{ formatMS (divDurMS $p.Timestamps.TransferDuration) }} Total: {{ formatMS (divDurMS $p.Timestamps.TotalDuration) }}
{{ if $p.PayloadHash }}
Payload SHA-256: {{ $p.PayloadHash }}
{{ end }} {{ if $p.RawEvidence }}

Bounded Raw Evidence Hex Dump

{{ $p.RawEvidence }}
{{ end }}

Firewall Remediation Rules

{{ .Remediation.IPTablesRules }}
{{ .Remediation.NFTablesRules }}
{{ .Remediation.PANOSRules }}
{{ .Remediation.FortiGateRules }}
{{ .Remediation.CiscoASARules }}