heroui logo

Password Set to Never Expire via WMI

Sigma Rules

View Source
Summary
This detection rule identifies instances where the Windows Management Instrumentation Command-line (WMIC) tool, specifically 'wmic.exe', is used to change a user account's password settings, disabling password expiration. The rule is built around monitoring process creation events related to WMIC and utilizes specific command line arguments indicative of setting the password expiration to 'false'. This can pose a security risk as allowing passwords to never expire could lead to accounts being compromised if they are not regularly updated. The detection focuses on command lines containing 'useraccount', 'set', 'passwordexpires', and 'false', and requires that the executable is recognized as 'wmic.exe'. False positives may occur during legitimate administrative activities. This rule is intended for a medium-level alerting to ensure that changes in user accounts are scrutinized.
Categories
  • Endpoint
  • Windows
Data Sources
  • Process
Created: 2025-07-30