What is Penetration Testing?

I hear some people calling Penetration Testing "paid hacking" and all these things that make it sound like a nice job, and I see some pentesters on DEFCON making speeches, and the job sounds kind of fun to do from the way they speak and kind of ridiculous.

So here are my questions. Is this a well paying job that I can live on? How is the job really like? Can it be fun? Is it boring? Will it be something that I might enjoy? How do I become a Penetration Tester?

I'm asking these questions because some people make this type of job out to be paid hacking or whatever the hell and I might need a backup plan if my dream of becoming a video game developer doesn't work it out as I want it to.

Any help is welcomed, and I might send you cat pictures if you advice is amazing.

I'm not too terribly informed on penetration testing so take this with a grain of salt, but from my understanding, it is essentially trying to hack your own systems so you can see where the vulnerable points are or find a potential security breach and patch it.

In a nutshell, it's the act of attempting to crack parts of a network. It can be everything from trying to gain access to a specific workstation, to bringing down a web server or gaining entry to a secure part of a building and installing a packet sniffing device. It takes many forms.

Additionally you have three "types" of testing described by 'hats' i.e. Black hat, white hat and grey hat. If you are contracted and have full information (log in information, network node address', MAC address') and in that scenario you are typically just trying to gain information off of the network. Past that you have grey hat which is some information or black hat which is going in blind and trying to gain access without any help.

You can make a living off of doing this service but you need to be an expert on it. Typically you will need some major understanding of intricate details (i.e. stuff you'll learn in when achieving your bachelors in network security) and isn't exactly an easy job. I have a friend who does this for a living and he's taught me some things but it's very elaborate as you need proper details, documentations, and procedures.

Think installing a remote packet sniffing device (think a rasberry pi) in a plenum but you it has to be done in a secure part of a building that you have to somehow gain access to. Sounds fun, sure, but it's a tough job.

Pentesting is always official can be done on several levels, depending on the purpose of the network or network attached infrastructure that is tested. It is not to be confused with cracking or trespassing, and thus has nothing to do with grey or black hat hacking, it's all white hat.

The purpose of pentests is to security certify network infrastructure, mostly for compliance and insurance purposes. There are several certificates that all represent a different level of testing.

It is a good business at the highest level, it is a very bad business if you're not at the top.

What do you need to make a lot of money being a penetration tester:

- you need to be a lawyer or an accountant, build up a business doing that, then hire some networking geeks that have never been outside in their entire life, and exploit them;

- you need to study computer sciences and then self-study networking technologies, Linux, GNU/Linux, hardware architectures, micro-electronics, etc... so that you can identify and exploit vulnerabilities, and then find a job at a large consultancy firm, where you get paid to get exploited by lawyers and accountants that make more than you;

- or you need to lead an exemplary lifestyle, study computer sciences, micro-electronics, social sciences, UNIX/Linux, and get really good at it... first, and than study law afterwards. Also make sure that you've never been arrested, you've never been in the press unless for completely heroic neutral patriotic acts (like - while waving your nations flag and humming the national hymn - saving a preacher's life in front of plenty of whitnesses, by rescuing him from a tree in which he went after his kitten and got stuck), make sure no one ever ever steps into your car with something in his pocket, make sure you never get caught drunk or expressing an opinion that might be considered subversive, make sure you have no debt whatsoever, etc... and then apply for a governmental security clearance, which is something you will need to get the good contracts as a pentester.

Let me explain what pentesters do from practice: they perform a set number of tests required either by legal compliance or by insurance companies, and deliver a certification about that, and a few recommendations that need to be implemented by a company, which for that company amounts to letting a secretary type some stuff and sending a memo to everyone. That's it.

You also need to be compliant yourself, which means that you have to make endless reports, and report any illegal activity you've encountered while pentesting, which you never do, because if you did encounter such illegal activity, you would have to report it, testify about it, thereby breach customer confidentiality, get burned, and lose your career, so you happen to only pentest at a time when there is no sign of illegal activity (like emails between sales managers of competing companies about product pricing of products, confidential product pricelists of competitors, confidential reports of boards of directors about accounting technology, etc...) on the network. Coincidently, at the time you perform your pentest, these things are not on the infrastructure you are performing tests on... they really aren't, you know... because you've studied so hard that you know how not to find such information, and perform the pentest like any half-witted sysadmin with a Cisco and Microsoft networking certification. Do not underestimate the amount of study and knowledge it takes to make sure you look as dumb and ignorant as possible!

You have to understand what the purpose of the job of a pentester is. Example: a large software and services company has to adopt a privacy policy that prevents them from selling personal customer data. They also need to pay the shareholders a record amount of dividend per share to look good, and so that the board of directors can cash in obscene bonuses. So they make sure that they meet and exceed all the legal and insurance compliance they have to meet, and get successful pentesters to certify that. When they are really sure that all the requirements are met, the unexpected happens: their network is compromised by some non-identifiable hacker group operating from behind a Russian or Chinese IP, and their customer data is compromised. Luckily, no company data was compromised, all the IP and research was secured, but the customer data sadly was accessed and probably stolen. But the company did everything right you know: they shut down their online services to their customers as soon as the attack was over, they immediately called their insurance company to claim compensation for the company's loss, and they issued a warning to customers that, although customers have no claim against the company because of the Terms of Service and Terms and Conditions, and although the company can't say for sure what data was compromised, customers should probably change their passwords and credit cards, and relocate to another country and change their name and get plastic surgery to be on the safe side, but don't worry, their beloved company has been amply compensated by the insurance company, and the service will continue at the same price per month as before...

See why the most successful pentesters are the "Big n", so basically lawyers and accountants? Often the very same guys that are the company's chartered accountants and lawyers in all other matters?

Of course the content of this post is completely hypothetical, and no reference to any real-life event is made, and any resemblance with companies or persons, living or dead, is entirely coincidental.

 

On the other hand, there is also another job, that is more technical, less lucrative, but might be more interesting for those no so inclined to study law: forensic networking specialist.

These are the guys that are hired to figure out what happens when there was an incident. It is far more technically challenging and satisfying, and if you can get into law enforcement doing this, working hours are great and there are no laws or courts that can hold you back...

In Penetration testing 'black' 'grey' and 'white' refer to the amount of information given to the tester, not the integrity of their actions.

It refers to the test simulation level, and I'm saying it's all white hat that counts. Integrity of the actions of the tester is never an issue, he's a contractor, he can legally do what he's asked to do, even if that would involve blackmail towards employees of the contractee or breaking and entering, if such actions are covered by the contract, but I don't think that would be very wise, because actions seldom fall under just one single jurisdiction, a lot of networks are multi-national, often there are a lot of laws to respect, and very few serious pentesting efforts to be done.

White hat is what is legally relevant, since as a legal subject you can't exonerate yourself for culpa levissima, the lightest notion of fault, but you can make ToS and contracts to exonerate yourself from any liability or accountability as a consequence of culpa levis or culpa gravis. The notion of culpa levissima corresponds with the obligation of diligence, which is the highest level of responsibility that is required by law or insurance contracts from commercial entities, educational institutions, banks, etc... why, very simple, because everything more may cost money, and paying politicians to make criminal laws that have a really wide scope and make just about anything illegal, is cheaper. A company can never be held responsible for the consequences of an act committed by a person that is qualified as a criminal act by law. That's the first reason why there are so many laws that criminalize network activity, to prevent liability from companies.

So, the grey and black simulation levels are dead and buried in most commercial pentesting as a contractor/external consultant, only relevant internally in particular projects, and in forensic networking for government and in-house specialists. It's not a good choice to accept a pentesting contract as an external consultant for a company that has internal forensic specialists, because that means that it's not a black hat assignment, but it most often is a black sheep assignment.

In the present state of society, networks and ITC-infrastructures are not as much protected by technology, as they are protected by laws and contracts.

it's when you do a one night stand with a potential gf.........no??

Load up some virtual machines. If you have access to windows ones the better.

You can use backtrack (or kali), or any os with the right software.

Unplug your modem from the internet, but not to unplug yourself from the modem. This is just in-case you do not get flagged by your isp.

The easiest thing to do is a port scan.