Scheduled task from a temp folder
T1053.005Hypothesis: If an attacker established persistence, I will find a scheduled task running a file from Temp, AppData or Public.
- Collect all new tasks from the last 30 days.
- Filter on unusual paths and on the creating account.
- Compare with known IT tooling.
May be benign when: Software updaters that install tasks under AppData.
Data source: Event 4698 or DeviceProcessEvents (schtasks)
Registry Run keys
T1547.001Hypothesis: If persistence uses the registry, I will find a new Run key value pointing to a file in an unusual path.
- Look for writes to Run and RunOnce.
- Check which process wrote the value.
- Review the file the value launches.
May be benign when: Installed software adding a Run key at install time.
Data source: DeviceRegistryEvents or Sysmon 13
New account outside procedure
T1136Hypothesis: If an attacker created a backdoor account, I will find a 4720 with no IT request, followed soon by a 4728 or 4732.
- List all accounts created in the last 30 days.
- Compare them with IT requests.
- Link each one to an addition to a privileged group.
May be benign when: Bulk onboarding or approved service accounts.
Data source: Events 4720, 4728 and 4732