Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an event for default rule "Basic Interactive Reconnaissance" #145

Open
GLVSKiriti opened this issue Mar 19, 2024 · 7 comments
Open

Add an event for default rule "Basic Interactive Reconnaissance" #145

GLVSKiriti opened this issue Mar 19, 2024 · 7 comments

Comments

@GLVSKiriti
Copy link
Contributor

GLVSKiriti commented Mar 19, 2024

Motivation
To add an event for default rule "Basic Interactive Reconnaissance" as mentioned here

Feature

Alternatives

Additional context

@GLVSKiriti
Copy link
Contributor Author

/assign

@GLVSKiriti
Copy link
Contributor Author

GLVSKiriti commented Mar 19, 2024

@FedeDP @leogr KIndly clarify my doubt!
To generate this event conditions required are

    spawned_process 
    and recon_binaries_procs 
    and proc.tty != 0 
    and proc.is_vpgid_leader=true
proc.is_vpgid_leader: 
 'true' if this process is the leader of the virtual process group, proc.vpgid == proc.vpid. For host 
 processes vpgid and vpid reflect pgid and pid. Can help to distinguish if the process was 'directly' 
 executed for instance in a tty (similar to bash history logging, is_vpgid_leader would be 'true') or
 executed as descendent process in the same process group which for example is the case when 
 subprocesses are spawned from a script (is_vpgid_leader would be 'false').

as mentioned in documentation proc.is_vpgid_leader will be true only if we enter command manually and it will be false when we execute a command by running a script or code.

Is there a way to implement this event in Go code, or is it not feasible?

@poiana
Copy link

poiana commented Jun 17, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

@leogr
Copy link
Member

leogr commented Jun 20, 2024

/remove-lifecycle stale

@leogr
Copy link
Member

leogr commented Jun 20, 2024

/remove-lifecycle stale

@poiana
Copy link

poiana commented Sep 18, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

@poiana
Copy link

poiana commented Oct 18, 2024

Stale issues rot after 30d of inactivity.

Mark the issue as fresh with /remove-lifecycle rotten.

Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle rotten

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

No branches or pull requests

3 participants