ANNEXES
UNIX LINUX INTRUSION DETECTION INCIDENT RESPONSE FORM
UNIX LINUX INTRUSION DETECTION INCIDENT RESPONSE FORM
df
lsof -i
Files open on the network (root)
Red hat: /etc/mtab
findsmb
NetBIOS configurations
/proc/mounts
/etc/resolv.conf
DNS Servers
RAM extraction
User Information
dd
if=/dev/mem
destino
of=direc-
objdump [Binario]
fsstat
-f
[RutaImagen.dd]
Generates a copy of RAM memory
Obtains information of a binary
linux-ext2
Xxd [Imagen]
General image information
Clones partitions or hard drives
EnCase
Forensic tool that helps create images
FTK Imager
Forensic tool, helps create images
Active users in the system
last
Last users that used the system
cat /etc/passwd
User files, groups and passwords (to view them
you should have administrator privileges)
whoami
Current system user
1. Copy the file records listed below (when applicable) to a TXT file:
Information of applications and services
System processes (option -fe is used for
standard syntaxes)
Installed applications and updates
Red Hat: rpm -qa
service --status-all
w
cat /etc/shadow
dd
dpkg -l
List of users registered in the system
cat /etc/group
General image information
Creación de Imagen
ps -fe
cat /etc/passwd
•
/var/log/auth.log (for Operating System: DEBIAN, UBUNTU, LINUX MINT)
•
/var/log/secure (for Operating System: RED HAT, FEDORA, CENTOS)
•
/var/log/httpd/error.log (for Operating System: RHEL, RED HAT, CENTOS and FEDORA)
•
/var/log/mysqld.log (for Operating System: RED HAT, RHEL, CENTOS, FEDORA)
For Operating System: DEBIAN and UBUNTU:
See system services
•
/etc/log/apache2/acceses.log
•
/var/log/mysql.log
•
/var/log/mysqld.error.log
Network Interfaces, IP addresses, netmask and
gateway
•
/usr/local/uce/server/logs/audit.log
•
/usr/local/uce/server/logs/error.log
netstat -nap
Active connections list on the system
•
/home/nombredeusuario/.mozilla/firefox/archivo_aleatorio.default/places.sqlite
arp -a
Relation of IP with MAC Address
Iptables –L
Firewall configuration (root)
Network Information
ifconfig -a
2. Additional Information (optional):
Red Hat: /etc/sysconfig/iptables
/etc/sysconfig/ip6tables
3
96
4
97
Select target paragraph3
Connect to a paragraph
Connect to an entity
Disable highlights
Add to table of contents