There is no lock which can not be opened !

Starting with this interesting statement, in this note, I will "try" to explain the hacker's perspective towards IT Security. I will also share some of the interesting case studies from my past (black-white hat life) along with the most effective countermeasures.

To start with, there are two types of hackers, namely black hat (dark side of hacking) and white hat (ethical hacking). A simple formula says that to be a good cop, you must have a mind and thought process of a criminal. So, no hacker (afaik) can claim that he directly turned into a white hat, without having committed some of the interesting things out of the following.

Today, while we live in the era of grand evolution of the internet, we become prone to hacking, fishing, malware, ransomware, virus and all other threats. Now, if a person with bad intention wishes to break-into our computer/mobile, it is rather very easy.

However, the intelligent hackers try not to leave traces and that is where the forensic experts come to rescue. The following security profiles have become a key to secure the critical information:

  1. Security Expert / InfoSec Expert
    Creates policies and processes, finalize tools and strategies to secure the critical information. SE is also responsible for validating the security measures by running the penetration tests on the enterprise resource
  2. Forensic Expert
    Runs the forensic tools, gathers evidence, recovers information from various sources and helps in security breach incidents

With the passage of time, hackers have become more intelligent with extreme sources to earn money and buy compute/network to run distributed attacks. However, the key methodology and most effective way to hack is to adopt the COVERT procedures. Following are two basic scenarios, observe the similarity:

These two cases used Covert techniques to fetch information, which generally SPY agents do. There are other techniques I have used in the past to capture good information:

Now, a bit on the technical side, hackers never ever do it in public. They use different paths, private VPN servers, several proxies (private and public) and other networks to reach the target. They usually scan for target service, which is known to be vulnerable. Generally stuffing comm pipe with lots of information, results in the slow response from the service or no response at all. Below is the list of most common tactics, used by hackers:

  1. Using private VPNs
  2. Additional hidden identity by using proxy servers
  3. Targeting most vulnerable service
  4. Telnet any service port will send back result whether it's listening or not
  5. Running port scan in intervals (Patience is the virtue)
  6. ARP spoof (to act as authentic source for request)
  7. Scanning local network for open/hidden shares
  8. Gather userid and passwords from public network
  9. Leaving Keyloggers, Programs via USB or any other means
  10. Run hidden FTP/Web servers from victim's computers
  11. Compromise the operating system files with injection of code to reveal lots of information from computer
  12. Running BOTs and leaving persistent threats/zombies in the system
  13. Owning BOTnet and keep changing the BOTserver

There are several other ways to compromise a system and breach the security. These threats call for a greater awareness of end users and improved security at the enterprise level. Now to enhance the security, following measures can be taken:

Following the above methods and keeping the hacker's perspective in mind, one can lay the foundation of Information Security for any enterprise. The purpose of the post was to highlight the need for security and knowing the key concepts of hacking.

I am sure, this post was helpful in a way and served the purpose well. I would appreciate comments, likes, and suggestions.