Skip to content

Integrate SLMP (Mitsubishi MELSEC) Zeek parser #1306

Description

@mmguero

Discussed in #1302

Originally posted by Johnbjoseph-cybersec November 13, 2026
Hello Malcolm team,

I've published a Zeek package that parses SLMP, the message protocol used by Mitsubishi Electric MELSEC PLCs: https://github.com/Johnbjoseph-cybersec/zeek-slmp

It's a Spicy analyzer for the binary 3E, 4E and station number extension frames over TCP and UDP. It writes slmp.log with one line per request/response pair:

  • command and subcommand;
  • device addresses for reads and writes, such as D100 and X20;
  • remote RUN, STOP, PAUSE and RESET;
  • the CPU model from Read Type Name;
  • end codes.

As far as I can tell, Malcolm's ICS coverage doesn't include MELSEC Ethernet traffic yet. The only other SLMP parser I found (nttcom/zeek-parser-CCLinkTSNSLMP) covers SLMP carried over CC-Link IE TSN.

Would you consider including it? If so, I'm happy to open a PR with what Malcolm needs: the slmp.log field mappings, the index template, dashboards, and an entry in guess_ics_map.txt. Do you have a preferred checklist for adding a new ICS parser?

Some caveats, stated up front:

  • The tests use synthetic captures only, generated by scripts in the repo. It hasn't been run against a real controller yet.
  • ASCII frames aren't parsed.

It's also listed for zkg in zeek/packages#285.

AI use: parts of the package were written with an AI coding assistant (Claude). I reviewed the output and ran the btests from a fresh clone. The README notes this too.

John B Joseph, Co-founder & CPTO, Purplecop Security

Activity

  1. added this to the v26.12.0 milestone on Nov 17, 2026
  2. self-assigned this
    on Nov 17, 2026
  3. added theissue type on Nov 17, 2026
  4. added
    zeekRelating to Malcolm's use of Zeek
    logstashRelating to Malcolm's use of Logstash
    icsRelating to ICS (Industrial Control Systems) devices
    externalDepends on a bug or feature external to this project
    arkimeRelating to Malcolm's use of Arkime
    dashboardsRelating to Malcolm's OpenSearch Dashboards interface
    on Nov 17, 2026
  5. moved this to Todo (develop) in Malcolmon Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arkimeRelating to Malcolm's use of ArkimedashboardsRelating to Malcolm's OpenSearch Dashboards interfaceexternalDepends on a bug or feature external to this projecticsRelating to ICS (Industrial Control Systems) deviceslogstashRelating to Malcolm's use of LogstashzeekRelating to Malcolm's use of Zeek

Fields

No fields configured for Feature.

Projects

  • Status
    Todo (develop)

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions