Repository navigation
community_8_modules_opsec_scorer
grisun0 edited this page Oct 21, 2026
·
1 revision
Community 8 | 27 files | cohesion 0.46
This community groups 27 file(s) rooted at modules with dominant language py (cohesion 0.46). Central symbols: CheckpointSerializer, CompactionResult, CompactionStrategy, ConfigBridge, ConfigBridgeError, ConfigKeys, CrackResult, DefaultCompaction. Core file: tests/test_killchain_unified_v2.py (43 symbols). Documented purpose: OPSEC and cleanup commands — scoring, log tamper, forensic cleaner, timestomp, memory, network. Provides: opsec_score — Real-time OPSEC risk assess.
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
modules/forensic_cleaner.py |
py | utility | 8 | yes |
modules/hash_cracker.py |
py | utility | 17 | yes |
modules/kill_chain_viz.py |
py | utility | 5 | yes |
modules/killchain.py |
py | utility | 21 | yes |
modules/log_tamper.py |
py | utility | 9 | yes |
modules/memory_cleaner.py |
py | utility | 7 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
skills/hermes-lazyown/claudemd_rules.py |
py | business_logic | 14 | yes |
skills/hermes-lazyown/config_bridge.py |
py | infrastructure | 16 | yes |
skills/hermes-lazyown/constants.py |
py | utility | 15 | yes |
skills/hermes-lazyown/executor.py |
py | utility | 13 | yes |
skills/hermes-lazyown/hermes_sync.py |
py | utility | 14 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
tests/test_credential_vault.py |
py | testing | 16 | yes |
tests/test_hash_cracker.py |
py | testing | 22 | yes |
tests/test_killchain.py |
py | testing | 9 | yes |
tests/test_killchain_snapshot.py |
py | testing | 12 | yes |
tests/test_killchain_unified_v2.py |
py | testing | 43 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
cli/commands/opsec_cleanup.py |
py | utility | 9 | yes |
cli/commands/security.py |
py | utility | 8 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
cli/killchain.py |
py | utility | 4 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
core/credential_vault.py |
py | utility | 8 | yes |
... and 7 more files in this community.
-
OpsecCleanupCommandSet(class,cli/commands/opsec_cleanup.py:19)class OpsecCleanupCommandSet(LazyOwnCommandSet)- OPSEC scoring, log tampering, forensic cleaning, timestomping, memory/network OPSEC. -
do_opsec_score(method,cli/commands/opsec_cleanup.py:25)def do_opsec_score(self, line)- Real-time OPSEC risk assessment with contextual action gating (v2). -
do_log_tamper(method,cli/commands/opsec_cleanup.py:97)def do_log_tamper(self, line)- Cross-platform log clearing commands. -
do_forensic_clean(method,cli/commands/opsec_cleanup.py:162)def do_forensic_clean(self, line)- Clean forensic artifacts — Prefetch, Shimcache, Amcache, Jump Lists, etc. -
do_timestomp(method,cli/commands/opsec_cleanup.py:219)def do_timestomp(self, line)- Manipulate file MACB timestamps to evade forensic timeline analysis. -
do_memory_clean(method,cli/commands/opsec_cleanup.py:288)def do_memory_clean(self, line)- Clean memory artifacts — Kerberos tickets, clipboard, env vars, credentials. -
do_network_opsec(method,cli/commands/opsec_cleanup.py:342)def do_network_opsec(self, line)- Network OPSEC — proxy chains, DoH, canary detection, traffic analysis. -
do_auditd_disable(method,cli/commands/opsec_cleanup.py:445)def do_auditd_disable(self, line)- Generate commands to disable Linux auditd. -
do_sysmon_disable(method,cli/commands/opsec_cleanup.py:468)def do_sysmon_disable(self, line)- Generate commands to disable Windows Sysmon. -
SecurityCommandSet(class,cli/commands/security.py:20)class SecurityCommandSet(LazyOwnCommandSet)- OPSEC scoring, credential vault, and hash cracking commands. -
do_opsec(method,cli/commands/security.py:26)def do_opsec(self, line)- Score OPSEC risk for a LazyOwn command before execution. -
do_seal_credentials(method,cli/commands/security.py:106)def do_seal_credentials(self, _line)- Encrypt all sensitive values in payload.json using AES-256-GCM. -
do_rotate_aes(method,cli/commands/security.py:127)def do_rotate_aes(self, _line)- Generate a new AES key and re-encrypt all sealed credentials. -
do_unseal_credentials(method,cli/commands/security.py:150)def do_unseal_credentials(self, _line)- Decrypt sealed credential values in payload.json for inspection. -
do_crack_hashes(method,cli/commands/security.py:170)def do_crack_hashes(self, line)- Crack password hashes from a file using John the Ripper or Hashcat. -
complete_opsec(method,cli/commands/security.py:267)def complete_opsec(self, text, line, begidx, endidx) -
complete_crack_hashes(method,cli/commands/security.py:276)def complete_crack_hashes(self, text, line, begidx, endidx) -
PhaseProgress(class,cli/killchain.py:29)class PhaseProgress- Computed progress for a single kill-chain phase. -
_phase_from_event(function,cli/killchain.py:48)def _phase_from_event(event)- Return the phase an event belongs to, empty string if absent. -
_detect_current_phase(function,cli/killchain.py:58)def _detect_current_phase(events, world, phase_keys)- Resolve the active phase from events, falling back to the world model. -
compute_killchain(function,cli/killchain.py:83)def compute_killchain(events, world, phases)- Compute kill-chain progress from daemon events and the world model. -
check_dangerous_defaults(function,core/credential_vault.py:63)def check_dangerous_defaults(payload)- Scan payload for unchanged default credential values. -
_get_aes_key(function,core/credential_vault.py:79)def _get_aes_key(payload)- Resolve the AES key from payload, disk, or generate fresh. -
seal_value(function,core/credential_vault.py:93)def seal_value(plaintext, key)- Encrypt a single credential value. -
unseal_value(function,core/credential_vault.py:112)def unseal_value(sealed, key)- Decrypt a sealed credential value. -
seal_payload(function,core/credential_vault.py:141)def seal_payload(payload, key)- Return a copy ofpayloadwith all sensitive values encrypted. -
unseal_payload(function,core/credential_vault.py:164)def unseal_payload(payload, key)- Return a copy ofpayloadwith all sealed values decrypted. -
rotate_aes_key(function,core/credential_vault.py:186)def rotate_aes_key(payload, current_key)- Generate a new AES key, re-encrypt all sealed values under it. -
generate_secure_defaults(function,core/credential_vault.py:215)def generate_secure_defaults()- Generate cryptographically random default values for sensitive keys. -
ForensicCleanerConfig(class,modules/forensic_cleaner.py:23)class ForensicCleanerConfig- Configuration for forensic artifact cleaning.
- Internal resolved imports (EXTRACTED): 38
- Cross-boundary resolved imports (EXTRACTED): 81
- [EXTRACTED] depends_on community 11 <-> 8 (strength 0.9): Extracted import edge crosses communities: cli/commands/ai.py imports modules/killchain.py.
- No scoped security, taint, cycle, or layer risks.
- What would break if the most connected file in modules: opsec_scorer changed?
- Should modules: opsec_scorer be split, given cohesion 0.46?
cli/commands/opsec_cleanup.pycli/commands/security.pycli/killchain.pycore/credential_vault.pymodules/forensic_cleaner.pymodules/hash_cracker.pymodules/kill_chain_viz.pymodules/killchain.pymodules/log_tamper.pymodules/memory_cleaner.pymodules/network_opsec.pymodules/opsec_scorer.pymodules/timestomper.pyskills/hermes-lazyown/claudemd_rules.pyskills/hermes-lazyown/config_bridge.pyskills/hermes-lazyown/constants.pyskills/hermes-lazyown/executor.pyskills/hermes-lazyown/hermes_sync.pyskills/hermes-lazyown/mcp_server.pyskills/hermes-lazyown/output_compactor.py- ... and 7 more
Generated offline by readmenator from commit 3572cf8f9c41. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_modules_autonomous_daemon
- community_10_skills_claude_md_orchestrator
- community_11_core
- community_12_modules_finding_lifecycle
- 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_cli
- community_3_modules_lazy_loop
- community_4_modules_lazyc2
- community_5_lazygui_panels
- community_6_static_js
- community_7_modules_lazyown_facts
- community_8_modules_opsec_scorer
- community_9_cli_commands_c2_profile_engine
- 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
- ARCHITECTURE_p9
- 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