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

NEW TOOL: Scheduled tasks parser #89

Open
EricZimmerman opened this issue Jul 20, 2019 · 3 comments
Open

NEW TOOL: Scheduled tasks parser #89

EricZimmerman opened this issue Jul 20, 2019 · 3 comments

Comments

@EricZimmerman
Copy link
Owner

Hey Eric

We talked on Twitter about creating a new parser for both formats of Scheduled Tasks (job binary format, and the newer xml format).
There's an implementation of this written in Python called winjob, and can be found here - https://github.com/yahoo/winjob/blob/master/winjob/winjob.py

Additionally, the structs can be found on Microsoft's documentations:

JOB - https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-tsch/b6425baf-7eb1-46c9-be5f-b13649004d0c
XML - https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-tsch/0d6383e4-de92-43e7-b0bb-a60cfa36379f

I hope that is what you were looking for. I think the winjob library is doing a good job documenting the necessary objects.

Hadar

@randomaccess3
Copy link
Sponsor

+1 for this.
Potential names (clearly the hardest part)
STECmd - Scheduled Task explorer cmd
JBECmd - job explorer cmd

@AndrewRathbun
Copy link
Sponsor

One of my colleagues just put this together: https://github.com/EricZimmerman/KapeFiles/blob/master/Modules/Windows/PowerShell_ParseScheduledTasks.mkape

Curious if this will help with this.

@EricZimmerman
Copy link
Owner Author

It's an xml file already. What is there to parse? Maybe for at style jobs ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants