Skip to content

FPVA plugin events #27

Open
Open
@Ethane98

Description

@Ethane98

Exec calls:

  • execve: captures path/argvs/envs arguments, does not record XML trace event
  • execl, execlp, execle, execv, execvp: captures path argument, does not record XML trace event
  • execvpe, fexecve, execveat, etc: not recorded by FPVA plugin

Process calls:

  • fork: captures child pid, records XML trace event
  • clone, clone2, clone3, : not recorded by FPVA plugin
  • exit, exit_group: not recorded by FPVA plugin

File calls:

  • open, fopen: captures path argument, records XML trace event
  • openat, fdopen, freopen: not recorded by FPVA plugin
  • chmod: captures file name and mode, records XML trace event
  • close, fclose: not recorded by FPVA plugin
  • setuid, seteuid: captures username and uid, records XML trace event

Connection calls:

  • connect, accept: captures host ip and port, records XML trace event

Overall trace data:

  • pid, exe_name, working_dir, host, parent pid, real_user name and id, effective_user name and id, real_group name and id, effective_group name and id captured in XML trace
  • hostname, PID extracted directly from XML trace for python graph
  • parent PID extracted directly from XML trace, parent_exe obtained using os.path.basename during python graphing
  • init_exe and cur_exe extracted from XML trace exe_name using os.path.basename during python graphing, always the same
  • init_euid and cur_euid extracted from XML trace effective_user during python graphing, always the same

Python graphing:

  • fork, connect, accept, seteuid, execv, execve: events recorded in XML trace and parsed for python graphing
    • accept events are dropped in final graph visualization
  • send, recv, clone, exit: not recorded in XML trace but they are parsed for python graphing
  • Procedure improvements: Refactor python graph builder to ignore miscellaneous trace errors (missing fields, missing parent/child nodes). Render raw/dedup image sets separately in Javascript instead of failing if one or the other doesn't exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions