OSINT email, subdomain, and employee enumeration from multiple sources
OSINT email, subdomain, and employee enumeration from multiple sources
theHarvester -d target.com -b google,bing,linkedin,github -l 500
Library
Search the live database for syntax, tools, use cases, tags, MITRE context, and safe lab-ready command examples.
OSINT email, subdomain, and employee enumeration from multiple sources
theHarvester -d target.com -b google,bing,linkedin,github -l 500
Capture packets on eth0, rotating files, excluding SSH traffic
tcpdump -i eth0 -w /tmp/capture.pcap -C 100 -W 10 port not 22
Capture and display HTTP/HTTPS metadata from a specific host in real-time
tcpdump -i any -A -n "host 192.168.1.100 and (port 80 or port 443)" 2>/dev/null | grep -E "(GET|POST|Host:|User-Agent:)"
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}'
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"
Quick triage — identify top CPU processes and all established network connections
ps aux --sort=-%cpu | head -20 && lsof -i -n -P | grep ESTABLISHED
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
Windows failed logon (Event 4625) brute-force detection with time bucketing
index=windows EventCode=4625 | bucket _time span=5m | stats count by _time, src_ip, Account_Name | where count > 10 | eval alert="Possible Brute Force" | table _time, src_ip, Account_Name, count, alert