Skip to main content

Score DNS threats with VirusTotal, Abuse.ch, HashiCorp Vault and Gemini

Workflow preview

Workflow preview
100%
Score DNS threats with VirusTotal, Abuse.ch, HashiCorp Vault and Gemini preview
Open on n8n.io

1. Workflow Overview

Stop fighting alerts and start orchestrating intelligence. This workflow is a complete ecosystem designed to combat network threats in real time. It transforms raw DNS logs into structured knowledg...

Best for

  • SecOps automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.mysql, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-hashi-vault.hashicorpvault, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Lukasz FD.

Original n8n.io source

1.1 Workflow description

Title
Score DNS threats with VirusTotal, Abuse.ch, HashiCorp Vault and Gemini
Workflow name
Score DNS threats with VirusTotal, Abuse.ch, HashiCorp Vault and Gemini

Stop fighting alerts and start orchestrating intelligence.

This workflow is a complete ecosystem designed to combat network threats in real-time. It transforms raw DNS logs into structured knowledge, leveraging Artificial Intelligence to make decisions that previously required hours of manual work by a SOC analyst. Real-World Problems it Solves:

Manual Threat Analysis: Automates the process of verifying suspicious domains and IP addresses across multiple CTI sources simultaneously.

Security Credential Management: Eliminates the risk of API key leaks through native integration with HashiCorp Vault.

Alert Fatigue: Thanks to built-in filtering logic, the system only notifies you when the AI Threat Score exceeds 5 (Malicious/Critical).

Data Fragmentation: Consolidates data from multiple CTI providers into a single, cohesive technical report.

Core System Components:

The workflow manages and communicates with the following elements of your infrastructure:

Traffic Capture: Monitors passive DNS traffic to identify new Indicators of Compromise (IoCs).

Secret Engine: HashiCorp Vault provides database credentials and API tokens dynamically during workflow execution.

Intelligence Layer: Features three independent scanning branches: VirusTotal, Abuse_URLhaus, and Abuse_ThreatFox.

AI Brain: Google Gemini AI acts as a "Senior Security Analyst," correlating data and generating verdicts in both English and Polish.

Automated Response: An email notification system triggered exclusively for confirmed high-risk threats.

Release v1.0.0 Highlights

This release (available on https://github.com/lukaszFD/cyber-sentinel/releases) marks the first fully stable production-ready version of the system.

Key features of this release:

Full Ansible Orchestration: The entire stack—including Nginx, Vault, databases, and n8n—is deployed automatically using Ansible playbooks.

Infrastructure as Code (IaC): Secure deployment based on Ansible Vault, requiring only the population of credentials and the presence of a .vault_pass file.

Production-Ready: The system has been rigorously tested for stability in both Debian (Proxmox) and Raspberry Pi 5 environments.

Documentation : https://lukaszfd.github.io/cyber-sentinel/

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 2 - Select rows from a table

Type / Role
n8n-nodes-base.mySql - mySql
Config choices
Version 2.5

Block 3 - VirusTotal IP Scan

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 4 - If 'malicious' or 'suspicious'

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 5 - Virus total API TOKEN

Type / Role
n8n-nodes-hashi-vault.hashiCorpVault - hashiCorpVault
Config choices
Version 1

Block 6 - Gemini AI Studio

Type / Role
n8n-nodes-hashi-vault.hashiCorpVault - hashiCorpVault
Config choices
Version 1

Block 7 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 8 - MySQL Pass

Type / Role
n8n-nodes-hashi-vault.hashiCorpVault - hashiCorpVault
Config choices
Version 1

Block 9 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 10 - Parse AI Agent output

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Insert AI verdict

Type / Role
n8n-nodes-base.mySql - mySql
Config choices
Version 2.5

Block 12 - Send an Email

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 13 - Abuse.CH_ThreatFox request

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 14 - Abuse API TOKEN

Type / Role
n8n-nodes-hashi-vault.hashiCorpVault - hashiCorpVault
Config choices
Version 1

Block 15 - Get Email Pass

Type / Role
n8n-nodes-hashi-vault.hashiCorpVault - hashiCorpVault
Config choices
Version 1

Block 16 - Abuse.CH_URLHaus

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 17 - Insert doc URLHaus

Type / Role
n8n-nodes-base.mongoDb - mongoDb
Config choices
Version 1.2

Block 18 - Edit Json for Mongo - URLHaus

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 19 - Insert a clear scan - URLHaus

Type / Role
n8n-nodes-base.mySql - mySql
Config choices
Version 2.5

Block 20 - Edit Json for Mongo - ThreatFox

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 21 - Insert a clear scan - ThreatFox

Type / Role
n8n-nodes-base.mySql - mySql
Config choices
Version 2.5

Block 22 - Insert doc ThreatFox

Type / Role
n8n-nodes-base.mongoDb - mongoDb
Config choices
Version 1.2

Block 23 - Insert a clear scan - VirusTotal

Type / Role
n8n-nodes-base.mySql - mySql
Config choices
Version 2.5

Block 24 - Edit Json for Mongo - VirusTotal

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Showing the first 24 of 40 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Score DNS threats with VirusTotal, Abuse.ch, HashiCorp Vault and Gemini
Complexity advanced
Nodes 40
Categories SecOps, AI Summarization
Author Lukasz FD
Published 17 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14127/14127.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Score DNS threats with VirusTotal, Abuse.ch, HashiCorp Vault and Gemini do?

Stop fighting alerts and start orchestrating intelligence. This workflow is a complete ecosystem designed to combat network threats in real time. It transforms raw DNS logs into structured knowledg...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your SecOps, AI Summarization use case.