Skip to content

CyberSecurityUP/n8n-CyberSecurity-Workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ 100 n8n Cybersecurity Workflow Ideas

Automation blueprints for Red Team & Pentest, Blue Team (SOC/DFIR/TI), Application Security (AppSec/DevSecOps), and Platform/General Security β€” all using n8n.

Each idea lists Purpose, Integrations, and a Flow Outline you can translate into n8n nodes (HTTP Request, Execute Command, IF/Switch, Function, Code, Split In Batches, Merge, Set, Move Binary Data, Wait, Cron, Webhook, Email/Slack/Teams, PostgreSQL/MongoDB/Redis, AWS, GCP, Azure, RabbitMQ, Kafka, etc.).


Index


A. Red Team & Pentest (30)

  1. Automated Subdomain Recon Hub
    Purpose: Consolidate subdomain intel continuously.
    Integrations: Subfinder/Amass (Exec), DNSDB/PassiveTotal (HTTP), Shodan/Censys, Slack, PostgreSQL.
    Flow: Cron β†’ Exec(Subfinder/Amass) β†’ HTTP(DNS/Passive) β†’ HTTP(Shodan/Censys) β†’ Merge/Unique β†’ DB upsert β†’ Slack summary.

  2. Attack Surface Change Detector
    Purpose: Detect new hosts/ports/services vs last run.
    Integrations: Nmap/Naabu/Masscan (Exec), Diff (Function), Jira/Slack.
    Flow: Cron β†’ Exec(scan) β†’ Compare with last snapshot (DB) β†’ Create Jira issues per delta β†’ Slack alert.

  3. Cloud Bucket Finder (S3/GCS/Azure)
    Purpose: Enumerate public buckets & misconfigs.
    Integrations: AWS/GCP/Azure APIs, HTTP HEAD/GET, Slack, CSV export.
    Flow: Cron β†’ List buckets β†’ Check ACL/public URLs β†’ IF public β†’ notify Slack + write CSV to S3.

  4. Credential Spraying Orchestrator (Lab/Test Only)
    Purpose: Controlled spray against lab IdP for detection tuning.
    Integrations: Custom IdP/API, Delay/Rate-limit, Secret store.
    Flow: Webhook list β†’ Split β†’ Wait between attempts β†’ HTTP(Auth) β†’ Collect results β†’ Red/Blue joint report.

  5. GoPhish Campaign Launcher
    Purpose: Spin phishing tests end-to-end.
    Integrations: GoPhish API, Google Sheets (targets), Slack/Email, S3 for evidence.
    Flow: Trigger β†’ Fetch targets β†’ GoPhish API(create campaign) β†’ Poll stats β†’ Export CSV/PDF β†’ Send digest.

  6. Malicious Macro Build Conveyor (PoC)
    Purpose: Generate PoC docs for awareness labs.
    Integrations: Dockerized builder, Git repo, Hashing node, VT private sandbox (optional).
    Flow: Webhook payload β†’ Build (Docker) β†’ Hash β†’ Store to S3 β†’ Share link + Slack.

  7. Payload Inventory & Hash Tracker
    Purpose: Track artifacts, hashes, and usage.
    Integrations: S3, PostgreSQL, Slack.
    Flow: Upload webhook β†’ Compute SHA256 β†’ DB upsert (who/when/use) β†’ Notify Slack.

  8. C2 Beacon Event Forwarder
    Purpose: Stream C2 events to collab channels.
    Integrations: CS/Havoc/Sliver webhooks, Slack/Discord, TimescaleDB.
    Flow: Webhook(C2) β†’ Transform β†’ Insert DB β†’ Slack threaded updates per host.

  9. Initial Access Monitor (Decoy Links)
    Purpose: Observe clicks, IPs, User-Agents.
    Integrations: n8n Webhook, GeoIP, AbuseIPDB.
    Flow: Webhook click β†’ Enrich(GeoIP/ASN) β†’ IF(bad reputation) β†’ tag IOC β†’ Push to TI DB.

  10. Exfiltration Simulation to Cloud
    Purpose: Test DLP detection.
    Integrations: S3/GDrive/Dropbox, Slack, Timer.
    Flow: Cron β†’ Upload decoy file β†’ Verify receipt β†’ Notify SOC channel.

  11. AV/EDR Evasion Test Matrix Runner (Lab)
    Purpose: Run known OPSEC variations against lab EDR.
    Integrations: Exec, Git repo of samples, Jira.
    Flow: Schedule β†’ Execute cases β†’ Collect detections β†’ Auto-create Jira tasks for misses.

  12. TLS/Cert Recon Harvester
    Purpose: Track cert issuance & SANs.
    Integrations: crt.sh, Censys, DB, Email.
    Flow: Cron β†’ Query certs β†’ Diff vs history β†’ Email changes.

  13. Shadow IT Finder (App Enumeration)
    Purpose: Identify unmanaged domains/apps.
    Integrations: SecurityTrails, Shodan, HTTP banner grabs.
    Flow: Fetch domains β†’ HTTP checks β†’ Tag suspicious β†’ Report.

  14. Vuln Exploit Window Notifier
    Purpose: Alert when a new PoC drops for in-scope CVE.
    Integrations: GitHub RSS, NVD, Exploit-DB, Slack.
    Flow: Poll feeds β†’ Filter by CVEs seen in scans β†’ Slack β€œexploit available” ping.

  15. Password Dump Honeytoken Telemetry
    Purpose: Detect credential reuse events.
    Integrations: Canarytokens, Webhook, TI DB.
    Flow: Honeytoken fire β†’ Enrich IP β†’ Store IOC β†’ Notify.

  16. Adversary Path Builder (ATT&CK)
    Purpose: Compose ordered technique runs.
    Integrations: JSON (technique sets), Exec scripts, Confluence export.
    Flow: Select profile β†’ Iterate techniques β†’ Log output β†’ Publish runbook.

  17. Browser Exploit Canary (XSS)
    Purpose: Receive callbacks for injected beacons.
    Integrations: Webhook, Slack, urlscan.io.
    Flow: Host payload β†’ When fired β†’ Slack + store evidence.

  18. SSRF Canary Endpoint
    Purpose: Detect SSRF attempts during tests.
    Integrations: Webhook, GeoIP, Headers parser.
    Flow: Receive hits β†’ Parse metadata β†’ Map source app β†’ Report.

  19. Perimeter Tech Stack Mapper
    Purpose: WhatWeb/Wappalyzer at scale.
    Integrations: Exec(whatweb) or HTTP(Wappalyzer), DB.
    Flow: Enumerate targets β†’ Fingerprint β†’ Store/Trend.

  20. Default Creds Sweep (Lab)
    Purpose: Validate controls block weak creds.
    Integrations: HTTP basic/digest, SSH, SNMP, Slack.
    Flow: Parametrized list β†’ Parallel attempts β†’ Results table β†’ Slack.

  21. API Fuzzing Loop (Dev/Test)
    Purpose: Fuzz endpoints nightly.
    Integrations: ZAP/Ffuf/Katana, CI callbacks.
    Flow: Cron β†’ Discover β†’ Fuzz β†’ Deduplicate β†’ File Jira bugs.

  22. Email Security Bypass Lab Orchestrator
    Purpose: Test mail controls (EOP/GWS).
    Integrations: SMTP, IMAP/Gmail API, VirusTotal.
    Flow: Send test set β†’ Pull verdicts β†’ Score bypass rate β†’ Report.

  23. Windows Lateral Movement Lab Runner
    Purpose: Practice PSRemoting/WMI/SMB.
    Integrations: WinRM node/SSH to jump host, Logging DB.
    Flow: Task list β†’ Execute β†’ Capture outputs β†’ Heatmap.

  24. Phishing Landing Page Telemetry
    Purpose: High-fidelity user behavior.
    Integrations: Webhook (form), Device fingerprint, GeoIP.
    Flow: Capture β†’ Normalize β†’ Risk scoring β†’ Export CSV.

  25. Recon to Report (One-Click)
    Purpose: Draft recon PDF from data.
    Integrations: DB β†’ Markdown β†’ PDF, Confluence.
    Flow: Query latest intel β†’ Render Markdown β†’ Convert PDF β†’ Publish.

  26. Bluetooth/IoT Discovery (Lab)
    Purpose: Detect BLE beacons, rogue IoT.
    Integrations: Custom sensor API, DB, Slack.
    Flow: Poll sensors β†’ New MACs? β†’ Alert + tag.

  27. WIFI Evil Twin Drill Tracker
    Purpose: Simulate & log detections.
    Integrations: Exec(hostapd/airmon-ng), Slack, Timeline.
    Flow: Start/stop runs β†’ Record detections β†’ Timeline report.

  28. Red Team Debrief Packager
    Purpose: Bundle artifacts + timelines.
    Integrations: S3, Zip, Confluence/Jira.
    Flow: Select engagement β†’ Pull logs β†’ Zip β†’ Upload & link.

  29. OpSec Sanity Checker
    Purpose: Check infra hygiene before ops.
    Integrations: DNS/WHOIS, CDN, IP rep, Cloud SG.
    Flow: Validate β†’ IF leaks/misconfigs β†’ Blocker alert.

  30. C2 Infra Expiry & Burn Plan
    Purpose: Auto-retire infra on schedule.
    Integrations: Cloud APIs, DNS API, Slack.
    Flow: Daily check β†’ If TTL reached β†’ Destroy resources β†’ Log.


B. Blue Team / SOC / DFIR (35)

  1. Threat Intel Ingest & Normalize
    Purpose: Aggregate OTX/MISP/VT/AbuseIPDB.
    Integrations: HTTP, CSV/JSON, PostgreSQL/Elastic.
    Flow: Cron β†’ Fetch feeds β†’ Map fields (STIX-ish) β†’ Upsert β†’ De-dup metrics.

  2. IOC Enrichment Micro-SOAR
    Purpose: On-demand IP/URL/hash enrichment.
    Integrations: VirusTotal, urlscan.io, WHOIS, Shodan.
    Flow: Webhook IOC β†’ Parallel enrich β†’ Confidence score β†’ Respond with JSON.

  3. Impossible Travel Detector
    Purpose: Geo-anomalies in IdP logins.
    Integrations: Okta/Azure AD, GeoIP, Slack/Jira.
    Flow: Pull events β†’ Sort by user β†’ Velocity calc β†’ Alert.

  4. OAuth App Risk Auditor
    Purpose: Risky third-party OAuth grants.
    Integrations: Google/M365 Graph, Sheets, Slack.
    Flow: Pull grants β†’ Score scopes β†’ Notify owners.

  5. SIEM β†’ Slack Alert Router
    Purpose: Targeted, deduped alerting.
    Integrations: Splunk/Elastic API, Slack threads.
    Flow: Poll alerts β†’ IF severity+not seen β†’ Post thread per incident.

  6. EDR Noise Tamer
    Purpose: Suppress known benigns, highlight real.
    Integrations: CrowdStrike/Defender API, Redis cache.
    Flow: Ingest β†’ Check allowlist cache β†’ IF new β†’ escalate.

  7. Phishing Auto-Triage
    Purpose: Classify, detonate, verdict.
    Integrations: Gmail/Graph, VT/AnyRun, Jira.
    Flow: Fetch reported β†’ Extract URLs/attachments β†’ Sandbox β†’ Verdict β†’ Ticket.

  8. Ransomware Canary Tripwire
    Purpose: Early encryption detection.
    Integrations: SMB share watch, Slack, IR runbook link.
    Flow: Monitor canary changes β†’ IF entropy spike β†’ Page on-call.

  9. DNS Tunneling Heuristics
    Purpose: Spot long, frequent queries.
    Integrations: DNS logs (Elastic), Function scoring.
    Flow: Daily job β†’ Flag FQDNs β†’ TI cross-check β†’ Alert.

  10. Beaconing Periodicity Detector
    Purpose: C2-like intervals.
    Integrations: Proxy/NetFlow, FFT periodicity (Function/Code).
    Flow: Pull flows β†’ Compute periodogram β†’ Alert candidates.

  11. URL Detonation Pipeline
    Purpose: Classify links from alerts.
    Integrations: urlscan.io, VT, Screenshot API, S3.
    Flow: For each URL β†’ Scan β†’ Take screenshot β†’ Store & return verdict.

  12. Abuse Mailbox Automation
    Purpose: Triage employee-reported spam.
    Integrations: IMAP, Regex extractor, Jira.
    Flow: Read inbox β†’ Extract IOCs β†’ Enrich β†’ Auto-close or escalate.

  13. Threat Actor Tracker
    Purpose: Follow APT infra changes.
    Integrations: TI feeds, ASN/IP whois.
    Flow: Monitor named actor sets β†’ Update watchlists β†’ Digest.

  14. SOAR Containment Buttons
    Purpose: Semi-auto block actions.
    Integrations: EDR isolate, FW/WAF IP block, Okta suspend.
    Flow: Slack action β†’ n8n webhook β†’ Execute API call β†’ Confirm.

  15. Cloud Config Drift Watch
    Purpose: Detect risky cloud changes.
    Integrations: AWS/GCP/Azure config APIs, Jira.
    Flow: Hourly diff β†’ If public/privilege escalation β†’ Ticket.

  16. S3 Public Object Sentinel
    Purpose: Alert on public ACLs.
    Integrations: AWS S3, Slack.
    Flow: ListObjectsV2 β†’ Check ACL β†’ Alert + Fix suggestion.

  17. Exposed Secret Honeypot
    Purpose: Leak detector.
    Integrations: Canarytokens webhook, TI DB.
    Flow: Receive trigger β†’ Enrich β†’ Block list update.

  18. Endpoint Tamper Watch
    Purpose: Detect EDR kill/disable.
    Integrations: EDR events, Slack paging.
    Flow: Subscribe β†’ IF tamper β†’ Page & open incident.

  19. Macro Risk Scorer
    Purpose: Rate Office attachments.
    Integrations: O365/Google, OLE parser (Function), VT.
    Flow: Download β†’ Analyze β†’ Score β†’ Verdict email.

  20. Okta MFA Fatigue Monitor
    Purpose: MFA spam pattern detection.
    Integrations: Okta logs, Slack/Jira.
    Flow: Count prompts/user window β†’ If abnormal β†’ Alert.

  21. Brute-Force Heatmap
    Purpose: Visualize auth failures.
    Integrations: SIEM query, Grafana/Looker.
    Flow: Daily extract β†’ Aggregate β†’ Publish dashboard.

  22. Insider Data Egress Guard
    Purpose: Sensitive files egress spikes.
    Integrations: DLP logs, Drive/OneDrive APIs.
    Flow: Pull file events β†’ Thresholds β†’ Escalate.

  23. Malspam Campaign Correlator
    Purpose: Cluster similar emails.
    Integrations: IMAP, TLS certs, Sending IP.
    Flow: Group by features β†’ Label clusters β†’ Report.

  24. IR War Room Orchestrator
    Purpose: Spin up channel + checklist.
    Integrations: Slack/Teams, Confluence, PagerDuty.
    Flow: Webhook incident β†’ Create channel β†’ Post runbook β†’ Page roles.

  25. Asset Risk Joiner
    Purpose: Merge asset CMDB + vuln + EDR.
    Integrations: ServiceNow, Qualys/Tenable, EDR.
    Flow: Nightly join β†’ Ownership mapping β†’ Top 10 risky assets.

  26. Threat Hunt Notebook Seeds
    Purpose: Push IOCs to detections.
    Integrations: SAVED searches, Jupyter links.
    Flow: TI change β†’ Generate hunt queries β†’ Post to SOC channel.

  27. GeoIP Block Auto-Update
    Purpose: Keep geo blocks fresh.
    Integrations: Firewall API, GeoIP DB.
    Flow: Monthly refresh β†’ Apply policy β†’ Verify.

  28. Password Leak Monitor
    Purpose: Compromised creds watch.
    Integrations: HaveIBeenPwned (k-Anon), HR DB, Email.
    Flow: Hash search β†’ If match β†’ Notify user + force reset.

  29. Public Paste Scraper
    Purpose: Keys/emails leaks.
    Integrations: Pastebin/GitHub search, Regex, Jira.
    Flow: Crawl β†’ Extract β†’ De-dupe β†’ Tickets.

  30. SOC Daily Briefing Builder
    Purpose: Morning digest.
    Integrations: SIEM top alerts, TI deltas, Open incidents.
    Flow: 07:30 Cron β†’ Compile β†’ Email/Slack brief.

  31. Endpoint Golden Image Drift
    Purpose: Detect drift from baseline.
    Integrations: EDR inventory, Hash lists.
    Flow: Weekly compare β†’ Deviations β†’ Fix tasks.

  32. VPN Anomaly Detector
    Purpose: Abnormal session length/volume.
    Integrations: VPN logs, Function.
    Flow: Aggregate β†’ Z-score outliers β†’ Alert.

  33. Shadow Admin Finder
    Purpose: Hidden/high-priv accounts.
    Integrations: AD/Azure AD, IAM APIs.
    Flow: Enumerate roles β†’ Diff vs registry β†’ Notify.

  34. Email Auth Health (SPF/DKIM/DMARC)
    Purpose: Prevent spoofing.
    Integrations: DNS checks, DMARC reports parse.
    Flow: Weekly check β†’ Score β†’ Action items.

  35. Webhook Abuse Sentinel
    Purpose: Detect mass webhook fires.
    Integrations: API gateways, Rate metrics.
    Flow: Monitor β†’ Threshold β†’ Block rule.

  36. Printer/OT Device Watch
    Purpose: OT anomalies.
    Integrations: Syslog/NetFlow, OT vendor API.
    Flow: Collect β†’ Rules β†’ Notify OT team.

  37. SSL/TLS Weak Cipher Patrol
    Purpose: Find weak suites.
    Integrations: sslscan/sslyze, DB.
    Flow: Scan β†’ Parse β†’ Jira tasks.


C. Application Security / DevSecOps (25)

  1. SAST on PR with Semgrep
    Purpose: PR-time static analysis.
    Integrations: GitHub/GitLab, Semgrep (Docker), Jira.
    Flow: Webhook PR β†’ Run Semgrep β†’ Annotate checks β†’ Fail/Pass β†’ Ticket.

  2. DAST Nightly with ZAP
    Purpose: Crawl/scan staging.
    Integrations: ZAP API, Slack, HTML report to S3.
    Flow: Cron β†’ ZAP Spider+Active β†’ Threshold β†’ Notify.

  3. Software Composition Analysis
    Purpose: Dependency vulns.
    Integrations: Trivy/Grype, GH Dependabot API.
    Flow: Build event β†’ Scan β†’ SBOM β†’ Gate release.

  4. Container Image Policy Gate
    Purpose: Block critical CVEs.
    Integrations: Trivy, Registry API, ArgoCD.
    Flow: Push β†’ Scan β†’ If critical β†’ Block tag β†’ Notify.

  5. IaC Misconfig Scanner
    Purpose: Terraform/K8s checks.
    Integrations: Checkov/Terraform Cloud, Jira.
    Flow: PR β†’ Scan β†’ Inline findings β†’ Ticket.

  6. Secrets Scanner
    Purpose: Prevent key leaks.
    Integrations: TruffleHog/Gitleaks, Slack.
    Flow: Commit hook β†’ Scan β†’ Quarantine secrets β†’ Rotate reminder.

  7. CICD SBOM + Provenance
    Purpose: SLSA-ish attestations.
    Integrations: Syft, Cosign, Registry.
    Flow: Build β†’ SBOM β†’ Sign β†’ Attach to artifact.

  8. API Contract Drift Guard
    Purpose: OpenAPI drift alerts.
    Integrations: SwaggerHub/Postman, ZAP passive.
    Flow: PR β†’ Diff OpenAPI β†’ Raise change approvals.

  9. GraphQL Introspection Guard
    Purpose: Block introspection in prod.
    Integrations: HTTP check, WAF rule.
    Flow: Daily check β†’ If enabled β†’ Open ticket β†’ Push WAF fix.

  10. CSP/Headers Compliance
    Purpose: Security headers baseline.
    Integrations: HTTP HEAD, Report-Only evaluation.
    Flow: Crawl β†’ Evaluate headers β†’ Gap report.

  11. File Upload Abuse Tests
    Purpose: MIME bypass, polyglots.
    Integrations: ZAP/Custom scripts, S3.
    Flow: Test set β†’ Upload β†’ Analyze response β†’ Raise bugs.

  12. SSRF Canary Test Pack
    Purpose: Validate egress filters.
    Integrations: Canary endpoint, Logs.
    Flow: Send crafted URLs β†’ Check callbacks β†’ Report.

  13. Rate Limit & AuthZ Fuzzer
    Purpose: Business logic flaws.
    Integrations: Ffuf/Katana, Test users.
    Flow: Scenario runner β†’ Detect 429/401 gaps β†’ Ticket.

  14. Mobile AppSec via MobSF
    Purpose: APK/IPA scans.
    Integrations: MobSF API, Slack.
    Flow: Upload build β†’ Scan β†’ Risk grade β†’ Gating.

  15. Dependency Auto-PR Remediator
    Purpose: Auto-bump libs.
    Integrations: Renovate/Bot, CI checks.
    Flow: Nightly β†’ Raise PRs β†’ Tag owners β†’ Merge if green.

  16. Static Secrets Rotation Helper
    Purpose: Track key ages.
    Integrations: Vault/Secrets Manager, Git repos.
    Flow: Inventory secrets β†’ Age calc β†’ Reminders.

  17. App Attack Telemetry Loop
    Purpose: Replay prod attacks in staging.
    Integrations: WAF logs, ZAP replay.
    Flow: Extract patterns β†’ Generate cases β†’ Scan staging.

  18. Compliance Pack (PCI/SOC2)
    Purpose: Control checks evidence.
    Integrations: Cloud APIs, CI logs, Jira.
    Flow: Monthly pull β†’ Evidence bundle β†’ Confluence.

  19. Feature-Flag Abuse Tests
    Purpose: Access control around flags.
    Integrations: FF platform API, Test scripts.
    Flow: Enumerate flags β†’ Try cross-role access β†’ Report.

  20. CORS/Redirect Weakness Finder
    Purpose: Misconfig combos.
    Integrations: HTTP checks, Regex rules.
    Flow: Crawl β†’ Test origins β†’ Flag dangerous combos.

  21. Session Management Validations
    Purpose: Cookie scope, rotation.
    Integrations: HTTP, ZAP scripts.
    Flow: Login β†’ Action β†’ Invalidate β†’ Verify.

  22. CI Artifact Leakage Guard
    Purpose: Private artifact exposure.
    Integrations: CI API, Bucket scans.
    Flow: Enumerate β†’ Try fetch unauth β†’ Ticket.

  23. Access Tokens Exposure Watch
    Purpose: Public repo/token sprawl.
    Integrations: GH/GitLab search API, Regex.
    Flow: Search org β†’ Alert β†’ Revoke/rotate tasks.

  24. SCA License Compliance
    Purpose: License policies.
    Integrations: FOSSology/Trivy, Jira.
    Flow: Analyze SBOM β†’ Violations β†’ Tickets.

  25. Perf & Sec Regression Join
    Purpose: Correlate perf + sec.
    Integrations: k6/Gatling, ZAP.
    Flow: Run both β†’ Correlate regressions with vulns β†’ Gate release.


D. Platform & General Security (10)

  1. Vuln Digest with Prioritization
    Purpose: CVEs β†’ asset exposure β†’ exploitability.
    Integrations: NVD, EPSS/KEV, CMDB, Jira.
    Flow: Fetch CVEs β†’ Join assets β†’ Score(EPSS+KEV) β†’ Ticket.

  2. TLS Expiry & Rotation Planner
    Purpose: No surprise expirations.
    Integrations: crt.sh, Cert managers, Calendar.
    Flow: Gather expiring β†’ Create rotation plan β†’ Email owners.

  3. Risk Register Auto-Curator
    Purpose: Keep risks current.
    Integrations: Jira/ServiceNow, Sheets.
    Flow: Weekly sync β†’ Archive stale β†’ Nudge owners.

  4. Backup Integrity & RPO Check
    Purpose: Validate backup SLAs.
    Integrations: Backup API, Hashing, Slack.
    Flow: Verify jobs β†’ Sample restore hash β†’ Report.

  5. Data Classification Guardrails
    Purpose: Tag data & control spread.
    Integrations: DLP, Drive/SharePoint APIs.
    Flow: Scan labels β†’ If sensitive in public β†’ Auto-restrict.

  6. Geo Blocklist Lifecycle
    Purpose: Maintain geo policy.
    Integrations: GeoIP, FW APIs.
    Flow: Quarterly review β†’ Update rules β†’ Validate reachability.

  7. Security Awareness Insights
    Purpose: Trend training vs incidents.
    Integrations: LMS, SIEM, BI tool.
    Flow: Join datasets β†’ KPI report β†’ Exec summary.

  8. Red↔Blue Exercise Loop (Purple)
    Purpose: Simulate, detect, improve.
    Integrations: ATT&CK set, ZAP/Caldera/Atomic, SIEM/EDR.
    Flow: Plan techniques β†’ Execute β†’ Collect detections β†’ Create engineering tasks.


E. Reference Integrations

Recon/Offensive: Subfinder, Amass, Naabu, Nmap, Masscan, Shodan, Censys, WhatWeb/Wappalyzer, ffuf, ZAP, Katana, Metasploit, Sliver, Havoc, Cobalt Strike (events).
Blue/SOC: Splunk, Elastic, CrowdStrike, Defender for Endpoint, Okta/Azure AD/Google Workspace, MISP, AlienVault OTX, VirusTotal, AbuseIPDB, urlscan.io, AnyRun/Cuckoo.
AppSec/DevSecOps: Semgrep, Trivy/Grype, Checkov, MobSF, Syft/Cosign, Renovate, Dependabot, SwaggerHub/Postman.
Cloud/Infra: AWS (S3, IAM, Config), GCP (Storage, IAM, SCC), Azure (Blob, Graph), Vault/Secrets Manager.
Collab/Ticketing: Slack, Microsoft Teams, Jira, ServiceNow, Confluence, Gmail/Outlook.
Data/Storage: PostgreSQL, TimescaleDB, Elastic, MongoDB, S3/GCS/Azure Blob, Google Sheets.


F. Import & Build Tips

  • Node choices: Prefer HTTP Request for APIs, Execute Command for scanners, Function/Code for glue logic, IF/Switch for decisions, Split In Batches for lists, Merge for joins, Wait for pacing/rate-limits.
  • Credentials: Use n8n Credentials securely; never hard-code secrets in Function nodes.
  • Idempotency: Upsert to DB and include de-dupe keys (hashes, IOC values, domain).
  • Observability: Add Run IDs, trace context, and metrics counters (success/fail, new/duplicate).
  • Safety: Offensive workflows must run only in authorized scope

About

Security automation with n8n ideas: 100+ Red/Blue/AppSec workflows, integrations, and ready-to-run playbooks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published