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

Abierto
#49 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
powershell
Área
security

Línea de trabajo

Comience con los puntos de entrada Get-WinAdTrust y Show-WinAdTrust, centrándose en cómo TrustStatus y QueryStatus realizan sus comprobaciones WMI y la resolución del grupo Administrator. Reproduzca los resultados con una cuenta estándar, incluidos los fideicomisos únicamente entrantes, y determine qué comportamiento debe considerarse correcto para la supervisión.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
PowerShell
Estrellas
559
Forks
71
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de EvotecIT/ADEssentials

Todos los issues de EvotecIT/ADEssentials

Issues similares

Más issues de Security

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.