通过 XZBackdoor 潜在执行
编辑通过 XZBackdoor 潜在执行
编辑它识别通过远程 SSH 进行的潜在恶意 shell 执行,并检测 sshd 服务在成功执行后立即终止的情况,这表明存在类似于 XZ 后门的可疑行为。
规则类型: eql
规则索引:
- logs-endpoint.events.*
严重程度: 高
风险评分: 73
每隔: 5m
搜索索引时间范围: now-9m (日期数学格式,另请参见 额外回溯时间
)
每次执行的最大告警数: 100
参考:
标签:
- 领域: 端点
- 操作系统: Linux
- 用例: 威胁检测
- 战术: 凭据访问
- 战术: 持久性
- 战术: 横向移动
- 数据源: Elastic Defend
版本: 4
规则作者:
- Elastic
规则许可证: Elastic License v2
规则查询
编辑sequence by host.id, user.id with maxspan=1s [process where host.os.type == "linux" and event.type == "start" and event.action == "exec" and process.name == "sshd" and process.args == "-D" and process.args == "-R"] by process.pid, process.entity_id [process where host.os.type == "linux" and event.type == "start" and event.action == "exec" and process.parent.name == "sshd" and process.executable != null and not ( process.executable in ("/usr/sbin/sshd", "/usr/sbin/unix_chkpwd", "/usr/bin/google_authorized_keys", "/usr/bin/fipscheck") or process.args like ("rsync*", "systemctl*", "/usr/sbin/unix_chkpwd", "/usr/bin/google_authorized_keys", "/usr/sbin/aad_certhandler*") or process.command_line like "sh -c /usr/bin/env -i PATH=*" )] by process.parent.pid, process.parent.entity_id [process where host.os.type == "linux" and event.action == "end" and process.name == "sshd" and process.exit_code != 0] by process.pid, process.entity_id [network where host.os.type == "linux" and event.type == "end" and event.action == "disconnect_received" and process.name == "sshd"] by process.pid, process.entity_id
框架: MITRE ATT&CKTM
-
战术
- 名称: 持久性
- ID: TA0003
- 参考 URL: https://attack.mitre.org/tactics/TA0003/
-
技术
- 名称: 创建或修改系统进程
- ID: T1543
- 参考 URL: https://attack.mitre.org/techniques/T1543/
-
战术
- 名称: 凭据访问
- ID: TA0006
- 参考 URL: https://attack.mitre.org/tactics/TA0006/
-
技术
- 名称: 修改身份验证过程
- ID: T1556
- 参考 URL: https://attack.mitre.org/techniques/T1556/
-
战术
- 名称: 横向移动
- ID: TA0008
- 参考 URL: https://attack.mitre.org/tactics/TA0008/
-
技术
- 名称: 远程服务
- ID: T1021
- 参考 URL: https://attack.mitre.org/techniques/T1021/
-
子技术
- 名称: SSH
- ID: T1021.004
- 参考 URL: https://attack.mitre.org/techniques/T1021/004/
-
技术
- 名称: 远程服务会话劫持
- ID: T1563
- 参考 URL: https://attack.mitre.org/techniques/T1563/
-
子技术
- 名称: SSH 劫持
- ID: T1563.001
- 参考 URL: https://attack.mitre.org/techniques/T1563/001/