Manuelle Kontrolle: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 58: | Zeile 58: | ||
;Promisc Mode | ;Promisc Mode | ||
* ip link show eth0 | * ip link show eth0 | ||
| − | 2: eth0: <BROADCAST,MULTICAST,<span style=color:red>PROMISC,UP</span>,LOWER_UP> mtu 1500 | + | 2: eth0: <BROADCAST,MULTICAST,<span style=color:red>PROMISC,UP</span>,LOWER_UP> mtu 1500 |
link/ether 96:00:00:4b:da:0a brd ff:ff:ff:ff:ff:ff | link/ether 96:00:00:4b:da:0a brd ff:ff:ff:ff:ff:ff | ||
Version vom 11. August 2021, 15:01 Uhr
Anmeldungen am System
- Ist noch jemand eingelogt?
- w
- Wer wann eingelogt?
- last
- Wer war schon einmal eingelogt?
- lastlog
Kontrolle Auslastung / Performance
- Auslastung?
- top
Kontrolle von Verzeichnissen
- inklusive versteckter Dateien
- Augenmerk auf Datum von Dateiänderungen, Eigentümer von Dateien, auffälligen Namen
- ls -Qartl
- /tmp/
- /root/
- /home/*
- /var/www/
- ...
Kontrolle Logdateien
- /var/log/auth
- /var/log/syslog
- Beispiele
- grep -i accepted /var/log/auth.log
Kontrolle der laufenden Prozesse
- top
- ps
- pstree
Kontrolle der offenen Ports
Server Ports
- tcp
- netstat -ltnp
- udp
- netstat -lunp
- unix
- netstat -lxnp
Offene Verbindungen
- tcp
- netstat -tnp
- udp
- netstat -unp
- unix
- netstat -xnp
Kontrolle crontabs
- crontab -l
- crontab -l -u benutzername
- /etc/cron*
Kontrolle der History von root und Benutzern
~/.bash_history
Kontrolle Schnittstellen
- Promisc Mode
- ip link show eth0
2: eth0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500
link/ether 96:00:00:4b:da:0a brd ff:ff:ff:ff:ff:ff