Zenmap: Unterschied zwischen den Versionen

Aus Foxwiki
K Textersetzung - „Linux:“ durch „Linux/“
K Textersetzung - „== Syntax ==“ durch „== Aufruf ==“
 
(43 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
{{DISPLAYTITLE:zenmap}}
{{DISPLAYTITLE:zenmap}}
'''zenmap''' ist eine grafisache Oberfläche für [[nmap]]
'''zenmap''' - Grafisache Oberfläche für [[nmap]]


== Beschreibung ==
== Beschreibung ==
== Installation ==
== Installation ==
  # apt install nmap
; RPM-Paket in Debian installieren
 
1. Voraussetzungen
Informationen über das neueste "stabile" Nmap-Paket von Debian finden Sie unter
  # apt install python3 alien nmap
* http://packages.debian.org/stable/nmap
2. RPM-Paket [https://nmap.org/download.html herunterladen]
Entwicklungspakete ("unstable") von Nmap und Zenmap sind unter
# wget https://nmap.org/dist/zenmap-7.94-1.noarch.rpm
* http://packages.debian.org/unstable/nmap
3. Integrität des Downloads prüfen
* http://packages.debian.org/unstable/zenmap erhältlich.
 
Manchmal liegen die Nmap-Veröffentlichungen von Debian ein Jahr oder mehr hinter der aktuellen Nmap-Version zurück.  
* Eine Möglichkeit, die neueste Version zu erhalten, ist die Kompilierung aus dem Quellcode
** wie im Abschnitt "Linux/Unix-Kompilierung und Installation aus dem Quellcode" beschrieben
* Eine andere Möglichkeit ist, die Binärdateien im RPM-Format von der Nmap-Download-Seite herunterzuladen, sie mit dem Befehl alien in deb-Pakete zu konvertieren und sie dann mit dpkg zu installieren, wie in der folgenden Liste beschrieben:


=== Konvertierung von Nmap-RPM-Dateien ===
4. RPM-Paket in DEB-Paket umwandeln
Wenn Sie das alien-Kommando nicht haben, installieren Sie es mit einem Befehl wie
  # alien zenmap*.rpm
  # apt install alien
5. DEB-Paket installieren
 
# dpkg --install zenmap*.deb
Laden Sie die Nmap-RPMs für Ihre Plattform (x86 oder x86-64) von https://nmap.org/download.html herunter.
* In dieser Beschreibung wird nmap-5.21-1.x86_64.rpm verwendet.
# Überprüfen Sie die [[Integrität des Downloads]]
# Erzeugen Sie ein Debian-Paket mit einem Befehl wie sudo alien nmap-5.21-1.x86_64.rpm
# Installieren Sie das Debian-Paket mit einem Befehl wie sudo dpkg --install nmap_5.21-2_amd64.deb
# Die Schritte 2-5 können für die anderen Nmap-RPMs wie Zenmap, Ncat und Nping wiederholt werden.


== Anwendungen ==
== Anwendungen ==
=== Scanergebnisse auslesen ===
=== Scan-Ergebnisse auslesen ===
; Auswerten mit Zenmap
; Auswerten mit Zenmap
* In der grafischen Oberfläche Zenmap lassen sich die Ergebnisse gut auswerten
* In der grafischen Oberfläche Zenmap lassen sich die Ergebnisse gut auswerten
Zeile 47: Zeile 34:
* Auf der Registerkarte „Rechnereinzelheiten“ können Details zu einem Rechner angezeigt werden, die durch das Scannen erkannt wurden.
* Auf der Registerkarte „Rechnereinzelheiten“ können Details zu einem Rechner angezeigt werden, die durch das Scannen erkannt wurden.
* Zu den Informationen gehören Rechnernamen, das Betriebssystem, die geöffneten und geschlossenen Ports, den Zeitpunkt des Rechnerstarts und viele weitere Informationen.
* Zu den Informationen gehören Rechnernamen, das Betriebssystem, die geöffneten und geschlossenen Ports, den Zeitpunkt des Rechnerstarts und viele weitere Informationen.
==== “Topology” Tab ====
Zenmap's “Topology” tab provides an interactive, animated visualization of the connections between hosts on a network. Hosts are shown as nodes on a graph that extends radially from the center. Click and drag to pan the display, and use the controls provided to zoom in and out. Click on a host and it becomes the new center. The graph rearranges itself in a smooth animation to reflect the new view of the network. Run a new scan and every new host and network path will be added to the topology automatically.
The topology view is most useful when combined with Nmap's <code>--traceroute</code> option, because that's the option that discovers the network path to a host. You can view a network inventory that doesn't have traceroute information in the topology, but network paths will not be visible. Remember, though, that you can add traceroute information to a network inventory just by running another scan thanks to Zenmap's scan aggregation.
Initially the topology is shown from the point of view of localhost, with you at the center. Click on a host to move it to the center and see what the network looks like from its point of view.
The topology view is an adaptation of the RadialNet program by João Paulo S. Medeiros.
==== Legend ====
{| class="wikitable"
| colspan="2" |The topology view uses many symbols and color conventions. This section explains what they mean.
|-
|
{| class="wikitable"
|
|-
|
|-
|
|-
|
|}
|Each regular host in the network is represented by a little circle. The color and size of the circle is determined by the number of open ports on the host. The more open ports, the larger the circle. A white circle represents an intermediate host in a network path that was not port scanned. If a host has fewer than three open ports, it will be green; between three and six open ports, yellow; more than six open ports, red.
|-
|
{| class="wikitable"
|
|-
|
|-
|
|}
|If a host is a router, switch, or wireless access point, it is drawn with a square rather than a circle.
|-
|
|Network distance is shown as concentric gray rings. Each additional ring signifies one more network hop from the center host.
|-
|
|Connections between hosts are shown with colored lines. Primary traceroute connections are shown with blue lines. Alternate paths (paths between two hosts where a different path already exists) are drawn in orange. Which path is primary and which paths are alternates is arbitrary and controlled by the order in which paths were recorded. The thickness of a line is proportional to its round-trip time; hosts with a higher RTT have a thicker line. Hosts with no traceroute information are clustered around localhost, connected with a dashed black line.
|-
|
|If there is no RTT for a hop (a missing traceroute entry), the connection is shown with a blue dashed line and the unknown host that makes the connection is shown with a blue outline.
|}
{| class="wikitable"
| colspan="2" |Some special-purpose hosts may carry one or more icons describing what type of host they are:
|-
|
|A router.
|-
|
|A switch.
|-
|
|A wireless access point.
|-
|
|A firewall.
|-
|
|A host with some ports filtered.
|}
==== Controls ====
The controls appear in a column when the “Controls” button is clicked. The controls are divided into sections.
===== Action controls =====
The controls in the “Action” section control what happens when you click on a host. The buttons in this section are, from left to right, “Change focus”, “Show information”, “Group children”, and “Fill region”. When the mode is “Change focus”, clicking on a host rearranges the display to put the selected host at the center. When the mode is “Show information”, clicking on a host brings up a window with information about it.
When the mode is “Group children”, clicking a host collapses into it all of its children—those nodes that are farther from the center. When a host is grouped it appears thus: . Clicking on a grouped node ungroups it again. This diagram shows the process of grouping.
Figure 12.7. Grouping a host's children
When the mode is “Fill region”, clicking a host highlights the region of the display occupied by the host and its children. The highlighted hosts are exactly the same as those that would be grouped in “Group children” mode. You can choose different colors to highlight different regions. This diagram shows an example of several regions highlighted in different colors.
Figure 12.8. Highlighting regions of the topology
===== Interpolation controls =====
The controls in the “Interpolation” section control how quickly the animation proceeds when part of the graph changes.
===== Layout controls =====
There are two options for the automatic layout of nodes. Symmetric mode gives each subtree of a host an equal-sized slice of the graph. It shows the network hierarchy well but hosts far from the center can be squeezed close together. Weighted mode gives hosts with more children a larger piece of the graph.
===== View controls =====
The checkboxes in the “View” section enable and disable parts of the display. For example, disable “hostname” to show only an IP address for each host, or disable “address” to use no labels at all. The “latency” option enables and disables the display of the round-trip times to each host, as determined by Nmap's <code>--traceroute</code> option. If “slow in/out” is checked, the animation will not be linear, but will go faster in the middle of the animation and slower at the beginning and end.
The compass-like widget pans the screen in eight directions. Click the center to return to the center host. The ring around the outside controls the rotation of the entire graph.
“Zoom” and “Ring gap” both control the overall size of the graph. “Zoom” changes the size of everything—hosts, labels, connecting lines. “Ring gap” just increases the spacing between the concentric rings, keeping everything else the same size. “Lower ring gap” gives a minimum spacing for the rings, useful mainly when fisheye is enabled.
===== Fisheye controls =====
The fisheye controls give more space to a selected ring, compressing all the others. The slider controls which ring gets the most attention. The “interest factor” is how many times greater the ring spacing is for the chosen ring than it would be with no fisheye. The “spread factor” ranges from −1 to 1. It controls how many adjacent rings are expanded around the selected ring, with higher numbers meaning more spread.
==== Keyboard Shortcuts ====
The topology display recognizes these keyboard shortcuts:
{| class="wikitable"
!Key
!Function
|-
|'''c'''
|Return the display to the center host.
|-
|'''a'''
|Show or hide host addresses.
|-
|'''h'''
|Show or hide hostnames.
|-
|'''i'''
|Show or hide host icons.
|-
|'''l'''
|Show or hide latency.
|-
|'''r'''
|Show or hide the rings.
|}
==== The Hosts Viewer ====
The host viewer is an alternative way to get details about hosts. Activate the viewer by clicking the “Hosts Viewer” button. All the hosts in the inventory are presented in a list. Select any host to get details about it.


=== Scanergebnisse vergleichen ===
=== Scanergebnisse vergleichen ===
Zeile 58: Zeile 166:
* Dazu wird in Zenmap das Menü '''Werkzeuge\Ergebnisse vergleichen''' verwendet.
* Dazu wird in Zenmap das Menü '''Werkzeuge\Ergebnisse vergleichen''' verwendet.


=== Fehlerbehebung ===
== Aufruf ==
 
== Syntax ==
=== Optionen ===
=== Optionen ===
=== Parameter ===
=== Parameter ===
=== Umgebungsvariablen ===
=== Umgebungsvariablen ===
=== Exit-Status ===
=== Exit-Status ===
== Konfiguration ==
== Konfiguration ==
=== Dateien ===
=== Dateien ===
== Sicherheit ==
== Dokumentation ==
=== RFC ===
=== Man-Pages ===
=== Info-Pages ===
== Siehe auch ==
# [[nmap]]
# [[nmap:Portscan-Typen]]


== Links ==
<noinclude>
=== Projekt-Homepage ===
=== Weblinks ===


=== Einzelnachweise ===
== Anhang ==
<references />
=== Siehe auch ===
== Testfragen ==
{{Special:PrefixIndex/nmap}}
<div class="toccolours mw-collapsible mw-collapsed">
==== Sicherheit ====
''Testfrage 1''
==== Dokumentation ====
<div class="mw-collapsible-content">'''Antwort1'''</div>
# https://nmap.org/book/zenmap.html
</div>
<div class="toccolours mw-collapsible mw-collapsed">
''Testfrage 2''
<div class="mw-collapsible-content">'''Antwort2'''</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">
''Testfrage 3''
<div class="mw-collapsible-content">'''Antwort3'''</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">
''Testfrage 4''
<div class="mw-collapsible-content">'''Antwort4'''</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">
''Testfrage 5''
<div class="mw-collapsible-content">'''Antwort5'''</div>
</div>


===== Man-Page =====
===== Info-Pages =====
==== Links ====
===== Projekt =====
===== Weblinks =====


[[Kategorie:Netzwerk/Sicherheit]]
[[Kategorie:Linux/Befehl]]
[[Kategorie:Netzwerk:Befehl]]
{{DEFAULTSORT:zenmap}}
{{DEFAULTSORT:zenmap}}
[[Kategorie:Netzwerk:Analyse]]
 
[[Kategorie:nmap]]
</noinclude>

Aktuelle Version vom 12. November 2024, 19:40 Uhr

zenmap - Grafisache Oberfläche für nmap

Beschreibung

Installation

RPM-Paket in Debian installieren

1. Voraussetzungen

# apt install python3 alien nmap

2. RPM-Paket herunterladen

# wget https://nmap.org/dist/zenmap-7.94-1.noarch.rpm

3. Integrität des Downloads prüfen

4. RPM-Paket in DEB-Paket umwandeln

# alien zenmap*.rpm

5. DEB-Paket installieren

# dpkg --install zenmap*.deb

Anwendungen

Scan-Ergebnisse auslesen

Auswerten mit Zenmap
  • In der grafischen Oberfläche Zenmap lassen sich die Ergebnisse gut auswerten
  • Nachdem ein Scanvorgang abgeschlossen ist, sind auf der linken Seite die Endpunkte zu finden, die Nmap gefunden und gescannt hat.
  • Mit den beiden Schaltflächen „Rechner“ und Dienste“ kann zwischen den gefundenen Endgeräten und den gefundenen Netzwerkdiensten gewechselt werden.
  • Im unteren Bereich kann das Ergebnis über die Schaltfläche „Rechner filtern“ noch besser gefiltert werden.
  • In der Mitte des Fensters sind verschiedene Registerkarten zu sehen, mit denen die Scanergebnisse besser untersucht werden können.
  • Auf der Registerkarte „Nmap-Ausgabe“ zeigt Zenmap z.B. das Ergebnis an, das Nmap auch in der Befehlszeile anzeigt.
  • Auf der Registerkarte „Ports/Rechner“ sind die gefundenen Ports zu sehen sowie weitere Informationen zum markierten Gerät.
  • Mit der Registerkarte kann jedes einzelne Gerät im Netzwerk überprüft werden.

Grafische Anzeige des Netzwerks

  • Auf der Registerkarte „Netzstruktur“ kann Zenmap eine grafische Anzeige des Netzwerkes zur Verfügung stellen.
  • Über die verschiedenen Schaltflächen „Rechnerbetrachter“, „Fischauge“ und „Steuerungen“ können verschiedene Einstellungen für die Anzeige der Rechner vorgenommen werden.
  • Die Grafik kann an dieser Stelle auch als PDF, PNG oder SVG gespeichert werden.
  • Auf der Registerkarte „Rechnereinzelheiten“ können Details zu einem Rechner angezeigt werden, die durch das Scannen erkannt wurden.
  • Zu den Informationen gehören Rechnernamen, das Betriebssystem, die geöffneten und geschlossenen Ports, den Zeitpunkt des Rechnerstarts und viele weitere Informationen.

“Topology” Tab

Zenmap's “Topology” tab provides an interactive, animated visualization of the connections between hosts on a network. Hosts are shown as nodes on a graph that extends radially from the center. Click and drag to pan the display, and use the controls provided to zoom in and out. Click on a host and it becomes the new center. The graph rearranges itself in a smooth animation to reflect the new view of the network. Run a new scan and every new host and network path will be added to the topology automatically.

The topology view is most useful when combined with Nmap's --traceroute option, because that's the option that discovers the network path to a host. You can view a network inventory that doesn't have traceroute information in the topology, but network paths will not be visible. Remember, though, that you can add traceroute information to a network inventory just by running another scan thanks to Zenmap's scan aggregation.

Initially the topology is shown from the point of view of localhost, with you at the center. Click on a host to move it to the center and see what the network looks like from its point of view.

The topology view is an adaptation of the RadialNet program by João Paulo S. Medeiros.

Legend

The topology view uses many symbols and color conventions. This section explains what they mean.
Each regular host in the network is represented by a little circle. The color and size of the circle is determined by the number of open ports on the host. The more open ports, the larger the circle. A white circle represents an intermediate host in a network path that was not port scanned. If a host has fewer than three open ports, it will be green; between three and six open ports, yellow; more than six open ports, red.
If a host is a router, switch, or wireless access point, it is drawn with a square rather than a circle.
Network distance is shown as concentric gray rings. Each additional ring signifies one more network hop from the center host.
Connections between hosts are shown with colored lines. Primary traceroute connections are shown with blue lines. Alternate paths (paths between two hosts where a different path already exists) are drawn in orange. Which path is primary and which paths are alternates is arbitrary and controlled by the order in which paths were recorded. The thickness of a line is proportional to its round-trip time; hosts with a higher RTT have a thicker line. Hosts with no traceroute information are clustered around localhost, connected with a dashed black line.
If there is no RTT for a hop (a missing traceroute entry), the connection is shown with a blue dashed line and the unknown host that makes the connection is shown with a blue outline.
Some special-purpose hosts may carry one or more icons describing what type of host they are:
A router.
A switch.
A wireless access point.
A firewall.
A host with some ports filtered.

Controls

The controls appear in a column when the “Controls” button is clicked. The controls are divided into sections.

Action controls

The controls in the “Action” section control what happens when you click on a host. The buttons in this section are, from left to right, “Change focus”, “Show information”, “Group children”, and “Fill region”. When the mode is “Change focus”, clicking on a host rearranges the display to put the selected host at the center. When the mode is “Show information”, clicking on a host brings up a window with information about it.

When the mode is “Group children”, clicking a host collapses into it all of its children—those nodes that are farther from the center. When a host is grouped it appears thus: . Clicking on a grouped node ungroups it again. This diagram shows the process of grouping.

Figure 12.7. Grouping a host's children

When the mode is “Fill region”, clicking a host highlights the region of the display occupied by the host and its children. The highlighted hosts are exactly the same as those that would be grouped in “Group children” mode. You can choose different colors to highlight different regions. This diagram shows an example of several regions highlighted in different colors.

Figure 12.8. Highlighting regions of the topology

Interpolation controls

The controls in the “Interpolation” section control how quickly the animation proceeds when part of the graph changes.

Layout controls

There are two options for the automatic layout of nodes. Symmetric mode gives each subtree of a host an equal-sized slice of the graph. It shows the network hierarchy well but hosts far from the center can be squeezed close together. Weighted mode gives hosts with more children a larger piece of the graph.

View controls

The checkboxes in the “View” section enable and disable parts of the display. For example, disable “hostname” to show only an IP address for each host, or disable “address” to use no labels at all. The “latency” option enables and disables the display of the round-trip times to each host, as determined by Nmap's --traceroute option. If “slow in/out” is checked, the animation will not be linear, but will go faster in the middle of the animation and slower at the beginning and end.

The compass-like widget pans the screen in eight directions. Click the center to return to the center host. The ring around the outside controls the rotation of the entire graph.

“Zoom” and “Ring gap” both control the overall size of the graph. “Zoom” changes the size of everything—hosts, labels, connecting lines. “Ring gap” just increases the spacing between the concentric rings, keeping everything else the same size. “Lower ring gap” gives a minimum spacing for the rings, useful mainly when fisheye is enabled.

Fisheye controls

The fisheye controls give more space to a selected ring, compressing all the others. The slider controls which ring gets the most attention. The “interest factor” is how many times greater the ring spacing is for the chosen ring than it would be with no fisheye. The “spread factor” ranges from −1 to 1. It controls how many adjacent rings are expanded around the selected ring, with higher numbers meaning more spread.

Keyboard Shortcuts

The topology display recognizes these keyboard shortcuts:

Key Function
c Return the display to the center host.
a Show or hide host addresses.
h Show or hide hostnames.
i Show or hide host icons.
l Show or hide latency.
r Show or hide the rings.

The Hosts Viewer

The host viewer is an alternative way to get details about hosts. Activate the viewer by clicking the “Hosts Viewer” button. All the hosts in the inventory are presented in a list. Select any host to get details about it.

Scanergebnisse vergleichen

Scanergebnisse lassen sich über den Menüpunkt Scan\Scan als Datei speichern
  • Mehrere solche Ergebnisse können mit Nmap auch verglichen werden, um Unterschiede zu erkennen.
  • Abgespeicherte Scanergebnisse werden mit dem Tool „ndiff“ verglichen.
  • Der Befehl dazu ist ndiff <Datei1> <Datei2>.
  • Ausführlichere Ergebnisse gibt Ndiff mit der Option „-v“ aus.
Vergleich mit Zenmap
  • Dazu wird in Zenmap das Menü Werkzeuge\Ergebnisse vergleichen verwendet.

Aufruf

Optionen

Parameter

Umgebungsvariablen

Exit-Status

Konfiguration

Dateien

Anhang

Siehe auch

Sicherheit

Dokumentation

  1. https://nmap.org/book/zenmap.html
Man-Page
Info-Pages

Links

Projekt
Weblinks