A Consensus-Bayesian Framework for Detecting Malicious Activity in Enterprise Directory Access Graphs
Pratyush Uppuluri, Shilpa Noushad, Sajan Kumar
TL;DR
This work addresses detecting malicious activity in enterprise directory access graphs by marrying consensus-based opinion dynamics with Bayesian anomaly detection. Directories are treated as topics and users as agents in a multi-level graph governed by a row-stochastic influence matrix $W$ and per-directory logic matrices $C_i$, with strongly connected components (SCCs) capturing cohesive groups and potential external influences. Anomalies are signaled by changes in $C_i$ and by deviations from predicted consensus, quantified through per-topic variance and online Bayesian updates using an exponential likelihood on the variance increment. The contributions include a formal SCC-based decomposition aligned with Ye2021Consensus, a variance-driven anomaly score with both static and online priors, and simulations showing sensitivity to logical perturbations and robustness under dynamic perturbations, enabling proactive anomaly detection in cloud/enterprise security settings.
Abstract
This work presents a consensus-based Bayesian framework to detect malicious user behavior in enterprise directory access graphs. By modeling directories as topics and users as agents within a multi-level interaction graph, we simulate access evolution using influence-weighted opinion dynamics. Logical dependencies between users are encoded in dynamic matrices Ci, and directory similarity is captured via a shared influence matrix W. Malicious behavior is injected as cross-component logical perturbations that violate structural norms of strongly connected components(SCCs). We apply theoretical guarantees from opinion dynamics literature to determine topic convergence and detect anomaly via scaled opinion variance. To quantify uncertainty, we introduce a Bayesian anomaly scoring mechanism that evolves over time, using both static and online priors. Simulations over synthetic access graphs validate our method, demonstrating its sensitivity to logical inconsistencies and robustness under dynamic perturbation.
