1What does the netstat command do?
allows you to view stats for TCP/IP protocols on a system.
2What does netstat –a do?
displays a listing of all TCP and UDP ports that a system is listening on.
3What does netstat –r do?
displays the routing table
4What does netstat –e do?
displays details on network stats, including how many bytes the system sent and received.
5What does netstat –s do?
displays stats of packets sent or received for specific protocols, such as IP,ICMP, TCP and UDP
6What does netstat –n do?
displays addresses and port numbers in \nnumerical order
7What does netstat –p protocol do?
shows stats on a specific protocol, such as TCP or UDP.
8What does netstat display to indicate an active connection?
it has to display ESTABLISHED
9What are the common states of netstat?
1. ESTABLISHED 2.LISTEN 3. CLOSE_WAIT 4. TIME_WAIT 5. SYN_SENT 6. SYN_RECEIVED
10Why would you use netstat for?
if you suspect malware is causing a computer to connect with a remote computer
11What is ESTABLISHED state?
this is the normal state for the data transfer phase of a connection. it indicates an active open connection.
12What is the LISTEN state?
indicates the system is waiting for a connection request.
13What is the CLOSE_WAIT state?
indicates the system is waiting for a connection termination request.
14What is the TIME_WAIT state?
indicates the system is waiting for enough time to pass to be sure the remote system received a TCP–Based acknowledgment of the connection.
15What is the SYN_SENT State?
this indicates the system sent a TCP Syn packet as the first part of the SYN, SYN–ACK, ACK handshake process and it is waiting for the SYN–ACK response
16What is the SYN_RECEIVED state?
indicates the system sent a TCP SYN–ACK packet after receiving a syn packet as the first part of the SYN, SYN–ACK, ACK handshake process.
17What does tracert do?
lists all the routers between systems.
18What does traceroute do?
same thing as tracert but for linux–based systems
19Which system is tracert for? How about traceroute?
tracert is for windows and traceroute is for linux
20What do network admins use tracert for?
to identify faulty routers on the network.
21What can tracert verify?
if paths have been modified.
22How can you identify an internet path has not changed?
by using the tracert command
23What does pathping do?
combines the function of the ping and tracert command.
24How administrators commonly use pathping for?
to locate potential problems in the path \nbetween 2 systems.
25What is Arp?
a command–line tool that is related to the address resolution protocol.
26What does the arp command allow you to do?
view and manipulate the ARP cache.
27What is the arp command useful for?
if you suspect a system's ARP cache has been modified during an attack.
28What is LAMP?
it's an acronym for LINUX, Apache, MySQL, and PHP or perk or python.
29What is the cat command?
it's used to display the contents of files.
30What is the sudo command?
allows you to run the command with elevated privileges.
31What is the grep command?
(Short for globally search a regular expression and print) is used to search for a specific string or pattern of text within a file.
32What does the head command allow you to do?
allows you to see the beginning of a log file. the default is the first 10 lines.
33What does the tail command allow you to do?
allows you to display the last 10 lines of a log file.
34What is the logger command?
to add entries in the /var/log/syslog file from the terminal or form scripts and applications.
35What does the Journalctl command do?
queries the linux system logging utility and displays log entries from several sources.
36What does the chmod command do?
used to modify permissions on linux system files and folders.
37What does the security logs do?
it records auditable events such as successes or failures. functions as a security log, audit log, and access log.
38What do the system logs do?
used by the operating system to record events related to the functioning of the operating system.
39What do the application logs do?
records events sent to it by applications or programs running on the system.
40What do network logs record?
record traffic on the network.
41What does the SIEM system provide?
provides a centralized solution for collecting, analyzing, and managing data from multiple sources.
42List capabilities shared by most SIEMs.
1. Log collectors 2. Data Inputs 3. Log aggregation 4. correlation engine 5. reports 6. packet capture 7. User behavior analysis 8. sentiment analysis 9. security monitoring 10. automated triggers 11. time synchronization 12. event deduplication 13. logs/WORM
43What are log collectors?
SIEM collects log data from devices throughout the network and stores these logs in a searchable database.
44What are data inputs?
Log entries come from various sources. they can also come from any system that an organization wants to monitor.
45What is log aggregation?
aggregation refers to combining several dissimilar items into a single similar format. stores data so it is easy to analyze and search.
46What is correlation engine?
a software component used to collect and\n analyze event log data from various systems within the network.
47What are reports (SIEM)?
include multiple built–in reports. typically grouped in different categories.
48What is packet capture?
protocol analyzers capture network traffic allowing admins to view and analyze individual packets.
49What is user behavior analysis?
focus on what users are doing, such as what applications they are launching and their network activity.
50What is sentiment analysis?
refers to analyzing text to detect an opinion or emotion. within a SIEM system, it refers to using UBA tech to observe user behaviors to detect \nunwanted behavior.
51What is security monitoring?
provide continuous monitoring of systems and provide notifications of suspicious events.
52What are automated triggers?
triggers cause an action in response to \na predefined number of repeated events.
53What is time synchronization?
all servers sending data to the SIEM should be synchronized with the same time.
54What is event deduplication?
the process of removing duplicate entries.
55What are some common elements of a SIEM dashboard?
1. Sensors 2. Alerts 3. Sensitivity 4. correlation 5. trends
56What are sensors?
these collect logs from devices and send these logs to the SIEM system.
57What are alerts?
after setting triggers in a SIEM system, it sends out alerts when the event fires.
58What is sensitivity?
a challenge with triggers and alerts is setting the sensitivity levels to limit false positives while avoiding false negatives.
59What is correlation?
as log entries arrive at the SIEM system, it correlates and analyzes the data.
60What are trends?
as the SIEM system is analyzing the data, it can identify trends.
61What is the syslog protocol?
specifies a general log entry format and the \ndetails on how to transport log entries. you can deploy a centralized syslog server to collect syslog entries from a variety of devices in the network.
62What is important to remember about the syslog protocol?
it only defines how to format the syslog messages and send them to a collector. it doesn't define how the syslog server handles these log entries.
63What does the syslog daemon (syslogd) do?
handles the syslog messages. it collects the entries and processes them based on entries in the /etc/syslog.conf file.
64What does syslog–ng do?
extends syslogd, allowing a system to collect logs from any source.
65What does rsyslog do?
came out later as an improvement over \nsyslog–ng. one big change is the ability to send log entries directly into database engines.
66What is NXLog?
another log management tool and is similar to rsyslog and syslog–ng. however, supports log formats for windows.