Skip to content

[*] 关于 SimulatedUbuntu 的问题 #5

Description

@ChinaBluecat

这里日志是用sysdig采集的,但我们对数据进行简单统计分析后,发现一些问题:

  1. 日志应该不是直接由 sysdig -j 导出,最后的 is_warn 字段似乎是添加上的。这个标注的依据是什么?
  2. 日志中的 evt.type 类型被限定了,以下是日志内出现的各类 syscall 的统计结果。
# anomaly.json: {'read': 1580869, 'fstat': 2050523, 'write': 176712, 'clone': 5922, 'execve': 2901, 'fcntl': 4031, 'writev': 2521, 'rename': 2611, 'sendto': 531, 'recvmsg': 2790, 'recvfrom': 1278, 'sendmsg': 1348, 'accept': 136, 'chmod': 73, 'rmdir': 96}
# benign.json: {'fstat': 3080932, 'read': 11253196, 'write': 891898, 'fcntl': 13167, 'clone': 12529, 'execve': 6408, 'writev': 20962, 'rename': 21294, 'sendto': 4047, 'recvfrom': 11538, 'recvmsg': 17019, 'sendmsg': 7565, 'accept': 833, 'chmod': 266, 'rmdir': 441}

我想知道选定这些 syscall 的依据是什么,出于何种考虑,这些调用是否足够完善用于溯源图构建,还有是否存在某个未公开的过滤脚本。
比如像是 bind 的调用在日志中并未出现?还是过滤了?并且在日志中存在的 fstat 调用在实际的处理脚本中并未使用(config.py中)。

Activity

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

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