Bài Thực Hành Metasploit Framework Lesson 1 : Downloading and Configuring
Section 0. Background Information |
- Metasploitable
- Metasploitable is an intentionally vulnerable Linux virtual machine.
- This VM can be used to conduct security training, test security tools, and practice common penetration testing techniques.
- Reference Link
- Lab Notes : (Trong tình huống thực hành các học viên có thể cài đặt BackTrack 5 R3, khi đó có sẳn ứng dụng Metasploit Framework được cài tích hợp sẳn, tuy nhiên nếu cài metasplot framework riêng trên 1 máy ảo chạy hệ điều Windows như XP hay Win 7 sẽ có hiệu suất tốt hơn)
- In this lab we will do the following:
- Download Metasploitable
- Configure the Metasploitable Network VM
- Change the msfadmin and root password
- Legal Disclaimer : Bài lab chỉ dùng cho mục đích học tập
Section 1. Create a New Virtual Machine |
- Open Firefox
- Instructions
- Click on the Start Button
- Type "Firefox" in the search box
- Click on Mozilla Firefox
- New Virtual Machine Wizard
- Instructions
- Place the following link in the address bar.
- Click on the Save File radio button
- Click on the OK Button
- Uncompress the metasploitable VM
- Instructions
- Navigate to where you downloaded the metasploitable VM
- In my case, I saved it to an external USB hard drive.
- Right Click on metasploitable
- Click on Extract All...
- Extract the metasploitable VM
- Instructions
- Extract the metasploitable VM to your desired location
- In my case, I extracted it to an external USB hard drive.
- Click the Extract Button
Section 2. Start VMware Player |
- Start Up VMWare Player
- Instructions:
- Click the Start Button
- Type Vmplayer in the search box
- Click on Vmplayer
- Open a Virtual Machine
- Instructions:
- Click on Open a Virtual Machine
- Open the Metasploitable VM
- Instructions:
- Navigate to where the Metasploitable VM is located
- Click on on the Metasploitable VM
- Click on the Open Button
- Edit the Metasploitable VM
- Instructions:
- Select Metasploitable2-Linux VM
- Click Edit virtual machine settings
- Edit the Metasploitable VM
- Instructions:
- Click on "Network Adapter NAT"
- Select the radio button "Bridged: Connected directly to the physical network"
- Click on the OK button
- Warning:
- By changing from NAT to Bridged opens the VM and network up to potential attacks.
- To maintain a safe network, you could (1) skip this section and only use the host-only network, (2) unplug your router from the internet, (3) use an ACL to not allow traffic into your network, etc.
- Play the Metasploitable VM
- Instructions:
- Click on the Metasploitable VM
- Click on Play virtual machine
Section 3. Changing Metasploitable Passwords |
- Logging into Metasploitable
- Instructions
- Username: msfadmin
- Password: msfadmin
- Change the msfadmin password
- Instructions:
- sudo su -
- password for msfadmin: msfadmin
- passwd msfadmin
- Enter new UNIX password: <Supply New Password>
- Retype new UNIX password: <Supply Same Password>
- Change the root password
- Instructions:
- passwd root
- Enter new UNIX password: Supply a new password
- Retype new UNIX password: Supply the same new password
- Proof of Lab
- Proof of Lab Instructions
- cd /var/log
- grep "password changed" auth.log
- date
- echo "Your Name"
- Replace the string "Your Name" with your actual name.
- e.g., echo "John Gray"
- Press the <Ctrl> and <Alt> key at the same time.
- Press the <PrtScn> key.
- Paste into a word document
- Upload to website Www.AnToanThongTin.Edu.Vn
0 nhận xét:
Đăng nhận xét