SOC Toolkit

by Michael Massoni
5
4
3
2
1
Score: 57/100

Description

The SOC Toolkit plugin provides cybersecurity professionals and SOC analysts with tools for IP reputation analysis and defanging directly within their notes. It scans IPv4 and IPv6 addresses, including defanged variants, and queries VirusTotal and AbuseIPDB APIs for reputation data. Results are cached locally to reduce API calls and displayed in a customizable format. Users can defang IPs in notes via commands or right-click menus, preserving original formatting. The plugin supports both full and last-dot defanging and integrates with the command palette and context menus for quick access.

Reviews

No reviews yet.

Stats

9
stars
3,752
downloads
0
forks
501
days
38
days
38
days
4
total PRs
0
open PRs
0
closed PRs
4
merged PRs
0
total issues
0
open issues
0
closed issues
17
commits

RequirementsExperimental

Latest Version

a month ago

Changelog

⚠️ Before updating

  • Domains and URLs are now detected by default. "Check reputation in current note" will also send a note's domains and URLs to VirusTotal. To keep your organisation's domains private, add them under Settings → SOC Toolkit → Indicators → Never look up, or turn domain/URL detection off there.
  • Commands have been renamed (e.g. "Check IP reputation in current note" is now "Check reputation in current note"). Your existing hotkeys keep working.

New: domains and URLs

  • Detection: domains and URLs are found alongside IPs, plain or defanged (evil[.]com, hxxps://evil[.]com/login, hXXp[://]…)
  • Reputation checks with VirusTotal:
    • Domains: vendor verdicts plus domain age, registrar, resolved IPs, popularity rank and web categories
    • URLs: vendor verdicts plus final redirect target, page title and the brand a phishing page impersonates
    • URLs are only looked up, never submitted for scanning. Unknown ones are marked "not found in VirusTotal"
    • IOCs inside results (like redirect targets) are written defanged, so annotations never add live links
  • Defang and refang now cover domains and URLs too, changing only the scheme and host (hxxps://sub[.]evil[.]com/path)
  • Never look up: a list of domains (and their subdomains) that are never sent to third parties

Settings

  • New Indicators section to choose which types to detect
  • Output now has an IPs | Domains | URLs switcher, with its own preview and output format for each type. Your existing IP formats carry over automatically

Smarter whole-note checks

  • Link targets, wikilinks and frontmatter are left alone, so defanging a note doesn't break its links
  • Domains that look like filenames (notes.md, script.sh) are ignored unless they're defanged or highlighted

Full Changelog: https://github.com/michaelmassoni/obsidian-soc-toolkit/compare/1.7.2...1.8.0

README file from

Github

SOC Toolkit for Obsidian

An Obsidian plugin that provides a collection of tools for SOC analysts and cybersecurity professionals. It checks the reputation of IP addresses, domains and URLs using VirusTotal and AbuseIPDB, and defangs and refangs them.

Features

  • Reputation Analysis

    • Scans notes for IPv4 and IPv6 addresses, domains and URLs, including defanged ones (e.g. 8[.]8[.]8[.]8, evil[.]com, hxxps://evil[.]com/login)
    • Checks IPs with VirusTotal and AbuseIPDB, and domains and URLs with VirusTotal
    • URLs are only looked up, never submitted for scanning
    • Caches results to minimise API calls, and skips IOCs that are already annotated
    • Never sends private or reserved addresses (e.g. 10.0.0.0/8, 192.168.0.0/16, fe80::/10), or domains you list in settings, to third parties
    • Customisable output format for each indicator type, with a preview
    • Optional links from each annotation to the full VirusTotal or AbuseIPDB report
    • Right-click context menu and command palette support for checking highlighted text
  • Defanging and Refanging

    • Defang or refang IPs, domains and URLs in the current note or highlighted area with a single command
    • Right-click menu options for defanging and refanging, shown only when they apply
    • Supports both full defanging and last-dot defanging
    • Maintains original note formatting, and leaves links, wikilinks, frontmatter and report links in annotations working

Installation

You can now install this plugin directly from within Obsidian:

  1. Open Obsidian settings
  2. Go to "Community plugins"
  3. Click "Browse"
  4. Search for "SOC Toolkit"
  5. Click "Install" and then "Enable"

Configuration

Before you will be able to run reputation checks, you need to first configure your API keys:

  1. Get a VirusTotal API key from VirusTotal
  2. Get an AbuseIPDB API key from AbuseIPDB
  3. Open Obsidian settings
  4. Go to Community Plugins > SOC Toolkit
  5. For each API key, choose an existing secret or create a new one and paste your key into it (keys are kept in Obsidian's secret storage, not in the plugin's settings file)
  6. Click "Test keys" to ensure both API keys are valid and working
  7. (Recommended) Add your organisation's domains under Indicators > "Never look up", so they're never sent to third parties
  8. (Recommended) Set your desired keybindings in Obsidian Hotkeys settings
  9. (Optional) Choose which indicator types to detect, and customise the output for each under Output (IPs, Domains, URLs)

The free VirusTotal and AbuseIPDB APIs are for non-commercial use. If you're using the plugin for work, check whether your organisation needs its own licensed keys.

Usage

Reputation Analysis

  1. Open a note containing IP addresses, domains or URLs (regular or defanged)
  2. Use one of the following methods to check their reputation:
    • Press your defined hotkey for "Check reputation in current note"
    • Highlight what you wish to check, and then press your defined hotkey for "Check reputation in highlighted area"
    • Highlight what you wish to check, and then open the right-click menu and select "Check reputation"
    • Open the command palette (Ctrl/Cmd + P) and search for "Check reputation"
  3. The plugin will add reputation data below each line. You can configure the output in the plugin settings.

The first IOC on each line is checked. Lines that already have an annotation underneath are skipped, so re-running a check only looks up new IOCs.

When checking a whole note, link targets, wikilinks and frontmatter are ignored, as are domains that look like filenames (e.g. notes.md, script.sh) unless they're defanged. Highlight text to check these anyway.

Defanging and Refanging

  1. Open a note containing IP addresses, domains or URLs
  2. Use one of the following methods to defang them:
    • Press your defined hotkey for "Defang IOCs in current note" or "Defang IOCs in highlighted area"
    • Highlight IOCs, right-click and select "Defang IOCs"
    • Open the command palette (Ctrl/Cmd + P) and search for "Defang IOCs"
  3. The plugin will defang them (e.g. hxxps://evil[.]com/login) while maintaining the original formatting

Refanging works the same way, using the "Refang IOCs in current note" and "Refang IOCs in highlighted area" commands or the "Refang IOCs" right-click option. This is handy for pasting IOCs into other tools.

Example

Before:

IOCs involved in incident:
- 8.8.8.8
- login-verify[.]com
- hxxps://login-verify[.]com/auth

After checking reputation:

IOCs involved in incident:
- 8.8.8.8
  - VirusTotal: 0/94 vendors flagged as malicious
  - AbuseIPDB: 0% confidence of abuse, last reported 2d ago
- login-verify[.]com
  - VirusTotal: 7/94 vendors flagged as malicious, domain age 12d
- hxxps://login-verify[.]com/auth
  - VirusTotal: 9/95 vendors flagged as malicious

Privacy

This plugin:

  • Sends IP addresses to VirusTotal and AbuseIPDB, and domains and URLs to VirusTotal, for reputation checking
  • Never sends private or reserved IP addresses, or domains on your "Never look up" list
  • Only looks URLs up; it never submits them for scanning
  • Stores API keys in Obsidian's secret storage (requires Obsidian 1.11.4 or later); keys saved by older versions are moved there automatically
  • Caches results locally to minimise API calls

Roadmap

  • IP reputation checking
  • IP defanging
  • URL and domain defanging
  • Domain/URL reputation analysis
  • More providers (e.g. URLhaus)
  • File hash analysis

License

This project is licensed under the GPLv3 License - see the LICENSE file for details.