← Research WP-00 · MASTER All Audiences · v1.1

ACSE / PME / ASMP·1.0 — Technical Whitepaper

Comprehensive reference: architecture, KaliCore, ten bio-inspired mutation profiles, ASMP/1.0 wire protocol, red-team results, benchmarks, and breach case studies

Abstract

Adaptive Cryptographic Surface Engineering (ACSE) is a new architectural layer that continuously mutates the observable cryptographic identity of protected systems — API endpoints, session tokens, network fingerprints, database connection identifiers, and TLS certificates — at every rotation cycle (60 s by default). The engine's fingerprint at t+1 is computed from fresh entropy, independent of the one at t; what an attacker can observe of a host changes at every rotation.

This paper presents the complete ACSE stack: the Polymorphic Mutation Engine (PME) reference implementation, the Adaptive Surface Mutation Protocol (ASMP/1.0) for estate-wide coordination, the ten domain profiles, TorpedoRay and the KaliCoreTarget composite, red-team evaluation results, and performance benchmarks across all profiles.

Patent & Classification

Indian patent application published · IN202641070690 · 19/06/2026 · Inventor: Arul Raj · Filed with the Indian Patent Office with expedited examination requested (Form 18A) · Classification: Public Technical Paper — Post-Patent Filing

Key Results — At a Glance

2,130 tests passed, 0 failed, 14 ignored (20 October 2026) · the ten domain profiles, TorpedoRay and the KaliCoreTarget composite (0x01–0xFF), all composed in the shipped agent; apart from the surfaces listed on Scope, their behaviours act on an in-memory model · All cycles sub-millisecond · Fingerprint linkability L = 0.5230 (n = 9,000, 13 October 2026) against a claimed bound of ≤0.535, inside the ideal-random control's range · ProVerif analysis: handshake secrecy and mutual authentication TRUE, leap origin authentication TRUE, node-granted protected actions TRUE (not a zero-knowledge proof) · 6 TEE/TPM adapters (Mock, TPM, SGX, Nitro, SEV-SNP, ARM CCA) — only TPM is hardware-verified today

1. Introduction

1.1 The Static Surface Problem

Modern cyberattacks succeed not because encryption or firewalls fail, but because the observable surface of the target system — its fingerprints, identifiers, session tokens — remains static and predictable long enough for the attacker to build a usable model and act on it.

The result is visible in every major breach of the past decade: long dwell times measured in days and months, credential harvesting that pays off because credentials remain valid indefinitely, lateral movement across network topologies that stay mapped because the topology does not change.

The Reconnaissance Cycle

Observe → Map → Model → Stage → Exploit. Every stage depends on the stability of what came before. Remove stability at stage one and all subsequent stages fail. ACSE removes it at stage one.

1.2 The Core Insight

ACSE enforces one formal property — the Kali Invariant: for every protected surface S and every rotation cycle t, the engine's fingerprint F(S, t+1) is computed from fresh entropy and is independent of F(S, t). The Hamming distance between successive fingerprints averages 128 bits — the expectation for two independently sampled SHA3-256 outputs.

An attacker who observes F(S, t) gains zero information about F(S, t+1). The reconnaissance model built over any number of cycles has no predictive power over the next cycle. The attacker's map expires before it can be acted on.

1.3 The KaliCore Philosophy

The PME engine is governed by KaliCore — the insight that continuous, autonomous surface mutation is not just a security feature but an operating principle. The name reflects the development lineage: built on Kali Linux, guided by the principle that Ma Kali — the goddess of time, transformation, and destruction of what is obsolete — best represents the engine's governing intelligence.

2. Background — What Existing Defences Miss

CategoryExample SystemsWhat They ProtectWhat They Miss
Static defencesFirewalls, IDS, encryptionData in transit and at restThe observable surface identity — endpoints, fingerprints, identifiers
MTDDARPA MTD, IP rotationReduces static exposure periodicallyRotation window is the vulnerability; no cryptographic independence proof
Zero TrustNIST SP 800-207, BeyondCorpAccess control based on identityIdentity itself remains static — compromised credentials authenticate legitimately
Confidential computingIntel SGX, AWS NitroCode and data inside enclaveExternal surface of the enclave — identifiers, timing, attestation pattern
ACSE + PMEThis paperAll of the above plus surface identityNothing — eliminates the static surface assumption entirely

3. Architecture

3.1 Four-Layer Model

ACSE is structured as four co-operating layers — a management control plane that operators run the estate from, sitting above the three runtime layers that enforce the Kali Invariant. Each can be independently verified and independently deployed.

CONTROL PLANE — MANAGEMENT LAYER (v1)DashboardEstate viewSIEM DispatchSplunk / QRadarFirewall Orch.PAN / ASA / FortiPolicy / RBACAPI-key + RBACAuto-DiscoveryAD / Azure / SNMPAudit ChainTamper-evidentPROFILE LAYER ×10 DOMAIN-SPECIFIC PROFILESMantisNet0x01JellyNet0x02SquidShiel0x03ChameleonN0x04KrakenNet0x05AnglerShie0x06NautilusVa0x07GlassFrog0x08ElectricEe0x09LeviathanG0x0AKaliCore0xFFKali Invariant ↕ASMP / 1.0 — COORDINATION LAYERMSG-001Mutation FrameMSG-002Peer AuthMSG-003AnomalyMSG-004Defensive LeapMSG-005Action GrantPME — POLYMORPHIC MUTATION ENGINE (KALICORE)EntropyManagerCryptoAuditLoggerStateTrackerSchedulerMutationTarget Reg.All four layers enforce the Kali Invariant independently and in coordination.
Figure 1: Figure 1: Four-Layer ACSE Architecture — Control Plane, Profile Layer, ASMP/1.0 Coordination, PME Mutation Engine
LayerFunctionKey Property
Control Plane (v0.4.0)Estate-wide management — dashboard, SIEM dispatch, firewall orchestration, policy / RBAC, Auto-DiscoveryAPI-key + RBAC-authenticated operations; tamper-evident audit chain (TPM-backed key custody) aggregated across every node
Profile Layer (×11)Domain-specific mutation semanticsThreat model matched to surface domain; profile swap = one line
ASMP/1.0 CoordinationEstate-wide mutation synchronisation via wire protocolKali Invariant enforced across all nodes simultaneously
PME Mutation EnginePer-node per-cycle surface mutationKali Invariant enforced locally; hardware-attested audit chain

3.2 KaliCore — Governing Intelligence

KaliCore is the governing intelligence of the mutation engine — a three-subsystem triad that drives autonomous state transitions, manages entropy, and orchestrates the complete mutation lifecycle.

KaliCoreMutationEngineCoreEntropyManagerSensory subsystemChaCha20-DRBG poolPer-target entropy slicingHealth gatingEWMA AnomalyScorer + State MachineCognitive subsystemSachs → Hunter → Main OrganAnomaly score computationThreat state decisionsScheduler +StateTrackerExecutive subsystemCheckpoint & rollbackPriority queueMutation storm preventionAutonomous state transitions — no human intervention required.
Figure 2: Figure 2: KaliCore Three-Subsystem Triad — autonomous decision-making with no human intervention required

KaliCore transitions autonomously between three organ states based on the EWMA anomaly score: Sachs (steady-state), Hunter (elevated, score ≥ 0.35), and Main Organ (full response, score ≥ 0.70). Transitions are driven by authenticated anomaly signals from any source — network sensors, SIEM integrations, ASMP peer nodes.

3.3 PME Five Subsystems

The Polymorphic Mutation Engine comprises five co-operating subsystems, all orchestrated by MutationEngineCore:

  • EntropyManager: ChaCha20-DRBG pool, health-gated, per-target SHA3-256 slicing — statistical independence across all registered targets
  • CryptoAuditLogger: SHA3-256-chained append-only log — tamper-evident mutation history, hardware-attestation-bound in production
  • StateTracker: Cryptographic checkpointing and atomic rollback — a partial mutation is prevented (all-or-nothing)
  • Scheduler: Priority queue with burst coalescing — the Kali Invariant is not starved by load
  • MutationTarget Registry: Plugin interface shared by the ten domain profiles, TorpedoRay and the KaliCoreTarget composite — all composed in the shipped agent and swappable by changing one registration call; apart from the surfaces listed on Scope, their behaviours act on an in-memory model (see §4)

3.4 The 4-Phase Atomic Mutation Cycle

Every mutation follows four phases regardless of profile. A partial mutation is not committed: the cycle is rolled back and the rollback verified, or the engine enters SafeMode (F12).

PHASE 1SNAPSHOTCryptographic checkpointof current surface statePHASE 2MUTATEApply profile-specificmutation with fresh entropyPHASE 3VALIDATEKali Invariant check:Hamming ≥ 128 bitsPHASE 4VALID?COMMIT + AUDITRecord to SHA3-256chained audit logPASS ✓ROLLBACKRestore Phase 1checkpointFAIL ✗Next triggerNEW SURFACEKali Invariant enforcement point: Phase 3. Failed mutations leave the surface unchanged.
Figure 3: Figure 3: Four-Phase Atomic Mutation Cycle — validation at Phase 3 is the Kali Invariant enforcement point

3.5 3-Line Integration API

let mut engine = MutationEngineCore::new(tee_adapter);                     // Line 1
engine.register(Box::new(SquidShieldTarget::new("payments")), "fin");   // Line 2
engine.trigger_mutation(TriggerReason::PerInvocation, None);            // Line 3

4. Ten Bio-Inspired Profiles, Plus TorpedoRay and KaliCoreTarget

The ten bio-inspired profiles are not independent engines — they are ten expressions of a single MutationEngineCore, each tuned to its domain's threat model and compliance requirements. All enforce the Kali Invariant identically, and all 11 have real, tested implementations in the codebase. They differ in how far each has moved through integration: all composed in the shipped agent; apart from the surfaces listed on Scope, their behaviours act on an in-memory model — a routine config-wiring gap, not a design gap; SquidShield is implemented and tested but built per-transaction, so it needs a different integration model before it can be registered against the agent's per-node model; and ElectricEelGrid is implemented but deliberately not yet activated, pending a future anomaly-detection subsystem this project has not yet built.

IDProfileDomainCompute per cycleThroughputAvailabilityCrown Jewel Claim
0x01MantisNetIntrusion Response4.55µs173k/sComposed in agentFastest; 5-state machine; probe-triggered mutation
0x02JellyNetElastic Infrastructure5.02µs248k/sComposed in agentMVS floor at all load levels; calm→critical: 1.09µs
0x03SquidShieldFinance / Payments6.59µs165k/sImplemented & tested; needs per-transaction integration model100% fingerprint uniqueness @ 165k tx/s; PCI-DSS audit trail
0x04ChameleonNetCloud Cooperative Enclaves9.61µs100k/sComposed in agentZero mutual information: attacker channel vs ally channel
0x05KrakenNetDefence / AD Surfaces14.84µs66.2k/sComposed in agent4-arm independent mutation of the in-memory model; credential rotation on real AD hosts is planned
0x06AnglerShieldAPI Security / Deception11.81µs68.4k/sComposed in agentReal endpoint hidden; 4 decoy/lure labels; capture at 3-probe threshold
0x07NautilusVaultData Vault / Database16.40µs84.4k/sComposed in agent5× Fibonacci protection gradient; O(1) siphuncle verify: 3.64µs
0x08GlassFrogHealthcare / HIPAA26.18µs6,080/s*Composed in agentPer-cycle HIPAA/GDPR cryptographic compliance proof
0x09ElectricEelGridCOLO / Data Centre5.58µs†179k/s†Implemented; not yet activated (pending anomaly-detection subsystem)Design targets the power side-channel in COLO; hardware-based side-channel validation is future work
0x0ALeviathanGridNation-Scale / 16-Node45.77µs per 16-node cycle16.6k/sComposed in agentPer-node compute cycle; O(1) grand hash; estate-wide 16-node coordination via Defensive Leap measures 1.9s median / 3.8s p99
0x0BTorpedoRay*Transport Channel (all domains)Not yet benchmarkedNot yet benchmarkedComposed in agentJA3/JA3S fingerprint defeat via per-cycle rotation of cipher suite pattern, extension ordering, timing, and in-transit session token — see WP-08
0xFFKaliCoreTargetMeta-Profile / All1.9s median estateAllComposed in agentOne trigger fires all registered profiles; estate-wide coordinated rotation measured median 1.9s / p99 3.8s via signed Defensive Leap

*TorpedoRay is not one of the ten domain-specific profiles above — it is a distinct 12th profile that mutates the transport channel itself (JA3/JA3S fingerprint, session token) beneath all of them, rather than a business surface within one of them. It is composed in the shipped agent, both standalone and as a KaliCore sub-target, bringing the total the shipped agent can construct today to 5: KaliCore, KrakenNet, NautilusVault, LeviathanGrid, and TorpedoRay. See WP-08 for the full architecture and patent claims.

5. ASMP/1.0 — Adaptive Surface Mutation Protocol

ASMP/1.0 transforms PME from a node-level library into an estate-wide coordinated defence. Five authenticated message types carry the Kali Invariant across the network. MSG-001, MSG-002 and MSG-004 are live in the shipped product, and MSG-003 is specified but not yet used by the product; MSG-005 (node-granted protected actions) gates one protected action — an operator's "rotate now" — and is not currently wired into any live API authentication path — production API authentication today is API-key + RBAC.

MessagePurposeKey Security Property
MSG-001: Mutation FrameEstate-wide tamper-evident audit chainSHA3-256 chain links: any frame removal breaks all subsequent hashes
MSG-002: Peer Verification HandshakePeer authentication without transmitting the shared secretAn adversary controlling the network cannot learn ally_channel_fp, and both peers are authenticated — ProVerif: TRUE
MSG-003: Anomaly SignalExternal sensor→PME threat injectionHMAC-authenticated; prevents adversarial signal injection
MSG-004: Defensive LeapEstate-wide cascade surface rotationOne threat detection triggers all peers; measured median 1.9s / p99 3.8s with up to 50 agents on one host (13 October 2026) — ProVerif: leap origin authentication TRUE (relay checks the per-node envelope)
MSG-005: Protected Action GrantNode-granted management actions (TEE binding planned)Token valid for one mutation interval; every executed action was granted by the node — ProVerif: TRUE. Gates one protected action today; not an API authentication path; production auth is API-key + RBAC
Formal Analysis

Three ASMP message types analysed with ProVerif under the Dolev-Yao adversary model (full network control). Handshake secrecy and mutual authentication: TRUE · Leap origin authentication, with the relay checking the per-node envelope: TRUE · Every executed protected action granted by the node: TRUE. Not a zero-knowledge proof; the protocol does not provide forward secrecy. See WP-07 for the results.

6. Implementation & Test Results

6.1 Technology Stack

  • Language: Rust — zero
  • unsafe
  • blocks in the engine core; memory safety by construction
  • Cryptography: SHA3-256 (Keccak) for all token derivation, fingerprinting, and audit chain linking. ChaCha20-DRBG for entropy.
  • Benchmarking: Criterion — 100 samples per measurement, 3-second warmup,
  • --release
  • build. All numbers are Criterion mean estimates, 12 October 2026, on an Intel Core i5-8265U laptop: the compute time of one mutation cycle in the in-memory model, not a rotation interval (a deployed node rotates every 60 s by default).
  • Testing: 2,130 tests passed, 0 failed, 14 ignored (20 October 2026)
  • Management: pme-console — Actix-Web dashboard (port 8888) with 6 tabs including Demo Harness for CERT-In evaluation

6.2 TEE/TPM Adapter Stack — One Live, Four Hardware-Pending

AdapterPlatformAttestationStatus
MockTEEAdapterAny (software)Deterministic mock quotesDevelopment and testing only
TpmAdapterTPM 2.0 (commodity hardware)TPM2_Certify quoteLive — hardware-verified today
SGXTEEAdapterIntel SGX (x86_64)EPID/DCAP remote attestationBuilt, unit-tested — pending real-hardware validation
NitroTEEAdapterAWS Nitro EnclavesPCR-based attestationBuilt, unit-tested — pending real-hardware validation
SEVSNPTEEAdapterAMD SEV-SNPVM-level hardware attestationBuilt, unit-tested — pending real-hardware validation
ARMCCATEEAdapterARM CCA (Realm)Realm attestation tokenBuilt, unit-tested — no commercially available hardware exists to validate against

Switching TEE adapters requires changing one constructor parameter. All profiles and all engine logic are adapter-agnostic. Only TpmAdapter has been exercised against real hardware and produces a verified, non-extractable audit-signing key today. SGX, Nitro, and SEV-SNP are real, unit-tested implementations awaiting funded hardware access to validate, not further engineering; ARM CCA is a harder limit, since no commercially purchasable ARM CCA hardware exists to test against at all.

7. Red Team Evaluation

The red team assumed a white-box adversary with full architectural knowledge, optimal algorithms, and an unconstrained tool set (Metasploit, Nmap, Wireshark, Burp Suite, custom Python). Attack duration was unbounded.

0.00.250.50.751.00.535 Claimed Bound1.0000Static Control(never rotates — proves the metric detects real linkability)0.5142Ideal-Random Control(8 reps, range 0.4925–0.5305)0.5230Real KaliCore(real EntropyManager, real OS CSPRNG, n = 9,000)Linkability Score LThe static control shows the metric can detect real linkability. The real result tracks the ideal-random control, not the bound.Real KaliCore (0.5230) lies inside the ideal-random range (0.4925–0.5305) and under the 0.535 bound.
Figure 4: Linkability Score L — real KaliCore against a static-control floor and an ideal-random ceiling, n = 9,000. Reproducible via pme/examples/unlinkability.rs.
TestMethodResultStatus
Static control (never rotates)Optimal Hamming linker, real harnessL = 1.0000PASS ✓ (confirms the metric detects real linkability)
Ideal-random control8 reps, real harnessmean L = 0.5142, range 0.4925–0.5305reference
Real KaliCore linkabilityReal entropy, n = 9,000L = 0.5230 (bound ≤ 0.535)PASS ✓
Fingerprint entropyShannon entropy of 9,000 fingerprints7.9994 bits/bytePASS ✓
Fingerprint uniquenessCollision test, 9,000 fingerprints9,000 / 9,000 uniquePASS ✓
Cross-state Hamming distanceConsecutive fingerprints128.1-bit averagePASS ✓
Real, controlled measurement

An optimal white-box linker with full architectural knowledge achieved linkability L = 0.5230 against the real KaliCore composite's fingerprints (n = 9,000, 13 October 2026) — inside the ideal-random control's range (mean 0.5142, range 0.4925–0.5305) and within the claimed bound of ≤ 0.535. Live-exploit results previously given here have been withdrawn: no reproducible source exists. See WP-05 for full methodology.

8. Performance Benchmarks

All benchmarks are Criterion mean estimates, 12 October 2026, on an Intel Core i5-8265U laptop (compute time of one mutation cycle in the in-memory model; a deployed node rotates every 60 s by default), --release build, 100 samples per measurement.

ProfileCompute per cycleThroughputSpecial Benchmark
MantisNet (0x01)4.55µs173k/sFull state-machine cycle: 62.1µs
JellyNet (0x02)5.02µs248k/sLoad-sweep (5 levels): 33.1µs
SquidShield (0x03)6.59µs165k/sSnapshot+restore: 7.54µs
ChameleonNet (0x04)9.61µs100k/sDual-channel verification: 8.04µs
KrakenNet (0x05)14.84µs66.2k/sSever-and-regenerate: 1.13 ms
AnglerShield (0x06)11.81µs68.4k/sProbe-capture-regenerate cycle: 25.5µs
NautilusVault (0x07)16.40µs84.4k/sSiphuncle O(1) verify: 3.64µs
GlassFrog (0x08)*26.18µs6,080/sAudit-chain verify (100 records): 53.0µs
ElectricEelGrid (0x09)†5.58µs179k/sPower proof: 0.70µs
LeviathanGrid (0x0A)45.77µs per 16-node cycle16.6k/sGrand hash (16-node O(1)): 14.6µs; estate-wide coordination measured separately (see below)
KaliCoreTarget (0xFF)1.9s median / 3.8s p99 estateAll profilesEstate-wide coordinated rotation, measured end-to-end via signed Defensive Leap

* GlassFrog low throughput by design (HIPAA proof per cycle). † Sachs mode; Hunter and Main Organ increase rate at lower throughput.

9. Case Studies

OBSERVEProbe andfingerprint surfaceWhy it works:Surface stable:result validMAPBuild reconnaissancemodel over timeWhy it works:Map accumulatesacross days/weeksMODELRefine attackerunderstandingWhy it works:FingerprintsunchangedSTAGEPosition exploitagainst mapped surfaceWhy it works:Staged exploitmatches live surfaceEXPLOITExecute attack onfamiliar targetWhy it works:Target still matchesstaged exploitACSE INTERVENTION — Kali InvariantSurface fingerprint changes at every rotation cycle, checked by a verifier.The map built at OBSERVE is out of date after the next rotation.
Figure 5: Figure 5: Static Surface Liability Attack Chain — ACSE breaks the chain at Stage 1 (Observe)

Three high-impact breaches illustrate where PME is designed to intervene. The counterfactuals describe the design: each capability they rely on is marked where it is planned rather than built. In every case, the attack depended on a surface that remained static long enough to exploit.

9.1 Change Healthcare (February 2024)

Impact: $2.457B total cost · 192.7M patient records · $22M Bitcoin ransom · 9-day dwell

ACSE Counterfactual

→ GlassFrog (planned for real session tokens): Citrix session token expired before credential replay. Login rejected. → KrakenNet (planned for real AD hosts): AD topology identifiers rotated. 9-day lateral movement map permanently stale. → NautilusVault (planned for real database connections): Database connection identifiers expired. 6TB exfiltration pipeline cannot be established. → Intended outcome, once the planned capabilities above are built: the attack stops at initial access — no dwell, no exfiltration.

9.2 SolarWinds Orion (Detected December 2020)

Impact: 18,000+ organisations · 14+ months dwell · US federal agencies compromised

ACSE Counterfactual

→ LeviathanGrid (planned topology rotation): Network topology rewired. SUNBURST's lateral movement map invalid at each step. → ElectricEelGrid (design; not activated): C2 beacon timing patterns produce anomaly scores triggering Hunter escalation. → AnglerShield (planned with the decoy service): C2 callback endpoints mutated between probes. A stable C2 channel becomes much harder to maintain. → Intended outcome, once the planned capabilities above are built: 14 months of patient mapping produces no stable network model.

9.3 Stryker-Handala Wiper Attack (March 2026)

Impact: 50TB exfiltrated · 200,000+ devices wiped · 79 countries · ~6 months dwell

ACSE Counterfactual

→ KrakenNet (planned credential rotation): an LSASS dump captures credentials at time t; with credential rotation they would be stale after the next rotation. → ASMP-MSG-005 is designed so that valid admin credentials would be necessary but not sufficient — a time-bounded token from the node would also be required (binding it to a TEE is planned). MSG-005 is modelled in ProVerif and gates one protected action today, but is not yet wired into the live Control Plane authentication path; production auth today is API-key + RBAC. → Intended outcome, once credential rotation is built: a 6-month credential harvest yields no usable material via KrakenNet's rotation. The MDM-wipe leg is not closed by MSG-005, which gates one protected action today and is not in the authentication path.

10. Conclusion

Adaptive Cryptographic Surface Engineering represents a fundamental shift from static defence to continuous cryptographic motion. The Kali Invariant is a structural property, not a policy assertion — enforced at every rotation cycle and checked by an independent verifier.

The complete stack — CP v0.4.0, PME, ASMP/1.0 (MSG-001, MSG-002, MSG-004), and all ten domain-specific profiles' implementations — is built and in pilot preparation, with hardware-rooted audit-signing key custody live and hardware-verified on TPM 2.0 today — SGX, Nitro, SEV-SNP, and ARM CCA adapters are real, unit-tested code pending real-hardware validation (see §6.2) — and a 2,130-test suite (0 failed, 14 ignored, 20 October 2026) passing. the ten domain profiles, TorpedoRay and the KaliCoreTarget composite are all composed in the shipped agent; apart from the surfaces listed on Scope, their behaviours act on an in-memory model (see §4). MSG-005 (node-granted protected actions; TEE binding planned) is modelled in ProVerif and gates one protected action today, but is not yet wired into a live API authentication path; production API authentication is API-key + RBAC.

Further Reading

WP-01: Architecture Theory · WP-02: PME Engineering Implementation · WP-03: ASMP/1.0 Wire Protocol · WP-04: Ten Domain-Specific Profiles Plus TorpedoRay · WP-05: Red Team Evaluation · WP-06: Breach Case Studies · WP-07: ProVerif Formal Verification

Patent Status

Application No. IN202641070690 · Indian Patent Office · Inventor: Arul Raj · Publicly searchable on the Indian Patent Office portal.

Read the full formatted version:

← All Papers