Why I Built This Project
Lab Overview — How It Works
- LimaCharlie EDR detects a credential-dumping attempt (using LaZagne.exe).
- The detection sends data via webhook to Tines SOAR.
- Tines automatically:
- Sends a Slack alert to #alerts with formatted fields (host, file, IP, and detection type).
- Sends an HTML email with detection details and a link to isolate.
- Waits for the analyst’s approval (“Isolate this endpoint?”).
- On approval (Yes), Tines calls the LimaCharlie API to isolate the sensor.
- Finally, it verifies isolation and posts a Slack confirmation message.
Architecture Diagram
- EDR: LimaCharlie (detection & response automation)
- SOAR: Tines (workflow orchestration)
- Messaging: Slack (alerts & confirmation)
- Email: Gmail SMTP (HTML-styled notifications)
- Environment: Windows 11 VM on Vultr (monitored by LimaCharlie agent)
EDR event → SOAR webhook → Slack alert & email → Analyst approval → API isolation → Slack confirmation. Screenshot:
Detection Engineering — EDR Rules in LimaCharlie
The rule matches on filename, command-line string, and hash values. Key fields:
- event/FILE_CREATE or event/PROCESS_CREATE
- Condition: "LaZagne" in file path or command line
- Response: send detection event to the connected Tines webhook
SOAR Logic — Tines Workflow Breakdown
- Webhook (incoming LimaCharlie detection)
- Send to Slack → alert message with host, file path, and IP
- Send Email (HTML) → summary + isolation prompt
- Prompt (Yes/No) → analyst decision
- If Yes → Isolate host via LimaCharlie API
- Post confirmation back to Slack
Slack Integration — Alerts & Confirmation
Using the chat.postMessage API, Tines posts structured JSON messages with detection fields:
Json
{
"text": "*Abouelfaid - HackTool - LaZagne*",
"blocks": [
{ "type": "section", "text": { "type": "mrkdwn", "text": "*Host:* mydfir-soar-edr\n*File:* C:\\Users\\Admin\\Downloads\\LaZagne.exe\n*IP:* 149.28.234.5\n*Action:* Isolate?" } }
]
}