Repository navigation
community_8_cli_commands_c2_profile_engine
grisun0 edited this page Oct 21, 2026
·
2 revisions
Community 8 | 26 files | cohesion 0.41
This community groups 26 file(s) rooted at tests with dominant language py (cohesion 0.41). Central symbols: BeaconConfig, BeaconConfigBuilder, BofCatalog, BofCategory, BofEntry, BofMarketplace, BofMarketplaceCommandSet, BofPlatform. Core file: tests/test_c2_profile_engine.py (63 symbols). Documented purpose: BOF marketplace CommandSet — Beacon Object File discovery, install, and execution. Exposes modules/bof_registry through the LazyOwn CLI. Install compiles B.
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
tests/test_beacon_config_builder.py |
py | testing | 16 | yes |
tests/test_bof_registry.py |
py | testing | 51 | yes |
tests/test_c2_profile_engine.py |
py | testing | 63 | yes |
tests/test_command_allowlist.py |
py | testing | 14 | yes |
tests/test_command_allowlist_behavior.py |
py | testing | 3 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
cli/commands/bof_registry.py |
py | utility | 12 | yes |
cli/commands/c2_profile.py |
py | utility | 5 | yes |
cli/commands/enum.py |
py | utility | 11 | yes |
cli/commands/sleep_obfuscation.py |
py | utility | 4 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
modules/beacon_config_builder.py |
py | infrastructure | 14 | yes |
modules/bof_registry.py |
py | utility | 43 | yes |
modules/c2_profile_engine.py |
py | utility | 47 | yes |
modules/sleep_obfuscation.py |
py | utility | 28 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
skills/lazyown_claudemd.py |
py | utility | 8 | yes |
skills/lazyown_context.py |
py | utility | 11 | yes |
skills/lazyown_hooks.py |
py | utility | 14 | yes |
skills/lazyown_permissions.py |
py | utility | 16 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
cli/scope_guard.py |
py | utility | 12 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
lazyc2/security/command_allowlist.py |
py | utility | 8 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
skills/tests/test_harness_e2e.py |
py | testing | 10 | yes |
... and 6 more files in this community.
-
BofMarketplaceCommandSet(class,cli/commands/bof_registry.py:29)class BofMarketplaceCommandSet(LazyOwnCommandSet)- BOF marketplace: search, install, info, list, run BOFs on beacons. -
_ensure_staging_dir(method,cli/commands/bof_registry.py:36)def _ensure_staging_dir()- Create and return the BOF staging directory path. -
_find_bof_object(method,cli/commands/bof_registry.py:42)def _find_bof_object(bof_name)- Find a compiled .o file for a BOF across all known source trees. -
_stage_bof(method,cli/commands/bof_registry.py:71)def _stage_bof(self, bof_name)- Find a compiled BOF object and stage it to sessions/temp_uploads/bofs/. -
_queue_command_on_c2(method,cli/commands/bof_registry.py:89)def _queue_command_on_c2(self, client_id, command)- Send a command to a connected beacon via the C2's issue_command endpoint. -
do_bof_search(method,cli/commands/bof_registry.py:142)def do_bof_search(self, line)- Search the BOF catalog by keyword. -
do_bof_info(method,cli/commands/bof_registry.py:163)def do_bof_info(self, line)- Show detailed information about a BOF. -
do_bof_install(method,cli/commands/bof_registry.py:196)def do_bof_install(self, line)- Install and compile a BOF, staging it for beacon delivery. -
do_bof_run(method,cli/commands/bof_registry.py:226)def do_bof_run(self, line)- Execute a BOF on a connected beacon. -
do_bof_uninstall(method,cli/commands/bof_registry.py:267)def do_bof_uninstall(self, line)- Uninstall a BOF and remove its staged file. -
do_bof_list(method,cli/commands/bof_registry.py:289)def do_bof_list(self, line)- List all installed and staged BOFs. -
do_bof_catalog(method,cli/commands/bof_registry.py:321)def do_bof_catalog(self, line)- List all BOFs available in the curated catalog. -
C2ProfileCommandSet(class,cli/commands/c2_profile.py:18)class C2ProfileCommandSet(LazyOwnCommandSet)- Extended C2 profile commands: TLS, DNS, SMB, WebSocket profiles. -
do_c2_profiles(method,cli/commands/c2_profile.py:25)def do_c2_profiles(self, line)- List all available C2 transport profiles. -
do_c2_tls(method,cli/commands/c2_profile.py:50)def do_c2_tls(self, line)- Display the current TLS C2 profile. -
do_c2_dns(method,cli/commands/c2_profile.py:69)def do_c2_dns(self, line)- Configure or display the DNS beacon profile. -
do_c2_rotate(method,cli/commands/c2_profile.py:90)def do_c2_rotate(self, line)- Rotate to the next C2 transport profile in the rotation queue. -
EnumCommandSet(class,cli/commands/enum.py:31)class EnumCommandSet(LazyOwnCommandSet)- Enumeration phase commands. -
do_smbclient(method,cli/commands/enum.py:38)def do_smbclient(self, line)- Interacts with SMB shares using thesmbclientcommand to perform the following operations: -
do_smbclient_impacket(method,cli/commands/enum.py:108)def do_smbclient_impacket(self, line)- Interacts with SMB shares using thesmbclientcommand to perform the following operations: -
do_smbclient_py(method,cli/commands/enum.py:178)def do_smbclient_py(self, line)- Interacts with SMB shares using thesmbclient.pycommand to perform the following operations: -
do_smbmap(method,cli/commands/enum.py:225)def do_smbmap(self, line)- smbmap -H 10.10.10.3 [OPTIONS] -
do_getnpusers(method,cli/commands/enum.py:345)def do_getnpusers(self, line)- sudo impacket-GetNPUsers mist.htb/ -no-pass -usersfile sessions/users.txt -
do_psexec(method,cli/commands/enum.py:390)def do_psexec(self, line)- Executes the Impacket PSExec tool to attempt remote execution on the specified target. -
do_psexec_py(method,cli/commands/enum.py:446)def do_psexec_py(self, line)- Executes the Impacket PSExec tool to attempt remote execution on the specified target. -
do_rpcdump(method,cli/commands/enum.py:502)def do_rpcdump(self, line)- Executes therpcdump.pyscript to dump RPC services from a target host. -
do_enum4linux(method,cli/commands/enum.py:528)def do_enum4linux(self, line)- Performs enumeration of information from a target Linux/Unix system usingenum4linux. -
do_rpcclient(method,cli/commands/enum.py:558)def do_rpcclient(self, line)- Executes therpcclientcommand to interact with a remote Windows system over RPC (Remote Procedure -
SleepObfuscationCommandSet(class,cli/commands/sleep_obfuscation.py:16)class SleepObfuscationCommandSet(LazyOwnCommandSet)- Sleep obfuscation technique manager. -
do_sleep_list(method,cli/commands/sleep_obfuscation.py:23)def do_sleep_list(self, line)- List available sleep obfuscation techniques.
- Internal resolved imports (EXTRACTED): 52
- Cross-boundary resolved imports (EXTRACTED): 51
- [EXTRACTED] depends_on community 8 <-> 1 (strength 0.9): Extracted import edge crosses communities: cli/commands/bof_registry.py imports cli/commands/_base.py.
- [EXTRACTED] depends_on community 8 <-> 2 (strength 0.9): Extracted import edge crosses communities: cli/commands/bof_registry.py imports core/config.py.
- [taint high]
cli/banner_config.py->cli/commands/enum.pyviasubprocess(3 hops) - [cycle]
utils.py->skills/claude_md_orchestrator/parser.py->skills/claude_md_orchestrator/models.py->cli/commands/enum.py->cli/commands/_base.py->utils.py - [cycle]
utils.py->skills/claude_md_orchestrator/parser.py->skills/claude_md_orchestrator/models.py->cli/commands/enum.py->utils.py
- Can the cycle
utils.py->skills/claude_md_orchestrator/parser.py->skills/claude_md_orchestrator/models.py->cli/commands/enum.py->cli/commands/_base.pybe broken with an interface? - What would break if the most connected file in cli/commands: c2_profile_engine changed?
- Should cli/commands: c2_profile_engine be split, given cohesion 0.41?
cli/commands/bof_registry.pycli/commands/c2_profile.pycli/commands/enum.pycli/commands/sleep_obfuscation.pycli/commands/socks_proxy.pycli/scope_guard.pylazyc2/security/command_allowlist.pymodules/beacon_config_builder.pymodules/bof_registry.pymodules/c2_profile_engine.pymodules/sleep_obfuscation.pymodules/socks_proxy.pyskills/lazyown_claudemd.pyskills/lazyown_context.pyskills/lazyown_hooks.pyskills/lazyown_permissions.pyskills/lazyown_session.pyskills/tests/test_harness_e2e.pytests/test_beacon_config_builder.pytests/test_bof_registry.py- ... and 6 more
Generated offline by readmenator from commit 9f1ab88375b8. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_modules_autonomous_daemon
- community_10_skills_claude_md_orchestrator
- community_11_modules_surface_graph
- community_12_skills_hermes_lazyown
- community_13_modules_kerberos_core
- community_14_modules_saas_attacks
- community_15_modules_polymorphic_engine
- community_16_contrib_legacy
- community_17_tests
- community_18_scripts_journal
- community_19_modules_backdoor
- community_1_cli_commands_utils
- community_20_poc_tui
- community_21_scripts_check_contract_manifest
- community_22_scripts_migrate_lazyown
- community_23_tools
- community_24_orphans
- community_2_modules_lazy_loop
- community_3_cli
- community_4_modules_lazyc2
- community_5_lazygui_panels
- community_6_static_js
- community_7_modules_lazyown_facts
- community_8_cli_commands_c2_profile_engine
- community_9_core
- 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_p24
- 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
- ARCHITECTURE_p8
- 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_p16
- 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_p18
- KB_tests_p19
- 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_p43
- SYMBOLS_p44
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes