Skip to content

Collective Defense

The power of HookProbe lies in collective intelligence: when any node in the mesh detects a threat, that knowledge instantly becomes available to protect all other nodes.

Traditional security: Each organization defends alone, relearning the same attacks.

Collective defense: Every detection teaches the entire mesh.

Attacker targets 1000 organizations:
├── Traditional: 1000 separate attacks, 1000 separate defenses
└── HookProbe: First detection → 999 preemptive blocks

An edge node (Guardian/Fortress) detects suspicious activity:

# Detection on Node A
{
"event_type": "ids_alert",
"signature": "sha256:a1b2c3...",
"category": "command_and_control",
"confidence": 0.94,
"source_ip_hash": "anonymized",
"timestamp": "2025-12-07T18:35:00Z"
}

The node creates a signed microblock:

{
"type": "M",
"node_id": "edge-uuid-12345",
"seq": 1847,
"prev": "hash-of-previous-microblock",
"timestamp": "2025-12-07T18:35:00Z",
"payload_hash": "sha256-of-security-event",
"event_type": "ids_alert",
"signature": "tpm-signed-data",
"neuro": {
"ter_hash": "sha256-of-current-ter",
"w_fingerprint": "sha512-of-current-weights",
"posf_signature": "32-byte-neural-signature"
}
}

The microblock propagates through the mesh:

Node A (detector)
│
├──► Validator 1
│ │
│ ├──► Validator 2
│ │ │
│ │ └──► All validators
│ │
│ └──► Node B, C, D...
│
└──► Direct peers

Propagation time: < 5 seconds to reach 80% of mesh

All nodes update their defenses:

Node Action
Already hit Log, learn, continue
Not yet hit Preemptively block
Validators Aggregate into checkpoint
Nexus Update ML models

Nexus nodes train on collective intelligence:

# Federated learning - no raw data shared
for epoch in range(epochs):
# Each node trains locally
local_weights = train_on_local_data()
# Only weight updates shared
mesh.share_weight_delta(local_weights - global_weights)
# Global model improves
global_weights = aggregate_federated_updates()

Instead of sharing attack payloads, we share neural fingerprints:

A compact representation (~256 bytes) that captures:

  • Behavioral patterns
  • Temporal characteristics
  • Network flow features
  • Attack methodology
Raw Attack Data: Neural Fingerprint:
───────────────── ─────────────────
Source IP: 1.2.3.4 → [0.12, 0.87, 0.34, ...]
Payload: <malicious> → 256-byte embedding
Target: victim.com → No identifying info
User-Agent: <string> → Pattern encoding only

The fingerprint is:

  • Irreversible: Cannot reconstruct original data
  • Comparable: Can match similar attacks
  • Compact: Efficient to transmit
  • Expressive: Captures attack essence
T+00s: Node A detects C2 communication pattern
├── Local: Block, log, alert
└── Mesh: Create microblock, gossip
T+02s: Microblock reaches 30% of validators
└── Partial consensus forming
T+05s: Mesh broadcasts: "C2 pattern X detected"
└── All connected nodes receive alert
T+08s: 80% of mesh has preemptive block
└── Attack campaign degrading
T+10s: Attacker's infrastructure flagged
└── New connections blocked mesh-wide
T+15s: Node D (not yet targeted) protected
└── Attack cannot reach unaware nodes
Result: Attacker campaign fails before 80% penetration
Category Shared? Purpose
QSecBit scores Yes Aggregate threat level
Attack signatures Yes (hashed) Pattern matching
Neural fingerprints Yes Behavioral matching
ML weight updates Yes Federated learning
IP addresses Never Privacy
Payloads Never Privacy
DNS queries Never Privacy

See your node’s contribution to collective defense:

Terminal window
hookprobe-ctl mesh stats

Output:

Mesh Contribution Statistics:
────────────────────────────
Microblocks created: 1,847
Alerts shared: 23
Fingerprints contributed: 156
Models updated: 3
Threats blocked by mesh: 412
Your impact: 0.3% of mesh intelligence

The mesh provides collective defense without requiring trust:

Even if some nodes are malicious:

  • 1/3 of validators can be Byzantine
  • Consensus still reaches correct decisions
  • Malicious microblocks are rejected

Nodes must prove:

  • Hardware attestation (TPM/PUF)
  • Neural resonance (weight trajectory)
  • Consistent behavior over time
class NodeReputation:
accuracy: float # How accurate are their detections?
consistency: float # Do they behave predictably?
contribution: float # How much do they contribute?
attestation: bool # Is their hardware verified?
For Individual Nodes For the Mesh
Faster threat response More detection surface
Lower false positives Better ML models
Zero-day protection Collective immunity
Reduced resource needs Distributed processing