CAPECattack pattern

CAPEC-564 Run Software at Logon

Official page ↗
Abstraction
Detailed
Status
Draft
CAPEC version
3.9

Description

Operating system allows logon scripts to be run whenever a specific user or users logon to a system. If adversaries can access these scripts, they may insert additional code into the logon script. This code can allow them to maintain persistence or move laterally within an enclave because it is executed every time the affected user or users logon to a computer. Modifying logon scripts can effectively bypass workstation and enclave firewalls. Depending on the access configuration of the logon scripts, either local credentials or a remote administrative account may be necessary.

Mitigations

• Restrict write access to logon scripts to necessary administrators.

Related

Att&ck technique · MITRE ATT&CK (4)

  • T1547 Boot or Logon Autostart Execution technique
  • T1543.001 Launch Agent sub-technique
  • T1543.004 Launch Daemon sub-technique
  • T1037 Boot or Logon Initialization Scripts technique

Child of · CAPEC (1)

Weakness · CWE (1)

  • CWE-284 Improper Access Control weakness

Referenced by CWE · attack pattern (1)

  • CWE-284 Improper Access Control weakness