Skip to content

Added macOS Sigma process_creation rules#65

Open
araesa wants to merge 4 commits intoVelocidex:masterfrom
araesa:macos-process-creation
Open

Added macOS Sigma process_creation rules#65
araesa wants to merge 4 commits intoVelocidex:masterfrom
araesa:macos-process-creation

Conversation

@araesa
Copy link
Contributor

@araesa araesa commented Mar 7, 2026

  • Added process_creation log source to MacOS.Sigma.BaseVQL so SigmaHQ process_creation rules can be compiled
  • Added MacOS.Sigma.Triage config with SigmaHQ macos process_creation rules
  • Added compileMacOSTriage Makefile target (depends on compileMacOSBaseVQL)
  • Added golden tests for BaseVQL process_creation and Triage artifact

- IndirectObjectIdentifier
- Flags

process_creation/macos/*:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check out the process tracker which does keep track of all processes and their call chains on MacOS

https://docs.velociraptor.app/blog/2022/2022-08-17-process-tracker/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in the latest commit. Now uses process_tracker_pslist() and process_tracker_get() for parent/grandparent chain resolution.

It works better than the old pslist() snapshot since it keeps history and resolves parent chains. The limitation is that macOS has no eBPF/ETW events, so the tracker syncs by polling pslist() and short-lived processes between syncs can be missed.

There is no MacOS.Events.TrackProcesses CLIENT_EVENT artifact in core yet (only Linux and Windows have one). Without it, process_tracker_pslist() falls back to pslist(). I can add the macOS tracker artifact to core Velociraptor if this PR looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants