Zmap – Fast Internet-Wide Scanning and its Security ApplicationsZmap – сканирование всего Интернета за минуты

logo_test_transparent_monitorНе знаю радоваться или плакать, но вышел сканер сети, работающий в 1300 раз  быстрее nmap. Обнаружение 10000 хостов с открытым SIP-портом 5060 у меня ушло 20 секунд. На обычной настольной системе с гигабитным Ethernet-соединением ZMap способен обеспечить скорость сканирования в 1.4 млн пакетов в секунду, что позволяет просканировать весь диапазон публичных IPv4-адресов всего за 45 минут.

ZMap поддерживает достаточно гибкий набор опций, позволяющих определять интенсивность проверки и ограничивать пропускную способность. Вместо конкретных диапазонов сканируемых адресов задаётся общий лимит, позволяющий просканировать определённое число случайных адресов из всего адресного пространства. Для указания какие подсети следует сканировать, а какие нет, можно определить черный и белый списки подсетей. Результат может быть сохранён в обычный текстовый файл или записан в БД Redis.

Установка Zmap

Zmap требует установленного GMP, gengetopt и libpcap. Поэтому, сначала поставить необходимые пакеты. Если у вас Debian-подобная ОС, то команда будет такой

sudo apt-get install libgmp3-dev gengetopt libpcap-dev

Если у вас RHEL или же CentOS, то такой

sudo yum install gmp gmp-devel gengetopt libpcap-devel

На момент написания статьи стабильная версия была Zmap v1.0.3.tar.gz. Скачаем и установим Zmap

 wget https://github.com/zmap/zmap/archive/v1.0.3.tar.gz
 tar -xzf v1.0.3.tar.gz
 cd zmap-1.0.3/src
 make
 make install

Пример использования Zmap

После успешной установки, можно уже побаловаться

 zmap --bandwidth=1000M --target-port=5060 --max-results=10000 --output-file=results.txt

В моем примере я сказал Zmap-у задействовать 1000Мбит для сканирования Интернета, ищем открытые порты 5060, максимальное количество найденных хостов не более 10000 и все найденные хосты сложить в файл results.txt. В результате спустя 20 секунд  имеем файл забитый ip-адресами с SIP-серверами.

49 комментариев к “Zmap – Fast Internet-Wide Scanning and its Security ApplicationsZmap – сканирование всего Интернета за минуты

  1. I?m impressed, I have to say. Really hardly ever do I encounter a blog site that?s both informative as well as entertaining, and let me inform you, you have actually hit the nail on the head. Your idea is superior; the concern is something that not enough individuals are talking intelligently about. I am really happy that I came across this in my look for something connecting to this.

  2. There are absolutely a great deal of information like that to think about. That is an excellent indicate bring up. I supply the thoughts over as basic inspiration however plainly there are inquiries like the one you raise where one of the most vital thing will certainly be operating in straightforward good faith. I don?t recognize if finest techniques have emerged around points like that, yet I make sure that your task is plainly identified as an up for grabs. Both children as well as ladies feel the impact of just a moment?s satisfaction, for the remainder of their lives.

  3. I?m satisfied, I have to claim. Really rarely do I run into a blog that?s both enlightening and also amusing, and also let me tell you, you have actually struck the nail on the head. Your idea is outstanding; the issue is something that not enough people are speaking smartly about. I am really delighted that I came across this in my look for something associating with this.

  4. I like the valuable information you provide in your articles.
    I will bookmark your blog and check again here
    regularly. I’m quite certain I’ll learn lots of new stuff right here!
    Good luck for the next!

  5. I was very pleased to discover this web-site. I wished to many thanks for your time for this remarkable read!! I definitely delighting in every little bit of it and I have you bookmarked to take a look at brand-new things you blog post.

  6. I’m impressed, I must say. Seldom do I come across a blog that’s both educative and interesting,
    and let me tell you, you’ve hit the nail on the head.
    The issue is something not enough people
    are speaking intelligently about. I’m very happy that I found
    this in my hunt for something relating to this.

  7. Aw, this was an actually nice message. In idea I would love to place in writing such as this in addition? requiring time and real initiative to make an excellent article? however what can I claim? I postpone alot as well as never seem to get something done.

  8. Nice blog post. I discover something extra difficult on various blog sites everyday. It will certainly always be promoting to check out material from other writers as well as practice a something from their shop. I?d favor to utilize some with the web content on my blog whether you don?t mind. Natually I?ll offer you a link on your internet blog. Thanks for sharing.

  9. I had been wondering should anyone ever considered changing layout , design of the blog? Its very well written. I enjoy what youve have got to say. But you could a tad bit more when it comes to content so people could connect with it better. Youve got a lot of text for only having a couple of images. You may could space it out better?

  10. After research study a few of the blog posts on your web site now, and also I really like your means of blogging. I bookmarked it to my book marking internet site listing and also will be examining back soon. Pls check out my internet site too and also let me understand what you assume.

  11. I?d need to check with you below. Which is not something I usually do! I take pleasure in checking out a blog post that will make people think. Likewise, many thanks for enabling me to comment!

  12. Hi there very cool web site!! Man .. Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also? I’m satisfied to seek out numerous helpful info here within the submit, we want develop extra techniques on this regard, thank you for sharing. . . . . .|

  13. An excellent share, I simply offered this onto a coworker that was doing a little analysis on this. And he actually got me breakfast since I located it for him. smile. So let me reword that: Thnx for the reward! However yeah Thnkx for investing the moment to review this, I really feel strongly about it as well as enjoy finding out more on this subject. Preferably, as you end up being experience, would you mind updating your blog with more details? It is very practical for me. Large thumb up for this post!

  14. A remarkable share, I simply provided this onto a colleague that was doing a little analysis on this. And he as a matter of fact got me breakfast due to the fact that I located it for him. smile. So let me rephrase that: Thnx for the treat! Yet yeah Thnkx for investing the moment to review this, I feel strongly concerning it and also love finding out more on this subject. If possible, as you become expertise, would certainly you mind updating your blog site with even more information? It is extremely handy for me. Large thumb up for this article!

  15. There are some interesting points in this short article however I don?t know if I see every one of them facility to heart. There is some credibility yet I will certainly take hold opinion till I consider it further. Good write-up, thanks and we want extra! Added to FeedBurner as well

  16. I?m pleased, I need to say. Truly seldom do I experience a blog site that?s both informative and also entertaining, as well as let me tell you, you have actually struck the nail on the head. Your suggestion is outstanding; the concern is something that not nearly enough individuals are speaking wisely around. I am extremely delighted that I came across this in my search for something associating with this.

  17. Thanks for ones marvelous posting! I certainly enjoyed reading it, you may be a great author.I will be sure to bookmark your blog and will come back very soon. I want to encourage you to continue your great work, have a nice evening!|

  18. I?m satisfied, I have to claim. Truly seldom do I come across a blog that?s both enlightening and also amusing, and also let me tell you, you have actually hit the nail on the head. Your idea is impressive; the issue is something that not nearly enough people are talking intelligently around. I am really happy that I came across this in my look for something connecting to this.

  19. Its like you read my mind! You seem to know so much about this, like you wrote the book in it or something. I think that you can do with a few pics to drive the message home a little bit, but instead of that, this is wonderful blog. A fantastic read. I’ll definitely be back.|

  20. When I initially commented I clicked the -Alert me when new comments are added- checkbox and also currently each time a comment is included I obtain 4 e-mails with the very same remark. Is there any way you can remove me from that solution? Thanks!

  21. Hey there this is kinda of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML. I’m starting a blog soon but have no coding experience so I wanted to get guidance from someone with experience. Any help would be greatly appreciated!|

  22. Youre so great! I don’t suppose Ive read anything like this before. So great to find someone with some initial thoughts on this subject. realy thanks for beginning this up. this web site is something that is needed on the web, someone with a little creativity. valuable task for bringing something new to the net!

Оставить ответ

Ваш адрес email не будет опубликован. Обязательные поля помечены *