Skip to content

UadMLPlugin

UadMLPlugin.dll — Machine Learning-based User Anomaly Detection plugin. Integrates with AWS SageMaker for cloud inference and LightGBM for local inference.

File Info

PropertyValue
FileUadMLPlugin.dll
Size~8.2 MB (8,597,768 bytes)
Architecturex64 (AMD64)
Image Base0x180000000
Entry Point0x56c340
ExportNvPluginGetInfo

Core Functionality

1. ML Inference — Two Modes

Local Inference (LightGBM)

  • Uses lib_lightgbm.dll for on-rig prediction
  • Class: LocalPredictor
  • API: LGBM_BoosterPredictForMatSingleRowFast, LGBM_BoosterLoadModelFromString

Cloud Inference (AWS SageMaker)

  • Class: SageMakerPredictor
  • Invokes SageMaker endpoints with configurable region
  • Supports retry logic on failure

2. Feature Extraction

  • FeatureExtractor class extracts features from system metrics
  • PerfmonCollector collects Windows Performance Monitor data
  • Supports feature versioning (FeatureVersion)

3. Telemetry

  • Integrates with NvTelemetry framework
  • Collects CPU, memory, network metrics
  • Sends events and anonymous events

Configuration

json
{
  "ModelConfig": {
    "endpoint": "AWS SageMaker endpoint URL",
    "region": "AWS region",
    "uri": "Model URI",
    "features": [...]
  },
  "IsLocalModelEnabled": true,
  "IsBackendInferenceEnabled": true,
  "IsFeatureLoggerEnabled": false
}

Config paths:

  • Seat userdata: GcisConfigData
  • System: C:/Program Files/NVIDIA Corporation/NvContainer/plugins/LocalSystem/messagebus.conf

The plugin can be fully disabled: UadMLPlugin is DISABLED

Internal Classes

ClassDescription
UadMLPluginMain plugin class
SageMakerPredictorAWS SageMaker predictor wrapper
LocalPredictorLightGBM local predictor
MLPredictorBase ML predictor class
FeatureExtractorFeature extraction from metrics
FeatureLoggerFeature logging utility
PerfmonCollectorWindows Performance Monitor collector
UadInferenceMessageInference message wrapper
GcisPluginTaskQueuePlugin task queue

Protocol Buffers

Proto FilePurpose
UadInferenceDef.protoML inference messages
ErrorDef.protoError definitions
MonitorSettings.protoMonitor configuration
SessionRequestData.protoSession data
GCISCommunicationMessagesDef.protoInter-plugin communication

Error Codes

Hex CodeMeaning
0x80030019Unauthorized activity detected
0x80210002ML anomaly score exceeded threshold
0x80210003SageMaker/LightGBM inference error
0x80210004Feature extraction from metrics failed

Error Classes

ClassNamespaceDescription
ErrorNVIDIA.Bifrost.CommonBifrost common error
CancelledErrorMessageBusClientOperation cancelled
TimeoutErrorMessageBusClientOperation timeout
NotOnBusErrorMessageBusClientNot connected to message bus
ExtractionErrorInternalFeature extraction error
InferenceErrorInternalML inference error

Common Error Messages

Configuration Errors

UadMLPlugin Config backend MessageBus address error
UadMLPlugin Config rule error
No 'endpoint' in Model configuration file
No 'region' in Model configuration file
No 'features' in Model configuration
Invalid 'features' array in Features configuration
Undefined model 'uri' in Model configuration file

Model/Inference Errors

SageMakerPredictor construction error: No AWS region provided
Unable to invoke SageMaker endpoint: [{}] {}
Unable to open model file: {}
Unable to load model file: {}
Empty data set passed for inference
Failure during local prediction: {}
Wrong number of columns for inference

Performance Monitor Errors

Unable to add feature. PerfmonCollector is already running.
Perfmon feature '{}' already added
PerfmonCollector is not initialized
Failed to subscribe to Perfmon counters

Dependencies

AWS SDK

  • aws-cpp-sdk-core.dll
  • aws-cpp-sdk-s3.dll
  • aws-cpp-sdk-sagemaker-runtime.dll

ML/Data

  • lib_lightgbm.dll — LightGBM gradient boosting
  • libprotobuf.dll — Protocol Buffers v2.6.1

System Monitoring

  • pdh.dll — Performance Data Helper
  • wevtapi.dll — Windows Event Log API

Crypto

  • CRYPT32, WINTRUST, bcrypt

Build Info

PropertyValue
Source PathC:\dvs\p4\build\sw\gcomp\dev\src\GCIS\
PDB Path...\UadMLPlugin\UadMLPlugin.pdb
Pocov1.10.1
Protobufv2.6.1
JSONnlohmann/json v3.11.2
Formatfmt v8

admindesk.top — Reversed & documented from Asgard rig backups and GCIS plugin binaries.