Abstract
An intruder who loses access at the next reboot or password change has to break in again. Persistence is what turns a single intrusion into a lasting tenancy. This article asks what persistence mechanisms hook, why the common ones are so hard to tell from ordinary administration, what evidence each leaves, and what eviction actually requires. The answer, drawn from MITRE ATT&CK, vendor and government case reports from 2021 to late 2026, and the primary documentation for the logs involved, is that persistence lives in four places: things the operating system will run again (schedulers, service managers, autostart and event hooks), credentials and trusts the identity system will accept again, server software that answers requests, and code below or beside the operating system. The first group leaves usable evidence but hides among legitimate tasks and services. The others can outlast the usual fixes: reimaging a workstation does not touch a credential added to a cloud application, changing a password leaves a separately authorised SSH key in place, and patching did not remove footholds already planted on some Fortinet and Cisco appliances. Eviction therefore needs coordinated, scoped containment, eradication and verification, planned against an inventory of footholds.
Four scheduled tasks, one autumn
Several late-2026 reports describe intrusions whose foothold was a Windows scheduled task. AhnLab reported on 26 November that some Q-Dir and DesktopOK installation files on the developer’s official site had been tampered with to fetch a Python remote access trojan, and separately that it had evidence of malicious files being generated during the update process of installed copies; it did not establish how the files were replaced. The trojan persisted through a scheduled task named \UPnp\MicrosoftEdge_dcntel, which ran pythonw.exe from a bundled runtime installed by default under C:\ProgramData\Microsoft\DeviceSync\b2. AhnLab’s remediation advice contains the point that matters here: “simply uninstalling and reinstalling the program may not remove a Python RAT that has already been installed”, and advises checking for scheduled tasks among other traces.1 The library’s article on remote access tools covers the delivery side of that case.
Elastic Security Labs published an analysis of TCLBanker, a banking trojan aimed at Brazilian bank customers, on 7 May 2026. It creates a scheduled task named RuntimeOptimizeService through the Task Scheduler’s COM interface; the task “is configured as hidden, enabled, with no execution time limit” and fires on a logon trigger scoped to the current user.2 Flashpoint’s follow-up of 1 December describes the same hidden logon task.3 On 26 November G DATA’s incident response team published the technical half of an extortion case it handled in December 2025, in which an early lead was a fake dllhost.exe talking to the attackers’ command server. “The file was launched regularly through a scheduled task, a classic persistence mechanism.” The team found it in triage data collected with Velociraptor after a police tip.4
A state actor used the same mechanism earlier in the year. Microsoft reported on 29 September that Star Blizzard had moved from ClickFix lures to a delivery chain it calls RedFlick, which “helps evade detection by initiating a set of scheduled tasks” to deploy the CosmicPulse backdoor. In January an MSI installer created a single task; by April it created three, named Internet Quality Test Connection, Network Configuration Manager and System Health Monitor, each with its own role. Internet Quality Test Connection sent the host’s computer and user names to the command server and could run a remote DLL through a WebDAV path; Network Configuration Manager prepared the WebDAV client functionality the other tasks relied on; System Health Monitor used control.exe to fetch and run the next stage. Microsoft’s own hunting query for the campaign matches those three names.5
In every case the anchor is a feature every Windows machine has, and in the three cases where the task is named, the name resembles a Microsoft or system component. The SoftwareOK case shows that a foothold can be separate from the program that delivered it: the task belongs to a separately installed RAT, which is why AhnLab warns that reinstalling the carrier program may not remove it.1 Where that separation exists, removing the visible program is not evidence that the foothold is gone; the rest of this article looks at where else it can occur.
What ATT&CK counts as persistence
MITRE ATT&CK defines the Persistence tactic (TA0003) as “techniques that adversaries use to keep access to systems across restarts, changed credentials, and other interruptions that could cut off their access”, including “replacing or hijacking legitimate code or adding startup code”. The live site, version 20.1 since 13 October 2026, lists 22 techniques under the tactic, among them Account Manipulation (T1098), Scheduled Task/Job (T1053), Pre-OS Boot (T1542) and Valid Accounts (T1078).67
The list is a catalogue of observed behaviour, and its boundaries move. Hijack Execution Flow (T1574), which covers DLL search-order hijacking and side-loading, is no longer among the 22: its page now places it under the Stealth and Execution tactics, while its description still says that “hijacking execution flow can be for the purposes of persistence, since this hijacked execution may reoccur over time”.8 Domain or Tenant Policy Modification: Trust Modification (T1484.002), the technique behind forged federation trusts, sits under Defense Impairment and Privilege Escalation.9 The library’s article on what the ATT&CK matrix measures covers why technique counts are not coverage.
A more useful taxonomy for a responder groups observed footholds by what triggers them or which system owns the state they depend on. There are four broad answers, and one incident often spans several: in RedFlick, the phishing shortcut and MSI installer are delivery, the scheduled tasks are persistence, and control.exe loading a disguised applet is supporting execution.5
- Something the operating system will run again on a trigger it controls: a schedule, a boot, a logon, an event, a library load.
- A credential or trust the identity system will accept again: an account, a key, a token-issuing application, a federation relationship.
- Server software that will execute code when it receives a request: a web shell or a server module.
- Code that runs before or beside the operating system: a bootkit, firmware, or the system software of an appliance the organisation cannot inspect.
The first group lives on the host, where endpoint tools can inventory it. Identity footholds and firmware or appliance footholds are not removed by rebuilding the endpoints an investigation looks at first, and server software is removed only when the affected server itself is cleaned.
The scheduler
Windows Task Scheduler
ATT&CK’s entry for Scheduled Task (T1053.005) lists several ways to create a task, from the schtasks utility and the GUI to WMI and PowerShell. A task can run at startup or on a schedule, and it can run under another account, including SYSTEM.10 Red Canary’s analysis of the technique adds two field observations: “a majority of the scheduled task-leveraging threats we detect every year are set to run as SYSTEM”, although a task runs by default with the privileges of the user who created it, and adversaries often run binaries from user-writable directories such as AppData\Roaming.11
A registered task exists in three places. Microsoft’s 2022 write-up of the Tarrask malware lays them out. Under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\ a subkey named after the task holds Id, Index and SD values. Under TaskCache\Tasks\{GUID} a subkey holds Actions, Path, Triggers and related values. An extensionless XML file with the task’s name sits in C:\Windows\System32\Tasks. Two logs can record task creation and operation: event 4698 in the Security log and the Microsoft-Windows-TaskScheduler/Operational log. Microsoft notes that “Neither of these are audited by default and must be explicitly turned on by an administrator”, and recommends enabling and centralising both.12
Tarrask showed how those parts can be pulled apart. Microsoft attributed it to HAFNIUM, which its current naming table lists under Silk Typhoon,13 active from August 2021 to February 2022. The malware created a task named “WinUpdate” to re-establish dropped connections to its command server and then deleted the task’s SD (security descriptor) value. With that value gone, the task disappeared from schtasks /query and from the Task Scheduler interface but kept running. Deleting the value requires SYSTEM, so Tarrask stole a token from lsass.exe. Its recommended hunt is direct: enumerate TaskCache\Tree and look for tasks with no SD value.12 ATT&CK now also records hiding by altering the Index value.10
“Hidden” therefore means at least two things. A task can carry the Hidden setting, which Microsoft documents as indicating “that the task will not be visible in the UI”, while noting that administrators can override it with a “master switch” that makes all tasks visible.14 osquery’s scheduled_tasks table exposes it as a hidden column.15 Removing the security descriptor is a different technique that defeats the standard enumeration tools themselves. Elastic’s description shows that TCLBanker used the first kind.2 Neither signal proves malice, since legitimate software also sets the Hidden flag; both are triage leads to be checked against the task’s action, account and origin.
cron and systemd timers
On Linux and other Unix-like systems the equivalent is cron (T1053.003) or a systemd timer (T1053.006). The Debian cron(8) manual lists the places cron reads: per-user crontabs in the spool area /var/spool/cron/crontabs, the system-wide /etc/crontab, files in /etc/cron.d, and the scripts in /etc/cron.hourly, cron.daily, cron.weekly and cron.monthly.16 ATT&CK notes that on VMware ESXi hosts cron jobs have to be created by editing the crontab file directly, for example /var/spool/cron/crontabs/root.17
A systemd timer is a unit file ending in .timer that activates another unit, by default a service with the same name, although the Unit= setting can name a different one.18 ATT&CK gives the privileged locations as /etc/systemd/system/ and /usr/lib/systemd/system and the user-level location as ~/.config/systemd/user/, and notes that timers can be activated remotely with systemctl over SSH.19 One timer option is worth knowing for both sides: with Persistent=true, systemd stores the time the service was last triggered on disk and, when the timer is activated again, triggers it immediately if a run was missed, subject to any RandomizedDelaySec= delay. The manual describes this as useful “to catch up on missed runs of the service when the system was powered down”, and notes that it only affects timers configured with OnCalendar=.18 A calendar timer whose machine was off at the scheduled moment can therefore run its job soon after the timer is activated again at boot.
Service managers
Windows services
A Windows service (T1543.003) is a program the Service Control Manager starts at boot or on demand, with its configuration, including the path to the executable and any recovery commands, stored in the registry. ATT&CK lists the usual ways to install one (sc.exe, direct registry edits, the Windows API) and two variations that matter to responders. Services can load kernel drivers, including signed but vulnerable drivers brought in to escalate privileges. And a service can be hidden from Get-Service, sc query and services.exe by rewriting its permissions with sc sdset, the same idea Tarrask applied to tasks; the evidence is then an unusual security descriptor on the service and a mismatch between the registry’s service entries and what the enumeration tools report.20 Each user-mode service runs in the security context of its configured account, either a user account or a special account such as LocalService, NetworkService or LocalSystem; the account is set at installation and can be changed later.21 An administrator who installs a service that runs as LocalSystem gains SYSTEM-level execution, which is why service creation also appears in the library’s article on privilege escalation.20
Windows can record a new service in two places. Security event 4697, “A service was installed in the system”, is generated only when the Audit Security System Extension subcategory is enabled in audit policy and includes the Service File Name and, for user-mode services only, the account the service will run as; kernel drivers have no service account logged, and a later change of account is not recorded. Microsoft’s own monitoring advice is to look for services whose file name is not under %windir% or the Program Files folders.22 The System log records event 7045 when a service is created. An archived Microsoft blog on detecting service creation with System Center Operations Manager makes two practical points: 7045 “is not on its own a security event” (the Security log equivalent is 4697, which depends on audit policy), and a rule on it should be quiet on domain controllers, where new services should be rare, and noisier on member servers.23
systemd units
On Linux, a systemd service unit (T1543.002) names the commands to run in directives such as ExecStart, ExecStartPre and ExecStartPost, which run when the service starts, and ExecStop and ExecStopPost, which run when it stops. System units live under root-owned systemd/system directories and user units under systemd/user in the home directory.24 The stop hooks have conditions: ExecStop= commands “are only executed when the service started successfully first”, while ExecStopPost= also runs after a failed start or an unexpected exit.25 A malicious unit can therefore run code at start, at stop, or both, and a user unit needs no root privileges.
launchd on macOS
macOS starts per-user Launch Agents (T1543.001) from property lists in /System/Library/LaunchAgents, /Library/LaunchAgents and ~/Library/LaunchAgents, using keys such as Label, ProgramArguments and RunAtLoad. ATT&CK notes that launch agents “are often installed to perform updates to programs, launch user specified programs at login, or to conduct other developer tasks”, and that a malicious one usually borrows the name of an operating system or benign software component.26 Launch Daemons (T1543.004) in /Library/LaunchDaemons require elevated privileges to install.27 Apple’s launchd guide describes them as system-level jobs: after boot, launchd loads their property lists and launches any daemon that asked to run all the time, while others start on demand, so a daemon can be running before any user logs in. A user agent, by contrast, “is specific to a given logged-in user and executes only while that user is logged in.”28
Apple changed the visibility of this mechanism in macOS 13 (Ventura). Its deployment guide describes a framework that creates “transparency to the user when you configure login items, launch agents, and launch daemons on a Mac”, with users notified when such items are added and organisations able to pre-approve managed items through a configuration payload. Administrators can print the current state with sfltool dumpbtm and stream the activity log with the predicate subsystem = 'com.apple.backgroundtaskmanagement'.29 For a responder this means a Ventura or later Mac keeps a second record of background items alongside the property list files themselves.
Logon, autostart and event triggers
Run keys, Startup folder and Winlogon
The oldest Windows autostart points are still in ATT&CK because they still work. Registry Run Keys / Startup Folder (T1547.001) lists the four default keys, Run and RunOnce under both HKCU and HKLM\Software\Microsoft\Windows\CurrentVersion; programs referenced there or placed in a Startup folder run at logon in the user’s context.30 Microsoft’s documentation adds two limits: by default a RunOnce value “is deleted before the command line is run” (a ! prefix defers deletion until after it runs), and the HKLM RunOnce key “only executes when members of the Administrators group log on after the reboot”.31 Winlogon Helper DLL (T1547.004) covers the Userinit and Shell values under the Winlogon key, which point to userinit.exe and explorer.exe and can be changed to point elsewhere, and the Notify subkey.32 Notify belongs to the older notification-package mechanism; Microsoft states that Winlogon notification packages “are ignored in Windows Vista”, so it matters mainly on legacy systems.33
Shell profiles
The Unix equivalent is the shell’s start-up files (T1546.004).34 Which file runs depends on the shell and how it was started. Bash, as an interactive login shell or a non-interactive shell started with --login, reads /etc/profile if it exists and then the first of ~/.bash_profile, ~/.bash_login and ~/.profile that “exists and is readable”; as an interactive non-login shell it reads ~/.bashrc if it exists, unless --norc or --rcfile changes that.35 Whether /etc/profile.d is read depends on the distribution’s /etc/profile. zsh always reads /etc/zshenv; the later files (.zshenv in $ZDOTDIR or the home directory, zprofile and zlogin files for login shells, zshrc files for interactive ones) are read only while the RCS and GLOBAL_RCS options, set by default, remain set.36 Legitimate edits by users and installers are a possible source of noise when watching these files.
Event-triggered execution
Several Windows mechanisms run code when something happens rather than at a fixed time. A WMI event subscription (T1546.003) binds a filter describing an event, such as a time of day or a logon, to a consumer that runs code, possibly as SYSTEM.37 Image File Execution Options (T1546.012) let a “debugger” value be launched in place of a named program.38 Accessibility features (T1546.008) abuse programs such as sethc.exe and utilman.exe that can be launched from the logon screen; replacing them, or pointing an IFEO debugger at them, can give a pre-logon SYSTEM shell on susceptible configurations, with the details depending on the Windows version. Over Remote Desktop the technique needs the logon screen to be displayed before authentication, which is why ATT&CK’s mitigation is Network Level Authentication, forcing the session to authenticate “before the session is created and the login screen displayed”; it is on by default since Windows Vista.39 COM hijacking (T1546.015) replaces a registry reference to a COM object so that adversary code runs when a legitimate component loads it.40
Hijacking the load path
DLL search-order hijacking and side-loading place a malicious library where a legitimate program will load it. G DATA’s extortion case used exactly this: “Through so-called DLL side-loading, a manipulated library was loaded when this application started”, so that “security solutions initially see a legitimate application, while the malicious part runs in the background.”4 When the host program is itself started by a scheduled task or service, the side-load inherits that persistence.
Accounts, keys and trust
Accounts and SSH keys
Creating an account (T1136) or adding rights to an existing one (T1098) can be done on a single host or in a domain or cloud directory.4142 In the latter case the foothold lives in identity state off the endpoint. SSH Authorized Keys (T1098.004) is the clearest example of a foothold that is independent of the password. The authorized_keys file lists the public keys that may log in as a user; ATT&CK gives its usual location as <user-home>/.ssh/authorized_keys and, on ESXi, /etc/ssh/keys-<username>/authorized_keys, and notes that keys can also be added through cloud APIs and on network devices.43 OpenSSH’s server allows public-key authentication by default and reads .ssh/authorized_keys and .ssh/authorized_keys2 unless AuthorizedKeysFile says otherwise; AuthenticationMethods can require more than one method.44 Changing the user’s password leaves the key entry in place, and it can still give access while the account remains able to log in and policy allows public-key login on its own.
Cloud credentials and applications
Additional Cloud Credentials (T1098.001) is the cloud version. ATT&CK describes adding keys or passwords to Entra ID service principals and applications, creating AWS access keys or adding SSH keys to cloud accounts, and two distinct cases of credentials outliving a fix to the original. AWS temporary credentials from sts:GetFederationToken “may remain valid for the duration of their lifetime even if the original account’s API credentials are deactivated”; separately, Entra ID app passwords “may remain valid even if the user’s primary password is reset”.45
In Microsoft’s January 2024 account of Midnight Blizzard’s intrusion into its corporate environment, the actor used a legacy test OAuth application with elevated access and created further OAuth applications, then granted the Exchange Online full_access_as_app role. Microsoft’s general observation: “The misuse of OAuth also enables threat actors to maintain access to applications, even if they lose access to the initially compromised account.”46
Federation trust
The deepest identity foothold is a change to who the identity system trusts. CISA’s advisory AA21-008A, written during the SolarWinds response, described an actor that used on-premises access to the Active Directory Federation Services signing capability to forge tokens, and then used the forged tokens to add “additional credentials to an existing service principal” in Azure AD. It also warned that “a threat actor who gains administrative access to ADFS can add a new, trusted ADFS rather than extracting the certificate and private key as part of a standard Golden SAML attack”, and advised that “Domain and federation modification operations are uncommon and should be investigated.”47 ATT&CK’s Trust Modification entry generalises this: an adversary may add its own signing certificate to a domain trust, convert a domain to federated authentication, or add a new federated identity provider to a tenant such as Okta or AWS IAM Identity Center, which may let it “authenticate as any user of the tenant”.9 No endpoint holds this foothold, so no reimage removes it.
Server software
A web shell (T1505.003) is a script placed on a web server that gives the adversary a command interface through ordinary HTTP requests.48 IIS components (T1505.004) do the same from inside the server process. ATT&CK notes that malicious ISAPI extensions and filters “may have access to all IIS web requests and responses” and can be used to run commands or proxy command-and-control traffic, and that IIS modules offer comparable access.49 Microsoft’s documentation describes IIS 7.0 and later modules as native DLLs or managed .NET types; a native module is registered globally by an administrator, any module is then enabled per application, and a native module “has unrestricted access to any resource available to the server worker process”.50 The library’s article on remote code execution explains why a web shell planted before a patch survives the patch. The relevant point here is that server-side persistence needs no scheduler: the trigger is a request routed to the shell’s script, or one that reaches the application where the module is enabled.
Below the operating system, and inside appliances
Bootkits
A bootkit (T1542.003) modifies the boot path so that adversary code runs before the operating system loads; on UEFI systems ATT&CK describes bootkits that create or modify files in the EFI system partition (ESP), the kind BlackLotus is. ATT&CK warns that bootkits “may make it difficult to perform full remediation unless an organization suspects one was used”.51 Microsoft’s investigation guide for the BlackLotus bootkit stresses that it is “primarily a persistence and defense evasion mechanism”, deployable only by an actor that already has privileged or physical access. It exploits CVE-2022-21894 (Baton Drop) to bypass Secure Boot. The evidence is specific: recently modified and locked bootloader files on the EFI partition, a sharing-violation error when CertUtil tries to hash them, and differences between the per-boot logs in C:\Windows\Logs\MeasuredBoot, which exist only on Windows 8 or later with the TPM enabled. Microsoft’s recovery instruction is that an infected device should be “reformatted (both the OS partition and EFI partition) or restored from a known clean backup that includes the EFI partition”.52 These artifacts and that recovery step are specific to BlackLotus and comparable ESP-based bootkits; firmware implants stored elsewhere need other evidence.
FortiGate: a symlink that outlived the patch
On 10 April 2025 Fortinet disclosed a post-exploitation technique found during its investigation of attacks that used known FortiOS SSL-VPN vulnerabilities. The actor had created “a symbolic link connecting the user filesystem and the root filesystem in a folder used to serve language files for the SSL-VPN”. Because the change sat in the user filesystem, “even if the customer device was updated with FortiOS versions that addressed the original vulnerabilities, this symbolic link may have been left behind, allowing the threat actor to maintain read-only access to files on the device’s file system, which may include configurations.” Fortinet issued an AV/IPS signature that flagged the link so that it “would be automatically removed if the engine was licensed and enabled”, changed FortiOS 7.6.2, 7.4.7, 7.2.11, 7.0.17 and 6.4.16 to remove it and stop the SSL-VPN serving such links, and told affected customers to “Treat all configuration as potentially compromised”.53 Austria’s CERT.at listed the critical SSL-VPN vulnerabilities to which the feature had previously been exposed, CVE-2022-42475, CVE-2023-27997 and CVE-2024-21762, as the likely routes in, without establishing which one opened any particular device; it counted up to 840 affected devices in Austria at the peak and cited CERT.nz for the view that the attacks could have begun as early as 2023.54
The story did not end there. On 10 February 2026 Fortinet published FG-IR-25-934, “SSL-VPN Symlink Persistence Patch Bypass”: crafted HTTP requests could let a remote unauthenticated attacker “bypass the patch developed for the symbolic link persistency mechanism observed in some post-exploit cases”, provided the device had already been compromised at filesystem level. The 2026 advisory’s table lists 7.6.2 and 7.4.7 or later as fixed and tells users of 7.2 and 6.4 to migrate to a fixed release; that table is separate from the 2025 cleanup guidance, which also named fixed 7.2, 7.0 and 6.4 releases.5553 Ten months after the first disclosure, the symlink was still the subject of a new advisory.
Ivanti: what a factory reset proves
CISA and partner agencies’ advisory AA24-060B of 29 February 2024, on Ivanti Connect Secure and Policy Secure gateways, reported that Ivanti’s internal and external Integrity Checker Tool had failed to detect compromise in several incident response engagements: web shells were found on systems where the checker showed no file mismatches. In a lab test on a downloadable Ivanti Connect Secure virtual appliance, CISA researchers found that “a cyber threat actor may be able to gain root-level persistence despite issuing factory resets”, with the mechanism stored on the encrypted partition of the drive. The agencies’ recommendation was “to assume a sophisticated threat actor may deploy rootkit level persistence on a device that has been reset and lay dormant for an arbitrary amount of time”, and to assume that credentials stored on the appliance were compromised.56
Ivanti disagreed on two points. It disputed live applicability, stating that “The CISA lab‑based technique is ineffective in live environments”, and in its post last updated on 29 February 2024 it said that it and its partners were not aware of successful persistence following the security updates plus a factory reset (hardware) or new build (virtual) it recommended. It kept a successful factory reset and patching as the remedy for hardware appliances; for virtual appliances that had not completed that remediation it advised deploying a new build, because “factory resets of virtual appliances have not been consistently successful”. In every case it called for running the internal and updated external integrity checkers with continuous monitoring.57 The dispute remains open in the public record: CISA’s finding is a lab result on a virtual appliance, and Ivanti’s is an absence of observed cases as of its publication.
Cisco firewalls: ROMMON, then FXOS
Two findings need to be kept apart. Cisco’s event response page for the ArcaneDoor campaign, first published on 25 September 2025, said that on some compromised ASA 5500-X devices the actor had modified ROMMON, the boot monitor, “to allow for persistence across reboots and software upgrades”. The affected models predated Secure Boot and Trust Anchor; booting a fixed release would check ROMMON and remove the mechanism if present. Cisco said it had not observed the persistence mechanism on platforms that support Secure Boot and Trust Anchors.58
On 23 April 2026 Cisco and CISA reported a second, different mechanism on different hardware. Cisco’s advisory says the actor “has developed a previously unknown persistence mechanism that is preserved across upgrading to the fixed releases that were published in September 2025”, residing in the FXOS base operating system of Firepower 1000, 2100, 4100 and 9300 and Secure Firewall 1200, 3100 and 4200 devices, and starting a process named lina_cs. “The shutdown, reboot, and reload CLI commands will not clear the malicious persistent implant, the power cord must be pulled out and plugged back in the device.” Cisco lists that cold restart only as an “Alternative Mitigation (not recommended)” until reimaging can be done, warns that it risks database or disk corruption, and strongly recommends reimaging and upgrading to fixed releases to remove the mechanism fully.59 CISA’s revised Emergency Directive 25-03 told federal agencies that “applying the Cisco-provided security updates required by the original issuance of ED 25-03 does not necessarily remove an existing threat actor”. Its order for public-facing Firepower and Secure Firewall devices is: identify them, collect and submit core dumps under CISA’s hunt instructions, apply the updates including the specific persistence patch, and then perform a hard reset by unplugging power “as a reboot is not sufficient to expunge the malware”. If the core dump analysis reports a compromise, the branch changes: keep the device powered on, disconnect it from the network, report it and work with CISA on eviction.60
Mandiant’s M-Trends 2026 says espionage groups “are optimizing for extreme persistence” on VPNs and routers that typically lack endpoint telemetry, deploying malware such as BRICKSTORM to establish “deep persistence that routinely survives standard remediation efforts and system reboots”.61
Why the common mechanisms look like administration
Every mechanism in the first group exists because legitimate software needs it. Red Canary puts it plainly for scheduled tasks: “benign software and operating system functions routinely use scheduled tasks for a variety of reasons, ranging from provisioning to backup maintenance to health checks to updates”, and “Ultimately, you can’t turn off scheduled tasks”.11 Launch agents are installed by updaters and developer tools.26 Red Canary’s observation that malicious tasks often run binaries from user-writable directories narrows a search without settling it, since legitimate software can also install there.11
Adversaries borrow names and binaries to deepen the resemblance, as with MicrosoftEdge_dcntel, RuntimeOptimizeService, “Network Configuration Manager” and a fake dllhost.exe.1354 Running attacker logic through binaries the operating system already trusts is what the library’s map calls living off the land, which removes the simplest filter, “unknown executable”.
The base rate makes the problem worse. In a hypothetical fleet of ten thousand Windows machines receiving weekly patches and software deployments, an alert on every event 4698 or 4697 would mostly report the organisation’s own change management. The arithmetic of rare events, and how to build detections that survive it, is the subject of the library’s article on detection engineering. For persistence, one reasonable approach is to alert on creation where creation should be rare (domain controllers, in the archived Microsoft blog on 704523), and elsewhere to filter by what is known good rather than by what is known bad.
Evidence each mechanism leaves
Three kinds of evidence answer different questions. Current state (the task, unit, key or credential as it exists now) shows what will run. Change events show when and by whom it was created or modified. Execution records show whether it actually ran. Each source below supplies only some of the three.
Windows
Event 4698, “A scheduled task was created”, is logged under the Audit Other Object Access Events subcategory, and its TaskContent field carries the full XML of the new task, including the command and the principal it runs as.62 The Microsoft-Windows-TaskScheduler/Operational log records task operation as well as registration; Microsoft’s Tarrask guidance is to enable and centralise both, since neither is on by default.12 Event 4697 records service installation with the file path and, for user-mode services, the configured account.22 Event 7045 in the System log records service creation without depending on the Security audit policy.23
Sysmon fills gaps the native logs leave, within the limits of its configuration. Event 11 (FileCreate) is, in Microsoft’s words, “useful for monitoring autostart locations, like the Startup folder”; events 12, 13 and 14 record registry key and value creation, deletion, value sets and renames, which covers Run keys, Winlogon, IFEO and COM registrations; events 19, 20 and 21 record a WMI event filter, consumer and the binding between them. Event 7 records image loads, with hashes and signature information, which is the direct record of a side-loaded DLL; it is disabled by default.63 Sysmon only records; Microsoft notes that it “does not provide analysis of the events it generates”.63
Some evidence persists after the event log has rolled over. The task XML in C:\Windows\System32\Tasks and the TaskCache registry keys can be compared with each other.12 A TaskCache\Tree key without an SD value is a strong lead, to be confirmed by examining what the task runs.12
Linux
Linux persistence is mostly files: crontabs in the spool directory and /etc/cron*,16 unit files in the systemd directories,1924 shell start-up files,3536 authorized_keys files at the paths sshd is configured to read,44 and /etc/ld.so.preload.64 The Linux audit system can record changes to them. A file watch in current syntax takes the form -a always,exit -F arch=b64 -F path=... -F perm=wa -F key=..., where w selects writes and a attribute changes; the manual recommends supplying the architecture for performance, so a 64-bit system that also runs 32-bit programs needs a rule for each architecture, and dir= rather than path= covers a directory tree such as /etc/cron.d. The older -w form still works at a performance cost.65 A key on each rule lets a detection pipeline group the events by mechanism.
Tools that read the autostart points
Several tools read current state. Sysinternals Autoruns has, in Microsoft’s description, “the most comprehensive knowledge of auto-starting locations of any startup monitor”, covering Run keys, services, scheduled tasks, Winlogon notifications, image hijacks, Appinit DLLs and more; its option to hide signed Microsoft entries and its signature and VirusTotal checks help narrow a long list to the entries worth reading.66 osquery exposes much of the same state as SQL tables, including scheduled_tasks, crontab, systemd_units and wmi_event_filters, which makes fleet-wide comparison practical.15676869 Velociraptor ships artifacts such as Windows.System.TaskScheduler, which “Enumerates Windows scheduled tasks and parses their XML definitions”, and Linux.Sys.Crontab; G DATA’s triage in the extortion case used Velociraptor.70714 Each covers particular data sources, so the collection source should be chosen per mechanism, with direct checks (for example, reading TaskCache for missing SD values) where a tool’s source would miss the evidence. Their output is mainly current state; some records carry creation or modification metadata, but none on its own proves when an entry was created or whether it ran. None of them reads a cloud tenant’s federation settings or an appliance’s boot software.
What the prevalence data says
Two large vendor datasets are public, and both measure what their own detections and investigations see. Neither measures how often each persistence mechanism occurs or how detectable it is.
Red Canary’s 2026 Threat Detection Report counts 110,000 confirmed threats across 1,700 organisations in 2025.72 Its top ten observed techniques are Cloud Accounts, PowerShell, Windows Command Shell, Data From Cloud Storage, Ingress Tool Transfer, Email Forwarding Rule, WMI, Malicious Copy and Paste, Email Hiding Rules, and Obfuscated Files or Information.73 Cloud Accounts “tops our list of most prevalent techniques for the second year in a row”.74 ATT&CK files that sub-technique (T1078.004) under Stealth, Persistence, Privilege Escalation and Initial Access.75 The ranking therefore counts a technique observed in confirmed threats, whatever purpose it served in each; it is not a count of persistence footholds. None of the ten is a scheduled task, service or autostart technique, and Red Canary’s own technique page still treats scheduled tasks as routine adversary tradecraft.11
Mandiant’s M-Trends 2026, based on more than 500,000 hours of incident investigation in 2025, reports a global median dwell time of 14 days, up from 11, and a median of 122 days in both cyber espionage and North Korean IT worker cases.61 Dwell time measures the interval from compromise to detection, not continuous access. A long window still gives responders reason to check which password changes, patches and rebuilds fell inside it, and whether each touched the systems and credentials that held the actor’s footholds.
Both sources have limits. Red Canary counts what its analytics detect and confirm among its customers, so a mechanism that sits outside the telemetry it collects cannot enter the report through that telemetry. Mandiant reports on its own caseload, the incidents for which it was engaged, and does not compare that caseload with a representative sample.
Eviction
Why the usual fixes miss
Each standard remediation removes one class of foothold and leaves the others. Reimaging a laptop from clean media removes the scheduled tasks, services, Run keys, WMI subscriptions and side-loaded DLLs stored on that machine. It leaves the EFI system partition untouched unless the process rewrites it, which is why Microsoft’s BlackLotus guidance specifies both partitions or a clean backup that includes the ESP.52 It does nothing to an SSH key on another server, a new account in the directory, an extra credential on a service principal, an OAuth application with consent, or a federation trust.43454647
Three operations are often blurred under “reset the credentials”. A password change stops the old password from working for new authentication where that password is the credential checked. It is not enough to establish that all existing access has been revoked, and it does not remove other credentials that were added: an SSH key entry, an app password, a credential on an application.4445 Microsoft’s emergency revocation guidance for Entra ID, for example, lists revoking the user’s refresh tokens as a step of its own, notes that access tokens last an hour by default, and says that a browser sign-in yields session tokens from both Entra ID and the application, which have to be dealt with separately.76 Revoking sessions and tokens, and finding and removing unauthorised credentials, are separate steps whose behaviour should be checked for each provider. The library’s article on rotating every secret treats them in detail. Patching an appliance closes the entry vulnerability; in the Fortinet and Cisco cases the earlier updates did not remove a foothold already planted, and for Ivanti CISA advised assuming that even a reset might not.536056
Order and coordination
CISA’s eviction guidance for networks affected by the SolarWinds and Active Directory/M365 compromise (AR21-134A, last revised 21 May 2021) is a detailed public example of an ordered playbook, written for that specific compromise. It says “these actions need to be conducted in the order specified”. It warns that the steps “may affect operations of critical business functions” and recommends a risk assessment before starting. After pre-eviction scoping and hardening, the eviction phase severs the network from the internet, resets the Kerberos krbtgt account (twice, “the second time after the first has finished”), eradicates known implants, which “can be done while waiting for the krbtgt resets to complete”, rebuilds and reimages altered systems, and regains control of AD and ADFS. It also asks for out-of-band communications and for endpoints to stay powered on so that directory changes reach them.77 Microsoft’s forest recovery guidance adds the timing for the Kerberos step: reset twice and wait at least the maximum ticket lifetime, 10 hours by default, between resets.78
The reason for coordination follows from how footholds behave. An actor with a scheduled task, a web shell and a service principal credential loses nothing when one is removed, and removing footholds one at a time while the actor still has a path in gives it a chance to replace them. The general lesson this article draws from AR21-134A and the appliance cases is coordinated, scoped work: contain external access, remove the footholds the investigation has found within a planned window, change and revoke the credentials the actor could have used, and verify. The exact order depends on the incident’s dependencies, such as the Kerberos reset’s propagation time or a vendor’s evidence collection procedure.
CISA’s Eviction Strategies Tool, released on 30 July 2025, combines Playbook-NG, a web application, with COUN7ER, “a database of atomic post-compromise countermeasures mapped to adversary tactics, techniques, and procedures”; a defender enters ATT&CK technique IDs or free text and receives containment and eviction actions.79 Finding every foothold is still the responder’s job.
Appliances and the evidence dilemma
Appliance eviction adds a conflict between remediation and evidence. For the FXOS implant, CISA’s directive puts collection first: core dumps go to CISA before the patch and hard reset, and a device whose dump shows compromise stays powered on and isolated rather than being reset.60
Verifying the result
Post-eviction monitoring is where the persistence inventory pays off. For each foothold the investigation found, the team should name the telemetry that would show it returning and check that this telemetry actually covers the affected systems: task creation events on the hosts that had the task, credential change logs for the tenant that had the added credential, configuration checks on the appliance. Old indicator names are useful leads but not a complete test, since an actor who returns may choose new names. AA21-008A’s advice to “create a timeline for all credential changes” and to treat domain and federation modifications as uncommon events to investigate is equally a post-eviction checklist.47
Where experts disagree
The Ivanti dispute is the sharpest public disagreement. CISA demonstrated reset-surviving persistence on a virtual appliance in a lab and told defenders to assume it was possible; Ivanti said the technique would not work in live environments and that, as of its February 2024 post, no such persistence had been seen.5657 Both sides called for running the updated external integrity checker after remediation, and Ivanti added continuous monitoring.
Cisco and Fortinet show later findings changing the scope of remediation. In September 2025 Cisco assessed “with high confidence that upgrading to a fixed software release will break the threat actor’s attack chain”;58 seven months later a different mechanism on different platforms survived those releases.59 Fortinet later published an advisory on a bypass of its symlink patch.55 Each statement matched what was known at the time; together they are a reason to treat “patched” and “clean” as separate claims.
Practitioners also weigh reimaging against targeted removal. CISA’s guidance is conditional: reimage an endpoint altered by the actor, but a system whose data was only accessed, with no sign of alteration, may not need it.77 Relying on the second branch requires visibility good enough to support a finding of no sign of being altered: change records for the host’s autostart points, process and file telemetry for the period of access, and a baseline to compare against. Without that, the absence of evidence is weak. For identity and appliance footholds the choice does not arise, since reimaging an endpoint does not reach them.
What a practitioner should do
- Baseline the autostart points. Collect scheduled tasks, services, Run keys and WMI subscriptions on Windows (Autoruns, osquery, Velociraptor’s task artifact),66156970 crontabs, systemd units and shell start-up files on Linux,67687135 and launch agents, daemons and Background Task Management records on macOS,29 choosing a source per mechanism and noting what each source cannot see, and keep the result. For an entry that is new, or a known entry whose definition has changed, compare the definition (command, arguments, trigger), the execution identity, the deployment provenance (which tool or change created it) and observed execution against what is expected. 1262
- Turn on the creation events and alert where creation is rare. Enable auditing for 4698 and 4697 and the Task Scheduler Operational log, collect 7045, deploy Sysmon with registry, WMI and, where affordable, image-load events configured for autostart keys and sensitive processes, and add audit rules on cron, systemd and SSH key paths on Linux.621222236365 Concentrate alerting on domain controllers and other servers where creation should be rare. Elsewhere, allowlist by signer, path and deployment tool, and review what remains, especially tasks and services that run from user-writable directories or from outside
%windir%and Program Files.1122 - Hunt for what the alerts cannot see. Look for
TaskCache\Treekeys without anSDvalue, tasks with the Hidden setting, services with altered security descriptors, and task names that imitate Microsoft or network components, and treat each hit as a lead to validate, not a verdict.121420 Compare the task XML with the registry copy. - Review identity persistence as its own inventory. List service principal and application credentials with their creation dates, OAuth applications and their consents, app passwords, federated domains and identity providers, cloud access keys, and
authorized_keysfiles on servers and hypervisors. Investigate every change to federation settings.474546943 - Check appliances against the vendor’s integrity guidance and assume less than it promises. Where the vendor or CISA provides an evidence procedure, follow it first: collect core dumps or snapshots before patching or removing power, and if compromise is detected, isolate the device and keep it powered as directed. Then run the vendor’s checks, apply the specific persistence fixes as well as the vulnerability patches, carry out the vendor’s recommended remediation (for the Cisco FXOS implant, reimage and upgrade), and rotate the credentials the compromise assessment and the vendor’s guidance identify as exposed, such as those stored on or configured in the device.535660
- Plan eviction before it is needed. Write down the dependencies a coordinated eviction will have: how to cut external access, how to remove the found footholds within one window, how long the
krbtgtdouble reset takes in your forest, which credentials to change and which sessions and tokens to revoke, and which systems to rebuild. Decide in advance who can authorise disconnecting the internet, arrange out-of-band communications, and draft playbooks from ATT&CK findings with CISA’s tool.777879 - Monitor for return. After eviction, watch each removed foothold’s telemetry. A reappearance needs investigation: it may mean incomplete eradication, a new compromise, or an authorised tool restoring its own configuration.
| Mechanism | Where it lives | Telltale evidence | Survives reimage of the host? | Survives a password change? |
|---|---|---|---|---|
| Windows scheduled task | TaskCache registry keys, C:\Windows\System32\Tasks | Event 4698 with task XML; Task Scheduler Operational log; missing SD value; Hidden setting | No, if rebuilt from clean media | Yes |
| Windows service | Services registry key | Events 4697 and 7045; binary outside %windir% or Program Files | No, if rebuilt from clean media | Yes |
| Run key, Startup folder, Winlogon | Registry, Startup directory | Sysmon 11, 12, 13; Autoruns | No, if rebuilt from clean media | Yes |
| WMI event subscription | WMI repository | Sysmon 19, 20, 21 | No, if rebuilt from clean media | Yes |
| DLL side-loading | Application directory | Signed host loading an unexpected DLL (Sysmon 7, off by default) | No, if rebuilt from clean media | Yes |
| COM hijack | COM registry keys | Sysmon 12, 13 on COM registrations | No, if rebuilt from clean media | Yes |
| cron job, systemd timer or service | /var/spool/cron, /etc/cron*, systemd unit directories | New or changed files; audit rule events | No, if rebuilt from clean media | Yes |
| Shell start-up file | /etc/profile, ~/.bash_profile, ~/.bashrc, zsh files | Changed file contents | No, if rebuilt from clean media | Yes |
| Launch agent or daemon | LaunchAgents, LaunchDaemons directories | New plist; Background Task Management records (macOS 13+) | No, if rebuilt from clean media | Yes |
| SSH authorized key | authorized_keys files read by sshd, ESXi key directories | New key line | Removed only if the rebuild of the server holding the key replaces that file (including from restored backups); a workstation rebuild has no effect | Key entry survives; it gives access where policy allows public-key login alone |
| Added cloud credential or OAuth app | Identity provider or cloud tenant | Audit log of credential or consent changes | Yes | Yes for credentials added to applications; ATT&CK notes app passwords can survive a user password reset |
| Federation trust change | Identity provider configuration | Domain or federation modification events | Yes | Yes |
| Web shell, IIS module | Web root, server module configuration | New script or module; anomalous requests | Removed only if the rebuild of the affected web server replaces the web root and module configuration, including restored files; targeted removal is also possible | Yes |
| ESP-based UEFI bootkit (BlackLotus) | EFI system partition | Locked or altered bootloader files; Measured Boot log differences (TPM required) | Yes, unless recovery includes the ESP | Yes |
| FortiGate SSL-VPN symlink | FortiOS user file system | Vendor AV/IPS signature; link in the language-file folder | Survived earlier FortiOS updates; removed by the April 2025 releases, or by the AV/IPS signature where the engine is licensed and enabled; a 2026 advisory covered a bypass of that patch | Yes |
| Cisco FXOS implant (2026) | FXOS base operating system | lina_cs process; CISA core-dump analysis | Survived the September 2025 fixed releases and CLI reboots; reimage and upgrade recommended for full removal, cold restart only a non-recommended interim mitigation | Yes |
| Ivanti Connect Secure (CISA lab, 2024) | Encrypted partition of the appliance | Integrity checker missed web shells in the field | CISA’s lab showed survival of factory reset on a virtual appliance; Ivanti disputes live applicability | Yes |
The “survives” columns describe the mechanism itself; the password column assumes host mechanisms run as SYSTEM or the logged-on user. An intruder who keeps any foothold can recreate the others.
Conclusion
Persistence is a problem the intruder has solved many times over, with the defender’s own tools. The common mechanisms (scheduled tasks, services, autostart keys, cron, systemd and launchd) are well documented and can leave usable evidence once the relevant logging is turned on. They are hard to see because legitimate software creates the same objects, and adversaries name theirs to match. Baselines, allowlists by signer and path, and alerts where creation should be rare are the response to that problem.
The harder problem is the footholds that the usual fixes do not reach. Credentials added to cloud applications, OAuth applications and federation trusts are untouched by reimaging workstations, and a password change does not remove them. An ESP-based bootkit survives an operating system reinstall that leaves the ESP in place. A FortiGate symlink and a Cisco FXOS implant survived earlier updates that fixed known vulnerabilities in those devices, and a CISA lab showed persistence surviving a factory reset of an Ivanti virtual appliance, a finding Ivanti disputes for live environments. Eviction therefore depends on an inventory of footholds across endpoints, identity and appliances, and on coordinated, scoped containment, eradication and verification whose order follows the incident’s own dependencies. The late-2026 cases suggest that the oldest mechanisms will keep working wherever removing the program a responder found is treated as the end of an incident.
Footnotes
- “Software Supply Chain Attack via the Official SoftwareOK Website: Tampering with Q-Dir and DesktopOK Installation Files”, AhnLab Security Intelligence Center (ASEC), 26 November 2026. https://asec.ahnlab.com/en/96827/ (opens in a new tab) ↩1 ↩2 ↩3
- Jia Yu Chan, Daniel Stepanic, Seth Goodwin and Terrance DeJesus, “TCLBANKER: Brazilian Banking Trojan Spreading via WhatsApp and Outlook”, Elastic Security Labs, 7 May 2026. https://www.elastic.co/security-labs/tclbanker-brazilian-banking-trojan (opens in a new tab) ↩1 ↩2
- “TCLBanker: Inside a Sophisticated Banking Trojan Targeting Brazilian Financial Institutions”, Flashpoint blog, 1 December 2026. https://flashpoint.io/blog/tclbanker-inside-a-sophisticated-banking-trojan/ (opens in a new tab) ↩1 ↩2
- “Incident Memory: Chronology of an Extortion-as-a-Service Attack (II)”, G DATA Security Blog, 26 November 2026. https://blog.gdatasoftware.com/2026/11/38506-chronologie-eines-extortion-as-a-service-angriffs-ii (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- “Star Blizzard refines phishing and malware delivery with the RedFlick technique”, Microsoft Threat Intelligence, Microsoft Security Blog, 29 September 2026. https://www.microsoft.com/en-us/security/blog/2026/09/29/star-blizzard-refines-phishing-and-malware-delivery-with-the-redflick-technique/ (opens in a new tab) ↩1 ↩2 ↩3
- “Persistence, Tactic TA0003”, MITRE ATT&CK Enterprise, last modified 25 April 2025. https://attack.mitre.org/tactics/TA0003/ (opens in a new tab) ↩
- “ATT&CK Versions”, MITRE ATT&CK (v20.1 current from 13 October 2026). https://attack.mitre.org/resources/versions/ (opens in a new tab) ↩
- “Hijack Execution Flow, Technique T1574”, MITRE ATT&CK, last modified 2 September 2026. https://attack.mitre.org/techniques/T1574/ (opens in a new tab) ↩
- “Domain or Tenant Policy Modification: Trust Modification, T1484.002”, MITRE ATT&CK, last modified 12 May 2026. https://attack.mitre.org/techniques/T1484/002/ (opens in a new tab) ↩1 ↩2 ↩3
- “Scheduled Task/Job: Scheduled Task, T1053.005”, MITRE ATT&CK, version 1.8, last modified 12 May 2026. https://attack.mitre.org/techniques/T1053/005/ (opens in a new tab) ↩1 ↩2
- “Scheduled Task”, Red Canary Threat Detection Report (technique analysis). https://redcanary.com/threat-detection-report/techniques/scheduled-task/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- Microsoft Detection and Response Team and Microsoft Threat Intelligence Center, “Tarrask malware uses scheduled tasks for defense evasion”, Microsoft Security Blog, 12 April 2022. https://www.microsoft.com/en-us/security/blog/2022/04/12/tarrask-malware-uses-scheduled-tasks-for-defense-evasion/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
- “How Microsoft names threat actors”, Microsoft Learn (table lists HAFNIUM under Silk Typhoon). https://learn.microsoft.com/en-gb/unified-secops-platform/microsoft-threat-actor-naming (opens in a new tab) ↩
- “TaskSettings.Hidden property”, Microsoft Learn, Task Scheduler documentation. https://learn.microsoft.com/en-us/windows/win32/taskschd/tasksettings-hidden (opens in a new tab) ↩1 ↩2
- osquery table specification
scheduled_tasks, osquery project on GitHub. https://raw.githubusercontent.com/osquery/osquery/master/specs/windows/scheduled_tasks.table (opens in a new tab) ↩1 ↩2 ↩3 cron(8)manual page, Debian bookworm. https://manpages.debian.org/bookworm/cron/cron.8.en.html (opens in a new tab) ↩1 ↩2- “Scheduled Task/Job: Cron, T1053.003”, MITRE ATT&CK, version 1.3. https://attack.mitre.org/techniques/T1053/003/ (opens in a new tab) ↩
systemd.timermanual page, freedesktop.org (systemd 262 documentation). https://www.freedesktop.org/software/systemd/man/latest/systemd.timer.html (opens in a new tab) ↩1 ↩2- “Scheduled Task/Job: Systemd Timers, T1053.006”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1053/006/ (opens in a new tab) ↩1 ↩2
- “Create or Modify System Process: Windows Service, T1543.003”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1543/003/ (opens in a new tab) ↩1 ↩2 ↩3
- “Service User Accounts”, Microsoft Learn, Win32 services documentation. https://learn.microsoft.com/en-us/windows/win32/services/service-user-accounts (opens in a new tab) ↩
- “4697(S): A service was installed in the system”, Microsoft Learn, Windows security auditing documentation. https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4697 (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- “Using SCOM to Detect Service Creation”, archived Microsoft blog (nathangau), Microsoft Learn. https://learn.microsoft.com/en-nz/archive/blogs/nathangau/using-scom-to-detect-service-creation (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- “Create or Modify System Process: Systemd Service, T1543.002”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1543/002/ (opens in a new tab) ↩1 ↩2
systemd.servicemanual page, freedesktop.org. https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html (opens in a new tab) ↩- “Create or Modify System Process: Launch Agent, T1543.001”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1543/001/ (opens in a new tab) ↩1 ↩2
- “Create or Modify System Process: Launch Daemon, T1543.004”, MITRE ATT&CK, version 1.3. https://attack.mitre.org/techniques/T1543/004/ (opens in a new tab) ↩
- “Creating Launch Daemons and Agents”, Daemons and Services Programming Guide, Apple Developer Documentation Archive. https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html (opens in a new tab) ↩
- “Manage login items and background tasks on Mac”, Apple Platform Deployment guide. https://support.apple.com/guide/deployment/manage-login-items-background-tasks-mac-depdca572563/web (opens in a new tab) ↩1 ↩2
- “Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder, T1547.001”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1547/001/ (opens in a new tab) ↩
- “Run and RunOnce Registry Keys”, Microsoft Learn. https://learn.microsoft.com/en-us/windows/win32/setupapi/run-and-runonce-registry-keys (opens in a new tab) ↩
- “Boot or Logon Autostart Execution: Winlogon Helper DLL, T1547.004”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1547/004/ (opens in a new tab) ↩
- “Customizing Winlogon”, Microsoft Learn. https://learn.microsoft.com/en-us/windows/win32/secauthn/customizing-winlogon (opens in a new tab) ↩
- “Event Triggered Execution: Unix Shell Configuration Modification, T1546.004”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1546/004/ (opens in a new tab) ↩
- “Bash Startup Files”, GNU Bash Reference Manual. https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html (opens in a new tab) ↩1 ↩2 ↩3
- “Files”, zsh manual. Read via the Internet Archive copy (original: https://zsh.sourceforge.io/Doc/Release/Files.html). https://web.archive.org/web/2026id_/https://zsh.sourceforge.io/Doc/Release/Files.html (opens in a new tab) ↩1 ↩2
- “Event Triggered Execution: Windows Management Instrumentation Event Subscription, T1546.003”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1546/003/ (opens in a new tab) ↩
- “Event Triggered Execution: Image File Execution Options Injection, T1546.012”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1546/012/ (opens in a new tab) ↩
- “Event Triggered Execution: Accessibility Features, T1546.008”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1546/008/ (opens in a new tab) ↩
- “Event Triggered Execution: Component Object Model Hijacking, T1546.015”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1546/015/ (opens in a new tab) ↩
- “Create Account, T1136”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1136/ (opens in a new tab) ↩
- “Account Manipulation, T1098”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1098/ (opens in a new tab) ↩
- “Account Manipulation: SSH Authorized Keys, T1098.004”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1098/004/ (opens in a new tab) ↩1 ↩2 ↩3
sshd_config(5)manual page, OpenBSD. https://man.openbsd.org/sshd_config (opens in a new tab) ↩1 ↩2 ↩3- “Account Manipulation: Additional Cloud Credentials, T1098.001”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1098/001/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- Microsoft Threat Intelligence, “Midnight Blizzard: Guidance for responders on nation-state attack”, Microsoft Security Blog, 25 January 2024. https://www.microsoft.com/en-us/security/blog/2024/01/25/midnight-blizzard-guidance-for-responders-on-nation-state-attack/ (opens in a new tab) ↩1 ↩2 ↩3
- “Detecting Post-Compromise Threat Activity in Microsoft Cloud Environments” (AA21-008A), CISA, last revised 15 April 2021. https://www.cisa.gov/news-events/cybersecurity-advisories/aa21-008a (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- “Server Software Component: Web Shell, T1505.003”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1505/003/ (opens in a new tab) ↩
- “Server Software Component: IIS Components, T1505.004”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1505/004/ (opens in a new tab) ↩
- “IIS Modules Overview”, Microsoft Learn. https://learn.microsoft.com/en-us/iis/get-started/introduction-to-iis/iis-modules-overview (opens in a new tab) ↩
- “Pre-OS Boot: Bootkit, T1542.003”, MITRE ATT&CK, version 2.0, last modified 12 May 2026. https://attack.mitre.org/techniques/T1542/003/ (opens in a new tab) ↩
- Microsoft Incident Response, “Guidance for investigating attacks using CVE-2022-21894: The BlackLotus campaign”, Microsoft Security Blog, 11 April 2023. https://www.microsoft.com/en-us/security/blog/2023/04/11/guidance-for-investigating-attacks-using-cve-2022-21894-the-blacklotus-campaign/ (opens in a new tab) ↩1 ↩2
- Carl Windsor, “Analysis of Threat Actor Activity”, Fortinet PSIRT blog, 10 April 2025. https://www.fortinet.com/blog/psirt-blogs/analysis-of-threat-actor-activity (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- “Multiple FortiGate devices compromised with a persistent read-only access”, CERT.at blog, 16 April 2025. https://www.cert.at/en/blog/2025/4/multiple-fortigate-devices-compromised-with-a-persistent-read-only-access (opens in a new tab) ↩
- “SSL-VPN Symlink Persistence Patch Bypass” (FG-IR-25-934), Fortinet PSIRT, initial publication 10 February 2026. https://www.fortiguard.com/psirt/FG-IR-25-934 (opens in a new tab) ↩1 ↩2
- “Threat Actors Exploit Multiple Vulnerabilities in Ivanti Connect Secure and Policy Secure Gateways” (AA24-060B), CISA and partners, 29 February 2024. https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-060b (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- “Enhanced External Integrity Checking Tool to Provide Additional Visibility and Protection for Customers Against Evolving Threat Actor Techniques in Relation to Previously Disclosed Vulnerabilities”, Ivanti blog, last updated 29 February 2024. https://www.ivanti.com/blog/enhanced-external-integrity-checking-tool-to-provide-additional-visibility-and-protection-for-customers-against-evolving-threat-actor-techniques-in-relation-to-previously-disclosed-vulnerabilities (opens in a new tab) ↩1 ↩2
- “Cisco Event Response: Continued Attacks Against Cisco Firewalls”, Cisco, first published 25 September 2025. https://sec.cloudapps.cisco.com/security/center/resources/asa_ftd_continued_attacks (opens in a new tab) ↩1 ↩2
- “Continued Evolution of Persistence Mechanism Against Cisco Secure Firewall Adaptive Security Appliance and Secure Firewall Threat Defense” (cisco-sa-asaftd-persist-CISAED25-03), Cisco Security Advisory, first published 23 April 2026, version 1.3 of 19 May 2026. https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-asaftd-persist-CISAED25-03 (opens in a new tab) ↩1 ↩2
- “ED 25-03: Identify and Mitigate Potential Compromise of Cisco Devices”, CISA Emergency Directive, V1 updated 23 April 2026. https://www.cisa.gov/news-events/directives/ed-25-03-identify-and-mitigate-potential-compromise-cisco-devices (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- “M-Trends 2026: Data, Insights, and Strategies From the Frontlines”, Mandiant, Google Cloud blog, 23 March 2026. Read via the Internet Archive copy (original: https://cloud.google.com/blog/topics/threat-intelligence/m-trends-2026). https://web.archive.org/web/2026id_/https://cloud.google.com/blog/topics/threat-intelligence/m-trends-2026 (opens in a new tab) ↩1 ↩2
- “4698(S): A scheduled task was created”, Microsoft Learn, Windows security auditing documentation. https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4698 (opens in a new tab) ↩1 ↩2 ↩3
- “Sysmon”, Microsoft Sysinternals documentation, Microsoft Learn. https://learn.microsoft.com/en-us/sysinternals/downloads/sysmon (opens in a new tab) ↩1 ↩2 ↩3
- “Quasar Linux (QLNX) – A Silent Foothold in the Supply Chain: Inside a Full-Featured Linux RAT With Rootkit, PAM Backdoor, Credential Harvesting Capabilities”, Trend Micro research, 4 May 2026. https://www.trendmicro.com/en_us/research/26/e/quasar-linux-qlnx-a-silent-foothold-in-the-software-supply-chain.html (opens in a new tab) ↩
audit.rules(7)manual page, man7.org. https://man7.org/linux/man-pages/man7/audit.rules.7.html (opens in a new tab) ↩1 ↩2- “Autoruns for Windows”, Microsoft Sysinternals documentation, Microsoft Learn. https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns (opens in a new tab) ↩1 ↩2
- osquery table specification
crontab, osquery project on GitHub. https://raw.githubusercontent.com/osquery/osquery/master/specs/posix/crontab.table (opens in a new tab) ↩1 ↩2 - osquery table specification
systemd_units, osquery project on GitHub. https://raw.githubusercontent.com/osquery/osquery/master/specs/linux/systemd_units.table (opens in a new tab) ↩1 ↩2 - osquery table specification
wmi_event_filters, osquery project on GitHub. https://raw.githubusercontent.com/osquery/osquery/master/specs/windows/wmi_event_filters.table (opens in a new tab) ↩1 ↩2 - “Windows.System.TaskScheduler”, Velociraptor artifact reference. https://docs.velociraptor.app/artifact_references/pages/windows.system.taskscheduler/ (opens in a new tab) ↩1 ↩2
- “Linux.Sys.Crontab”, Velociraptor artifact reference. https://docs.velociraptor.app/artifact_references/pages/linux.sys.crontab/ (opens in a new tab) ↩1 ↩2
- “Methodology”, Red Canary 2026 Threat Detection Report. https://redcanary.com/threat-detection-report/methodology/ (opens in a new tab) ↩
- “Top techniques”, Red Canary 2026 Threat Detection Report. https://redcanary.com/threat-detection-report/techniques/ (opens in a new tab) ↩
- “2026 Threat Detection Report”, Red Canary blog. https://redcanary.com/blog/threat-detection/2026-threat-detection-report/ (opens in a new tab) ↩
- “Valid Accounts: Cloud Accounts, T1078.004”, MITRE ATT&CK. https://attack.mitre.org/techniques/T1078/004/ (opens in a new tab) ↩
- “Revoke user access in Microsoft Entra ID”, Microsoft Learn. https://learn.microsoft.com/en-us/entra/identity/users/users-revoke-access (opens in a new tab) ↩
- “Eviction Guidance for Networks Affected by the SolarWinds and Active Directory/M365 Compromise” (AR21-134A), CISA, last revised 21 May 2021. https://www.cisa.gov/news-events/analysis-reports/ar21-134a (opens in a new tab) ↩1 ↩2 ↩3
- “AD Forest Recovery: Resetting the krbtgt password”, Microsoft Learn. https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/forest-recovery-guide/ad-forest-recovery-reset-the-krbtgt-password (opens in a new tab) ↩1 ↩2
- “Eviction Strategies Tool: About”, CISA, released 30 July 2025. https://www.cisa.gov/eviction-strategies-tool/about (opens in a new tab) ↩1 ↩2

SecSIG