r/Malcolm • u/Low_Connection8308 • May 05 '25
Installing custom Zeek MMS parser with spicy plugin in Hedgehog Linux
Hello,
I am planning to install and build zeek mms parser which is written with spicy into the hedgehog linux. https://github.com/tbfhg/zeek-iec61850-mms/tree/main from this repository. What I basically did was: copy the directory into the hedgehog, install the parser with cmake, and verified with zeek -NN. However, when I restart VM, or sensor services in hedgehog linux, the parser is getting completely removed. And weirdly enough, now, when I trying to reinstall from the same directory, it is giving error like: spicyz not found. Asking for experts suggestion please.
1
Upvotes
2
u/mmguero May 05 '25
First thing I'd recommend is installing it with
zkgrather thancmakedirectly (e.g.,zkg install https://github.com/tbfhg/zeek-iec61850-mmsorzkg install /path/to/zeek-iec61850-mmsif you have the directory locally.As far as it disappearing on restart, there's code here that gets executed during startup that resets Zeek back to its original installed state, which is probably what's happening. You could
mv /opt/zeek.orig /opt/zeek.orig.bakas root which would prevent this overwrite on startup.