nerdexam
GIAC

GSEC · Question #346

Use PowerShell ISE to examineC:\Windows\security\templates\WorkstationSecureTemplate.inf. Which setting is configured in the template?

The correct answer is A. ResetLockoutCount. Windows security template .inf files define security configurations including account lockout, audit, and user rights policies that can be inspected with PowerShell ISE.

Windows and Malware

Question

Use PowerShell ISE to examineC:\Windows\security\templates\WorkstationSecureTemplate.inf. Which setting is configured in the template?

Exhibit

GSEC question #346 exhibit

Options

  • AResetLockoutCount
  • BNewAdministratorName
  • CMinirnumPasswordAge
  • DRequire logonToChangoPassword
  • ESeRemotPlnteractiveLogonRlght
  • FMaxRenewAge
  • GAuditSystemEvents
  • HEnableGuestAccount
  • IAuditPolicyChange

How the community answered

(20 responses)
  • A
    85% (17)
  • D
    10% (2)
  • I
    5% (1)

Why each option

Windows security template .inf files define security configurations including account lockout, audit, and user rights policies that can be inspected with PowerShell ISE.

AResetLockoutCountCorrect

The WorkstationSecureTemplate.inf file on this system includes the ResetLockoutCount setting under the [System Access] section, which specifies the number of minutes after a failed logon attempt before the lockout counter resets to zero. This is a standard Account Lockout Policy setting defined in Windows security templates and applied via Group Policy or secedit. Its presence in the template confirms the workstation is hardened with an explicit account lockout reset interval.

BNewAdministratorName

NewAdministratorName is a valid security template setting for renaming the built-in Administrator account, but it is not present in this specific template file.

CMinirnumPasswordAge

MinimumPasswordAge is a Password Policy setting that may appear in security templates, but it is not configured in this particular template.

DRequire logonToChangoPassword

RequireLogonToChangePassword is a dial-up or legacy policy option not configured in this template.

ESeRemotPlnteractiveLogonRlght

SeRemoteInteractiveLogonRight is a User Rights Assignment privilege, but it is not defined in this template.

FMaxRenewAge

MaxRenewAge is a Kerberos policy setting, not an account lockout setting, and is not present in this template.

GAuditSystemEvents

AuditSystemEvents is an audit policy setting, but it is not configured within this specific security template file.

HEnableGuestAccount

EnableGuestAccount controls the built-in Guest account state, but it is not set in this template.

IAuditPolicyChange

AuditPolicyChange is an audit policy setting, but it is not the setting configured in this particular template.

Concept tested: Windows security template account lockout policy inspection

Source: https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/reset-account-lockout-counter-after

Topics

#PowerShell#security templates#Windows security#account lockout

Community Discussion

No community discussion yet for this question.

Full GSEC Practice