r/dfir • u/SubstantialEditor995 • 3h ago
Agentic triage and investigation in DFIRe Case Management
Hi all,
I've added the ability to use the self-provided AI/LLM backend in DFIRe as an agent. The agent can join a case team or lead it, and run queries on your SIEM, CMDB or other systems that support API/token based authentication.
I used this to build my own security stack by connecting Wazuh via n8n to DFIRe. Wazuh has 12 agents reporting to it, it's using the Shuffle integration to pipe things to n8n which will create a case, add the alerting endpoint as an asset and record the alert reason in the case description.
An automation in DFIRe assigns all new cases coming from DFIRe to the agent, which has it's instructions written in the DFIRe Knowledge Base. The agent reviews previous cases, searches for the endpoint and runs searches in Wazuh to determine if this is a recurring, benign activity like me typoing a sudo prompt or if there's cause to investigate further.
I have not allowed the agent to close the case, but it can downrank it's severity. It creates actions for all of it's queries, and records it's findings in case notes. I can talk to the agent in the case chat, ask it questions or assign tasks.
The Agent Connectors allow the admin to define API or MCP endpoints the agent can use, so it's not limited to what it can find inside DFIRe. I've hooked up my homelab agent to my router, VM host, Virustotal, Wazuh and a couple of other services. For every investigation, it keeps notes (estate facts) in the Knowledge Base in markdown, which allows the users to read and edit them.
I've just released 1.20.0 which enhances the agent so that it uses less tokens and can now fetch web pages and read uploaded files on the case. You could drop in a threat report or a word doc up to 8 megabytes and tell the agent to read it, extract IOCs, design log queries and execute them.
DFIRe is available to try 90 days for free here: https://dfire.fi
Pricing wise it aims for the low to mid tier budget market, so if you find it useful, it's not a massive spend to get it running at wherever you do security for a living.

