Skip to content

Instantly share code, notes, and snippets.

@khyberspache
Created January 19, 2021 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khyberspache/a31a470f220ed244838e761e3a84c348 to your computer and use it in GitHub Desktop.
Save khyberspache/a31a470f220ed244838e761e3a84c348 to your computer and use it in GitHub Desktop.
Example command for using Helper DLL persistence
platforms:
windows:
exec:
command: 'netsh.exe add helper #{agent.location}\..\netShHelperDll.dll'
payload: '#{operator.payloads}/persistence/netsh/netShHelperDll.dll'
cmd:
command: 'netsh.exe add helper #{agent.location}\..\netShHelperDll.dll'
payload: '#{operator.payloads}/persistence/netsh/netShHelperDll.dll'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment