Unix 套接字连接

编辑

此规则监控通过 Unix 套接字进行的进程间通信。攻击者可能会尝试与本地 Unix 套接字通信以枚举应用程序详细信息,查找漏洞/配置错误,并可能提升权限或通过 Unix 套接字建立恶意通信通道进行进程间通信以试图逃避检测。

规则类型: eql

规则索引:

  • logs-endpoint.events.*
  • endgame-*
  • auditbeat-*
  • logs-auditd_manager.auditd-*

严重性: 低

风险评分: 21

每隔: 5m

搜索索引时间范围: now-9m (日期数学格式,另请参阅 附加回溯时间)

每次执行的最大告警数: 100

参考: 无

标签:

  • 域:端点
  • 操作系统:Linux
  • 用例:威胁检测
  • 战术:执行
  • 数据源:Elastic Defend
  • 数据源:Elastic Endgame
  • 数据源:Auditd Manager

版本: 3

规则作者:

  • Elastic

规则许可证: Elastic License v2

规则查询

编辑
process where host.os.type == "linux" and event.type == "start" and event.action in ("exec", "exec_event", "executed", "process_started")
 and (
  (process.name in ("nc", "ncat", "netcat", "nc.openbsd") and
   process.args == "-U" and process.args : ("/usr/local/*", "/run/*", "/var/run/*")) or
  (process.name == "socat" and
   process.args == "-" and process.args : ("UNIX-CLIENT:/usr/local/*", "UNIX-CLIENT:/run/*", "UNIX-CLIENT:/var/run/*"))
) and
not process.args == "/var/run/libvirt/libvirt-sock"

框架: MITRE ATT&CKTM