compstatus.csv
contains information about the collection results for each system in the collection’s scope.
compstatus.csv
per local collection job (Sessions and/or Local Groups) and stores it within the log_archive
directory on the SharpHound Enterprise server. The default location for this is %APPDATA%\\Roaming\\BloodHound Enterprise
- that is, App Data for the service account running the SharpHound Enterprise service. However, you may override this location within settings.json
, see SharpHound Enterprise Local Configuration.
compstatus.csv
when run with the DumpComputerStatus
flag.
compstatus.csv
.
BloodHound Enterprise customers can reach out to their Technical Account Manager (TAM) for support in this analysis.
Alternatively, you may do your own troubleshooting by utilizing the below example PowerShell commands and the process described below the code block.
compstatus.csv
.
ComputerAvailability
check, which filters out inactive computers, so that SharpHound only connects to active computers to collect Local Groups and Sessions later on in the process.
Each active computer object is checked to see whether it is a Windows OS. Local collection is not supported for any OS besides Windows.
If the system is not a Windows OS, SharpHound will not perform additional checks on the system.
compstatus.csv
will contain a line for the system with the result Task = ComputerAvailability
and Status = NonWindowsOS
.
NonWindowsOS
; ensure that the system’s AD computer object attribute [operatingSystem](https://learn.microsoft.com/en-us/windows/win32/adschema/a-operatingsystem)
is set to a string representing a Windows OS.
ComputerPasswordResetWindow
in SharpHound’s settings.json
.
compstatus.csv
will contain a line for the system with the result Task = ComputerAvailability
and Status = PwdLastSetOutOfRange
.PwdLastSetOutOfRange
, try one of the following:
ComputerPasswordResetWindow
key in SharpHound’s settings.json
has a value corresponding to the computer’s security policy [Domain member: Maximum machine account password age](https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/domain-member-maximum-machine-account-password-age)
. By default this value is 60 days. A description of the ComputerPasswordResetWindow
value is found the article SharpHound Enterprise Local Configuration.[pwdLastSet](https://learn.microsoft.com/en-us/windows/win32/adschema/a-pwdlastset)
has been changed within the period defined in the computer’s security policy Domain member: Maximum machine account password age
compstatus.csv
will contain a line for the system with the result Task = ComputerAvailability
and Status = PortNotOpen
.PortNotOpen
, try one of the following:
<HOST>
with the system’s DNS name as seen in compstatus.csv
).
<HOST>
with the system’s DNS name as seen in compstatus.csv
).
compstatus.csv
can be resolved, and matches the system’s DNS name in Active Directory.
From the SharpHound system, check the name can be resolved by running:<HOST>
with the system’s DNS name as seen in compstatus.csv
).
compstatus.csv
will contain a line for it with the result Task = ComputerAvailability
and Status = Success
.
Next, SharpHound will start the actual collection of Sessions and/or Local Groups.
SamConnect
.
compstatus.csv
will contain a line for the system with the result Task = SamConnect
and a status depending on the error type.
Status = -1073610725
means SharpHound account is not in the system’s local administrators group.Status = StatusRpcServerUnavailable
means SharpHound cannot access RPC or SMB on the system. Ensure that the system running SharpHound can reach the system checked on SMB.GetMembersInAlias
as detailed below.GetMembersInAlias
.
compstatus.csv
will contain a line for the system with the result Task = GetMembersInAlias
and a status depending on the error type.compstatus.csv
will contain one line per computer in system with the result Task = GetMembersInAlias - <LOCAL GROUP NAME>
and “Status = Success’LSAOpenPolicy
.
compstatus.csv
will contain a line for the system with the result Task = LSAOpenPolicy
and a status depending on the error type.
Status = StatusRpcServerUnavailable
means SharpHound cannot access RPC or SMB on the system. Ensure that the system running SharpHound can reach the system via SMB.Status = StatusAccessDenied
means SharpHound account is not in the system’s local administrators group.LSAEnumerateAccountsWithUserRight
as detailed below.LSAEnumerateAccountsWithUserRight
.
compstatus.csv
will contain a line for the system with the result Task = LSAEnumerateAccountsWithUserRight
and a status depending on the error type.
Status = StatusAccessDenied
means SharpHound account is not in the Local Administrators group.compstatus.csv
will contain one line per local group in system with the result Task = LSAEnumerateAccountsWithUserRight
and “Status = Success’NetWkstaUserEnum
.
compstatus.csv
will contain a line for the system with the result Task = NetWkstaUserEnum
and a status depending on the error type.
Status = ErrorAccessDenied
means SharpHound account is not in the Local Administrators group.Status = 53
means SharpHound cannot access RPC or SMB on the system. Ensure that the system running SharpHound can reach the system via SMB.compstatus.csv
will contain one line per local group with the result Task = NetWkstaUserEnum
and “Status = Success’