GithubHelp home page GithubHelp logo

ztag's Introduction

ZMap: The Internet Scanner

Build Status

ZMap is a fast single packet network scanner designed for Internet-wide network surveys. On a typical desktop computer with a gigabit Ethernet connection, ZMap is capable scanning the entire public IPv4 address space on a single port in under 45 minutes. With a 10gigE connection and netmap or PF_RING, ZMap can scan the IPv4 address space in under 5 minutes.

ZMap operates on GNU/Linux, Mac OS, and BSD. ZMap currently has fully implemented probe modules for TCP SYN scans, ICMP, DNS queries, UPnP, BACNET, and can send a large number of UDP probes. If you are looking to do more involved scans (e.g., banner grab or TLS handshake), take a look at ZGrab 2, ZMap's sister project that performs stateful application-layer handshakes.

Using ZMap

If you haven't used ZMap before, we have a step-by-step Getting Started Guide that details how to perform basic scans. Documentation about all of ZMap's options and more advanced functionality can be found in our GitHub Wiki.

If you have questions, please first check our FAQ. Still have questions? Ask the community in Github Discussions. Please do not create an Issue for usage or support questions.

Installation

The latest stable release of ZMap is version 3.0.0 and supports Linux, macOS, and BSD. ZMap 4.1.0-RC2 adds support for scanning multiple ports.

Instructions on building ZMap from source can be found in INSTALL.

Architecture

More information about ZMap's architecture and a comparison with other tools can be found in these two research papers:

If you use ZMap for published research, please cite the original research paper:

@inproceedings{durumeric2013zmap,
  title={{ZMap}: Fast Internet-wide scanning and its security applications},
  author={Durumeric, Zakir and Wustrow, Eric and Halderman, J Alex},
  booktitle={22nd USENIX Security Symposium},
  year={2013}
}

Citing the ZMap paper helps us to track ZMap usage within the research community and to pursue funding for continued development.

License and Copyright

ZMap Copyright 2023 Regents of the University of Michigan

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See LICENSE for the specific language governing permissions and limitations under the License.

ztag's People

Contributors

aaspring avatar amirian28 avatar andrewsardone avatar cdzombak avatar clayzim avatar dadrian avatar filosottile avatar justinbastress avatar ksanger17 avatar manouchehri avatar parkanzky avatar paul-pearce avatar sviehb avatar zakird avatar zzma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ztag's Issues

Ztag Install Issue

I am trying to install on CentOS 6.7 with Python 2.6.6 and receving the following error during python setup.py install -
Extracting ztag-1.0.0-py2.6.egg to /usr/lib/python2.6/site-packages
SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/ztag-1.0.0-py2.6.egg/ztag/schema.py', 808, 26, "DROP_KEYS = {'ip_address', 'metadata', 'tags', 'timestamp'}\n"))

SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/ztag-1.0.0-py2.6.egg/ztag/transforms/sslv2.py', 12, 24, ' protocols.HTTPS,\n'))

SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/ztag-1.0.0-py2.6.egg/ztag/encoders/protobuf.py', 21, 30, " DROP_KEYS = {'ip_address', 'timestamp', 'domain'}\n"))

SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/ztag-1.0.0-py2.6.egg/ztag/annotations/crouzet.py', 31, 24, ' tags = { "ethernet", }\n'))

SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/ztag-1.0.0-py2.6.egg/ztag/annotations/lantronix.py', 31, 23, ' tags = {"ethernet", }\n'))

SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/ztag-1.0.0-py2.6.egg/ztag/annotations/se_electronic.py', 43, 5, ' }\n'))

SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/ztag-1.0.0-py2.6.egg/ztag/annotations/panasonic_web_server.py', 10, 23, ' tags = {"ethernet", }\n'))

SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/ztag-1.0.0-py2.6.egg/ztag/annotations/schneider.py', 87, 33, ' TAGS = {Type.SCADA_PROCESSOR, }\n'))

SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/ztag-1.0.0-py2.6.egg/ztag/annotations/rockwell_mei.py', 25, 5, ' }\n'))

ztag 1.0.0 is already the active version in easy-install.pth
Installing ztag script to /usr/bin

Installed /usr/lib/python2.6/site-packages/ztag-1.0.0-py2.6.egg
Processing dependencies for ztag==1.0.0
Searching for zsearch-definitions
Reading http://pypi.python.org/simple/zsearch_definitions/
Download error: [Errno 1] _ssl.c:492: error:1409210A:SSL routines:SSL3_GET_SERVER_HELLO:wrong ssl version -- Some packages may not be found!
Reading http://pypi.python.org/simple/zsearch-definitions/
Download error: [Errno 1] _ssl.c:492: error:1409210A:SSL routines:SSL3_GET_SERVER_HELLO:wrong ssl version -- Some packages may not be found!
Couldn't find index page for 'zsearch_definitions' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error: [Errno 1] _ssl.c:492: error:1409210A:SSL routines:SSL3_GET_SERVER_HELLO:wrong ssl version -- Some packages may not be found!
No local packages or download links found for zsearch-definitions
error: Could not find suitable distribution for Requirement.parse('zsearch-definitions')

MissingTransform error

When I "ztag -p 102 -P s7 -S banner -i banner.json",
it return an error :
"File "/usr/local/bin/ztag", line 11, in
load_entry_point('ztag==1.0.0', 'console_scripts', 'ztag')()
File "/usr/local/lib/python2.7/dist-packages/ztag-1.0.0-py2.7.egg/ztag/main.py", line 112, in main
scan_id)
File "/usr/local/lib/python2.7/dist-packages/ztag-1.0.0-py2.7.egg/ztag/transformer.py", line 26, in find_transform
raise errors.MissingTransform
ztag.errors.MissingTransform",

I run this on Linux kali 4.8.0-kali1-amd64 ,
how ho solve this error?

List of protocol/subprotocol combinations

In your Readme you talk about a list of possible protocol/subprotocol combinations. Where is that list located or where can I find a list of possible combinations?

Cannot install under OSX

When installing ztag under OSX I get the following error:

Installed /usr/local/lib/python2.7/site-packages/ztag-1.0.0-py2.7.egg Processing dependencies for ztag==1.0.0 error: protobuf 3.0.0 is installed but protobuf>=3.2.0 is required by set(['grpcio'])

I have protobuf3.2.0 in my site packages folder but somehow the install process always creates the 3.0.0 folder on which it then relies

Document ztag data flow

  1. what data is updated by different pieces
  2. how port / protocol / subprotocol all fit together within the context of zdb

Add TravisCI

We should add Travis CI to run tests on pull-requests

How to install Ztag

I have already installed Zmap and ZGrab, but I don't know how to install Ztag

Consume Recog XML data

Recog exists and offers a subset of what ZTag does. However, it would be good if we could consume the XML they're producing and generate metaclasses for each one? We'd need to figure out a mapping between where Rapid7 sees data and we do, but this doesn't seem like it would be horrible.

https://github.com/rapid7/recog

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.