MythicAgents / Apollo

A .NET Framework 4.0 Windows Agent
BSD 3-Clause "New" or "Revised" License
432 stars 90 forks source link

Extending sc task functionality #96

Closed thespicybyte closed 2 years ago

thespicybyte commented 2 years ago

What's changed?

What's new?

thespicybyte commented 2 years ago

Version bumped.

As far as the RunAs go, it might just be a bad parameter name. It's not RunAs in the sense of "run this command as " but just the context of who the service runs as. Most use cases will be changing the user to LocalSystem or LocalService or something like that and not even provide a password. I contemplated not even exposing the password and just leaving it as null but thought maybe there's some edge case out there where someone would want it. If that's the case would it still make sense to do a Credential object? I haven't messed with those yet but if you think it would work then I can mess with it,

djhohnstein commented 2 years ago

I'll flag it as a todo but I won't have it blocking. I know it's possible but probably not required for the majority of use cases. Thanks!