Skip to content

Segfault after 5 minutes of no events #9

Description

@nighttardis

Running on a low activity test debian 10 system, with a filter for just process creates, and sysmon crashed after 5 minutes of not receiving any events.

Oct 14 20:39:16 lsys sysmon[1641]: Event timeout occurred (no event for 300 seconds). Reloading eBPF...
Oct 14 20:39:17 lsys sysmon[1641]: sedsid() failed.
Oct 14 20:39:17 lsys sysmon[1641]: Could not automatically discover kernel offsets.
Oct 14 20:39:17 lsys sysmon[1641]: Build and run the get_offsets module to generate the offsets config file:
Oct 14 20:39:17 lsys sysmon[1641]: /opt/sysinternalsEBPF/sysinternalsEBPF_offsets.conf
Oct 14 20:39:17 lsys sysmon[1641]: Reloaded eBPF due to event timeout
Oct 14 20:39:17 lsys kernel: [ 3109.759945] sysmon[1672]: segfault at 40 ip 00007fe5c2f867f3 sp 00007ffd73847fc0 error 4 in libsysinternalsEBPF.so[7fe5c2f64000+40000] 
Oct 14 20:39:17 lsys systemd[1]: sysmon.service: Main process exited, code=killed, status=11/SEGV
Oct 14 20:39:17 lsys systemd[1]: sysmon.service: Failed with result 'signal'.

Here's my sysmon config for reference

<Sysmon schemaversion="4.70">
        <EventFiltering>
                <RuleGroup name="" groupRelation="or">
                        <ProcessCreate onmatch="exclude"/>
                </RuleGroup>
        </EventFiltering>
</Sysmon>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions