Skip to content

Conversation

@b2ag
Copy link

@b2ag b2ag commented Jul 16, 2025

Hi,

I want to distinguish between different Electron apps that share the same Electron binary path by matching on their parent processes' command line. When started like electron app.asar, Electron seems to fork some child processes. Those processes are missing the app.asar bit of the command line and are therefor hard to map to the root application.

I'm aware that command lines can be manipulated but can't think of a better way for doing this.

I'm also not sure if ReadCmdline should be called from procmon/details.go: GetParent or from rule/operator.go: Match like I did. Feedback is welcome.

BR,
Thomas

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.

1 participant