Cybersecurity Interview Question Bank

Since my first year at University, I have been asking everyone I know for a list of questions they got asked at cybersecurity job interviews. This list does not contain the questions I got asked when under an NDA, however I believe most topics I was asked about are tangentially covered.

I am not including answers to any of these questions, as I think doing your own research will lead to a better understanding, and I do not feel like I could give an authoritative answer. Please do not be intimidated by all of these – I have never been required to know how to answer each one.

If you have any questions to add, please get in touch.

A great resource for answering some of these questions is here.

  1. How does the internet work? 
  2. What happens when you google “dogs”? 
  3. What is DNS and how does it work? 
  4. How can you attack DNS?
  5. What is a DNS amplification attack?
  6. How do you protect a network? 
  7. What is an IDS and how does it work? 
  8. What is the difference between IDS and IPS?
  9. What is a SIEM?
  10. What is an EDR and how does it work? 
  11. What is the difference between a router and a switch?
  12. How do you protect an endpoint?
  13. How would you detect malicious activity on a network/endpoint? 
  14. An employee tells you her computer has malware – how would you determine if it does ?
  15. Describe the most common ways an external attacker today might attempt to gain access to a network.
  16. You just got put in charge of a network after the last sysadmin was fired. What steps would you take to protect the network?
  17. A user forwards you a suspected phishing email. How do you respond and handle it?
  18. What are the primary reason NOT to upload targeted malware to Virus Total?
  19. What is symmetric cryptography? Examples?
  20. What is asymmetric cryptography? Examples?
  21. What’s the difference between encoding, encryption, hashing and obfuscation?
  22. What percentage of malware in the wild do you think AV can detect?
  23. How would you bypass a network IDS?
  24. A trusted source gives you a 10GB PCAP to analyse. Something bad is in it. What is your methodology for finding it?
  25. How would you secure an endpoint in an enterprise?
  26. What do you believe are the biggest threats to an enterprise network?
  27. Not a question, but make sure you understand subnetting.
  28. A user opens a browser, types google.com into the URL bar and hits enter. What happens?
  29. Describe the layers of the OSI model.
  30. What does ARP do?
  31. Can you explain an attack that would use ARP?
  32. How does NAT work?
  33. Can NAT be used maliciously?
  34. How does DNS work?
  35. Could DNS be used maliciously?
  36. How does traceroute work?
  37. Can traceroute be used maliciously?
  38. What is an HTTP header and what does it look like?
  39. What is an TCP/IP header?
  40. What port does ICMP (ping) run on? (Trick question!)
  41. What’s the difference between TCP and UDP?
  42. What’s the sequence for establishing a TCP connection?
  43. What’s the sequence for terminating a TCP connection?
  44. How does an HTTPS connection work?
  45. Can you name some vulnerabilities one might find in a website or app?
  46. Can you talk about protecting against the above mentioned vulnerabilities?
  47. What is SQL injection and how does it work?
  48. How would you mitigate SQL injection?
  49. What is cross-site scripting?
  50. How would you mitigate cross-site scripting?
  51. What is the difference between data protection in transit and data protection at-rest?
  52. What is the difference between a threat, a vulnerability, and a risk?
  53. How do you go about securing a server?
  54. How do you go about securing a website?
  55. How would you migrate a website from one server to another?
  56. What are the differences between HTTPS, SSL, and TLS?
  57. Describe the TLS handshake in detail.
  58. What sorts of anomalies would you look for to identify a compromised system? 
  59. If you had to both compress and encrypt data during a transmission, which would you do first?
  60. How would you strengthen user authentication?
  61. What are the differences between cybersecurity in the cloud and on premises?
  62. Describe PKI.  
  63. What is the difference between UDP and TCP?
  64. As you know there are security issues (like Bufferoverflow) in image parsing libraries, you have to design a secure library that parses images, make sure there must be no security vulnerabilities in it, how will you design it?
  65. Walk me through designing Google’s single sign on for all google’s services that requires login, for example youtube?
  66. How do you protect against XSS without having to use encodings and javascript is allowed?
  67. Share your experience of fuzzing?
  68. What is origin in Same-origin-policy?
  69. What is a firewall?
  70. What is a three-way handshake?
  71. How do cookies work?
  72. How do sessions work?
  73. Explain how OAuth works.
  74. What is a public key infrastructure flow and how would I diagram it?
  75. Describe the difference between synchronous and asynchronous encryption.
  76. Describe SSL handshake.
  77. How does HMAC work?
  78. Why HMAC is designed in that way?
  79. What is the difference between authentication vs authorization name spaces?
  80. What’s the difference between Diffie-Hellman and RSA?
  81. How does Kerberos work?
  82. If you’re going to compress and encrypt a file, which do you do first and why?
  83. What is the difference between encryption and encoding?
  84. What is the difference between 128 and 256?
  85. How do I authenticate you and know you sent the message?
  86. Should you encrypt all data at rest?
  87. How does threat modeling work?
  88. What is a subnet and how is it useful in security?
  89. What is a subnet mask?
  90. Draw a network, then expect them to raise an issue and have to figure out where it happened.
  91. Write out a Cisco ASA firewall configuration on the white board to allow three networks unfiltered access, 12 networks limited access to different resources on different networks, and 8 networks to be blocked altogether.
  92. Describe the Risk Management Framework process and a project where you successfully implemented compliance with RMF.
  93. How does a packet travel between two hosts connected in same network?
  94. TCP and UDP – Which is more secure? Why?
  95. What is the difference between IPSEC Phase 1 and Phase 2?
  96. What are biggest AWS security vulnerabilities?
  97. How do web certificates for HTTPS work?
  98. Is ARP UDP or TCP?
  99. Explain what information is added to a packet at each stop of the 7 layer OSI model.
  100. Walk through a whiteboard scenario for your environment of choice (Win/Linux) in which compromising the network is the goal without use of social engineering techniques (phishing for credential harvesting, etc).
  101. Explain how you would build a web site that could secure communications between a client and a server and allow an authorized user to read the communications securely.
  102. How does an active directory work?
  103. Do you know how Single Sign-On works?
  104. How do you build a tool to protect the entire Apple infra?
  105. How do you harden a system?
  106. How to you elevate permissions?
  107. Differentiate XSS from CSRF
  108. What is the difference between tcp dump and FWmonitor
  109. Do you know what XXE is?
  110. Explain man-in-the-middle attack
  111. How would you attack Microsoft, persist on our network, perform recon, and exfiltration data without being detected? And then how would you write detections for your stated attack path?
  112. Tell me what you know about BGP?
  113. Please describe what spanning tree protocol does in as few words as possible
  114. what do you do to stay relevant in your field as it evolves?
  115. Could you break out 3 /26 subnets from 192.168.0.0/23
  116. Could you start by giving us a few specific examples from your career to date that demonstrates your skillset for this role.
  117. Can you tell us about a technology choice you have had to make. How did you evaluate the choice?
  118. Think about a reasonably complicated technical idea or concept you know a lot about. Please explain that to someone not familiar with it.
  119. This technology can be delivered as both a SaaS product or On-Premise. A potential customer wants to know the difference, can you please explain to them.
  120. Our primary stack is noSQL/mySQL/PHP/JS/Spunk/Elasticsearch and a Webserver (Apache, IIS, Nginx). Can you give us some detail on your level of experience with these technologies and the types of problems you have had to solve using them.
  121. Do you have experience doing testing/qa for reported software bugs? How do you go about this?
  122. Can you describe the difference between a SDK and an API.
  123. Can you describe what a JOIN does and how it’s different to a SUBQUERY?
  124. A customer wants to import data from another competing product into ours. Talk us through some of the approaches to this type of problem.
  125. When I click “Send” in my mail client, what happens between that click and the email arriving in the mailbox of the person the email is being sent to.
  126. Why are you looking to leave your current role. What about your old role do you want to remain in your new role, and what do you want to be different?
  127. What excites you about this role, and why do you think it would be the right role for you?
  128. Compare two popular products or solutions and tell me why you prefer one (eg. LogRythm and Splunk)
  129. A customer wants to onboard logs from an API – what are your considerations before implementing this/what is the effect o the SIEM?
  130. A log source source stops reporting logs – what do you do?
  131. Your SIEM has lots of different log sources, of variable criticality – how do you make this distinction?
  132. Develop a generic use-case for failed login attempts.
  133. What are examples of existing automation solutions you have used?
  134. You want to install botnet on Enterprise: how do you install it? how do you communicate with it (Protocol/port)? how do you maintain the access and make sure you can access it after the reboot of the system?

Some of these questions have been taken from: Abertay Hackers wiki, Glassdoor, this blog, this github repo and various friends & colleagues – this is a list of the ones I personally have found to come up most based on asking lots of people.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.