Legion Tools Manuell: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
 
== Manuelle Recon-Kette gegen opfer.secure.local ==
 
== Manuelle Recon-Kette gegen opfer.secure.local ==
 
+
Zielhost: 10.0.10.104 (opfer.secure.local)
Zielhost: 10.88.215.104 (Platzhalter, real 10.0.10.104, opfer.secure.local)
 
 
 
 
;Portscan
 
;Portscan
*nmap -sS -Pn -sV -p- -oA nmap-10.88.215.104 10.88.215.104
+
*nmap -sS -Pn -sV -p- -oA nmap-10.0.10.104 10.0.10.104
 
 
 
<pre>
 
<pre>
 
21/tcp  open  ftp
 
21/tcp  open  ftp
Zeile 25: Zeile 22:
 
5080/tcp open  onscreen
 
5080/tcp open  onscreen
 
</pre>
 
</pre>
 
 
== FTP (21) ==
 
== FTP (21) ==
 
 
;Anonymous-Login und Bannergrab prüfen
 
;Anonymous-Login und Bannergrab prüfen
*nmap -Pn -p21 --script ftp-anon,ftp-syst 10.88.215.104
+
*nmap -Pn -p21 --script ftp-anon,ftp-syst 10.0.10.104
 
 
 
== SSH (22) ==
 
== SSH (22) ==
 
 
;Version und Konfiguration bewerten
 
;Version und Konfiguration bewerten
*ssh-audit 10.88.215.104
+
*ssh-audit 10.0.10.104
 
 
 
== SMTP (25) ==
 
== SMTP (25) ==
 
 
;Kommandos und Relay-Test prüfen
 
;Kommandos und Relay-Test prüfen
*nmap -Pn -p25 --script smtp-commands,smtp-open-relay 10.88.215.104
+
*nmap -Pn -p25 --script smtp-commands,smtp-open-relay 10.0.10.104
 
 
 
;Benutzer enumerieren
 
;Benutzer enumerieren
*smtp-user-enum -M VRFY -U /usr/share/wordlists/metasploit/unix_users.txt -t 10.88.215.104
+
*smtp-user-enum -M VRFY -U /usr/share/wordlists/metasploit/unix_users.txt -t 10.0.10.104
 
 
 
== HTTP (80, 81, 83) ==
 
== HTTP (80, 81, 83) ==
 
 
;Fingerprint auf Port 80
 
;Fingerprint auf Port 80
*whatweb http://10.88.215.104:80/
+
*whatweb http://10.0.10.104:80/
 
 
 
;Fingerprint auf Port 81
 
;Fingerprint auf Port 81
*whatweb http://10.88.215.104:81/
+
*whatweb http://10.0.10.104:81/
 
 
 
;Fingerprint auf Port 83
 
;Fingerprint auf Port 83
*whatweb http://10.88.215.104:83/
+
*whatweb http://10.0.10.104:83/
 
 
 
;Verzeichnis-Enumeration auf Port 80
 
;Verzeichnis-Enumeration auf Port 80
*gobuster dir -u http://10.88.215.104:80/ -w /usr/share/wordlists/dirb/common.txt -t 30 -x php,txt,html
+
*gobuster dir -u http://10.0.10.104:80/ -w /usr/share/wordlists/dirb/common.txt -t 30 -x php,txt,html
 
 
 
;Schwachstellenscan (laut)
 
;Schwachstellenscan (laut)
*nikto -h http://10.88.215.104:80/
+
*nikto -h http://10.0.10.104:80/
 
 
 
== POP3 / IMAP (110, 143, 993, 995) ==
 
== POP3 / IMAP (110, 143, 993, 995) ==
 
 
;Capabilities auslesen
 
;Capabilities auslesen
*nmap -Pn -p110,143,993,995 --script pop3-capabilities,imap-capabilities 10.88.215.104
+
*nmap -Pn -p110,143,993,995 --script pop3-capabilities,imap-capabilities 10.0.10.104
 
 
 
== RPC (111) ==
 
== RPC (111) ==
 
 
;RPC-Dienste auflisten
 
;RPC-Dienste auflisten
*rpcinfo -p 10.88.215.104
+
*rpcinfo -p 10.0.10.104
 
 
 
== SMB (139, 445) ==
 
== SMB (139, 445) ==
 
 
;Freigaben ohne Login auflisten
 
;Freigaben ohne Login auflisten
*smbclient -L //10.88.215.104/ -N
+
*smbclient -L //10.0.10.104/ -N
 
 
 
;Vollständige Enumeration
 
;Vollständige Enumeration
*enum4linux-ng -A 10.88.215.104
+
*enum4linux-ng -A 10.0.10.104
 
 
 
;Klassisches Äquivalent
 
;Klassisches Äquivalent
*rpcclient -U '%' 10.88.215.104 -c 'srvinfo;enumdomusers;netshareenumall'
+
*rpcclient -U '%' 10.0.10.104 -c 'srvinfo;enumdomusers;netshareenumall'
 
 
 
== HTTPS (443) ==
 
== HTTPS (443) ==
 
 
;TLS-Konfiguration prüfen
 
;TLS-Konfiguration prüfen
*sslscan 10.88.215.104:443
+
*sslscan 10.0.10.104:443
 
 
 
;Fingerprint wie bei HTTP
 
;Fingerprint wie bei HTTP
*whatweb https://10.88.215.104/
+
*whatweb https://10.0.10.104/
 
 
 
== NFS (2049) ==
 
== NFS (2049) ==
 
 
;Exportierte Freigaben auflisten
 
;Exportierte Freigaben auflisten
*showmount -e 10.88.215.104
+
*showmount -e 10.0.10.104
 
 
 
== Squid-Proxy (3128) ==
 
== Squid-Proxy (3128) ==
 
 
;Proxy testen
 
;Proxy testen
*curl -x http://10.88.215.104:3128/ http://example.com/ -v
+
*curl -x http://10.0.10.104:3128/ http://example.com/ -v
 
 
 
;Auf offenen Proxy prüfen
 
;Auf offenen Proxy prüfen
*nmap -Pn -p3128 --script http-open-proxy 10.88.215.104
+
*nmap -Pn -p3128 --script http-open-proxy 10.0.10.104
 
 
 
== Port 5080 (onscreen, unbekannt) ==
 
== Port 5080 (onscreen, unbekannt) ==
 
 
;Dienst manuell identifizieren
 
;Dienst manuell identifizieren
*nmap -Pn -p5080 -sV --version-intensity 9 10.88.215.104
+
*nmap -Pn -p5080 -sV --version-intensity 9 10.0.10.104
*nc -nv 10.88.215.104 5080
+
*nc -nv 10.0.10.104 5080

Version vom 18. August 2026, 17:31 Uhr

Manuelle Recon-Kette gegen opfer.secure.local

Zielhost: 10.0.10.104 (opfer.secure.local)

Portscan
  • nmap -sS -Pn -sV -p- -oA nmap-10.0.10.104 10.0.10.104
21/tcp   open  ftp
22/tcp   open  ssh
25/tcp   open  smtp
80/tcp   open  http
81/tcp   open  hosts2-ns
83/tcp   open  mit-ml-dev
110/tcp  open  pop3
111/tcp  open  rpcbind
139/tcp  open  netbios-ssn
143/tcp  open  imap
443/tcp  open  https
445/tcp  open  microsoft-ds
993/tcp  open  imaps
995/tcp  open  pop3s
2049/tcp open  nfs
3128/tcp open  squid-http
5080/tcp open  onscreen

FTP (21)

Anonymous-Login und Bannergrab prüfen
  • nmap -Pn -p21 --script ftp-anon,ftp-syst 10.0.10.104

SSH (22)

Version und Konfiguration bewerten
  • ssh-audit 10.0.10.104

SMTP (25)

Kommandos und Relay-Test prüfen
  • nmap -Pn -p25 --script smtp-commands,smtp-open-relay 10.0.10.104
Benutzer enumerieren
  • smtp-user-enum -M VRFY -U /usr/share/wordlists/metasploit/unix_users.txt -t 10.0.10.104

HTTP (80, 81, 83)

Fingerprint auf Port 80
Fingerprint auf Port 81
Fingerprint auf Port 83
Verzeichnis-Enumeration auf Port 80
Schwachstellenscan (laut)

POP3 / IMAP (110, 143, 993, 995)

Capabilities auslesen
  • nmap -Pn -p110,143,993,995 --script pop3-capabilities,imap-capabilities 10.0.10.104

RPC (111)

RPC-Dienste auflisten
  • rpcinfo -p 10.0.10.104

SMB (139, 445)

Freigaben ohne Login auflisten
  • smbclient -L //10.0.10.104/ -N
Vollständige Enumeration
  • enum4linux-ng -A 10.0.10.104
Klassisches Äquivalent
  • rpcclient -U '%' 10.0.10.104 -c 'srvinfo;enumdomusers;netshareenumall'

HTTPS (443)

TLS-Konfiguration prüfen
  • sslscan 10.0.10.104:443
Fingerprint wie bei HTTP

NFS (2049)

Exportierte Freigaben auflisten
  • showmount -e 10.0.10.104

Squid-Proxy (3128)

Proxy testen
Auf offenen Proxy prüfen
  • nmap -Pn -p3128 --script http-open-proxy 10.0.10.104

Port 5080 (onscreen, unbekannt)

Dienst manuell identifizieren
  • nmap -Pn -p5080 -sV --version-intensity 9 10.0.10.104
  • nc -nv 10.0.10.104 5080