Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass command on latest version #28

Open
dmbada opened this issue Jan 22, 2025 · 1 comment
Open

Pass command on latest version #28

dmbada opened this issue Jan 22, 2025 · 1 comment

Comments

@dmbada
Copy link

dmbada commented Jan 22, 2025

I saw on the previous version mortar is able to pass command. So how do you pass command on the latest version?

@zux0x3a
Copy link
Member

zux0x3a commented Jan 23, 2025

I think you might referring to the previous release. however, the command still can be passed via process argument when you are doing PE hollowing attack.

all you need is to edit the proc base64 value (

Proc = 'QzpcV2luZG93c1xzeXN0ZW0zMlxEbGxIb3N0LmV4ZSAvUHJvY2Vzc2lkOns3RUFENUMxMC04QjNGLTExRTYtQUUyMi01NkI2QjY0OTk2MTF9'; //T1036
) to include the process and arguments

so for example if you wanna pass mimikatz options lsadump the proc value should be cmd.exe /c lsadump

hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants