Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PowerShell Scheduled_Jobs #976

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 35 additions & 2 deletions Targets/Windows/ScheduledTasks.tkape
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Description: Scheduled tasks (*.job and XML)
Author: Eric Zimmerman
Version: 1.1
Author: Eric Zimmerman, Reece394
Version: 1.2
Id: e5dc4367-2e6b-49bf-a90a-d4c1598bbe28
RecreateDirectories: true
Targets:
Expand Down Expand Up @@ -39,10 +39,43 @@ Targets:
Category: Persistence
Path: C:\Windows.old\Windows\System32\Tasks\
Recursive: true
-
Name: PowerShell Scheduled_Jobs
Category: Persistence
Path: C:\Users\%user%\AppData\Local\Microsoft\Windows\PowerShell\ScheduledJobs\
Recursive: true
-
Name: PowerShell Scheduled_Jobs Output
Category: Persistence
Path: C:\Users\%user%\AppData\Local\Microsoft\Windows\PowerShell\ScheduledJobs\*\Output\*\
Recursive: true
-
Name: PowerShell Scheduled_Jobs Systemprofile
Category: Persistence
Path: C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Windows\PowerShell\ScheduledJobs\
Recursive: true
-
Name: PowerShell Scheduled_Jobs Output Systemprofile
Category: Persistence
Path: C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Windows\PowerShell\ScheduledJobs\*\Output\*\
Recursive: true
-
Name: PowerShell Scheduled_Jobs WOW64 Systemprofile
Category: Persistence
Path: C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\Windows\PowerShell\ScheduledJobs\
Recursive: true
-
Name: PowerShell Scheduled_Jobs Output WOW64 Systemprofile
Category: Persistence
Path: C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\Windows\PowerShell\ScheduledJobs\*\Output\*\
Recursive: true

# Documentation
# http://windowsir.blogspot.com/2009/09/parsing-job-files.html
# https://www.sans.org/blog/windows-scheduler-at-job-forensics
# https://forensicswiki.xyz/wiki/index.php?title=Windows_Job_File_Format
# https://www.forensafe.com/blogs/taskschd.html
# https://stmxcsr.com/persistence/scheduled-tasks.html
# https://www.cybertriage.com/blog/windows-scheduled-tasks-for-dfir-investigations/
# https://learn.microsoft.com/en-us/powershell/module/psscheduledjob/about/about_scheduled_jobs
# https://learn.microsoft.com/en-us/powershell/module/psscheduledjob/about/about_scheduled_jobs_troubleshooting