IN PROGRESS
Technical summary
NEXUS Hybrid Analysis integrates the CrowdStrike Falcon dynamic sandbox: it submits files (up to 32MB) and URLs for analysis, keeps a local history with summary/network/process reports and polls pending analyses via cron and CLI. It searches hashes without spending quota and contributes hash and URL signals through the Intelligence Hub, with a soft URLhaus integration and direct VirusTotal links.
Executed scope
- Plugin registration (
registerTab('hybrid-analysis','Hybrid Analysis','shield-alert',tab.php,'Segurança')+registerDoc+registerModal) andha_install()preparing theplugin_hybrid_analysestable (job_id, sha256, submit_type, source_name/url, environment_id, status, verdict, threat_score, task_id, report_json/network_json/process_json, timestamps) viainstall.sql. - 11 API actions:
ha_stats(counters + API status),ha_settings_get/ha_settings_save(key, environment_id, toggles, share_community),ha_test_connection(EICAR lookup),ha_submit_file(multipartfileorfile_base64, 32MB),ha_submit_url,ha_report(summary + network + process),ha_search_hash,ha_history(paginated),ha_poll_pendingandha_quota. - Hybrid Analysis API v2 integration (
https://hybrid-analysis.com/api/v2):api-key+User-Agent: Falcon Sandboxheaders; endpointssubmit/file,submit/url,search/hash(GET, new format withreports/sha256s+overview/{sha256}fallback),report/{id}/summary|network|processandkey/current; 60–90s timeouts, SSL verify and safe POST redirects (CURLOPT_POSTREDIR). - File submission: local SHA-256 hashing before upload; if the hash is already known on HA, answers
cachedwith a lookup that consumes no submission quota; multipart withallow_community_access/no_share_third_partyper config. - URL submission: soft URLhaus integration (
uh_verify) annotates_urlhausin the report if the URL is malicious;FILTER_VALIDATE_URLhttp/https validation. - Pending polling:
ha_poll_pending()refreshes pending/queued/in_progress analyses (usleep 250ms between calls to stay under 5 req/min);ha_cron_check()with 5-min throttle viacronjob.json(jobha_poll,tick: true) and allowlisted CLIcli.php(ha_poll_pending(10)). - Hash search:
ha_search_hash()accepts MD5/SHA1/SHA256; when the report lacks a verdict it fetchesoverview/{sha256}(withlast_analysis.verdictfallback);ha_lookup_hash_summary()returns public HA + VT links even without an API key (link_only). - Enrichment (Intelligence Hub):
nx_intel_register_enricher('hybrid-analysis', ['hash','url'], 'ha_intel_enrich', 50)consults the local cache /search/hash(never auto-submits on the hub); severity 80 when verdict is malicious/suspicious or score ≥50, otherwise 12;max_live_lookupsbudget (up to 4 hashes + 3 URLs per run), the restskipped. - Security: API key stays server-side (
DB::setConfig), the UI never re-displays it;ha_quota()returns a masked key (api_key_masked); uploads capped at 32MB. - UI (
tab.php, 575 lines, AlpinehaApp()): Submit/Reports/Config tabs, drag-and-drop file upload, URL submission, hash search, Poll pending button, auto-poll every 45s (whenauto_polland there are pending items), history table with detailed inline report (verdict, score, network, process, MITRE) and modal.
Stack and tools
- PHP 8 backend (no framework) + MySQL 8 (
plugin_hybrid_analyses) - Hybrid Analysis API v2 (CrowdStrike Falcon Sandbox) — submit file/url, search hash, report, quota
- URLhaus (soft integration) + VirusTotal (direct per-hash links)
- Alpine.js + Tailwind CSS (
tab.php) - Internal Plugin API (PluginManager tabs/actions/modals +
cronjob.json+ CLI + enricher)
Operational tags
- Hybrid Analysis
- CrowdStrike
- Sandbox
- Malware
- Dynamic analysis
- Hash
- URL
- NEXUS Plugin
Operational result
- Dynamic analysis: files (up to 32MB) and URLs are executed in the CrowdStrike Falcon sandbox with network, process and MITRE reports.
- Quota savings: a known hash answers via lookup (
cached) with no submission consumed; hash search usessearch/hash/overview. - Early detection: the soft URLhaus integration flags submitted URLs that are already malicious before analysis.
- Polling automation: cron + CLI refresh pending analyses automatically (5-min throttle, ~4 req/min).
- Hub enrichment: hashes and URLs mentioned in tasks/comments gain threat signals with calibrated severity.
- Investigation links: every hash has direct Hybrid Analysis and VirusTotal links, even without an API key.
GitHub progress (issues)
Real-time panel with latest repository issues.
live feed
open issues on GitHubcarregando andamento...
não foi possivel carregar as issues agora. abra no github pelo link acima.
Real results
CrowdStrike Falcon dynamic sandbox: submits files (up to 32MB) and URLs for analysis, keeps a local history with summary/network/process reports, polls pending analyses (cron + CLI), searches hashes without spending quota and contributes hash and URL signals via the Intelligence Hub — with a soft URLhaus integration and direct VirusTotal links.
Architecture and organization
- PHP 8
- MySQL 8
- Hybrid Analysis API v2
- CrowdStrike Falcon Sandbox
- Alpine.js
- Tailwind CSS
- Plugin NEXUS
Execution and operations
The project follows reproducible execution flow with technical validation in production-like environments.
Screenshots
Talk about this project
Apply this implementation pattern in your environment and accelerate delivery with technical consistency.