10 Questions To Ask During An Information Security Interview
By Daniel Miessler on January 7th, 2007: Tagged as Career | Jobs | Security

I’m getting ready to help screen some candidates for an information security consultant position, and I decided to jot down a few questions to ask. These won’t be the only questions being asked, of course, but just a few that came to mind. Anyway, I thought they were worth sharing.
The key here for me is not so much getting the perfect technical answer, but more so not getting a lame one. In other words, we’re looking to filter out those who don’t have the right skills and/or mindset rather than guarantee a good fit. I’ll highlight the things I’m looking for with each question.
- Where do you get your security news from?Here I’m looking to see how in tune they are with the security community. Answers I’m looking for include RSS feeds for solid sites like rootsecure, secguru, astalavista, whitedust, internet storm center, etc. The exact sources don’t really matter. What does matter is that he doesn’t respond with, “I go to the CNET website.” (and nothing else). It’s these types of answers that will tell you he’s likely not on top of things.
- If you had to both encrypt and compress data during transmission, which would you do first, and why? If they don’t know the answer immediately it’s ok. The key is how they react. Do they panic, or do they enjoy the challenge and think through it? I was asked this question during an interview at Cisco. I told the interviewer that I didn’t know the answer but that I needed just a few seconds to figure it out. I thought out loud and within 10 seconds gave him my answer: “Compress then encrypt. If you encrypt first you’ll have nothing but random data to work with, which will destroy any potential benefit from compression.”
- What kind of computers do you run at home? Good answers here are anything that shows you he’s a computer/technology/security enthusiast and not just someone looking for a paycheck. So if he’s got multiple systems running multiple operating systems you’re probably in good shape. What you don’t want to hear is, “I like to leave my computers at work.” I’ve yet to meet a serious security guy who doesn’t have a considerable home network.
- What port does
pingwork over? A trick question, to be sure, but an important one. If he starts throwing out port numbers you may want to immediately move to the next candidate. Hint: ICMP is a layer 3 protocol (it doesn’t work over a port) A good variation of this question is to ask whetherpinguses TCP or UDP. - How exactly does
traceroute/tracertwork? This is a fairly technical question but it’s an important concept to understand. It’s not natively a “security” question really, but it shows you whether or not they like to understand how things work, which is crucial for an infosec professional. If they get it right you can lighten up and offer extra credit for the difference between Linux and Windows versions.The key point people usually miss is that each packet that’s sent out doesn’t go to a different place.Many people think that it first sends a packet to the first hop, gets a time. Then it sends a packet to the second hop, gets a time, and keeps going until it gets done. That’s incorrect. It actually keeps sending packets to the final destination; the only change is the TTL that’s used. The extra credit is the fact that Windows uses ICMP by default while Linux uses UDP. - Describe the last program or script that you wrote. What problem did it solve? This is a trick as well. All we want to see is if the color drains from the guy’s face. If he panics then we not only know he’s not a programmer (not necessarily bad), but that he’s afraid of programming (bad). I know it’s controversial, but I think that any high-level security guy needs some programming skills. They don’t need to be a God at it, but they need to understand the concepts and at least be able to muddle through some scripting when required.
- What are Linux’s strengths and weaknesses vs. Windows? Look for biases. Does he absolutely hate Windows and refuse to work with it? This is a sign of an immature hobbyist who will cause you problems in the future. Is he a Windows fanboy who hates Linux with a passion? If so just thank him for his time and show him out. Linux is everywhere in the security world.
- What’s the difference between a risk and a vulnerability?As weak as the CISSP is as a security certification it does teach some good concepts. Knowing basics like risk, vulnerability, threat, exposure, etc. (and being able to differentiate them) is important for a security professional.
- What’s the goal of information security within an organization? This is a big one. What I look for is one of two approaches; the first is the über-lockdown approach, i.e. “To control access to information as much as possible, sir!” While admirable, this again shows a bit of immaturity. Not really in a bad way, just not quite what I’m looking for.A much better answer in my view is something along the lines of, “To help the organization succeed.”This type of response shows that the individual understands that business is there to make money, and that we are there to help them do that. It is this sort of perspective that I think represents the highest level of security understanding — a realization that security is there for the company and not the other way around.
- Are open-source projects more or less secure than proprietary ones? The answer to this question is often very telling about a given candidate. It shows 1) whether or not they know what they’re talking about in terms of development, and 2) it really illustrates the maturity of the individual (a common theme among my questions).My main goal here is to get them to show me pros and cons for each. If I just get the “many eyes” regurgitation then I’ll know he’s read Slashdot and not much else. And if I just get the “people in China can put anything in the kernel” routine then I’ll know he’s not so good at looking at the complete picture.
The ideal answer involves the size of the project, how many developers are working on it (and what their backgrounds are), and most importantly — quality control. In short, there’s no way to tell the quality of a project simply by knowing that it’s either open-source or proprietary. There are many examples of horribly insecure applications that came from both camps.
--

I was once asked which is stronger - RSA with a 8192 bit key or AES with 128 bit key
Don’t forget that security is mostly an attitude, or actually a way of life, and only secondly knowledge.
– Arik
Comment by Arik — 1/7/2007 @ 8:18 pm
“Don’t forget that security is mostly an attitude, or actually a way of life, and only secondly knowledge.”
Well said.
My favorite interview bonus question is “how many fire alarm levers did we pass on the way here?”
I’d hire someone who got every technical question wrong but answered that one even in the ball park.
-Dave
Comment by Dave — 1/7/2007 @ 10:10 pm
I think one could also argue for number 2 that encrypting before compressing would tend to reduce the possibility of known plaintext attacks. But, as you say, there’s not any point in compressing data once it’s been encrypted.
Comment by Wonk — 1/8/2007 @ 7:09 am
Wow. Some of these are good. When I came to the interview for my current job, my boss had about 15 sheets of questions that are standard. I cannot remember them all now, but I was so nervous. We ended up hiring a guy who was straight out of college and has no Linux experience (he had heard of it before). It is really hurting. We have had to teach about the world all over again. He really doesn’t know that much about the deep parts of Windows.
Comment by Philip — 1/8/2007 @ 7:16 am
10 Questions To Ask During An Information Security Interview…
Daniel Miessler has compiled a list of 10 questions that should be asked of a candidate for a security (or even any IT position.) Although not perfect, this list should provide a good starting point for an employer trying to understand whether the cand…
Trackback by Cybercrime Law — 1/8/2007 @ 7:46 pm
Here is a few we use:
Define non-repudiation and give a real world example.
What would you do with a Rainbow Table?
What is a downstream liability?
What is the difference between symmetric and asymmetric cryptography?
Comment by Michael S Black — 1/9/2007 @ 8:51 am
Nice ones, Michael. For the crypto one I usually as them to describe exactly what happens when you send a message that’s both signed and encrypted using PGP — specifically relating to the cryptography. What I look for in the response is the not-so-well-known fact that the message is actually not encrypted with the other person’s public key.
…wait for it…
Instead, the message is encrypted with a randomly generated SYMMETRIC key, and that key is encrypted using their public key. They then decrypt the symmetric key, and use that to read the encrypted message. Which directly illustrates the positives and negatives of both. You wouldn’t want to use asymmetric cryptography to encrypt a very large message due to the time cost, so symmetric cryptography is used instead.
Comment by Daniel — 1/9/2007 @ 10:59 am
[...]
Pingback by Waleed Alrodhan - Information Security Blog — 1/9/2007 @ 6:43 pm
Hmmm…
Interesting - I got the Compression vs. Encryption question in the terms of asking about how IPSec is handled once.
I used to get the home computer question.
But after I explain my home lab setup and some of the machines I keep around that run from Linux Appliances, Cobalt RAQ Appliances with CentOS and Solaris, or my Solaris Pizza Box that I installed Red Hat 6.0 on or just my run of the mill PC’s with any various OS or some of my favorite tools.
Then we have the Cisco and other vendors gear. I stop after the eyes start to glaze, unless they want to know where I get my bogon lists from or where I find my latest 0-Day Exploits from and how I have acquired so many tools of the trade…
Hmmm…
Well, you know…
How are things going?
Did you ever decide to use Cisco Gear? Get your CCNA yet?
Are you in Orlando this week at SANS?
Later
Comment by Darby Weaver — 1/13/2007 @ 5:13 am
Define Panic Attack…
This article sounds well, but how everything is related together?…
Trackback by Define Panic Attack — 3/21/2008 @ 9:26 pm
Where are the answers to all the questions?
Comment by knight — 7/14/2008 @ 5:23 am
Nice compilation of questions….!!
Comment by ash — 8/26/2008 @ 2:04 pm
You say, “As weak as the CISSP is as a security certification…”
This cert seems to be der rigeur in the industry for any security position. Almost all the jobs I apply for say it is desirable, required, or you must get certified within 6 months of hire. Why do you have such a low opinion of it? And, if it’s so weak, why do they all want you to have it?
Comment by James — 10/19/2008 @ 3:13 am
these questions sound very basic…. for jr security position.
what questions you would ask for pentester/sr sec analyst position?
thanks Max
Comment by Max — 11/7/2008 @ 1:57 am