Skip to content

Commit

Permalink
Break recursion, define parent and grandparents
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrau-at-queryai committed Aug 14, 2024
1 parent a656184 commit f00313e
Show file tree
Hide file tree
Showing 4 changed files with 162 additions and 2 deletions.
9 changes: 7 additions & 2 deletions dictionary.json
Original file line number Diff line number Diff line change
Expand Up @@ -2099,6 +2099,11 @@
"description": "The given or first name of the user.",
"type": "string_t"
},
"grandparent_process": {
"caption": "Grandparent Process",
"description": "The Grandparent Process object signifies the originating process that indirectly initiates a chain of descendant processes. By tracing back through Parent Processes, the Grandparent Process object helps to map out the broader process tree, establishing a clearer picture of process lineage and inheritance.",
"type": "grandparent_process"
},
"group": {
"caption": "Group",
"description": "The group object associated with an entity such as user, policy, or rule.",
Expand Down Expand Up @@ -3196,8 +3201,8 @@
},
"parent_process": {
"caption": "Parent Process",
"description": "The parent process of this process object. It is recommended to only populate this field for the first process object, to prevent deep nesting.",
"type": "process"
"description": "The Parent Process object represents the process that initiates or spawns a new child process. This object tracks the lineage and origin of child processes, providing visibility into the hierarchical structure of process execution.",
"type": "parent_process"
},
"path": {
"caption": "Path",
Expand Down
76 changes: 76 additions & 0 deletions objects/grandparent_process.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"caption": "Grandparent Process",
"description": "The Grandparent Process object signifies the originating process that indirectly initiates a chain of descendant processes. By tracing back through Parent Processes, the Grandparent Process object helps to map out the broader process tree, establishing a clearer picture of process lineage and inheritance. Defined by D3FEND <a target='_blank' href='https://d3fend.mitre.org/dao/artifact/d3f:Process/'>d3f:Process</a>.",
"extends": "_entity",
"name": "grandparent_process",
"observable": 25,
"profiles": [
"container"
],
"attributes": {
"$include": [
"profiles/container.json"
],
"cmd_line": {
"requirement": "recommended"
},
"created_time": {
"description": "The time when the process was created/started.",
"requirement": "recommended"
},
"file": {
"description": "The process file object.",
"requirement": "recommended"
},
"integrity": {
"requirement": "optional"
},
"integrity_id": {
"requirement": "optional"
},
"lineage": {
"requirement": "optional"
},
"loaded_modules": {
"requirement": "optional"
},
"name": {
"description": "The friendly name of the process, for example: <code>Notepad++</code>.",
"type": "process_name_t"
},
"pid": {
"requirement": "recommended"
},
"sandbox": {
"requirement": "optional"
},
"session": {
"description": "The user session under which this process is running.",
"requirement": "optional"
},
"terminated_time": {
"description": "The time when the process was terminated.",
"requirement": "optional"
},
"tid": {
"requirement": "optional"
},
"uid": {
"description": "A unique identifier for this process assigned by the producer (tool). Facilitates correlation of a process event with other events for that process."
},
"user": {
"description": "The user under which this process is running.",
"requirement": "recommended"
},
"xattributes": {
"description": "An unordered collection of zero or more name/value pairs that represent a process extended attribute.",
"requirement": "optional"
}
},
"constraints": {
"at_least_one": [
"pid",
"uid"
]
}
}
76 changes: 76 additions & 0 deletions objects/parent_process.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"caption": "Parent Process",
"description": "The Parent Process object represents the process that initiates or spawns a new child process. This object tracks the lineage and origin of child processes, providing visibility into the hierarchical structure of process execution. Defined by D3FEND <a target='_blank' href='https://d3fend.mitre.org/dao/artifact/d3f:Process/'>d3f:Process</a>.",
"extends": "_entity",
"name": "parent_process",
"observable": 25,
"profiles": [
"container"
],
"attributes": {
"$include": [
"profiles/container.json"
],
"cmd_line": {
"requirement": "recommended"
},
"created_time": {
"description": "The time when the process was created/started.",
"requirement": "recommended"
},
"file": {
"description": "The process file object.",
"requirement": "recommended"
},
"integrity": {
"requirement": "optional"
},
"integrity_id": {
"requirement": "optional"
},
"lineage": {
"requirement": "optional"
},
"loaded_modules": {
"requirement": "optional"
},
"name": {
"description": "The friendly name of the process, for example: <code>Notepad++</code>.",
"type": "process_name_t"
},
"pid": {
"requirement": "recommended"
},
"sandbox": {
"requirement": "optional"
},
"session": {
"description": "The user session under which this process is running.",
"requirement": "optional"
},
"terminated_time": {
"description": "The time when the process was terminated.",
"requirement": "optional"
},
"tid": {
"requirement": "optional"
},
"uid": {
"description": "A unique identifier for this process assigned by the producer (tool). Facilitates correlation of a process event with other events for that process."
},
"user": {
"description": "The user under which this process is running.",
"requirement": "recommended"
},
"xattributes": {
"description": "An unordered collection of zero or more name/value pairs that represent a process extended attribute.",
"requirement": "optional"
}
},
"constraints": {
"at_least_one": [
"pid",
"uid"
]
}
}
3 changes: 3 additions & 0 deletions objects/process.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
"parent_process": {
"requirement": "recommended"
},
"grandparent_process": {
"requirement": "optional"
},
"pid": {
"requirement": "recommended"
},
Expand Down

0 comments on commit f00313e

Please sign in to comment.