Repository navigation
community_10_modules_opsec_scorer
grisun0 edited this page Oct 16, 2026
·
3 revisions
Community 10 | 20 files | cohesion 0.37
This community groups 20 file(s) rooted at modules with dominant language py (cohesion 0.37). Central symbols: AESdecrypt, AESencrypt, AutoCryptoConfig, AutoCryptoEngine, Bogus, BridgeCatalog, CrackResult, Dummy. Core file: tests/test_core.py (47 symbols). Documented purpose: Automatic encryption of sensitive session data on app open/close. Before this module the operator had to manually run lazyenc.py encrypt and ``lazyenc.py d.
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
cli/auto_crypto.py |
py | utility | 13 | yes |
cli/commands/opsec_cleanup.py |
py | utility | 9 | yes |
cli/commands/security.py |
py | utility | 8 | yes |
core/credential_vault.py |
py | utility | 8 | yes |
core/crypto.py |
py | utility | 7 | yes |
core/protocols.py |
py | utility | 12 | yes |
modules/forensic_cleaner.py |
py | utility | 8 | yes |
modules/hash_cracker.py |
py | utility | 17 | yes |
modules/log_tamper.py |
py | utility | 9 | yes |
modules/memory_cleaner.py |
py | utility | 7 | yes |
modules/network_opsec.py |
py | utility | 12 | yes |
modules/opsec_scorer.py |
py | utility | 36 | yes |
modules/rootkit/rootkit.c |
c | utility | 13 | yes |
modules/timestomper.py |
py | utility | 12 | yes |
tests/test_auto_crypto.py |
py | testing | 22 | yes |
tests/test_core.py |
py | testing | 47 | yes |
tests/test_credential_vault.py |
py | testing | 16 | yes |
tests/test_hash_cracker.py |
py | testing | 22 | yes |
tests/test_opsec_scorer.py |
py | testing | 13 | yes |
tests/test_opsec_scorer_consolidated.py |
py | testing | 22 | yes |
-
AutoCryptoConfig(class,cli/auto_crypto.py:48)class AutoCryptoConfig- Centralised configuration for automatic session encryption. -
AutoCryptoEngine(class,cli/auto_crypto.py:77)class AutoCryptoEngine- Encrypt and decrypt sensitive session files with a derived key. -
__init__(method,cli/auto_crypto.py:85)def __init__(self, config) -
enabled(method,cli/auto_crypto.py:90)def enabled(self)- Whether the engine performs any I/O. -
is_encrypted(method,cli/auto_crypto.py:95)def is_encrypted(self)- Check whether session data appears encrypted. -
encrypt_session(method,cli/auto_crypto.py:124)def encrypt_session(self)- Encrypt all protected session files. -
decrypt_session(method,cli/auto_crypto.py:174)def decrypt_session(self)- Decrypt all protected session files. -
has_password(method,cli/auto_crypto.py:239)def has_password(self)- Return True when the configured provider yields a password now. -
_get_password(method,cli/auto_crypto.py:251)def _get_password(self) -
_load_or_create_salt(method,cli/auto_crypto.py:260)def _load_or_create_salt(self) -
_derive_key(method,cli/auto_crypto.py:291)def _derive_key(password, salt) -
build_password_provider_from_cli_login(function,cli/auto_crypto.py:297)def build_password_provider_from_cli_login()- Return a password provider that reads the CLI login session. -
_provider(function,cli/auto_crypto.py:310)def _provider() -
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)
- Internal resolved imports (EXTRACTED): 33
- Cross-boundary resolved imports (EXTRACTED): 63
- [EXTRACTED] depends_on community 10 <-> 1 (strength 0.9): Extracted import edge crosses communities: cli/auto_crypto.py imports core/logging.py.
- [EXTRACTED] depends_on community 10 <-> 0 (strength 0.9): Extracted import edge crosses communities: cli/auto_crypto.py imports modules/cli_auth.py.
- [dataflow UNCHECKED_ALLOC]
cli/auto_crypto.py:272_load_or_create_saltfd: Result of allocator stored infdis never checked against NULL.
- What would break if the most connected file in modules: opsec_scorer changed?
- Should modules: opsec_scorer be split, given cohesion 0.37?
cli/auto_crypto.pycli/commands/opsec_cleanup.pycli/commands/security.pycore/credential_vault.pycore/crypto.pycore/protocols.pymodules/forensic_cleaner.pymodules/hash_cracker.pymodules/log_tamper.pymodules/memory_cleaner.pymodules/network_opsec.pymodules/opsec_scorer.pymodules/rootkit/rootkit.cmodules/timestomper.pytests/test_auto_crypto.pytests/test_core.pytests/test_credential_vault.pytests/test_hash_cracker.pytests/test_opsec_scorer.pytests/test_opsec_scorer_consolidated.py
Generated offline by readmenator from commit 146a52570ef7. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_cli_commands
- community_10_modules_opsec_scorer
- community_11_modules_finding_lifecycle
- 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_cli
- community_3_modules_autonomous_daemon
- community_4_modules_lazy_loop
- community_5_lazygui_panels
- community_6_skills_claude_md_orchestrator
- community_7_static_js
- community_8_modules_llm_budget
- community_9_modules_atomic_exploit_bridge
- 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_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_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_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes