Networking: The netstat Command

66 flashcardsby Jay
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

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

Study these decks in the app

Free on iPhone, Android, Mac and the web. Add any deck to your account in one tap.

Download on the App StoreGet it on Google Play
Study all 66 cards for free