<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Schedule-Task - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/schedule-task/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Mon, 12 Oct 2026 17:47:15 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/schedule-task/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Detection of Linux 'At' Utility Abuse for Persistence</title><link>https://feed.craftedsignal.io/briefs/2026-10-linux-at-persistence/</link><pubDate>Mon, 12 Oct 2026 17:47:15 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-linux-at-persistence/</guid><description>Attackers can abuse the Linux 'at' or 'atd' utilities to maintain unauthorized access or escalate privileges by scheduling malicious tasks.</description><content:encoded><![CDATA[<p>The 'at' and 'atd' utilities in Linux environments are legitimate tools designed for scheduling tasks to run at specific future times. Threat actors frequently abuse these utilities to establish persistence or facilitate privilege escalation on compromised hosts. By leveraging the 'at' daemon, an attacker can ensure that malicious payloads, backdoors, or system modifications execute automatically without requiring further interaction. This behavior is particularly dangerous as it operates within the context of system automation, often blending in with standard administrative operations. Defenders should focus on monitoring the execution of 'at' or 'atd' binaries, especially when invoked by unusual parent processes or unexpected user accounts. Because these utilities are common, effective detection requires distinguishing between legitimate system automation and anomalous usage patterns that deviate from established baselines.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial access is gained on the Linux host (e.g., via web shell or exploitation of a service).</li>
<li>The attacker identifies the presence of the 'at' or 'atd' utility on the target system.</li>
<li>The attacker writes a malicious payload or script to a temporary directory (e.g., /tmp).</li>
<li>The attacker uses the 'at' command to schedule the execution of the malicious script at a future time.</li>
<li>The 'atd' daemon manages the job queue and monitors the system clock.</li>
<li>Upon reaching the scheduled time, the 'atd' daemon executes the script with the privileges of the user who scheduled the job.</li>
<li>The malicious script runs, providing the attacker with persistent access or elevated command execution.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful abuse of the 'at' utility can lead to long-term persistence, unauthorized lateral movement, and privilege escalation. If left undetected, this mechanism allows attackers to maintain a foothold on critical infrastructure, facilitating ongoing data theft, potential ransomware deployment, or unauthorized system configuration changes.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to monitor for 'at' or 'atd' process creation across all Linux endpoints.</li>
<li>Establish a baseline of known-good administrative automation scripts that use the 'at' utility to reduce false positives.</li>
<li>Implement strict process execution logging via Sysmon for Linux or equivalent EDR telemetry, focusing on the parent process of 'at' and 'atd' invocations.</li>
<li>Audit scheduled jobs periodically to identify and remove unauthorized or suspicious entries.</li>
</ul>
<h2 id="rules">Rules</h2>
<ul>
<li>title: &quot;Detect Linux At Application Execution&quot;
description: &quot;Detects the execution of the 'at' or 'atd' applications which can be used to schedule malicious tasks for persistence.&quot;
logsource:
category: &quot;process_creation&quot;
product: &quot;linux&quot;
detection:
selection:
Image|endswith:</li>
<li>&quot;/at&quot;</li>
<li>&quot;/atd&quot;
ParentImage|endswith:</li>
<li>&quot;/at&quot;</li>
<li>&quot;/atd&quot;
condition: selection
level: &quot;medium&quot;
tags:</li>
<li>&quot;attack.persistence&quot;</li>
<li>&quot;attack.privilege-escalation&quot;</li>
<li>&quot;attack.t1053.002&quot;
tests:
positive:</li>
<li>name: &quot;Direct execution of at utility&quot;
data:</li>
<li>Image: &quot;/usr/bin/at&quot;
ParentImage: &quot;/usr/bin/bash&quot;
negative:</li>
<li>name: &quot;Common system process&quot;
data:</li>
<li>Image: &quot;/usr/bin/sshd&quot;
ParentImage: &quot;/usr/bin/systemd&quot;
falsepositives:</li>
<li>&quot;Legitimate administrative tasks scheduled by operators or existing automation scripts.&quot;
handoff:
detection_confidence: &quot;medium&quot;
required_telemetry:</li>
<li>log_source: &quot;Sysmon for Linux&quot;
event_or_channel: &quot;Event ID 1&quot;
required_fields:</li>
<li>&quot;Image&quot;</li>
<li>&quot;ParentImage&quot;</li>
<li>&quot;CommandLine&quot;
availability: &quot;available&quot;
notes: &quot;Requires Sysmon for Linux or equivalent EDR process auditing.&quot;
validation:
status: &quot;needs_environment_validation&quot;
steps:</li>
<li>&quot;Run 'echo &quot;id&quot; | at now + 1 minute' in a controlled lab environment.&quot;
expected_telemetry: &quot;Sysmon Event ID 1 showing /usr/bin/at execution.&quot;
pass_criteria: &quot;Detection rule identifies the 'at' process.&quot;
atomic_reference: &quot;Atomic Red Team T1053.002&quot;
tuning:</li>
<li>source: &quot;Automation scripts&quot;
guidance: &quot;Filter based on known service accounts or parent process paths that are part of legitimate maintenance.&quot;
suggested_owner: &quot;Detection Engineering&quot;</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>linux</category><category>persistence</category><category>schedule-task</category><category>edr</category></item></channel></rss>