Essential SOC Interview Questions Guide
Essential SOC Interview Questions Guide
✓ Security analyst.
• Basic terminology
• Fundamentals of the network
• Fundamentals of the operating system
• Fundamentals of malware analysis
• How to analyze attacks (phishing, malware...)
✓ What are the black hat, the white hat, and the gray hat?
• Black Hat: Black-Hat Hackers are those hackers who break into the
system without obtaining permission from the owners. These hackers use the
vulnerabilities as entry points. They hack the systems illegally.
They use their skills to deceive and harm people. (GeeksforGeeks)
• Gray hat: Gray hat hackers are a mix of white hat hackers
black and white. These types of hackers find vulnerabilities in systems without
the permission of the owners. They have no malicious intent. However,
this type of hacking is still considered illegal. But they never share information
with the black hat hackers. They find the problems and report to the
owner, sometimes asking for a small amount of money to fix it.
(GeeksforGeeks)
✓ What is port scanning?
• Port scanning is a method to determine which ports of a network are
open and could be receiving or sending data. It is also a process to
send packets to specific ports of a host and analyze the responses to
identify vulnerabilities. (Avast)
✓ How can the Blue Team and the Red Team be basically defined?
• The red team is the attacking side, the blue team is the defending side.
✓ What is a firewall?
• The firewall is a device that allows or blocks network traffic according to rules.
• Risk: the level of impact on the agency's operations (including the functions
of the mission, the image or the reputation), the assets of the agency or the individuals who
result from the operation of an information system given the potential impact of
a threat and the likelihood of that threat occurring. (src: NIST)
✓ What is compliance?
• Following the set of rules authorized by an organization, part
independent or government.
✓ Explain 2FA.
• 2FA is an additional layer of security used to ensure that the
people trying to access an online account are who they say they are. At first
place, the user enters their username and a password. Next,
Place to access immediately, you will be asked to provide additional information.
Authy
✓ Could you share some names of security products for points?
finals in general?
• Antivirus
• EDR
• XDR
• DLP
• Availability: Systems, networks, and applications must work as they should and
when they should. Additionally, people with access to specific information should be able to
consume it when needed, and accessing the data should not take excessive time.
✓ What is the AAA?
• In general, SIEM products have a series of characteristics. The ones that interest us the most
SOC analysts are interested in: filtering the data they collect and creating alerts for
any suspicious event.
information about threats that can be shared with the community to improve
(TrendMico)
True positive:
• If the situation to be detected and the detected situation (alert activated) are the same, it is about
from a True Positive alert. For example, let's suppose that a
PCR test to see if it is Covid19 positive and the result of the test has been
positive. It is a True Positive because the condition that is intended to be detected (if it has the
Covid19 disease and the detected condition (being a Covid19 patient) are the same.
This is a true positive alert.
• Let's assume there is a rule to detect SQL Injection attacks and this rule is
has been triggered due to a request made to the following URL. The alert is
indeed a 'True Positive' since there was a real Injection attack
SQL.
[Link] 1=1
False positive:
• In summary, it is a false alarm. For example, there is a security camera.
in her house and if the camera alerts her due to the movements of her cat, it is about a
false alert.
• If we look at the example of the URL below, we see the keyword of the parameter
SQL 'Union' within this URL. If a SQL injection alert occurs for
this URL will be a false positive
alert because the keyword "Union" is used to refer to a sports team
here and not for a SQL injection attack.
•
The provided text is a URL and does not contain any translatable content.
✓ What is the OSI model? Explain each layer.
• Physical layer: The physical layer is responsible for the transmission and reception of data.
unstructured brutes between a device, such as an interface controller
red, an Ethernet hub or a network switch and a transmission medium
physical. Converts digital bits into electrical, radioelectric, or optical signals.
• Data link layer: The data link layer provides the transfer of
node-to-node data, a link between two directly connected nodes. Detects and
possibly correct the errors that may occur in the physical layer. Define the
protocol for establishing and terminating a connection between two connected devices
physically. It also defines the protocol for flow control between them. IEEE 802
divides the data link layer into two sublayers: a. Medium Access Control layer
medium (MAC) - responsible for controlling how devices on a network obtain
access to a medium and permission to transmit data. b. Logical link control layer
(LLC) - responsible for identifying and encapsulating network layer protocols, and
controls error checking and frame synchronization.
• Session layer: The session layer creates the configuration, controls the connections, and
the disconnection ends, between two or more computers, what is called a 'session'.
Since DNS and other name resolution protocols operate in this part of
the layer, the common functions of the session layer include logging in
user (establishment), the search for names (management) and the log out of
user (completion). Including this matter, the authentication protocols also
are incorporated in most client software, such as the FTP Client and the Client
NFS for Microsoft networks. Therefore, the Session layer establishes, manages, and terminates
the connections between the local and remote application.
• Presentation layer: The presentation layer establishes the format of the data and the
translation of the same to a format specified by the application layer during
the encapsulation of outgoing messages as they pass through the protocol stack,
and it is possibly invested during the decapsulation of incoming messages
when they pass through the protocol stack. For this same reason, the messages
outgoing during encapsulation are converted to a format specified by the layer
of application, while the conversation for incoming messages during the
decapsulation is reversed.
• Application layer: The application layer is the OSI model layer closest to the
end user, which means that both the OSI application layer and the user
interact directly with application programs that implement a
communication component between the client and the server, such as the Browser
files and Microsoft Word. These application programs fall outside the scope of the
OSI model unless they are directly integrated into the application layer through
the communication functions, such as in the case of applications like browsers
web and email programs. Other examples of programs are the
Microsoft networking software for sharing files and printers and the client of
Unix/Linux network file system to access file resources
shared.
✓ What is the three-way handshake?
• The client chooses an initial sequence number, set in the first packet.
The server also chooses its own initial sequence number, set at
the SYN/ACK packet.
• Each side recognizes the other's sequence number by incrementing it; this is the
receipt acknowledgement number. The use of sequence numbers and receipt acknowledgments
allows both sides to detect missing or out-of-order segments.
• Once the connection is established, ACKs are usually produced for each
segment. The connection will eventually end with a RST (reset or closure of the
connection) or FIN (end of the connection).
✓ What is the TCP/IP model? Explain the difference between the models.
OSI and TCP/IP.
• The TCP/IP model is the default method of data communication on the Internet. It was
developed by the United States Department of Defense to enable the
accurate and correct data transmission between devices.
• TCP/IP divides communication tasks into layers that maintain the process.
standardized, without hardware and software providers managing it themselves
Same. Data packets must pass through four layers before being received.
by the destination device, then TCP/IP traverses the layers in reverse order to
return the message to its original format.
✓ What is ARP?
• The Address Resolution Protocol (ARP) is a communication protocol
used to discover the link layer address, such as a MAC address,
associated with a given Internet layer address, usually an IPv4 address.
This mapping is a critical function in the set of Internet protocols.
✓ What is DHCP?
• The Dynamic Host Configuration Protocol (DHCP) is a management protocol
of network used in Internet Protocol (IP) networks for assigning
automatically assigns IP addresses and other communication parameters to the
devices connected to the network through a client-server architecture.
✓ Could you share some names of network security products?
general?
• Firewall
• IDS
• IPS
• WAF
• While the answer to this question varies depending on the scenarios, encryption is the key.
key to being safe.
✓ What are HTTP response codes?
✓ Explain the OWASP Top 10.
• Band SQLi (classic SQLi): If a SQL query is sent and responded through the
same channel, we call them SQLi in band. It is easier for attackers to exploit them
compared to other categories of SQLi.
• Inferential SQLi (Blind SQLi): The SQL queries that receive a response that does not ...
They are called Inferential SQLi. They are called blind SQLi because the response is not
you can see.
• When examining a web request, check all areas that come from the user:
Because SQL injection attacks are not limited to the areas of the
forms, you should also check the HTTP request headers such as User-
Agent.
• Look for the SQL keywords: Look for words like INSERT, SELECT, WHERE
within the data received from users.
• Check for special characters: Look for apostrophes ('), hyphens (-) or
parentheses used in SQL or special characters that are frequently used
in SQL attacks within the data received from the user.
• Familiarize yourself with the most commonly used SQL injection payloads: Although the
SQL payloads vary depending on the web application, attackers continue to use
some common payloads to check for SQL Injection vulnerabilities. If
If you are familiar with these payloads, you will easily detect the payloads.
SQL injection. You can see some SQL injection payloads used with
frequency here.
• However, frameworks are not perfect and security gaps still exist.
in popular frameworks like React and Angular. The encoding of the output and the
HTML sanitization helps to address those gaps.
✓ Explain the types of XSS.
[Link] XSS (persistent): It is a type of XSS in which the attacker can upload
permanently the payload of XSS in the web application. In comparison to others
Types, the most dangerous type of XSS is stored XSS.
[Link] Based XSS: DOM Based XSS is an XSS attack in which the payload of the attack is
executed as a result of the modification of the DOM 'environment' in the browser of the
victim used by the original client-side script, so that the code of
the client side executes in an 'unexpected' manner. (OWASP)
✓ What is IDOR?
• The Insecure Direct Object Reference (IDOR) is a vulnerability caused
due to the lack of an authorization mechanism or because it is not used
Correctly. It allows a person to access an object that belongs to another.
• LFI differs from RFI because the file to be included is in the same
web server where the web application is hosted.
✓ Explain CSRF.
UnWAFo web application firewall helps protect web applications by filtering and
supervising the HTTP traffic between a web application and the Internet. It usually protects the
web applications of attacks such as cross-site forgery, cross-site scripting
(XSS), file inclusion and SQL injection, among others. A WAF is a defense against
layer 7 of the protocol (in the OSI model), and it is not designed to defend against all types
of the [Link] provided text is a URL and cannot be translated.
✓ What are encoding, hashing, and encryption?
• Encoding: Convert the data into the desired format required for the
exchange between different systems.
• Encryption: The ciphering is the process of converting a normal readable message known
as plain text in a junk message or unreadable known as encrypted text. The
encrypted text obtained from the encryption can be easily transformed into text
plan using the encryption key. (GeeksforGeeks)
✓ The difference:
• The hash function does not need a key to operate.
• While the output length can be variable in the algorithms of
encryption, there is a fixed output length in hashing algorithms.
• Encryption is a bidirectional function that includes encryption and decryption, while
that hashing is a one-way function that changes plain text into a
unique compendium that is irreversible.
✓ What are salty hashtags?
• A salt is added to the hash process to enforce its uniqueness, increase its complexity
without increasing user requirements and mitigating password attacks such as the
hash tables.
• Compiler
• Disassembler
• It should also be taken into account that using a single approach may not be
enough to analyze the malware. Using both approaches together will give you
the best results.
✓ How does malware achieve persistence in Windows?
• Services
• Execution keys of the registry (Run, RunOnce)
• Task Scheduler
• Infection to clean files
✓ What event logs are available by default in Windows?
• Security
• Application
• System
• 4624
• 4625
• You can detect RDP login activities with event ID 4624. The value of
"Logon Type" must be 10.
✓ What is Cyber Threat Intelligence (CTI)?
The provided text is a URL and does not contain translatable content.
The provided text is a URL and does not contain translatable content.