|
|
2 settimane fa | |
|---|---|---|
| .. | ||
| events | 2 settimane fa | |
| README.md | 2 settimane fa | |
| create-shuffle-mvp-workflows.sh | 4 settimane fa | |
| import-wazuh-dashboard.sh | 2 settimane fa | |
| seed-iris-demo-data.sh | 3 settimane fa | |
| send-wazuh-cisco-test-events.sh | 3 settimane fa | |
| send-wazuh-endpoint-agent-test-events.sh | 3 settimane fa | |
| send-wazuh-fortigate-continuous.sh | 3 settimane fa | |
| send-wazuh-fortigate-test-events.sh | 3 settimane fa | |
| send-wazuh-proposal-appendix-b-events.sh | 2 settimane fa | |
| send-wazuh-proposal-appendix-c-events.sh | 2 settimane fa | |
| send-wazuh-proposal-required-events.sh | 2 settimane fa | |
| send-wazuh-test-events.sh | 3 settimane fa | |
| trigger-shuffle-workflow.sh | 4 settimane fa | |
| update-shuffle-workflow-from-template.sh | 3 settimane fa | |
Run Sim Logs) target mapping/ui -> Systems -> Run Sim Logs now supports multi-select Target values based on selected Script.
The UI starts one simulator run per selected target (except all, which runs a single all run).
fortigate: all, 501E, 80F, 60F, 40Fendpoint: all, windows, mac, linuxcisco: all, asa_acl_deny, asa_vpn_auth_fail, ios_login_fail, ios_config_changeproposal_required: all, a1, a2, a3, a4proposal_appendix_b: all, b1, b2, b3proposal_appendix_c: all, c1, c2, c3wazuh_test: all, ioc_dns, ioc_ips, vpn_outside_th, windows_auth_failUse this to inject synthetic SOC events via syslog UDP into Wazuh manager.
scripts/send-wazuh-test-events.sh [scenario] [count] [delay_seconds]
Optional flag:
--forever (ignore count and run continuously until Ctrl+C)Scenarios:
ioc_dnsioc_ipsvpn_outside_thwindows_auth_failallExamples:
scripts/send-wazuh-test-events.sh all
scripts/send-wazuh-test-events.sh vpn_outside_th 5 0.2
WAZUH_SYSLOG_HOST=127.0.0.1 WAZUH_SYSLOG_PORT=514 scripts/send-wazuh-test-events.sh ioc_ips
scripts/send-wazuh-test-events.sh all 1 2 --forever
Environment overrides:
WAZUH_SYSLOG_HOST (default 127.0.0.1)WAZUH_SYSLOG_PORT (default 514)WAZUH_TEST_SRC_IPWAZUH_TEST_DOMAINWAZUH_TEST_USERTransport notes:
nc if available./dev/udp/host/port) when nc is unavailable.Use this to inject Cisco-style syslog events (ASA/IOS) into Wazuh manager.
scripts/send-wazuh-cisco-test-events.sh [scenario] [count] [delay_seconds]
Optional flag:
--forever (ignore count and run continuously until Ctrl+C)Scenarios:
asa_acl_denyasa_vpn_auth_failios_login_failios_config_changeallExamples:
scripts/send-wazuh-cisco-test-events.sh all
scripts/send-wazuh-cisco-test-events.sh asa_acl_deny 5 0.2
CISCO_DEVICE_HOST=edge-fw-01 scripts/send-wazuh-cisco-test-events.sh ios_login_fail
scripts/send-wazuh-cisco-test-events.sh all 1 2 --forever
Environment overrides:
WAZUH_SYSLOG_HOST (default 127.0.0.1)WAZUH_SYSLOG_PORT (default 514)CISCO_DEVICE_HOSTCISCO_SRC_IPCISCO_DST_IPCISCO_VPN_USERCISCO_ADMIN_USERUse this to inject FortiGate-style syslog events (models 501E, 80F, 60F, 40F) into Wazuh manager.
scripts/send-wazuh-fortigate-test-events.sh [model] [count] [delay_seconds]
Optional flag:
--forever (ignore count and run continuously until Ctrl+C)Models:
501E80F60F40FallExamples:
scripts/send-wazuh-fortigate-test-events.sh all
scripts/send-wazuh-fortigate-test-events.sh 80F 5 0.2
WAZUH_SYSLOG_HOST=127.0.0.1 WAZUH_SYSLOG_PORT=514 scripts/send-wazuh-fortigate-test-events.sh 60F
scripts/send-wazuh-fortigate-test-events.sh all 1 2 --forever
Environment overrides:
WAZUH_SYSLOG_HOST (default 127.0.0.1)WAZUH_SYSLOG_PORT (default 514)FGT_SRC_IPFGT_DST_IPFGT_DOMAINFGT_USERUse this to generate ongoing FortiGate-like traffic and security events for Wazuh testing.
scripts/send-wazuh-fortigate-continuous.sh [profile] [models] [base_delay_seconds]
Profiles:
normal (mostly allowed traffic, occasional admin/vpn/webfilter)incident (higher IPS/webfilter/vpn anomalies)mixed (balanced baseline + anomalies)Models:
501E80F60F40FallExamples:
scripts/send-wazuh-fortigate-continuous.sh mixed all 0.8
scripts/send-wazuh-fortigate-continuous.sh incident 80F 0.3
SIM_MAX_EVENTS=200 scripts/send-wazuh-fortigate-continuous.sh normal 501E 1.0
Environment overrides:
WAZUH_SYSLOG_HOST (default 127.0.0.1)WAZUH_SYSLOG_PORT (default 514)SIM_MAX_EVENTS (default 0, which means run forever)SIM_SRC_PREFIX (default 10.10.20)SIM_VPN_USERSIM_ADMIN_USERUse this to generate synthetic logs for all use cases listed in:
Security Detection & Threat Intelligence Enhancement Proposal-2.md Appendix A (A1-A4).
scripts/send-wazuh-proposal-required-events.sh [selector] [count] [delay_seconds]
Optional flag:
--forever (ignore count and run continuously until Ctrl+C)Selectors:
all (all Appendix A use cases)a1, a2, a3, a4 (by section)A2-01, A3-05, A4-24Examples:
scripts/send-wazuh-proposal-required-events.sh all 1
scripts/send-wazuh-proposal-required-events.sh a3 3 0.5
scripts/send-wazuh-proposal-required-events.sh A3-05 1
DRY_RUN=1 scripts/send-wazuh-proposal-required-events.sh all 1
scripts/send-wazuh-proposal-required-events.sh a2 1 2 --forever
Environment overrides:
WAZUH_SYSLOG_HOST (default 127.0.0.1)WAZUH_SYSLOG_PORT (default 514)EVENT_DELAY (default 0.05)DRY_RUN (default 0, set 1 to print only)FGT_DEVNAME, FGT_DEVIDWIN_HOST, DNS_HOSTSIM_VPN_USERUse this to generate synthetic logs for Appendix B (B1-B3) in:
Security Detection & Threat Intelligence Enhancement Proposal-revise.md.
scripts/send-wazuh-proposal-appendix-b-events.sh [selector] [count] [delay_seconds]
Optional flag:
--forever (ignore count and run continuously until Ctrl+C)Selectors:
all (all Appendix B use cases)b1, b2, b3 (by section)B1-01, B2-01, B3-06Examples:
scripts/send-wazuh-proposal-appendix-b-events.sh all 1
scripts/send-wazuh-proposal-appendix-b-events.sh b3 2 0.5
scripts/send-wazuh-proposal-appendix-b-events.sh B3-06 1
DRY_RUN=1 scripts/send-wazuh-proposal-appendix-b-events.sh all 1
scripts/send-wazuh-proposal-appendix-b-events.sh b1 1 2 --forever
Environment overrides:
WAZUH_SYSLOG_HOST (default 127.0.0.1)WAZUH_SYSLOG_PORT (default 514)EVENT_DELAY (default 0.05)DRY_RUN (default 0, set 1 to print only)VCENTER_HOST, ESXI_HOST, LOGMON_HOST, WIN_SYSMON_HOSTSIM_USERUse this to generate synthetic logs for Appendix C (C1-C3) in:
Security Detection & Threat Intelligence Enhancement Proposal-revise.md.
scripts/send-wazuh-proposal-appendix-c-events.sh [selector] [count] [delay_seconds]
Optional flag:
--forever (ignore count and run continuously until Ctrl+C)Selectors:
all (all Appendix C use cases)c1, c2, c3 (by section)C1-01, C2-03, C3-04Examples:
scripts/send-wazuh-proposal-appendix-c-events.sh all 1
scripts/send-wazuh-proposal-appendix-c-events.sh c1 1 0.5
scripts/send-wazuh-proposal-appendix-c-events.sh C3-04 1
DRY_RUN=1 scripts/send-wazuh-proposal-appendix-c-events.sh all 1
scripts/send-wazuh-proposal-appendix-c-events.sh c2 1 2 --forever
Environment overrides:
WAZUH_SYSLOG_HOST (default 127.0.0.1)WAZUH_SYSLOG_PORT (default 514)EVENT_DELAY (default 0.05)DRY_RUN (default 0, set 1 to print only)VPN_HOST, WIN_HOSTSIM_USER, SIM_SERVICE_USER, SIM_SRC_IPUse this to inject realistic endpoint telemetry for client agents into Wazuh.
scripts/send-wazuh-endpoint-agent-test-events.sh [platform] [scenario] [count] [delay_seconds]
Optional flag:
--forever (ignore count and run continuously until Ctrl+C)Platforms:
windowsmaclinuxallScenarios:
authprocesspersistenceprivilegemalwareallExamples:
scripts/send-wazuh-endpoint-agent-test-events.sh all all 1 0.2
scripts/send-wazuh-endpoint-agent-test-events.sh windows process 10 0.1
DRY_RUN=1 scripts/send-wazuh-endpoint-agent-test-events.sh linux all 1 0
scripts/send-wazuh-endpoint-agent-test-events.sh all auth 1 2 --forever
Environment overrides:
WAZUH_SYSLOG_HOST (default 127.0.0.1)WAZUH_SYSLOG_PORT (default 514)DRY_RUN (default 0)WIN_HOST, MAC_HOST, LINUX_HOSTSIM_USERSample playbook design for Shuffle:
shuffle-workflows/sample-ioc-playbook.mdSample execution payload:
scripts/events/shuffle-sample-execution.jsonTrigger an existing Shuffle workflow from CLI:
scripts/trigger-shuffle-workflow.sh <workflow_id> [ioc_type] [ioc_value]
Create MVP workflows in Shuffle (from proposal mapping):
SHUFFLE_API_KEY=<your_key> scripts/create-shuffle-mvp-workflows.sh
This creates:
MVP - IOC Enrichment and Case RoutingMVP - VPN Geo Anomaly TriagePrebuilt saved objects file:
scripts/events/wazuh-fortigate-sim-dashboard.ndjsonImport helper:
scripts/import-wazuh-dashboard.sh
Optional overrides:
WAZUH_DASHBOARD_URL=https://localhost \
WAZUH_DASHBOARD_USER=admin \
WAZUH_DASHBOARD_PASS=SecretPassword \
scripts/import-wazuh-dashboard.sh scripts/events/wazuh-fortigate-sim-dashboard.ndjson
After import, open dashboard:
SOC FortiGate Simulation OverviewDashboard saved objects are stored in scripts/events/*.ndjson.
scripts/events/wazuh-fortigate-sim-dashboard.ndjson
SOC FortiGate Simulation Overviewscripts/send-wazuh-fortigate-test-events.shscripts/events/wazuh-client-agents-dashboard.ndjson
SOC Client Agent Simulation Overviewscripts/send-wazuh-endpoint-agent-test-events.shscripts/events/wazuh-proposal-required-dashboard.ndjson
SOC Proposal Required Logs Overviewscripts/send-wazuh-proposal-required-events.shscripts/events/wazuh-proposal-appendix-ab-dashboard.ndjson
SOC Proposal Appendix A+B Overviewscripts/send-wazuh-proposal-required-events.shscripts/send-wazuh-proposal-appendix-b-events.shscripts/events/wazuh-proposal-appendix-c-dashboard.ndjson
SOC Proposal Appendix C Overviewscripts/send-wazuh-proposal-appendix-c-events.shscripts/events/wazuh-proposal-custom-rules-dashboard.ndjson
SOC Proposal Custom Rules Overviewscripts/import-wazuh-dashboard.sh scripts/events/<dashboard-file>.ndjson
Examples:
scripts/import-wazuh-dashboard.sh scripts/events/wazuh-client-agents-dashboard.ndjson
scripts/import-wazuh-dashboard.sh scripts/events/wazuh-proposal-required-dashboard.ndjson
scripts/import-wazuh-dashboard.sh scripts/events/wazuh-proposal-appendix-ab-dashboard.ndjson
scripts/import-wazuh-dashboard.sh scripts/events/wazuh-proposal-appendix-c-dashboard.ndjson
scripts/import-wazuh-dashboard.sh scripts/events/wazuh-proposal-custom-rules-dashboard.ndjson
Optional overrides:
WAZUH_DASHBOARD_URL=https://localhost \
WAZUH_DASHBOARD_USER=admin \
WAZUH_DASHBOARD_PASS=SecretPassword \
OVERWRITE=true \
scripts/import-wazuh-dashboard.sh scripts/events/wazuh-proposal-required-dashboard.ndjson
wazuh-alerts-*.Last 24 hours).