Skip to main content

URL and IP lookups through Greynoise and VirusTotal

Workflow preview

Workflow preview
100%
URL and IP lookups through Greynoise and VirusTotal preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This n8n workflow serves as a powerful cybersecurity and threat intelligence tool to look up URLs or IP addresses through industry standard threat intelligence vendors. It starts with either a form...

Best for

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

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.merge, n8n-nodes-base.if, n8n-nodes-base.wait, n8n-nodes-base.webhook, n8n-nodes-base.itemlists

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
URL and IP lookups through Greynoise and VirusTotal
Workflow name
URL and IP lookups through Greynoise and VirusTotal

This n8n workflow serves as a powerful cybersecurity and threat intelligence tool to look up URLs or IP addresses through industry standard threat intelligence vendors. It starts with either a form submission or a webhook trigger, allowing users to input data, URLs or IPs that require analysis. The workflow then splits into two paths depending on whether the input data is an IP or URL. If an IP was given, it sets the ip variable to the IP; however if a URL was given the workflow will perform a DNS lookup using Google Public DNS and sets the ip variable based on the results from Google.

The workflow then checks the obtained IP addresses against GreyNoise services, with one branch utilizing GreyNoise RIOT IP Lookup to assess IP reputation and association with known benign services, and the other using GreyNoise IP Context to evaluate potential threats. The results from both GreyNoise services are merged to create a comprehensive analysis which includes the IP, classification (benign, malicious, or unknown), IP location, tags to identify activity or malware, category, and trust level.

In parallel, a VirusTotal scan is initiated for the URL/IP to identify if it is malicious. A 5-second wait ensures proper processing, and the workflow subsequently polls the scan result to determine when the analysis is complete. The workflow then summarizes the analysis including the overall security vendor analysis results, blockList analysis, OpenPhish analysis, the URL, and the IP.

Finally, the workflow combines the summarized intelligence from both GreyNoise and VirusTotal to provide a thorough analysis of the URL/IP. This summarized intelligence can then be emailed to the user that filled out the form via Gmail or it can be sent to the user via a Slack message.

Setting up this workflow may require proper configuration of the form submission or webhook trigger, and ensuring that the GreyNoise and VirusTotal API credentials are correctly integrated. Users should also consider the potential volume of data and API rate limits, as excessive requests could lead to issues. Proper documentation and validation of input data are crucial to ensure accurate and meaningful results in the final report.

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 - VirusTotal result

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

Block 2 - DNS Lookup

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

Block 3 - Set IP From Lookup

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

Block 4 - Set IP

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

Block 5 - Merge VirusTotal & Greynoise results

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

Block 6 - Is IP?

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

Block 7 - Start VirusTotal Scan

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

Block 8 - VirusTotal Summary

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

Block 9 - VirusTotal ready?

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

Block 10 - Wait 5s

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1

Block 11 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 1

Block 12 - Get List of URLs

Type / Role
n8n-nodes-base.itemLists - itemLists
Config choices
Version 3

Block 13 - Set Email

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

Block 14 - Merge Greynoise results

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

Block 15 - Send Report Slack

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

Block 16 - Send Report Email

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

Block 17 - Greynoise Summary

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

Block 18 - Merge

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

Block 19 - Combine looped items

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

Block 20 - Filter

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 1

Block 21 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

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

3. Summary Table

Workflow URL and IP lookups through Greynoise and VirusTotal
Complexity advanced
Nodes 29
Categories SecOps
Author n8n Team
Published 07 Nov 2023

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/1971/1971.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 URL and IP lookups through Greynoise and VirusTotal do?

This n8n workflow serves as a powerful cybersecurity and threat intelligence tool to look up URLs or IP addresses through industry standard threat intelligence vendors. It starts with either a form...

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 use case.