diff --git a/Payload_Type/sliverapi/sliverapi/SliverRequests/SliverAPI.py b/Payload_Type/sliverapi/sliverapi/SliverRequests/SliverAPI.py index 7209a6d..efb099f 100644 --- a/Payload_Type/sliverapi/sliverapi/SliverRequests/SliverAPI.py +++ b/Payload_Type/sliverapi/sliverapi/SliverRequests/SliverAPI.py @@ -69,7 +69,8 @@ async def handleSliverEvent(event: client_pb2.Event, configFileId): # create payload sliver_os_table = { - 'linux': 'Linux' + 'linux': 'Linux', + 'windows': 'Windows' } # TODO: only include 'shell' for interactive sessions, not beacons diff --git a/Payload_Type/sliverapi/sliverapi/agent_functions/generate.py b/Payload_Type/sliverapi/sliverapi/agent_functions/generate.py index eb111a6..a7603e2 100644 --- a/Payload_Type/sliverapi/sliverapi/agent_functions/generate.py +++ b/Payload_Type/sliverapi/sliverapi/agent_functions/generate.py @@ -98,7 +98,8 @@ async def create_go_tasking(self, taskData: MythicCommandBase.PTTaskMessageAllDa sliverconfig_file_uuid = taskData.BuildParameters[0].Value sliver_os_table = { - 'linux': 'Linux' + 'linux': 'Linux', + 'windows': "Windows" } # TODO: include 'shell' for sessions, but not for beaconers diff --git a/Payload_Type/sliverapi/sliverapi/agent_functions/profiles.py b/Payload_Type/sliverapi/sliverapi/agent_functions/profiles.py index 93a91f1..835c0a7 100644 --- a/Payload_Type/sliverapi/sliverapi/agent_functions/profiles.py +++ b/Payload_Type/sliverapi/sliverapi/agent_functions/profiles.py @@ -383,7 +383,8 @@ async def profiles_generate(taskData: PTTaskMessageAllData): break sliver_os_table = { - 'linux': 'Linux' + 'linux': 'Linux', + 'windows': "Windows" } sliverconfig_file_uuid = taskData.BuildParameters[0].Value diff --git a/Payload_Type/sliverapi/sliverapi/agent_functions/use.py b/Payload_Type/sliverapi/sliverapi/agent_functions/use.py index 6ddf4fb..5fb7f6d 100644 --- a/Payload_Type/sliverapi/sliverapi/agent_functions/use.py +++ b/Payload_Type/sliverapi/sliverapi/agent_functions/use.py @@ -107,7 +107,8 @@ async def use(taskData: PTTaskMessageAllData, sliver_id: int): # create the payload # TODO: figure out mappings for windows or mac... sliver_os_table = { - 'linux': 'Linux' + 'linux': 'Linux', + 'windows': "Windows" } # TODO: only include 'shell' for interactive sessions, not beacons @@ -118,7 +119,8 @@ async def use(taskData: PTTaskMessageAllData, sliver_id: int): PayloadConfiguration=MythicRPCPayloadConfiguration( payload_type="sliverimplant", uuid=sliver_id, - selected_os=sliver_os_table[implant_info.OS], + # selected_os=sliver_os_table[implant_info.OS], + selected_os='Windows', description=f"(no download) using sliver {'beaconing' if isBeacon else 'interactive'} implant for {sliver_id}", build_parameters=[], c2_profiles=[],