Deploy Thundy AV with Thunderbird policies

Deutsch · Documentation

Pilot deployment

  1. Choose a supported Thunderbird version (140 or later) and an approved Thundy XPI. Install it in an isolated test profile and verify that the extension loads after restart. Temporary add-ons must be loaded again after restart. A release marked unsigned has no Thunderbird Add-ons signature.
  2. Locate policies.json for the actual Thunderbird installation. On Windows use distribution beside thunderbird.exe. On macOS use Thunderbird.app/Contents/Resources/distribution. On Linux use distribution inside the installation directory or the system-wide /etc/thunderbird/policies. Policies apply to the installation, including other profiles using it. Thunderbird also supports Windows Group Policy and macOS configuration profiles. Official Thunderbird policy templates
  3. Back up the existing file. Merge the Thundy entry under policies → 3rdparty → Extensions, preserving existing keys for other extensions. Save valid UTF-8 JSON without comments or trailing commas, and restrict write access to administrators.
  4. Fully restart Thunderbird. Open about:policies, check the active 3rdparty entry and review errors. In Thundy’s administration settings, confirm that the applicable rules show as company-managed and that the revision matches. Managed fields stay locked for local administrators.
  5. Verify mail account access and the receiver’s certificate trust from the pilot workstation. Mail accounts, provider API credentials and reporting tokens are configured separately.

Policy example

{
  "policies": {
    "3rdparty": {
      "Extensions": {
        "thundy-av@bludau-it-services.de": {
          "thundyPolicy": {
            "schemaVersion": 1,
            "revision": 1,
            "links": { "threshold": 50, "action": "warn", "unknown": "warn", "waitForResults": true, "autoOpenBelow": 20 },
            "attachments": { "threshold": 70, "action": "warn", "unknown": "warn" },
            "severityColors": { "low": "#24764a", "unknown": "#a15b12", "caution": "#b24c0d", "high": "#bf2c36", "critical": "#a30e29" },
            "linkAudit": { "maxRecords": null, "retentionDays": 90 },
            "reporting": {
              "mode": "malicious",
              "endpoint": "https://soc.example.com:8443/thundy/events",
              "indicators": false,
              "details": false
            }
          }
        }
      }
    }
  }
}

Severity, waiting and retention

Reporting and event fields

Reporting defaults to off. malicious includes malicious findings. suspicious also includes threshold-based findings. At least one valid managed protection group is required. Use HTTPS with the exact scheme, hostname, port and path of the receiver. Leave credentials, queries and fragments out of the URL.

  1. Set up the Python receiver or an endpoint implementing the same contract. Issue a revocable send token per installation and deliver it through a secure channel.
  2. In the administration settings, review the destination and scope, enter the token, approve reporting and grant access to the receiver host. Destination or scope changes require approval again. Withdrawing reporting consent clears Thundy’s pending event queue.
  3. In a pilot, temporarily set the link threshold to 0, the action to block and reporting to suspicious. Click a harmless HTTPS link and match the event ID in the local audit to the receiver’s status or email. Restore the pilot thresholds and restart.

The sender uses POST with Content-Type: application/json, Authorization: Bearer <token> and Idempotency-Key: <event UUID>. A 2xx acknowledgement confirms durable intake. The Python receiver returns 204 for the first successful insert and for an identical duplicate from the same installation. Its SMTP status tracks the subsequent relay handoff.

Configuration Event data
Always Schema version, event ID, UTC timestamp, action (link_open, attachment_open, attachment_save), finding, policy decision and policy revision.
indicators: true Link hostname or attachment SHA-256.
details: true Reason, available decision score and threshold, attachment filename, and provider findings tied to the resource.
detections: true with details: true Provider-supplied malware categories, family names, vendor signatures and identified phishing targets.

Optional provider entries include an identifier, verdict, observation source and time, score, detection counts and a report reference when available. Hybrid Analysis links open a sample overview and an optional job ID identifies an individual run. urlscan.io links open an individual scan. VirusTotal file checks can supply detection counts. The local decision score and provider scores have separate fields. Provider access may require an account, and a local-only event can have an empty provider list. The email’s device label comes from the token mapping at the receiver. Message text, complete original URLs, attachments and provider API keys are excluded from the event payload.

Upgrade the receiver before enabling the new reporting.detections option and approve the expanded scope in Thunderbird. Only events that include detections use envelope schemaVersion: 2. Other events stay on version 1. Each detection has a kind (category, family, signature or brand) and a value. For example, one file can carry category trojan, family Emotet and signature Trojan:Win32/Emotet!X. An established phishing category from urlscan.io can be paired with a brand such as PayPal or Google when the provider returned both. Labels such as fraudulent_shop require an explicit provider classification. The local score formula covers the assessment without provider results. VirusTotal classification fields · urlscan result fields

Thundy queues up to 100 reports for up to 24 hours. Network errors and retryable HTTP responses use the same event ID. HTTP 401 or 403 pauses delivery until the token is replaced. The opening decision is local. See the data-flow and privacy policy for provider transfers and local storage.

Rollout and rollback

For automatic installation, add an ExtensionSettings entry for thundy-av@bludau-it-services.de under the same policies object. Set installation_mode to force_installed and install_url to your approved XPI. Users cannot disable or remove an extension installed this way. Test signing requirements and the install/update path on the managed client before rollout. Thunderbird ExtensionSettings reference

Run a small pilot, review false positives and delivery status, and adjust link and attachment settings independently. For rollback, redeploy the previous policy or remove just the Thundy-managed entry, then restart Thunderbird and verify the effective rules. Keep endpoint protection active for native attachment actions.