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

Add missed cs4.9 post-ex transforms, refactoring #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

D00Movenok
Copy link

Additions

Added missed post-ex.transform-x64 and post-ex.transform-x86 (https://download.cobaltstrike.com/releasenotes.txt, Added support for transform.strrep to post-ex DLL Processing., CS4.9). Full documentation may be found here: https://hstechdocs.helpsystems.com/manuals/cobaltstrike/current/userguide/content/topics/malleable-c2-extend_controll-post-exploitation.htm.

Refactoring

Changed Malleable C2 option examples to make them easier to read:

  • Before:

    set bof_allocator "VirtualAlloc";
    set bof_reuse_memory "true";
    set steal_token_access_mask "0";
    
  • After:

    process-inject {
        set bof_allocator "VirtualAlloc";
        set bof_reuse_memory "true";
    }
    set steal_token_access_mask "0";
    

Changed names in bold function headers to make them easier to navigate:

  • Before:

    __set bof_reuse_memory__
    
  • After:

    __process-inject.bof_reuse_memory__
    

Minor refactoring

Removed trailing newlines and whitespaces, code style unification, etc.

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

Successfully merging this pull request may close these issues.

1 participant