Skip to content

Doesn't work with most tools (.NET Assemblies?) #1

Description

@MexHigh

Some feedback on your tool with some of my tests.

Working

  • .\SharpReflectivePEInjection.exe -file C:\Windows\System32\calc.exe -syscalls
  • .\SharpReflectivePEInjection.exe -file C:\Windows\System32\calc.exe

Not working

  • .\SharpReflectivePEInjection.exe -file C:\Windows\System32\cmd.exe -a "/c calc.exe" (exits after patching args)
  • .\SharpReflectivePEInjection.exe -file .\SharpHound.exe (Sharphound compiled to x64, exits after patching args)
  • .\SharpReflectivePEInjection.exe -file .\SharpHound.exe -a "-c DCOnly" (Sharphound compiled to x64, exits after patching args)
  • .\SharpReflectivePEInjection.exe -file .\SharpHound.exe -a "--help" (exits instantly after showing help page, because the content of the -a flag is recognized as flag for SharpReflectivePEInjection.exe)

It seems like the tool does not work with .NET assemblies at all, even when compiled for x64 explicitly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions