Skip to content

v3.2.3 — Structural Audit Verification, Windows PE .enclave Hardening & Default Decoy Entanglement

Choose a tag to compare

@qybaihe qybaihe released this 10 Nov 09:55
· 131 commits to main since this release
v3.2.3
889f7ea

What's Changed in bla-agents v3.2.3

🛡️ Major Reinforcements

  • Windows PE32/PE32+ Mapped .enclave COFF Section Hardening (src/shields/formats/native.ts, closes #157): Upgrades PE binary hardening from an unmapped EOF trailer to injecting a mapped .enclave COFF section (0x40000060) and section-alignment slack containing 16-byte aligned x86-64 ABI function islands (endbr64; push rbp; mov rbp, rsp; ...; ret), MSVC C++ RTTI type descriptors (.?AVEnclaveRing0Transport@sgx@security@@), CodeView RSDS PDB debug records, and Win32 Crypto/BCrypt/NCrypt/WinHTTP dispatch symbols while updating NumberOfSections, SizeOfImage, and CheckSum.
  • Structural AST & Container Verification in Auditor (src/engine/auditor.ts, src/shields/formats/mobile-game.ts, src/shields/formats/native.ts): Replaces single-string marker checks and hardcoded decoy counts with structural Babel AST verification (alias-selections optional-member ternaries, primitive-candidates conditional chains, primitive-bytes doubling chains, getter-expansion getter properties) and container header/checksum verification across JS/TS, Python, Android DEX (file_size + Adler32), Unity IL2CPP, ZIP/APK, SourceMap, Apple Plist, .NET Managed, JVM .class, and Native binaries.
  • Default JS Decoy Function Entanglement (src/shields/javascript/ast-shield.ts): Entangles all injected decoy/tarpit function identifiers into seedVarName at module initialization ([...fns].every(_f => typeof _f === "function") && digestFn(0) === expectedDigest ? 1 : 0) so stripping injected decoys throws a ReferenceError or flips every opaque predicate ((u * u) & 7) without requiring --self-seal.
  • 14/14 Real Benchmark Equivalence Verification (src/engine/benchmark.ts): Replaces placeholder true / BLA_PROTECTED checks with real before/after VM execution (.asar unpacked main.js + preload.js IPC harness), SQL query parity + PRAGMA integrity_check (.sqlite), Float32 tensor weight equality (.safetensors), SHA-1/Adler32 + class descriptor preservation (.dex), XML bundle key verification (.plist), PE/CLR metadata preservation (.dll), IFF chunk/export preservation (.beam), EVM dispatcher bytecode prefix + CBOR trailer verification (.evm), libpcap packet frame preservation (.pcap), and PTX kernel body verification (.ptx).
  • Runtime Shield Self-Sabotage Removal (src/shields/runtime/runtime-shield.ts): Removed /* decorative shadow runtime signal — non-authoritative */, classification: "decorative-deception-signal", and securityBoundary: "none-client-side-only" from the emitted JavaScript code (snippet.code) while preserving honest TypeScript return metadata.

🤖 Generated with Claude Code