-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestinvalidThis doesn't seem rightThis doesn't seem right
Description
The log format and keywords are not suitable for use in commercial rules.
this is a example of Here are some of the common rules:
detection:
selection:
Image|endswith: '/base64'
CommandLine|contains: '-d'
condition: selectionHere is a part of polvo's log:
{
"eventname": "processCreate",
"source": "eBPF",
"timestamp": "2025-04-09T21:01:10.023340392+09:00",
"log": "A process has been created",
"metadata": {
"Argc": 4,
"Args": [
"/usr/libexec/gvfsd-wsdd",
"--spawner",
":1.25",
"/org/gtk/gvfs/exec_spaw/110",
"",
"",
"",
"",
"",
""
],
"Command": "gvfsd",
...
"Filename": "/usr/libexec/gvfsd-wsdd",
"PID": 26423,
"PPID": 3725,
"TGID": 26423,
"UID": 1000,
"Username": "shhong"
}
}Comparing polvo's log with the common rules, we can see the following facts:
Argc&Argsare useless. We need to Combine intoCommandLine.logis useless. The description oflogwill be generated when processing Log Traces with common rules.Commandkeyword need to be redefined. Within Polvo's log,Commandhas a different meaning thanCommandLine.- It is appropriate to change the keyword to
Image, which universally refers to the path of the executable file rather thanFilename.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestinvalidThis doesn't seem rightThis doesn't seem right