Skip to content

ANSSI ORADAD Executor

Category: Vulnerability Scanners Script: anssi_oradad.py Integration: CLI Faraday Plugin: Raw JSON Website: ANSSI-FR/ORADAD

Description

Runs ANSSI ORADAD against an Active Directory domain and imports the results into Faraday. Each ORADAD template that returns at least one LDAP entry becomes one Faraday vulnerability on a host that represents the domain.

Prerequisites

  • The oradad binary installed on the agent host and available in PATH (checked with oradad --help), or its path set in ORADAD_BIN
  • An ORADAD XML configuration file readable by the agent, with the templates to collect
  • Domain credentials available to the agent (ORADAD uses Windows integrated authentication; the executor does not take a username or password)
  • Network access from the agent to a domain controller of the target domain

Configuration

Environment Variables (Setup)

Variable Required Description
ORADAD_BIN No Path to the ORADAD binary (default: oradad, looked up in PATH)

Execution Arguments

Parameter Type Mandatory Description
ORADAD_DOMAIN string Yes Active Directory domain FQDN or domain controller hostname to query (e.g., dc1.example.local)
ORADAD_CONFIG_PATH string Yes Absolute path, as seen by the agent, to the ORADAD XML configuration file (e.g., /opt/oradad/config.xml)

YAML Configuration Example

executors:
  anssi_oradad:
    repo_executor: anssi_oradad.py
    max_size: 65536
    varenvs: {}
    params:
      ORADAD_DOMAIN:
        mandatory: true
        type: string
        base: string
      ORADAD_CONFIG_PATH:
        mandatory: true
        type: string
        base: string

How It Works

  1. Checks that ORADAD_CONFIG_PATH points to an existing file
  2. Runs oradad -c <ORADAD_CONFIG_PATH> -o <temporary directory> -s <ORADAD_DOMAIN>
  3. Reads every JSON file ORADAD writes to the output directory and extracts the templates and their matching entries
  4. Creates one vulnerability per template with entries, named ORADAD <template>:
    • Severity: from the template type (Control → high, Warning → medium, Information → info). Without a type, from keywords in the template name (e.g. krbtgt, dcsync, adminsdholder → critical; trust, kerberos, ntlm, password → high; stale, gpo, spn → medium; schema, rodc → low; anything else → info)
    • Description: the template, its type, the number of matching entries and up to 25 affected objects
  5. Deletes the temporary output directory

Notes

  • All vulnerabilities are attached to one host whose IP and hostname are the value of ORADAD_DOMAIN, with OS Windows.
  • Templates without matching entries are skipped, and each template is imported only once per run.
  • A non-zero ORADAD exit code is written to the agent log, but the executor still imports whatever output was produced.
  • The shared agent parameters (AGENT_CONFIG_* tags and severity filters) are not applied by this executor.