<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>N2H4</title>
    <description>Blog N2h$</description>
    <link>http://blog.n2h4.es</link>
    <atom:link href="http://blog.n2h4.es/feed.xml" rel="self" type="application/rss+xml" />
    <author>
      <name>Anibal Canada</name>
      <email>anibal at n2h4 dot es</email>
      <uri>https://ns2switch.github.io/"</uri>
    </author>
    
      <item>
        <title>IRMind: un asistente de IA para respuesta a incidentes, en la terminal y con registro firmado</title>
        <description>&lt;p&gt;Llevo meses trabajando en un proyecto personal que por fin está en un punto en el que me apetece enseñarlo: &lt;strong&gt;IRMind&lt;/strong&gt;, un asistente de IA de código libre para respuesta a incidentes y análisis forense, que funciona en la terminal.&lt;/p&gt;

&lt;p&gt;La idea de partida era sencilla: tener algo parecido a Claude Code, pero pensado para forense. Una herramienta con la que conversar mientras investigas, que cargue metodologías especializadas cuando hacen falta y que pueda repartir trabajo en paralelo. Y, sobre todo, que no comprometa lo que en DFIR no se puede comprometer: la evidencia y la trazabilidad de lo que se ha hecho con ella.&lt;/p&gt;

&lt;p&gt;Repositorio: &lt;a href=&quot;https://github.com/ns2switch/irmind&quot;&gt;github.com/ns2switch/irmind&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;por-qué-otra-herramienta&quot;&gt;Por qué otra herramienta&lt;/h2&gt;

&lt;p&gt;Durante el curso &lt;a href=&quot;https://www.sans.org/cyber-security-courses/enterprise-cloud-forensics-incident-response/&quot;&gt;SANS FOR509&lt;/a&gt; (Enterprise Cloud Forensics and Incident Response) volví a ver algo que ya conocía de la práctica: una investigación en la nube implica saltar entre CloudTrail, Entra ID, los registros de auditoría de Google Cloud, Kubernetes, el EDR, los logs de los servidores… Cada fuente tiene su formato, sus campos y sus trampas. Mucho tiempo se va en normalizar, buscar y correlacionar, más que en pensar.&lt;/p&gt;

&lt;p&gt;Los modelos de lenguaje ayudan mucho en esa parte, pero meter un LLM en una investigación plantea problemas serios:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;La evidencia es hostil.&lt;/strong&gt; Un log puede contener texto preparado para manipular al modelo (prompt injection). Un nombre de fichero, un user agent o el asunto de un correo bastan.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;El modelo no debería decidir qué se ejecuta.&lt;/strong&gt; Puede proponer una consulta o una búsqueda externa, pero alguien tiene que comprobar que eso está dentro del alcance del caso.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Hay que poder demostrar qué pasó.&lt;/strong&gt; Si una conclusión acaba en un informe, tiene que poder reconstruirse qué evidencia la sostiene y qué hizo la herramienta para llegar a ella.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;IRMind nace para resolver esas tres cosas.&lt;/p&gt;

&lt;h2 id=&quot;el-principio-el-modelo-propone-la-política-decide-y-todo-queda-firmado&quot;&gt;El principio: el modelo propone, la política decide y todo queda firmado&lt;/h2&gt;

&lt;p&gt;El flujo básico es este:&lt;/p&gt;

&lt;div class=&quot;language-text highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;Analista → TUI → caso + política → conector autorizado → evidencia local
                    ↑        ↓
                  modelo   cadena de auditoría firmada
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ol&gt;
  &lt;li&gt;El modelo sugiere una llamada a una herramienta: una consulta sobre la línea temporal, cargar una skill, un enriquecimiento externo…&lt;/li&gt;
  &lt;li&gt;La &lt;strong&gt;política&lt;/strong&gt; comprueba la herramienta, los argumentos, el alcance del caso, el modo de ejecución y los límites. Las llamadas externas requieren una aprobación firmada por el analista.&lt;/li&gt;
  &lt;li&gt;Los conectores aprobados devuelven evidencia que se queda en local. El modelo solo ve una copia acotada y marcada como &lt;strong&gt;no confiable&lt;/strong&gt;, delimitada para que no pueda confundirla con instrucciones.&lt;/li&gt;
  &lt;li&gt;Cada propuesta, decisión, resultado y cambio en el caso queda en un &lt;strong&gt;registro de auditoría encadenado y firmado&lt;/strong&gt; con Ed25519. Al final, el caso se puede sellar, exportar y verificar de forma independiente.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;No hay ningún modelo activado por defecto. Puedes ingerir, consultar y verificar evidencia sin usar IA.&lt;/p&gt;

&lt;h2 id=&quot;qué-puede-hacer-hoy&quot;&gt;Qué puede hacer hoy&lt;/h2&gt;

&lt;h3 id=&quot;ingesta-y-normalización&quot;&gt;Ingesta y normalización&lt;/h3&gt;

&lt;p&gt;IRMind detecta automáticamente el formato de cada fuente y activa el parser correspondiente. Cada evento se normaliza a un esquema común basado en un subconjunto de ECS y se guarda en Parquet, junto con el hash del original. Algunos de los formatos soportados:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Nube:&lt;/strong&gt; AWS CloudTrail y GuardDuty, Microsoft Entra ID y Microsoft 365, Okta, Google Cloud Audit Logs.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Kubernetes:&lt;/strong&gt; audit logs de EKS, GKE y AKS, y alertas de Falco.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Windows:&lt;/strong&gt; EVTX, procesado en un proceso auxiliar aislado (sandbox).&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Linux:&lt;/strong&gt; auth, auditd, journald, syslog, nginx y Apache.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Herramientas DFIR:&lt;/strong&gt; Velociraptor, Hayabusa, Chainsaw, plaso, EZTools, Zeek y Suricata.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Genéricos:&lt;/strong&gt; JSON, ECS, OCSF y un parser declarativo para formatos tabulares.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;También tiene conectores, todos experimentales y desactivados hasta que los configuras, para Elastic, Splunk, Google SecOps, CrowdStrike, SentinelOne, MISP y VirusTotal, y para descargar evidencia de S3, GCS y Azure Blob.&lt;/p&gt;

&lt;h3 id=&quot;skills-forenses&quot;&gt;Skills forenses&lt;/h3&gt;

&lt;p&gt;Las &lt;strong&gt;skills&lt;/strong&gt; son metodologías de investigación empaquetadas: compromiso de credenciales en AWS, exfiltración desde S3, compromiso de identidad en Azure, Kubernetes, Windows, Linux, red… Cada una declara qué fuentes necesita y qué huecos de cobertura tiene. El modelo las carga solo cuando hacen falta, así que no se gasta contexto en lo que no se usa.&lt;/p&gt;

&lt;p&gt;Las skills &lt;strong&gt;nunca amplían permisos&lt;/strong&gt;: una skill puede guiar la investigación, pero no puede saltarse la política. Además, su uso queda registrado y firmado en el caso.&lt;/p&gt;

&lt;p&gt;Viven en un repositorio aparte, &lt;a href=&quot;https://github.com/ns2switch/irmind-skills&quot;&gt;ns2switch/irmind-skills&lt;/a&gt;, para que cualquiera pueda proponer mejoras o metodologías nuevas sin escribir una línea de Rust.&lt;/p&gt;

&lt;h3 id=&quot;subagentes-en-paralelo&quot;&gt;Subagentes en paralelo&lt;/h3&gt;

&lt;p&gt;Para tareas grandes, IRMind puede repartir el trabajo entre &lt;strong&gt;subagentes&lt;/strong&gt; con tareas acotadas. Por ejemplo, uno revisa la actividad de identidad mientras otro analiza el acceso a datos. Los planes son visibles antes de ejecutarse y las tareas se siguen con &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/subagents&lt;/code&gt;. Se pueden cancelar sin perder el trabajo ya completado. Los subagentes no pueden crear otros subagentes ni tener más permisos que el agente principal, y comparten un único presupuesto de tokens y llamadas que defines tú.&lt;/p&gt;

&lt;h3 id=&quot;modelos&quot;&gt;Modelos&lt;/h3&gt;

&lt;p&gt;Funciona con proveedores compatibles con la API de OpenAI (incluidos modelos locales con Ollama, LM Studio o vLLM), Anthropic, DeepSeek y OpenRouter, entre otros. Tú eliges el modelo, y la evidencia que no hace falta enviar no se envía.&lt;/p&gt;

&lt;h2 id=&quot;pruébalo-en-dos-minutos&quot;&gt;Pruébalo en dos minutos&lt;/h2&gt;

&lt;p&gt;La forma más rápida de verlo es la demo guiada. No necesita API key, cuenta ni red:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;irmind demo
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;La herramienta real ejecuta una investigación sintética de diez pasos con un modelo simulado: ingesta, consultas locales, respuesta en streaming, aprobación firmada y verificación de la custodia. Al salir se borran el caso y las claves temporales.&lt;/p&gt;

&lt;p&gt;En macOS se instala con Homebrew:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;brew &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;ns2switch/irmind/irmind
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Para Linux y Windows hay binarios en las &lt;a href=&quot;https://github.com/ns2switch/irmind/releases&quot;&gt;releases&lt;/a&gt;, firmados con Sigstore y con atestación de procedencia, SBOM y checksums. En la &lt;a href=&quot;https://github.com/ns2switch/irmind/blob/main/docs/platforms.md&quot;&gt;guía de plataformas&lt;/a&gt; están los pasos para verificarlos antes de instalar. Por favor, no ejecutes un script descargado de internet sin verificarlo, tampoco el mío.&lt;/p&gt;

&lt;h2 id=&quot;lo-que-todavía-no-es&quot;&gt;Lo que todavía no es&lt;/h2&gt;

&lt;p&gt;Prefiero ser claro: &lt;strong&gt;IRMind es software de evaluación, anterior a la versión 1.0, y no está validado para incidentes reales.&lt;/strong&gt; He probado una investigación completa con un modelo real (DeepSeek) sobre el dataset público de CloudTrail de Invictus IR, con skills y confirmación de hallazgos, y funciona bien. Aun así, quedan comprobaciones pendientes, y hasta la 1.0 cada versión menor puede cambiar el formato de los casos sin migración.&lt;/p&gt;

&lt;p&gt;Úsalo para aprender, evaluar y experimentar, no para tu próximo incidente en producción.&lt;/p&gt;

&lt;h2 id=&quot;qué-viene&quot;&gt;Qué viene&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Más fuentes:&lt;/strong&gt; Defender for Endpoint, CrowdStrike FDR, macOS (Unified Log y eslogger), Google Workspace, el audit log de GitHub, DNS, IIS y balanceadores, y los flow logs de AWS, Azure y GCP, con sus skills (BEC en Microsoft 365, triaje de phishing, compromiso de Okta, EDR, macOS…).&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Consultas en origen (v0.6):&lt;/strong&gt; consultar CloudTrail en Athena, Cloud Audit Logs en BigQuery y Entra ID en Log Analytics sin descargar todos los logs. El modelo nunca escribe SQL ni KQL: propone una consulta estructurada que la política valida, con un presupuesto de escaneo separado. El resultado se descarga una vez, se firma y se analiza en local.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;cómo-colaborar&quot;&gt;Cómo colaborar&lt;/h2&gt;

&lt;p&gt;El proyecto es libre (MIT o Apache-2.0) y está hecho para la comunidad. Hay varias formas de echar una mano:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Probarlo&lt;/strong&gt; y abrir issues con lo que falle o falte.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Escribir skills&lt;/strong&gt; en &lt;a href=&quot;https://github.com/ns2switch/irmind-skills&quot;&gt;irmind-skills&lt;/a&gt;. Si tienes una metodología de investigación que te funciona, ahí es donde más se nota.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Añadir parsers o mapeos.&lt;/strong&gt; Hay issues marcados como &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;good first issue&lt;/code&gt; para firewalls, proxies, DNS y otras fuentes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Si lo pruebas, me encantará saber qué te parece. Y si tienes un dataset público que crees que debería probar, también.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Repositorio:&lt;/strong&gt; &lt;a href=&quot;https://github.com/ns2switch/irmind&quot;&gt;github.com/ns2switch/irmind&lt;/a&gt;&lt;/p&gt;
</description>
        <pubDate>Thu, 19 Nov 2026 00:00:00 +0000</pubDate>
        <link>http://blog.n2h4.es//presentando-irmind</link>
        <link href="http://blog.n2h4.es/presentando-irmind"/>
        <guid isPermaLink="true">http://blog.n2h4.es/presentando-irmind</guid>
      </item>
    
      <item>
        <title>IRMind: an AI assistant for incident response, in the terminal, with a signed record</title>
        <description>&lt;p&gt;For the past few months I have been working on a personal project that is finally at a point where I want to show it: &lt;strong&gt;IRMind&lt;/strong&gt;, an open-source AI assistant for incident response and digital forensics that runs in your terminal.&lt;/p&gt;

&lt;p&gt;The starting idea was simple: something like Claude Code, but built for forensics. A tool you can talk to while you investigate, which loads specialised methodologies when they are needed and can split work across parallel tasks. Above all, it must not compromise the things DFIR cannot compromise: the evidence and the traceability of what was done with it.&lt;/p&gt;

&lt;p&gt;Repository: &lt;a href=&quot;https://github.com/ns2switch/irmind&quot;&gt;github.com/ns2switch/irmind&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-another-tool&quot;&gt;Why another tool&lt;/h2&gt;

&lt;p&gt;While taking &lt;a href=&quot;https://www.sans.org/cyber-security-courses/enterprise-cloud-forensics-incident-response/&quot;&gt;SANS FOR509&lt;/a&gt; (Enterprise Cloud Forensics and Incident Response), I was reminded of something I already knew from practice. A cloud investigation means jumping between CloudTrail, Entra ID, Google Cloud audit logs, Kubernetes, the EDR, server logs… Every source has its own format, its own fields and its own traps. A lot of time goes into normalising, searching and correlating rather than thinking.&lt;/p&gt;

&lt;p&gt;Language models help a lot with that part, but putting an LLM inside an investigation raises serious problems:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Evidence is hostile.&lt;/strong&gt; A log can contain text crafted to manipulate the model (prompt injection). A file name, a user agent or an email subject is enough.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The model should not decide what runs.&lt;/strong&gt; It can propose a query or an external lookup, but something has to check that the action is within the case scope.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;You must be able to prove what happened.&lt;/strong&gt; If a conclusion ends up in a report, you must be able to reconstruct which evidence supports it and what the tool did to get there.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;IRMind exists to solve those three things.&lt;/p&gt;

&lt;h2 id=&quot;the-principle-the-model-proposes-policy-decides-everything-is-signed&quot;&gt;The principle: the model proposes, policy decides, everything is signed&lt;/h2&gt;

&lt;p&gt;The basic flow is this:&lt;/p&gt;

&lt;div class=&quot;language-text highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;Analyst → TUI → case + policy → authorised connector → local evidence
                  ↑       ↓
                 model   signed audit chain
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;ol&gt;
  &lt;li&gt;The model suggests a tool call: a timeline query, loading a skill, an external enrichment…&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Policy&lt;/strong&gt; checks the tool, its arguments, the case scope, the execution mode and the limits. External calls need a signed analyst approval.&lt;/li&gt;
  &lt;li&gt;Approved connectors return evidence that stays local. The model only sees a bounded copy, marked as &lt;strong&gt;untrusted&lt;/strong&gt; and delimited so it cannot be mistaken for instructions.&lt;/li&gt;
  &lt;li&gt;Every proposal, decision, result and case change goes into a &lt;strong&gt;hash-chained audit log signed&lt;/strong&gt; with Ed25519. At the end, the case can be sealed, exported and independently verified.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;No model is enabled by default. You can ingest, query and verify evidence without using AI at all.&lt;/p&gt;

&lt;h2 id=&quot;what-it-can-do-today&quot;&gt;What it can do today&lt;/h2&gt;

&lt;h3 id=&quot;ingestion-and-normalisation&quot;&gt;Ingestion and normalisation&lt;/h3&gt;

&lt;p&gt;IRMind detects each source’s format automatically and activates the matching parser. Each event is normalised to a common schema based on a subset of ECS and stored in Parquet, alongside the hash of the original. Some of the supported formats:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Cloud:&lt;/strong&gt; AWS CloudTrail and GuardDuty, Microsoft Entra ID and Microsoft 365, Okta, Google Cloud Audit Logs.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Kubernetes:&lt;/strong&gt; EKS, GKE and AKS audit logs, and Falco alerts.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Windows:&lt;/strong&gt; EVTX, processed in an isolated, sandboxed helper process.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Linux:&lt;/strong&gt; auth, auditd, journald, syslog, nginx and Apache.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;DFIR tools:&lt;/strong&gt; Velociraptor, Hayabusa, Chainsaw, plaso, EZTools, Zeek and Suricata.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Generic:&lt;/strong&gt; JSON, ECS, OCSF and a declarative parser for tabular formats.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are also connectors for Elastic, Splunk, Google SecOps, CrowdStrike, SentinelOne, MISP and VirusTotal, and for pulling evidence from S3, GCS and Azure Blob. All of them are experimental and stay disabled until you configure them.&lt;/p&gt;

&lt;h3 id=&quot;forensic-skills&quot;&gt;Forensic skills&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Skills&lt;/strong&gt; are packaged investigation methodologies: AWS credential compromise, S3 data exfiltration, Azure identity compromise, Kubernetes, Windows, Linux, network… Each one declares which sources it needs and where its coverage gaps are. The model loads them only when needed, so no context is spent on what is not used.&lt;/p&gt;

&lt;p&gt;Skills &lt;strong&gt;never extend permissions&lt;/strong&gt;: a skill can guide the investigation, but it cannot bypass policy. Its use is also recorded and signed in the case.&lt;/p&gt;

&lt;p&gt;They live in a separate repository, &lt;a href=&quot;https://github.com/ns2switch/irmind-skills&quot;&gt;ns2switch/irmind-skills&lt;/a&gt;, so anyone can propose improvements or new methodologies without writing a line of Rust.&lt;/p&gt;

&lt;h3 id=&quot;parallel-subagents&quot;&gt;Parallel subagents&lt;/h3&gt;

&lt;p&gt;For larger tasks, IRMind can split the work between &lt;strong&gt;subagents&lt;/strong&gt; with bounded tasks. For example, one reviews identity activity while another analyses data access. Plans are visible before they run, and you follow the tasks with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/subagents&lt;/code&gt;. You can cancel them without losing work that already finished. Subagents cannot spawn further subagents or hold more permissions than the main agent, and they share a single token and call budget that you define.&lt;/p&gt;

&lt;h3 id=&quot;models&quot;&gt;Models&lt;/h3&gt;

&lt;p&gt;It works with OpenAI-compatible providers (including local models with Ollama, LM Studio or vLLM), Anthropic, DeepSeek and OpenRouter, among others. You choose the model, and evidence that does not need to be sent is not sent.&lt;/p&gt;

&lt;h2 id=&quot;try-it-in-two-minutes&quot;&gt;Try it in two minutes&lt;/h2&gt;

&lt;p&gt;The quickest way to see it is the guided demo. It needs no API key, account or network:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;irmind demo
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The real tool runs a ten-step synthetic investigation with a scripted model: ingestion, local queries, a streaming response, a signed approval and custody verification. The temporary case and keys are deleted when you exit.&lt;/p&gt;

&lt;p&gt;On macOS, install it with Homebrew:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;brew &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;ns2switch/irmind/irmind
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;For Linux and Windows there are binaries in the &lt;a href=&quot;https://github.com/ns2switch/irmind/releases&quot;&gt;releases&lt;/a&gt;, signed with Sigstore and shipped with provenance attestations, an SBOM and checksums. The &lt;a href=&quot;https://github.com/ns2switch/irmind/blob/main/docs/platforms.md&quot;&gt;platform guide&lt;/a&gt; explains how to verify them before installing. Please do not run a script downloaded from the internet without verifying it, mine included.&lt;/p&gt;

&lt;h2 id=&quot;what-it-is-not-yet&quot;&gt;What it is not yet&lt;/h2&gt;

&lt;p&gt;To be clear: &lt;strong&gt;IRMind is pre-1.0 evaluation software and is not validated for real incidents.&lt;/strong&gt; I have run a full investigation with a real model (DeepSeek) on Invictus IR’s public CloudTrail dataset, including skills and finding confirmation, and it works well. There are still checks pending, though, and until 1.0 every minor version may change the case format without migration.&lt;/p&gt;

&lt;p&gt;Use it to learn, evaluate and experiment, not for your next production incident.&lt;/p&gt;

&lt;h2 id=&quot;what-is-coming&quot;&gt;What is coming&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;More sources:&lt;/strong&gt; Defender for Endpoint, CrowdStrike FDR, macOS (Unified Log and eslogger), Google Workspace, the GitHub audit log, DNS, IIS and load balancers, and AWS, Azure and GCP flow logs. They come with their skills: Microsoft 365 BEC, phishing triage, Okta compromise, EDR, macOS…&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Source-side queries (v0.6):&lt;/strong&gt; query CloudTrail in Athena, Cloud Audit Logs in BigQuery and Entra ID in Log Analytics without downloading every log. The model never writes SQL or KQL: it proposes a structured query that policy validates, with a separate scan budget. The result is fetched once, signed and analysed locally.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;how-to-contribute&quot;&gt;How to contribute&lt;/h2&gt;

&lt;p&gt;The project is free software (MIT or Apache-2.0) and is built for the community. There are several ways to help:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Try it&lt;/strong&gt; and open issues for whatever breaks or is missing.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Write skills&lt;/strong&gt; in &lt;a href=&quot;https://github.com/ns2switch/irmind-skills&quot;&gt;irmind-skills&lt;/a&gt;. If you have an investigation methodology that works for you, that is where it makes the biggest difference.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Add parsers or mappings.&lt;/strong&gt; There are issues labelled &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;good first issue&lt;/code&gt; for firewalls, proxies, DNS and other sources.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you try it, I would love to hear what you think. And if you know a public dataset you think it should be tested against, please tell me too.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Repository:&lt;/strong&gt; &lt;a href=&quot;https://github.com/ns2switch/irmind&quot;&gt;github.com/ns2switch/irmind&lt;/a&gt;&lt;/p&gt;
</description>
        <pubDate>Thu, 19 Nov 2026 00:00:00 +0000</pubDate>
        <link>http://blog.n2h4.es//introducing-irmind</link>
        <link href="http://blog.n2h4.es/introducing-irmind"/>
        <guid isPermaLink="true">http://blog.n2h4.es/introducing-irmind</guid>
      </item>
    
      <item>
        <title>Telegram malware analysis tool</title>
        <description>&lt;p&gt;Telegram is a messaging client that among its multiple functionalities includes the creation of bots, the creation of channels or mega groups, as well as the distribution of multimedia content.
Also, one of its main features is privacy, so it has had a boom in use among communities that previously communicated only through the Deep web and has caused them to choose this platform to distribute their content or coordinate their activities.&lt;/p&gt;

&lt;p&gt;In addition, it allows free and unlimited storage on its servers, so it has been used to store or distribute content that don’t want to be indexed by search engines.&lt;/p&gt;

&lt;p&gt;Telegram also provides an API, where clients and bots can be developed to add more features to the messaging network.&lt;/p&gt;

&lt;p&gt;Using this API, clients can be programmed to automate actions or create conversational bots that simulate a human behind a keyboard.&lt;/p&gt;

&lt;p&gt;These advantages have led to an increasing number of people who used to carry out their activities on the dark web to migrate their activity to this platform.&lt;/p&gt;

&lt;p&gt;With this in mind, I have been developing that enters channels, pretending to be a normal user and downloads the files shared in the channel.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;The developed bot allows the scanning of channels and uploaded software to classify possible threats that are uploaded to channels.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;These threats include copyrighted content, to different types of malware such as executables, Android apps, or documents with malicious macros inside. This Telegram bot uploads the file to &lt;strong&gt;Virustotal&lt;/strong&gt;, as well as traces the user and channel that has shared it in order to add to the IOCs detected by the website, additional content so the researcher can have a context regarding the file. In about three weeks of channel scanning, he has uploaded and scanned about 300 files from 4 channels that he has been monitoring.&lt;/p&gt;

&lt;p&gt;Of those 297 files, he has added a total of 108 new files to the virusTotal, about 30 of which have been classified as malware by at least one of the antivirus programs that scan the files on that page.&lt;/p&gt;

&lt;p&gt;This makes clear the growing activity of the platform as a meeting place for malware developers, as well as the fervent development activity of new malware. It is important for the security analyst to have as many sources of information as possible, and Telegram, like the web, is a medium that needs to be monitored for new threats in the future.&lt;/p&gt;

&lt;p&gt;Link to Github: &lt;a href=&quot;https://github.com/ns2switch/blabbot&quot;&gt;https://github.com/ns2switch/blabbot&lt;/a&gt;&lt;/p&gt;
</description>
        <pubDate>Fri, 01 Apr 2022 00:00:00 +0000</pubDate>
        <link>http://blog.n2h4.es//Telegram-blabot</link>
        <link href="http://blog.n2h4.es/Telegram-blabot"/>
        <guid isPermaLink="true">http://blog.n2h4.es/Telegram-blabot</guid>
      </item>
    
  </channel>
</rss>
