fe2a6db786
rust / build / test / clippy / fmt (push) Has been cancelled
Layout:
- src/ .NET 10 x64 reference: MxNativeCodec, MxNativeClient,
MxAsbClient, probes, tests, harnesses. Executable spec.
- design/ Architectural plan for the Rust port (M0–M6), error
model, protocol invariants, risks (R1–R16), adversarial
review log (review.md).
- rust/ Rust workspace. M0 skeleton + M1 codec parity.
mxaccess-codec: 215 unit tests + 2 cross-implementation
parity tests (byte-identical against .NET reference).
Other crates are M0 stubs awaiting M2+.
- captures/ Frida + netsh + pcap evidence per CLAUDE.md
("captures are evidence, not throwaway logs").
- analysis/ Decompiled C# (frida/proxy/decompiled-*),
Ghidra exports for native DLLs (`exports/` only —
working state at `projects/` and AVEVA's input
binaries at `input/` are gitignored).
- docs/ Reverse-engineering reference docs.
- tools/ Setup-LiveProbeEnv.ps1 (Infisical credential fetcher),
Compute-Crc.ps1 (.NET parity helper).
- .github/workflows/ Rust CI: fmt + build + test + clippy on Windows.
- LICENSE MIT (Joseph Doherty, 2026).
Verified:
- cargo test --workspace → 217 passed (215 unit + 2 .NET parity), 0 failed
- cargo clippy --workspace -- -D warnings → clean
- cargo fmt --all -- --check → clean
- cargo publish --dry-run -p mxaccess-codec → packages cleanly
Excluded from history (see .gitignore):
- **/bin, **/obj, **/target — build artifacts
- analysis/ghidra/projects/ — Ghidra working state (regenerable)
- analysis/ghidra/input/ — AVEVA proprietary DLLs (vendor IP)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
19 lines
3.1 KiB
Plaintext
19 lines
3.1 KiB
Plaintext
2026-04-26T01:23:07.6060968+00:00 harness.start {"Scenario":"write-secured","ClientName":"MxFridaTrace-111-frida-write-secured-auth-protectedvalue","Tags":["TestMachine_001.ProtectedValue"],"ItemContext":"","WriteType":"bool","WriteValue":"true","WriteValues":[],"UserId":1,"CurrentUserId":0,"VerifierUserId":0,"UserGuid":"","AuthUser":"dohertj2","AuthenticateBeforeWrite":true,"UseAuthenticatedUserAsVerifier":false,"WriteTimestamp":"","WriteDelayMilliseconds":1000,"WriteIntervalMilliseconds":500,"BufferedUpdateInterval":1000,"DurationSeconds":5,"ProcessBitness":"x86","Runtime":"4.0.30319.42000"}
|
|
2026-04-26T01:23:14.3995263+00:00 mx.register.begin {"ClientName":"MxFridaTrace-111-frida-write-secured-auth-protectedvalue"}
|
|
2026-04-26T01:23:14.7564155+00:00 mx.register.end {"SessionHandle":1}
|
|
2026-04-26T01:23:14.7564155+00:00 mx.additem.begin {"Tag":"TestMachine_001.ProtectedValue"}
|
|
2026-04-26T01:23:14.7623536+00:00 mx.additem.end {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1}
|
|
2026-04-26T01:23:14.7633201+00:00 mx.advise-supervisory.begin {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1}
|
|
2026-04-26T01:23:14.7653456+00:00 mx.advise-supervisory.end {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1}
|
|
2026-04-26T01:23:15.8018917+00:00 mx.authenticate-before-write.begin {"AuthUser":"dohertj2","PasswordSource":"env"}
|
|
2026-04-26T01:23:15.8269348+00:00 mx.authenticate-before-write.end {"AuthUser":"dohertj2","AuthenticatedUserId":1,"CurrentUserId":1,"VerifierUserId":0}
|
|
2026-04-26T01:23:15.8389294+00:00 mx.write.begin {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1,"WriteIndex":0,"Value":{"Type":"System.Boolean","Value":"True"},"UserId":1,"CurrentUserId":1,"VerifierUserId":0,"WriteTimestamp":""}
|
|
2026-04-26T01:23:15.8618735+00:00 mx.item.error {"Payload":{"Tag":"TestMachine_001.ProtectedValue"},"Exception":"System.Runtime.InteropServices.COMException","Message":"The operation attempted is not supported. (Exception from HRESULT: 0x80004021)","HResult":"0x80004021","StackTrace":" at ArchestrA.MxAccess.LMXProxyServerClass.WriteSecured(Int32 hLMXServerHandle, Int32 hItem, Int32 CurrentUserID, Int32 VerifierUserID, Object pItemValue)\r\n at MxTraceHarness.Program.InvokeWrite(LMXProxyServerClass proxy, Int32 sessionHandle, Int32 itemHandle, Object writeValue, Options options) in C:\\Users\\dohertj2\\Desktop\\mxaccess\\src\\MxTraceHarness\\Program.cs:line 456\r\n at MxTraceHarness.Program.Main(String[] args) in C:\\Users\\dohertj2\\Desktop\\mxaccess\\src\\MxTraceHarness\\Program.cs:line 181"}
|
|
2026-04-26T01:23:20.9173536+00:00 mx.unadvise.begin {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1}
|
|
2026-04-26T01:23:20.9173536+00:00 mx.unadvise.end {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1}
|
|
2026-04-26T01:23:20.9183513+00:00 mx.removeitem.begin {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1}
|
|
2026-04-26T01:23:20.9183513+00:00 mx.removeitem.end {"Tag":"TestMachine_001.ProtectedValue","ItemHandle":1}
|
|
2026-04-26T01:23:20.9183513+00:00 mx.unregister.begin {"SessionHandle":1}
|
|
2026-04-26T01:23:24.8883703+00:00 mx.unregister.end {"SessionHandle":1}
|
|
2026-04-26T01:23:24.8943739+00:00 harness.stop {}
|