Zpět na seznam článků     Číst komentáře (0)     Verze pro tisk

Bezpečnost VoIP (4)

Autor: phr3akDom   
22.12.2012

Pokračování seriálu o bezpečnosti VoIP. V dnešním díle si rozšíříme informace o síti za pomoci extensions enumeratingu.


Extensions Enumerating

Extensions Enumerating může útočníkovi pomoci při hledání validních VoIP extensions, které mohou být využity k bruteforce útoku na SIP účty.

Extensions Enumerating funguje na principu zkoumání odpovědí obdržených při dotazech jako REGISTER, OPTIONS a INVITE.

SVwar

SVwar je další nástroj ze sady SIPVicious, který umožňuje extensions enumerating za použití rozsahu extensions nebo slovníkového souboru. SVwar podporuje všechny výše uvedené metody, defaultní je REGISTER.

Použití:

  1.  
  2. root@bt:/pentest/voip/sipvicious# ./svwar.py
  3. Usage: svwar.py [options] target
  4. examples:
  5. svwar.py -e100-999 10.0.0.1
  6. svwar.py -d dictionary.txt 10.0.0.2
  7.  

Příklad:

  1.  
  2. root@bt:/pentest/voip/sipvicious# ./svwar.py -e100-400 192.168.1.104
  3. | Extension | Authentication |
  4. ------------------------------
  5. | 201       | reqauth        |
  6. | 200       | reqauth        |
  7. | 203       | reqauth        |
  8. | 202       | reqauth        |
  9. | 303       | reqauth        |
  10. | 305       | reqauth        |
  11.  

SVwar identifikoval všechny ext. na Trixbox serveru. Metodu můžete specifikovat použitím argumentu -m, také můžete přidat -v nebo -vv pro větší detailnost.

  1. ¨
  2. root@bt:/pentest/voip/sipvicious# ./svwar.py -e100-400 192.168.1.104 -m INVITE -v
  3. INFO:TakeASip:trying to get self ip .. might take a while
  4. INFO:root:start your engines
  5. INFO:TakeASip:Ok SIP device found
  6. INFO:TakeASip:extension '200' exists - requires authentication
  7. INFO:TakeASip:extension '201' exists - requires authentication
  8. -----Edit----
  9. INFO:TakeASip:extension '203' exists - requires authentication
  10. INFO:TakeASip:extension '303' exists - requires authentication
  11. INFO:TakeASip:extension '303' exists - requires authentication
  12. INFO:TakeASip:extension '305' exists - requires authentication
  13. INFO:root:we have 6 extensions
  14. | Extension | Authentication |
  15. ------------------------------
  16. | 201       | reqauth        |
  17. | 200       | reqauth        |
  18. | 203       | reqauth        |
  19. | 202       | reqauth        |
  20. | 303       | reqauth        |
  21. | 305       | reqauth        |
  22.  
  23. INFO:root:Total time: 0:00:21.944731
  24.  

Enumiax

Enumiax může být použit k hledání Asterisk Exchange uživatelských jmen. K tomu může sloužit slovník nebo sekvenční Username Guessing.

  1.  
  2. root@bt:/pentest/voip/enumiax# ./enumiax
  3. enumIAX 1.0
  4. Dustin D. Trammell
  5. Usage: enumiax [options] target
  6.   options:
  7.     -d   Dictionary attack using file
  8.     -i  Interval for auto-save (# of operations, default 1000)
  9.     -m #        Minimum username length (in characters)
  10.     -M #        Maximum username length (in characters)
  11.     -r #        Rate-limit calls (in microseconds)
  12.     -s   Read session state from state file
  13.     -v          Increase verbosity (repeat for additional verbosity)
  14.     -V          Print version information and exit
  15.     -h          Print help/usage information and exit
  16.  
  17. root@bt:/pentest/voip/enumiax# ./enumiax -v -m3 -M3 192.168.1.104
  18. enumIAX 1.0
  19. Dustin D. Trammell
  20. Target Aquired: 192.168.1.104
  21. Connecting to 192.168.1.104 via udp on port 4569...
  22. Starting enum process at: Sat Feb  5 13:04:18 2011
  23. Now working on 3 character usernames...
  24.  
  25. #################################
  26. Trying username: "000"
  27. #################################
  28. Trying username: "001"
  29. #################################
  30. Trying username: "002"
  31. #################################
  32. Trying username: "003"
  33. #################################
  34. Trying username: "004"
  35. #################################
  36. Trying username: "005"
  37. #################################
  38. Trying username: "006"
  39. #################################
  40. Trying username: "007"
  41. #################################
  42. Trying username: "008"
  43. #################################
  44. ...
  45.  
  1.  
  2. root@bt:/pentest/voip/enumiax# ./enumiax -d dict -v 192.168.1.104
  3. enumIAX 1.0
  4. Dustin D. Trammell
  5. Target Aquired: 192.168.1.104
  6. Connecting to 192.168.1.104 via udp on port 4569...
  7. Starting enum process at: Sat Feb  5 13:02:39 2011
  8.  
  9. #################################
  10. Trying username: "guest"
  11. #################################
  12. Trying username: "iaxtel"
  13. #################################
  14. Trying username: "iaxtel2"
  15. #################################
  16. Trying username: "100"
  17. #################################
  18. Trying username: "101"
  19. #################################
  20. Trying username: "200"
  21. #################################
  22. Trying username: "201"
  23. #################################
  24. Trying username: "202"
  25. #################################
  26. Trying username: "203"
  27. End of dictionary file reached, exiting.
  28.  

To je pro dnešek vše, příště se dozvíme jaké nástroje lze použít pro zachytávání a analýzu hovorů které na síti probíhají.

ZDROJ

Líbil se Vám článek?
Budeme potěšeni, pokud vás zaujme také reklamní nabídka

Social Bookmarking

     





Hodnocení/Hlasovalo: 1/1

1  2  3  4  5    
(známkování jako ve škole)