MITRE ATT&CKsub-technique

T1053.002 At

Published 2019-11-27 Modified 2025-10-24 Official page ↗
Domain
enterprise
Tactics
Execution, Persistence, Privilege Escalation
Platforms
Windows, Linux, macOS
Version
2.4
Created
2019-11-27

Description

Adversaries may abuse the at utility to perform task scheduling for initial or recurring execution of malicious code. The at utility exists as an executable within Windows, Linux, and macOS for scheduling tasks at a specified time and date. Although deprecated in favor of Scheduled Task's schtasks in Windows environments, using at requires that the Task Scheduler service be running, and the user to be logged on as a member of the local Administrators group. In addition to explicitly running the `at` command, adversaries may also schedule a task with at by directly leveraging the Windows Management Instrumentation `Win32_ScheduledJob` WMI class. On Linux and macOS, at may be invoked by the superuser as well as any users added to the at.allow file. If the at.allow file does not exist, the at.deny file is checked. Every username not listed in at.deny is allowed to invoke at. If the at.deny exists and is empty, global use of at is permitted. If neither file exists (which is often the baseline) only the superuser is allowed to use at. Adversaries may use at to execute programs at system startup or on a scheduled basis for Persistence. at can also be abused to conduct remote Execution as part of Lateral Movement and/or to run a process under the context of a specified account (such as SYSTEM). In Linux environments, adversaries may also abuse at to break out of restricted environments by using a task to spawn an interactive system shell or to run system commands. Similarly, at may also be used for Privilege Escalation if the binary is allowed to run as superuser via sudo.

Related

Subtechnique of · MITRE ATT&CK (1)

  • T1053 Scheduled Task/Job technique

Tactic · MITRE ATT&CK (3)

Referenced by MITRE ATT&CK · mitigates (4)

  • M1047 Audit mitigation
  • M1018 User Account Management mitigation
  • M1026 Privileged Account Management mitigation
  • M1028 Operating System Configuration mitigation

Referenced by MITRE ATT&CK · uses (6)

  • S0488 CrackMapExec software (tool)
  • S0233 MURKYTOP software (malware)
  • G0060 BRONZE BUTLER group
  • G0026 APT18 group
  • G0027 Threat Group-3390 group
  • S0110 at software (tool)

Referenced by Compliance · mitigates (14)

  • CIS-6.8 Define and Maintain Role-Based Access Control CIS Safeguard v8.1
  • NIST-AC-2 Account Management NIST 800-53 control
  • NIST-AC-3 Access Enforcement NIST 800-53 control
  • NIST-AC-5 Separation of Duties NIST 800-53 control
  • NIST-AC-6 Least Privilege NIST 800-53 control
  • NIST-CM-2 Baseline Configuration NIST 800-53 control
  • NIST-CM-5 Access Restrictions for Change NIST 800-53 control
  • NIST-CM-6 Configuration Settings NIST 800-53 control
  • NIST-CM-7 Least Functionality NIST 800-53 control
  • NIST-CM-8 System Component Inventory NIST 800-53 control
  • NIST-IA-2 Identification and Authentication (Organizational Users) NIST 800-53 control
  • NIST-IA-4 Identifier Management NIST 800-53 control
  • NIST-RA-5 Vulnerability Monitoring and Scanning NIST 800-53 control
  • NIST-SI-4 System Monitoring NIST 800-53 control

References