- Home
- Techniques
- Enterprise
- Scheduled Task/Job
- At (Linux)
Scheduled Task/Job: At (Linux)
Other sub-techniques of Scheduled Task/Job (6)
ID | Name |
---|---|
T1053.001 | At (Linux) |
T1053.002 | At (Windows) |
T1053.003 | Cron |
T1053.004 | Launchd |
T1053.005 | Scheduled Task |
T1053.006 | Systemd Timers |
Adversaries may abuse the at utility to perform task scheduling for initial or recurring execution of malicious code. The at command within Linux operating systems enables administrators to schedule tasks.[1]
An adversary may use at in Linux environments 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.
Mitigations
Mitigation | Description |
---|---|
Audit |
Scheduled tasks using |
User Account Management |
Users account-level access to |
Detection
Monitor scheduled task creation using command-line invocation. Legitimate scheduled tasks may be created during installation of new software or through system administration functions. Look for changes to tasks that do not correlate with known software, patch cycles, etc.
Suspicious program execution through scheduled tasks may show up as outlier processes that have not been seen before when compared against historical data. Data and events should not be viewed in isolation, but as part of a chain of behavior that could lead to other activities, such as network connections made for Command and Control, learning details about the environment through Discovery, and Lateral Movement.