Posts

Showing posts with the label tools

How I gained initial access using Social Engineering

Image
Cybercriminals have done a lot of damage to organization through Social Engineer Attack from FireEye to Cisco & recently Uber they all were hacked because of social engineering. This reminds me of my own internal pentesting in one of my organization which I did in 2021, I used social engineering technique to deliver and execute my payload. I was asked to check if I can gain access to any of our employee's computer using any method I can think of.  In this blog, I will simulate the same attack and will try to show how I gained initial access by using a social engineering technique.   Attack Phase 1: Information gathering As it was from internal network i decided to compromise one employee. Here the person is a network engineer. Before attacking the target i started the attack with information gathering. The first thing I started with checking all open port in my network range. To do this I used masscan, so i used command masscan -p445  192.168.7.1/24 --rate=1000  ...

Pwning a person using basic Red team techniques and social engineering Attack

Image
This time I have decided not to phish the user’s password instead I will pwn his device. I will generate persistent spyware which will log target’s keystrokes, screenshots and webcam snapshots (if the user has a webcam) STEP1: Gathering information This step is about to gather information about my target, as my target does not has any computers knowledge coming from arts medium (from his Facebook profile) it is easy to phish him, but first I am going to gather information about what OS is he using, what version of the operating system he is running. So to do this I created an IP tracer that will gather his user-agent info, his current location(if he gives access), what device is he using. When he opens the link I got all the information I required to prepare my attack and saved everything on the log file. Below is a snapshot of his device details.   Now I know he is using windows 10 operating system so I can prepare my spyware keeping this information...

Basic Vulnerability Assessment and Penetration Testing of a Website

Image
I started with information gathering, by using whatweb we can see what services and technology this site is using, we can see below this site is using WordPress as CMS, Apache web server running on Ubuntu. After checking on http://wappalyzer.com we can confirm above discovery. We got lots more details about running services on this site. Enumerating web application firewall Before going any further, we should first confirm if the site’s using any firewall or not, so we can decide how many threads or request to send before it block our access. For this I am gonna use wafw00f as shown below.  So it’s confirm this site is not using any web app firewall now we can move ahead in our assessment. Exploiting XML-RPC API   Many WordPress sites are vulnerable to xmlprc brute-force attack. A bad guy can use brute-force attack against the target site. We can see xmlrpc is available by going digitalfobot.com/xmlrpc.php directory.   We ca...