Get-WinAdTrust Show-WinAdTrust TrusStatus and QueryStatus too many NOT OK

未关闭
#49 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
powershell
领域
security

调研方向

从 Get-WinAdTrust 和 Show-WinAdTrust 入口点开始,重点关注 TrustStatus 和 QueryStatus 如何执行其 WMI 检查以及 Administrator 组解析。使用标准帐户重现结果,包括仅入站信任,并确定对于监控而言应视为正确的行为。

由索引模型根据 Issue 内容生成。

描述

Hello,
it's really not clear to us how the checks are permormed since a lot of other tools show the trusts as OK while adessential is giving NOT OK for query status for a lot of them.
We understand your description:

"You should notice two properties TrustStatus and QueryStatus. If you're a Domain Admin, what the TrustStatus will do is verify the tunnel using WMI and report if it's working correctly or not. Of course, if you're not Domain Admin, this command won't help as you won't be able to query WMI on Domain Controller. This is where QueryStatus comes in. For each trust, the command queries the Administrator group within that domain. If it can resolve it, the status is OK. If it can't, it's not. This allows you to verify trusts are working or not based on AD Query even as a standard user in your domain. Of course, it's possible the trust is working, but the way it's configured prevents you from querying users/groups on the other end of the trust."

and that
"Inbound-only trusts are verified from the trusting side."
but we have too many trusts marked as NOT OK while they are effectively OK

We see that QueryStatus is using WMI too and, since it's run as a standard account, it receives an "Access Denied".
Would you be so kind to help us on how to properly use the tool to monitor trusts status the right way ?

Thank you in advance.

Regards,
Red.

主要语言
PowerShell
星标
559
派生
71
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

EvotecIT/ADEssentials 的其他 Issue

查看 EvotecIT/ADEssentials 的全部 Issue

相似的 Issue

更多 Security Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。