ms-nrpc 0.1.0-dev

MS-NRPC (Netlogon) secure-channel setup + read-only Zerologon (CVE-2020-1472) detection. Defensive-only: destructive exploit/restore paths are deliberately excluded.
Documentation
//! # ms-nrpc
//!
//! MS-NRPC (Netlogon) — the minimum secure-channel setup needed to **detect
//! Zerologon** (CVE-2020-1472) without touching the machine password.
//!
//! ## Scope
//! - [`secure_channel`] — NDR encoders for `NetrServerReqChallenge` and
//!   `NetrServerAuthenticate3`, plus the AES-128-CFB8 primitive and the
//!   HMAC-SHA256 session-key derivation from MS-NRPC 3.1.4.3.1.
//! - [`detect`] — a **read-only** Zerologon probe that establishes an
//!   authenticated session with the all-zero client credential and reports
//!   whether the DC accepted it. Never sets the machine password.
//!
//! ## Deliberately not here
//! `NetrServerPasswordSet2` (the destructive step that zeroes the machine
//! password) and the corresponding restore flows are intentionally NOT
//! included. Those live inside adhammer as an internal, gated module so this
//! crate stays useful to defenders (hunt-friendly) without shipping a
//! ready-made DC-bricking primitive on crates.io.

#![deny(unsafe_code)]

pub mod detect;
pub mod secure_channel;