Repository navigation
community_14_modules_polymorphic_engine
grisun0 edited this page Oct 17, 2026
·
7 revisions
Community 14 | 6 files | cohesion 0.83
This community groups 6 file(s) rooted at modules with dominant language py (cohesion 0.83). Central symbols: DotNetPayloadConfig, DotNetPayloadFactory, LinuxAdvancedConfig, LinuxAdvancedPayloadFactory, MacOSPayloadConfig, MacOSPayloadFactory, MutationConfig, MutationResult. Core file: modules/polymorphic_engine.py (19 symbols). Documented purpose: Payload arsenal commands — dotnet, reflective DLL, staged delivery, polymorphic, macOS/Linux payloads. Provides: dotnet_payload — Generate .NET/C# pay.
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
cli/commands/payload_arsenal.py |
py | utility | 7 | yes |
modules/dotnet_payload.py |
py | utility | 12 | yes |
modules/linux_advanced_payloads.py |
py | utility | 17 | yes |
modules/macos_payloads.py |
py | utility | 16 | yes |
modules/polymorphic_engine.py |
py | utility | 19 | yes |
modules/staged_delivery.py |
py | utility | 18 | yes |
-
PayloadArsenalCommandSet(class,cli/commands/payload_arsenal.py:23)class PayloadArsenalCommandSet(LazyOwnCommandSet)- Dotnet, reflective DLL, staged delivery, polymorphic, macOS/Linux advanced payloads. -
do_dotnet_payload(method,cli/commands/payload_arsenal.py:29)def do_dotnet_payload(self, line)- Generate a .NET/C# payload. -
do_arsenal_show(method,cli/commands/payload_arsenal.py:114)def do_arsenal_show(self, line)- Show payload arsenal items. -
do_staged_delivery(method,cli/commands/payload_arsenal.py:172)def do_staged_delivery(self, line)- Generate staged delivery artifacts (HTA, VBA, LNK, ISO, VHD). -
do_polymorphic(method,cli/commands/payload_arsenal.py:261)def do_polymorphic(self, line)- Apply polymorphic mutation to shellcode. -
do_macos_payload(method,cli/commands/payload_arsenal.py:328)def do_macos_payload(self, line)- Generate macOS payloads (.app bundles, persistence, TCC bypass). -
do_linux_advanced_payload(method,cli/commands/payload_arsenal.py:401)def do_linux_advanced_payload(self, line)- Generate advanced Linux payloads (LD_PRELOAD, eBPF, PAM, kernel module). -
DotNetPayloadConfig(class,modules/dotnet_payload.py:293)class DotNetPayloadConfig- Configuration for a .NET payload compilation. -
DotNetPayloadFactory(class,modules/dotnet_payload.py:315)class DotNetPayloadFactory- Generate, compile, and format .NET/C# payloads. -
__init__(method,modules/dotnet_payload.py:327)def __init__(self, output_dir) -
_detect_compiler(method,modules/dotnet_payload.py:333)def _detect_compiler() -
list_templates(method,modules/dotnet_payload.py:364)def list_templates()- Return available .NET payload template names. -
_resolve_template(method,modules/dotnet_payload.py:368)def _resolve_template(self, config) -
generate_source(method,modules/dotnet_payload.py:389)def generate_source(self, config)- Generate C# source code from a template. -
compile(method,modules/dotnet_payload.py:403)def compile(self, config, source_code)- Compile C# source to an assembly. -
generate(method,modules/dotnet_payload.py:454)def generate(self, config)- Generate a .NET payload — source code plus optional binary. -
generate_powershell_reflective(method,modules/dotnet_payload.py:481)def generate_powershell_reflective(self, config)- Generate a PowerShell script that reflectively loads a .NET assembly. -
generate_inline_assembly(method,modules/dotnet_payload.py:500)def generate_inline_assembly(self, config)- Generate self-decompiling inline .NET assembly load command. -
to_format(method,modules/dotnet_payload.py:520)def to_format(self, data, fmt)- Convert a payload result to the requested output format. -
LinuxAdvancedConfig(class,modules/linux_advanced_payloads.py:64)class LinuxAdvancedConfig- Configuration for advanced Linux payload generation. -
LinuxAdvancedPayloadFactory(class,modules/linux_advanced_payloads.py:92)class LinuxAdvancedPayloadFactory- Generate advanced Linux payloads for persistence, evasion, and escalation. -
__init__(method,modules/linux_advanced_payloads.py:105)def __init__(self, config, output_dir) -
generate_ld_preload_rootkit(method,modules/linux_advanced_payloads.py:110)def generate_ld_preload_rootkit(self)- Generate a C source file for an LD_PRELOAD rootkit. -
generate_ebpf_payload(method,modules/linux_advanced_payloads.py:235)def generate_ebpf_payload(self)- Generate an eBPF C program for network manipulation. -
_ip_to_hex(method,modules/linux_advanced_payloads.py:305)def _ip_to_hex(ip_str) -
generate_pam_backdoor(method,modules/linux_advanced_payloads.py:311)def generate_pam_backdoor(self)- Generate a PAM (Pluggable Authentication Module) backdoor. -
generate_systemd_persistence(method,modules/linux_advanced_payloads.py:398)def generate_systemd_persistence(self)- Generate systemd service and timer units for persistent callbacks. -
generate_ssh_persistence(method,modules/linux_advanced_payloads.py:458)def generate_ssh_persistence(self)- Generate an SSH persistence script for authorized_keys injection. -
generate_kernel_module(method,modules/linux_advanced_payloads.py:519)def generate_kernel_module(self)- Generate a Linux kernel module (LKM) rootkit. -
generate_process_masquerade(method,modules/linux_advanced_payloads.py:632)def generate_process_masquerade(self)- Generate a process masquerading script.
- Internal resolved imports (EXTRACTED): 8
- Cross-boundary resolved imports (EXTRACTED): 1
- No cross-community bridges recorded. This community is self-contained.
- No scoped security, taint, cycle, or layer risks.
- What would break if the most connected file in modules: polymorphic_engine changed?
- Should modules: polymorphic_engine be split, given cohesion 0.83?
Generated offline by readmenator from commit 2f44e17e04bd. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_cli_commands
- community_10_modules_surface_graph
- community_11_modules_opsec_scorer
- community_12_modules_kerberos_core
- community_13_modules_saas_attacks
- community_14_modules_polymorphic_engine
- community_15_contrib_legacy
- community_16_scripts_journal
- community_17_modules_backdoor
- community_18_poc_tui
- community_19_scripts_check_contract_manifest
- community_1_modules_lazyc2
- community_20_scripts_migrate_lazyown
- community_21_tools
- community_22_orphans
- community_2_modules_lazy_loop
- community_3_cli
- community_4_modules_autonomous_daemon
- community_5_lazygui_panels
- community_6_modules_llm_budget
- community_7_static_js
- community_8_skills_claude_md_orchestrator
- community_9_skills_hermes_lazyown
- concepts
- queries
- REPORT
Agent Docs
- API
- API_p10
- API_p11
- API_p12
- API_p13
- API_p14
- API_p15
- API_p16
- API_p17
- API_p18
- API_p19
- API_p2
- API_p20
- API_p21
- API_p22
- API_p23
- API_p3
- API_p4
- API_p5
- API_p6
- API_p7
- API_p8
- API_p9
- ARCHITECTURE
- ARCHITECTURE_p2
- ARCHITECTURE_p3
- ARCHITECTURE_p4
- ARCHITECTURE_p5
- ARCHITECTURE_p6
- ARCHITECTURE_p7
- CONCEPTS
- GOTCHAS
- INDEX
- INDEX_p2
- INDEX_p3
- KB_backdoor
- KB_blueprints
- KB_cgi-bin
- KB_claude_md_orchestrator
- KB_cli
- KB_cli_p2
- KB_cli_p3
- KB_cli_p4
- KB_cli_p5
- KB_commands
- KB_commands_p2
- KB_commands_p3
- KB_commands_p4
- KB_config
- KB_contract
- KB_core
- KB_core_p2
- KB_devtools
- KB_extensions
- KB_hermes-lazyown
- KB_integrations
- KB_js
- KB_js_p2
- KB_js_p3
- KB_js_p4
- KB_lazyc2
- KB_lazygui
- KB_lazyown-docker
- KB_legacy
- KB_legacy_p2
- KB_misc
- KB_modules
- KB_modules_p10
- KB_modules_p11
- KB_modules_p12
- KB_modules_p13
- KB_modules_p14
- KB_modules_p15
- KB_modules_p2
- KB_modules_p3
- KB_modules_p4
- KB_modules_p5
- KB_modules_p6
- KB_modules_p7
- KB_modules_p8
- KB_modules_p9
- KB_modules_tools
- KB_palettes
- KB_panels
- KB_plugins
- KB_poc_tui
- KB_root
- KB_root_p2
- KB_rootkit
- KB_scripts
- KB_security
- KB_services
- KB_sinks
- KB_skills
- KB_skills_claude_md_orchestrator_tests
- KB_skills_p2
- KB_skills_p3
- KB_skills_p4
- KB_skills_p5
- KB_skills_tests
- KB_tests
- KB_tests_p10
- KB_tests_p11
- KB_tests_p12
- KB_tests_p13
- KB_tests_p14
- KB_tests_p15
- KB_tests_p16
- KB_tests_p17
- KB_tests_p2
- KB_tests_p3
- KB_tests_p4
- KB_tests_p5
- KB_tests_p6
- KB_tests_p7
- KB_tests_p8
- KB_tests_p9
- KB_theme
- KB_tools
- KB_widgets
- KB_win_rootkit
- KB_windows
- MEMORY
- SECURITY
- SYMBOLS
- SYMBOLS_p10
- SYMBOLS_p11
- SYMBOLS_p12
- SYMBOLS_p13
- SYMBOLS_p14
- SYMBOLS_p15
- SYMBOLS_p16
- SYMBOLS_p17
- SYMBOLS_p18
- SYMBOLS_p19
- SYMBOLS_p2
- SYMBOLS_p20
- SYMBOLS_p21
- SYMBOLS_p22
- SYMBOLS_p23
- SYMBOLS_p24
- SYMBOLS_p25
- SYMBOLS_p26
- SYMBOLS_p27
- SYMBOLS_p28
- SYMBOLS_p29
- SYMBOLS_p3
- SYMBOLS_p30
- SYMBOLS_p31
- SYMBOLS_p32
- SYMBOLS_p33
- SYMBOLS_p34
- SYMBOLS_p35
- SYMBOLS_p36
- SYMBOLS_p37
- SYMBOLS_p38
- SYMBOLS_p39
- SYMBOLS_p4
- SYMBOLS_p40
- SYMBOLS_p41
- SYMBOLS_p42
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes