8
n8n 中文网amn8n.com

🔴 RedOps 模块 5 凭证陷阱模拟

中级

这是一个SecOps领域的自动化工作流,包含 8 个节点。主要使用 If, Set, GoogleSheets, ManualTrigger 等节点。 使用 Google Sheets 模拟钓鱼攻击,用于安全意识与 SOC 测试

前置要求
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "bdR9lq4doOG81hsg",
  "meta": {
    "instanceId": "6feff41aadeb8409737e26476f9d0a45f95eec6a9c16afff8ef87a662455b6df"
  },
  "name": "🔴 RedOps 模块 5 凭证陷阱模拟",
  "tags": [
    {
      "id": "uNqHAlvBtMsP4gFd",
      "name": "Pro",
      "createdAt": "2025-07-07T09:34:20.437Z",
      "updatedAt": "2025-07-07T09:34:20.437Z"
    }
  ],
  "nodes": [
    {
      "id": "369c1ed0-5eeb-4266-a9e2-16f1afbe3343",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "09c302c8-825d-4bc2-9db6-c173fc057c27",
      "name": "⚡ 触发陷阱模拟",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1380,
        180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "bc923e83-fdcc-448a-afee-6aae62f112e8",
      "name": "📄 获取陷阱目标",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1160,
        180
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "0b324b13-0dce-404d-b787-7120fec7dd8c",
      "name": "🧹 筛选有效目标",
      "type": "n8n-nodes-base.if",
      "position": [
        -940,
        180
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "f881e16c-7793-4215-a2d4-4694944076bb",
      "name": "🎯 生成陷阱链接",
      "type": "n8n-nodes-base.set",
      "position": [
        -720,
        80
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c38c5fc5-467b-4634-b681-93b79af8cd3a",
      "name": "🪤 模拟凭证提交",
      "type": "n8n-nodes-base.set",
      "position": [
        -500,
        80
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "ad69525b-c1ac-482b-9ddc-fffde16b2384",
      "name": "📄 追加陷阱日志",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -280,
        80
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "f718681e-7008-4d35-92a3-6be22c73aaf5",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        300
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "62bc2056-3347-4f59-8238-cddab073fc0f",
  "connections": {
    "⚡ Trigger TrapSim": {
      "main": [
        [
          {
            "node": "📄 Get Trap Targets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📄 Get Trap Targets": {
      "main": [
        [
          {
            "node": "🧹 Filter Valid Targets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🎯 Generate Trap Link": {
      "main": [
        [
          {
            "node": "🪤 Simulate Credential Submission",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🧹 Filter Valid Targets": {
      "main": [
        [
          {
            "node": "🎯 Generate Trap Link",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🪤 Simulate Credential Submission": {
      "main": [
        [
          {
            "node": "📄 Append Trap Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 安全运维

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量8
分类1
节点类型5
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
Adnan Tariq

Adnan Tariq

@adnantariq

Founder of CYBERPULSE AI — helping security teams and SMEs eliminate repetitive tasks through modular n8n automations. I build workflows for vulnerability triage, compliance reporting, threat intel, and Red/Blue/GRC ops. Book a session if you'd like custom automation for your use case. https://linkedin.com/in/adnan-tariq-4b2a1a47

外部链接
在 n8n.io 查看

分享此工作流