[DOC]: Ransomware Detection example, how to produce the input data? #1209
Labels
doc
Improvements or additions to documentation
external
This issue was filed by someone outside of the Morpheus team
Needs Triage
Need team to review and classify
How would you describe the priority of this documentation request
Medium.
Describe the future/missing documentation
I asked ChatGPT which said,
The intended workflow for Morpheus likely involves automated data collection from various system components, which is then processed and analyzed for anomalies or patterns indicative of ransomware or other malicious activities. The data collection could be done through specialized software that monitors system activities and generates these JSON files. This software could be running on each client machine or could be part of a centralized monitoring system.
If you're looking to replicate this on a Linux system like Ubuntu, you could indeed write a series of Python scripts to collect similar data. However, a more scalable approach might be to use system monitoring tools that can output data in a format that Morpheus can ingest.
For example, you could use:
ps
for process listingnetstat
for network connectionslsof
for open filesenv
for environment variablesYou could then schedule these commands to run at regular intervals using
cron
and output their results to JSON files. These JSON files could then be sent to a centralized location for analysis by Morpheus.Here's a simplified example using Python to collect process list and environment variables, similar to
pslist
andenvars
:You can then schedule this script to run every 30 minutes using
cron
:This is a simplified example and may not capture all the details you need, but it should give you a starting point.
Although the example given in the repo seems to be Windows? Also, where can I learn more about the required inputs for this model? Ie. can I use it with fewer kinds of
.json
files in eachsnaphsot-x
folder or more? I saw this: https://docs.nvidia.com/morpheus/models_and_datasets.html but there's no detailed explanations of the models. Ideally I'd like to read up on each model available on Morpheus with links to source code even if that's possible (or like detailed model cards? are they called like on Hugging Face that descrtibe what the model expects in terms of input and what it outputs (shape, types, etc.). That's two questions in one issue here with priority for the first one.Where have you looked?
https://github.com/nyck33/Morpheus_nkim_fork/tree/branch-23.11/examples/ransomware_detection
https://docs.nvidia.com/morpheus/models_and_datasets.html
https://github.com/nyck33/Morpheus_nkim_fork/blob/branch-23.11/models/ransomware-models/ransomw-model-short-rf-20220126.sav
Code of Conduct
The text was updated successfully, but these errors were encountered: