MCPcopy Create free account

hub / github.com/JameZUK/Arkana / functions

Functions6,492 in github.com/JameZUK/Arkana

↓ 1 callersFunction_collect_string_candidates
Collect distinctive strings from the binary suitable for YARA rules. Sources (in priority order): 1. FLOSS decoded/stack strings (strongest s
arkana/mcp/tools_pe_forensic.py:266
↓ 1 callersMethod_common_substring
(self, s1, s2)
arkana/hashing.py:135
↓ 1 callersFunction_compare_files
Cross-file comparison: import overlaps, timestamps, similarity clustering.
arkana/mcp/tools_batch.py:151
↓ 1 callersFunction_compare_ordered
Ordered comparison (>, <, >=, <=) with numeric coercion.
scripts/trace_query.py:218
↓ 1 callersFunction_compare_substring
Case-insensitive substring match (NOT regex to avoid ReDoS).
scripts/trace_query.py:213
↓ 1 callersFunction_compile_yara_rules
Compile YARA rules from *yara_rules_path* (file or directory). Returns a list of compiled rule sets, or ``None`` if nothing could be compiled
arkana/parsers/signatures.py:110
↓ 1 callersFunction_compute_authenticode_hash
Compute the Authenticode PE image hash (SHA-256). This excludes the checksum field, the security directory entry, and the signature data itse
arkana/mcp/tools_pe_forensic.py:603
↓ 1 callersFunction_compute_entropy
Shannon entropy of a byte sequence (0.0 – 8.0). Uses collections.Counter (C implementation) for fast byte counting.
arkana/dashboard/state_api.py:2770
↓ 1 callersFunction_compute_entropy_streaming
Compute Shannon entropy by streaming the file in chunks.
arkana/dashboard/state_api.py:2787
↓ 1 callersFunction_compute_obfuscation_score
Compute an obfuscation score (0-100) based on indicator function density.
arkana/mcp/tools_macro.py:102
↓ 1 callersFunction_compute_struct_size
Compute the total static size of a struct from its fields.
arkana/mcp/tools_types.py:35
↓ 1 callersFunction_compute_thresholds
Compute HIGH/CRITICAL thresholds from available memory. HIGH = 60% of available (leave 40% headroom) CRITICAL = 80% of available (imminent O
arkana/resource_monitor.py:75
↓ 1 callersFunction_config_lookup_by_env
Look up a user config value by its environment variable name.
arkana/utils.py:59
↓ 1 callersFunction_configure_logging
Set up logging based on parsed arguments. Returns the log level.
arkana/main.py:166
↓ 1 callersFunction_consume_input
Pop up to n bytes from pending input queue.
scripts/debug_runner.py:416
↓ 1 callersFunction_create_routes
Build the list of Starlette routes.
arkana/dashboard/app.py:1022
↓ 1 callersFunction_decompile_sweep
Decompile top-scored functions in priority order.
arkana/enrichment.py:437
↓ 1 callersFunction_deep_validate_chain
Run per-function RDA on source and sink functions to confirm data flow. Returns True if RDA completed successfully (upgrades confidence to 'high'
arkana/mcp/tools_taint.py:582
↓ 1 callersFunction_detect_analysis_phase
Determine analysis phase for a given state object. M7-v10: Delegates to shared helper using canonical tool sets from tools_session.
arkana/dashboard/state_api.py:4561
↓ 1 callersFunction_detect_available_memory_mb
Detect available memory from cgroups or system total. Returns (available_mb, source_str) where source is one of: 'cgroup_v2', 'cgroup_v1', 'p
arkana/resource_monitor.py:31
↓ 1 callersFunction_detect_crypto_internal
Detect crypto constants synchronously. No MCP context needed. Scans the PE binary for known cryptographic constant byte patterns. Used by the
arkana/mcp/tools_pe_extended.py:686
↓ 1 callersFunction_detect_dga_internal
Detect DGA indicators synchronously. No MCP context needed. Performs import-based DGA scoring using cached state data. Does NOT scan file byt
arkana/mcp/tools_malware_detect.py:57
↓ 1 callersFunction_detect_fixed_chunk_size
Detect fixed chunk size from repeating entropy patterns.
arkana/mcp/tools_payload.py:549
↓ 1 callersFunction_detect_format
Detect EA05 vs EA06 format after the EA05 magic.
arkana/parsers/autoit.py:260
↓ 1 callersFunction_detect_sleep_jitter
Detect sleep/jitter patterns common in C2 beacons.
arkana/mcp/tools_malware_detect.py:819
↓ 1 callersMethod_drain_stderr
Read and discard stderr to prevent pipe buffer deadlock.
arkana/mcp/tools_emulate_inspect.py:68
↓ 1 callersMethod_drain_stderr
Read and discard stderr to prevent pipe buffer deadlock.
arkana/mcp/tools_debug.py:128
↓ 1 callersFunction_dump_aux_symbol_to_dict
(parent_symbol_struct, aux_symbol_struct, aux_idx: int)
arkana/utils.py:366
↓ 1 callersFunction_enrich_error_message
Append actionable hints to known error patterns.
arkana/mcp/server.py:687
↓ 1 callersFunction_enrich_qiling_error
Append actionable hints to known Qiling error patterns.
arkana/mcp/tools_qiling.py:74
↓ 1 callersFunction_enrichment_worker
Main enrichment coordinator. Runs sequentially through phases.
arkana/enrichment.py:134
↓ 1 callersMethod_ensure_cache_dir
(self)
arkana/cache.py:94
↓ 1 callersFunction_ensure_config_dir
Create ~/.arkana/ directory if it does not exist, with restrictive permissions.
arkana/user_config.py:211
↓ 1 callersFunction_ensure_db_dir
Create the BSim DB directory if it doesn't exist.
arkana/mcp/_bsim_features.py:645
↓ 1 callersMethod_ensure_dirs
(self)
arkana/projects.py:661
↓ 1 callersFunction_ensure_windows_registry
Create minimal Windows registry hive stubs if they don't exist. Returns the number of hive files created (0 if all already existed).
scripts/qiling_runner.py:1444
↓ 1 callersMethod_evict_if_needed
(self, meta: Optional[Dict[str, Any]] = None)
arkana/cache.py:401
↓ 1 callersMethod_evict_old_tasks
Remove oldest completed/failed tasks when the count exceeds the limit. Must be called while ``_task_lock`` is held.
arkana/state.py:448
↓ 1 callersFunction_export_project_v2
Tar+gzip a project's directory tree as a v2 archive. Layout inside the tarball: manifest.json (top-level wrapper, h
arkana/mcp/tools_export.py:55
↓ 1 callersFunction_extend_stack
Extend the Qiling stack for x64 Windows binaries. Qiling's default stack (~128KB) is insufficient for complex binaries like interpreters (Aut
scripts/debug_runner.py:1582
↓ 1 callersFunction_extract_iocs_from_code
Extract IOCs (URLs, IPs, file paths) from macro source code.
arkana/mcp/tools_macro.py:71
↓ 1 callersFunction_extract_key_params
Build a compact parameter snapshot for history recording.
arkana/mcp/server.py:186
↓ 1 callersFunction_extract_string_at_file_offset
Extract a string directly at a file offset. Returns result dict.
arkana/mcp/tools_strings.py:1549
↓ 1 callersFunction_extract_string_at_va
Core logic to extract a string at a single VA. Returns result dict.
arkana/mcp/tools_strings.py:1599
↓ 1 callersFunction_file_offset_to_va
Convert a file offset to a virtual address using PE section mapping.
arkana/parsers/floss.py:395
↓ 1 callersFunction_find_entry_point_offset
Locate PE entry point file offset from raw PE data.
arkana/parsers/vb6.py:293
↓ 1 callersFunction_find_pe_in_allocations
Scan tracked VirtualAlloc regions for PE headers (MZ + PE signature). Returns the best candidate {"address": int, "size": int} or None. Prefe
scripts/qiling_runner.py:974
↓ 1 callersFunction_find_taint_chains_reverse
Reverse BFS from a sink function backward through callers to find which source functions can reach it.
arkana/mcp/tools_taint.py:308
↓ 1 callersFunction_format_arg_log
Generate JS log expression for an argument.
arkana/mcp/_frida_templates.py:472
↓ 1 callersFunction_fuzzy_match_encryption
Return match score between two encryption method names. Returns: 1.0 for exact match, 0.7 for substring match (e.g. rc4 ~ rc4_base64),
arkana/mcp/tools_malware_identify.py:99
↓ 1 callersFunction_generate_file_event_rule
Generate a file event Sigma rule.
arkana/mcp/tools_threat_intel.py:503
↓ 1 callersFunction_generate_network_rule
Generate a network connection Sigma rule.
arkana/mcp/tools_threat_intel.py:657
↓ 1 callersFunction_generate_process_creation_rule
Generate a process creation Sigma rule.
arkana/mcp/tools_threat_intel.py:438
↓ 1 callersFunction_generate_registry_rule
Generate a registry event Sigma rule.
arkana/mcp/tools_threat_intel.py:587
↓ 1 callersFunction_get_cached_capa_rules
Return cached capa rules, loading on first call. Uses double-checked locking with both checks under the lock since OrderedDict is not thread-
arkana/parsers/capa.py:42
↓ 1 callersFunction_get_cached_entry
Thread-safe lookup returning the full meta dict (lines + metadata).
arkana/mcp/tools_angr.py:57
↓ 1 callersFunction_get_capstone_arch
Look up Capstone arch/mode tuple, raising ValueError on unknown arch.
arkana/mcp/tools_new_libs.py:73
↓ 1 callersFunction_get_compiled_rules
Return cached compiled YARA rules, compiling on first call. All access to the OrderedDict is serialized under ``_compiled_rules_lock`` to pre
arkana/parsers/signatures.py:163
↓ 1 callersFunction_get_function_callees
Return lower-cased callee names reachable from *func_obj*.
arkana/mcp/tools_taint.py:156
↓ 1 callersFunction_get_pe_data_for_detection
Get PE binary data for PRNG auto-detection.
arkana/mcp/tools_autoit.py:60
↓ 1 callersFunction_get_project_membership_map
Return the cached full membership map, refreshing on TTL or mtime. Uses a Condition variable to coordinate concurrent rebuilds: if a second r
arkana/dashboard/state_api.py:3356
↓ 1 callersFunction_get_register_table
Return register assignment tables for the given architecture. Returns None for unsupported architectures.
arkana/mcp/_go_abi.py:182
↓ 1 callersFunction_get_section_starts
Get the file offsets of all PE sections.
arkana/mcp/tools_crypto.py:435
↓ 1 callersFunction_get_valid_tokens
Return list of tokens that should be accepted (dashboard + optional API key).
arkana/dashboard/app.py:886
↓ 1 callersFunction_hash_file
Return (sha256, size_bytes) for a file. Streams to avoid loading large files.
arkana/projects.py:165
↓ 1 callersFunction_heartbeat
()
arkana/mcp/server.py:369
↓ 1 callersFunction_i
(e,t,n)
arkana/dashboard/static/cytoscape.min.js:29
↓ 1 callersFunction_identify_family_internal
Identify malware family from cached analysis state. No MCP context needed. Builds evidence automatically from cached triage, similarity hashes,
arkana/mcp/tools_malware_identify.py:551
↓ 1 callersFunction_identify_library_internal
Run FLIRT signature matching synchronously. No MCP overhead.
arkana/mcp/tools_angr_disasm.py:362
↓ 1 callersFunction_initNavOverflow
()
arkana/dashboard/static/dashboard.js:105
↓ 1 callersFunction_init_capstone
Initialize capstone disassembler for the given architecture.
scripts/debug_runner.py:163
↓ 1 callersFunction_install_api_trace
Install per-API hook_address hooks to trace all Windows API calls. Only hooks APIs that are NOT already stubbed (CRT, I/O, or user stubs), si
scripts/debug_runner.py:1428
↓ 1 callersFunction_install_crt_stubs
Install CRT initialization stubs to prevent crashes during MSVC CRT init. Three categories of stubs: 1. Simple return-value stubs (data-drive
scripts/debug_runner.py:725
↓ 1 callersFunction_install_io_stubs
Install Win32 console API stubs to prevent crashes from console I/O. Strategy: register CALL hooks that set the return value in EAX/RAX, then
scripts/debug_runner.py:1228
↓ 1 callersFunction_install_mem_hooks
Install global memory hooks if watchpoints exist.
scripts/debug_runner.py:1544
↓ 1 callersFunction_install_set_api_fallbacks
Register stubs via set_api() AND patch DLL export entry points for x64. Three-layer approach for maximum compatibility: 1. set_api() — catche
scripts/debug_runner.py:955
↓ 1 callersFunction_ioc_to_stix_pattern
Convert an IOC to a STIX 2.1 indicator pattern.
arkana/mcp/tools_ioc.py:150
↓ 1 callersFunction_is_ascending_sequence
Check if data contains an ascending byte sequence (RC4 key schedule indicator).
arkana/mcp/tools_crypto.py:82
↓ 1 callersFunction_is_binary_file
Quick check if a file looks like a PE/ELF/Mach-O binary.
arkana/mcp/tools_batch.py:34
↓ 1 callersFunction_is_executable_va
Check if a VA falls within a section with execute permission.
arkana/dashboard/state_api.py:229
↓ 1 callersFunction_is_mostly_printable_ascii_sync
Synchronous helper to check if a string consists mostly of printable ASCII characters. Printable includes standard ASCII (space to '~') and c
arkana/mcp/tools_deobfuscation.py:278
↓ 1 callersFunction_is_under_allowlist
True if *rp* is inside any configured allowed_paths root. When no allowlist is configured (stdio mode), this returns True so the help
arkana/dashboard/app.py:496
↓ 1 callersFunction_load_extended_api_names
Load the extended OALabs API export list (~10K names). This is a flat list without DLL grouping, used as a secondary source when the curated
arkana/mcp/_helpers_api_hashes.py:49
↓ 1 callersMethod_load_index
Load the project index. Missing index = empty (migration handled separately).
arkana/projects.py:668
↓ 1 callersFunction_lzss_decompress
Decompress AutoIt LZSS-compressed data. Tries autoit-ripper's implementation first (higher fidelity). Falls back to None if unavailable or fa
arkana/parsers/autoit.py:182
↓ 1 callersFunction_make_address_bp_callback
Create a breakpoint callback for a specific address.
scripts/debug_runner.py:1468
↓ 1 callersFunction_make_api_bp_callback
Create an API breakpoint callback.
scripts/debug_runner.py:1479
↓ 1 callersFunction_make_hashable
Recursively convert mutable values to hashable types for cache keys.
arkana/mcp/_input_helpers.py:192
↓ 1 callersFunction_make_hook
(name)
scripts/qiling_runner.py:931
↓ 1 callersFunction_make_trace_address_hook
Create a hook_address callback that traces an API call with raw params.
scripts/debug_runner.py:1415
↓ 1 callersMethod_make_triage_inputs
Helper to build the sets used by _triage_compiler_language.
tests/test_vb6.py:462
↓ 1 callersFunction_match_c2_internal
Match C2 framework indicators synchronously. No MCP context needed. Scans binary content against all known C2 framework profiles. Used by the
arkana/mcp/tools_malware_detect.py:547
↓ 1 callersMethod_migrate_legacy_cache_if_needed
One-shot scan of ~/.arkana/cache/ for v1 wrappers carrying user state. For each entry with non-empty notes/artifacts/renames/types/triage:
arkana/projects.py:914
↓ 1 callersFunction_ms_to_human
Convert milliseconds to human-readable duration.
arkana/mcp/tools_malware_detect.py:854
↓ 1 callersFunction_n
()
arkana/dashboard/static/htmx.min.js:1
↓ 1 callersFunction_overlay_coverage_on_functions
Overlay coverage blocks onto the loaded binary's function map. Returns coverage statistics and per-function coverage status.
arkana/mcp/tools_coverage.py:278
↓ 1 callersFunction_parse_arguments
Build the CLI parser and return parsed arguments.
arkana/main.py:75
↓ 1 callersFunction_parse_certificates_crypto
Parse certificates from raw signature using cryptography library.
arkana/mcp/tools_pe_forensic.py:467
↓ 1 callersFunction_parse_external_table
Parse the VB External Table (Declare Function entries). Each entry is 8 bytes: +0x00: type (4 bytes) — 0x06 = Declare Function +0x04:
arkana/parsers/vb6.py:490
↓ 1 callersFunction_parse_functions_v116
Parse function table for Go 1.16–1.17.
arkana/parsers/go_pclntab.py:612
← previousnext →1,501–1,600 of 6,492, ranked by callers