Hunt failed cloud console logons.
Hunt failed cloud console logons.
index=cloud eventName=ConsoleLogin responseElements.ConsoleLogin=Failure | stats count by sourceIPAddress userIdentity.arn
Library
Search the live database for syntax, tools, use cases, tags, MITRE context, and safe lab-ready command examples.
Hunt failed cloud console logons.
index=cloud eventName=ConsoleLogin responseElements.ConsoleLogin=Failure | stats count by sourceIPAddress userIdentity.arn
Summarize phishing verdicts by sender and recipient.
index=email verdict=phish | stats count by sender recipient subject
Trend high severity signatures over time.
index=security severity=high | timechart span=15m count by signature
Review simulated LSASS access telemetry.
index=endpoint file_name=lsass.exe action=read | table _time host process_name user
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
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}'
Capture packets on eth0, rotating files, excluding SSH traffic
tcpdump -i eth0 -w /tmp/capture.pcap -C 100 -W 10 port not 22
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
Audit all listening services and count active established connections
ss -tlnp | grep LISTEN && netstat -an | grep ESTABLISHED | wc -l
List all registered Wazuh agents and their current connection status
/var/ossec/bin/agent_control -l
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"
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