Library

Command reference

Search the live database for syntax, tools, use cases, tags, MITRE context, and safe lab-ready command examples.

121 results Clear filters
Defensive Intermediate Free

Hunt failed cloud console logons.

Hunt failed cloud console logons.

index=cloud eventName=ConsoleLogin responseElements.ConsoleLogin=Failure | stats count by sourceIPAddress userIdentity.arn
splunk threat-hunting expanded-library
Splunk / Threat Hunting Open
Defensive Intermediate Free

Summarize phishing verdicts by sender and recipient.

Summarize phishing verdicts by sender and recipient.

index=email verdict=phish | stats count by sender recipient subject
splunk threat-hunting expanded-library
Splunk / Threat Hunting Open
Defensive Intermediate Free

Trend high severity signatures over time.

Trend high severity signatures over time.

index=security severity=high | timechart span=15m count by signature
splunk threat-hunting expanded-library
Splunk / Threat Hunting Open
Defensive Intermediate Free

Review simulated LSASS access telemetry.

Review simulated LSASS access telemetry.

index=endpoint file_name=lsass.exe action=read | table _time host process_name user
splunk threat-hunting expanded-library
Splunk / Threat Hunting Open
Defensive Beginner Free

Identify top IPs generating failed SSH login attempts from auth log

Identify top IPs generating failed SSH login attempts from auth log

grep "Failed password" /var/log/auth.log | awk '{print $11}' | sort | uniq -c | sort -rn | head -20
log-analysis ssh brute-force auth detection
Linux CLI / Log Analysis Open
Defensive Intermediate Free

Real-time SSH authentication event monitoring from systemd journal

Real-time SSH authentication event monitoring from systemd journal

journalctl -u ssh.service --since "1 hour ago" --no-pager | grep -E "(Accepted|Failed|Invalid)" | awk '{print $1, $2, $3, $9, $11}'
journalctl systemd ssh log-analysis monitoring
Linux CLI / Log Analysis Open
Defensive Intermediate Free

Capture packets on eth0, rotating files, excluding SSH traffic

Capture packets on eth0, rotating files, excluding SSH traffic

tcpdump -i eth0 -w /tmp/capture.pcap -C 100 -W 10 port not 22
tcpdump packet-capture pcap network monitoring
Tcpdump / Network Monitoring Open
Defensive Intermediate Free

Hardened IPTables firewall baseline — default deny with explicit allow rules

Hardened IPTables firewall baseline — default deny with explicit allow rules

iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j ACCEPT
iptables firewall hardening network security
IPTables / Linux Hardening Open
Defensive Beginner Free

Audit all listening services and count active established connections

Audit all listening services and count active established connections

ss -tlnp | grep LISTEN && netstat -an | grep ESTABLISHED | wc -l
ss netstat hardening audit network
Linux CLI / Linux Hardening Open
Defensive Beginner Free

List all registered Wazuh agents and their current connection status

List all registered Wazuh agents and their current connection status

/var/ossec/bin/agent_control -l
wazuh siem agent monitoring soc
Wazuh / SIEM Open
Defensive Advanced Premium

Query Wazuh REST API for recent high-severity alerts (level 10+)

Query Wazuh REST API for recent high-severity alerts (level 10+)

curl -k -u admin:SecretPassword -X GET "https://wazuh-manager:55000/alerts?pretty=true&limit=10&sort=-timestamp&q=rule.level>=10"
wazuh api alerts soc siem
Wazuh / SIEM Open
Defensive Intermediate Free

Splunk SPL query — Top 10 source IPs generating SSH authentication failures

Splunk SPL query — Top 10 source IPs generating SSH authentication failures

index=main sourcetype=syslog "Failed password" | stats count by src_ip | sort -count | head 10
splunk spl siem brute-force detection
Splunk / SIEM Open