编程知识 cdmana.com

2. Linux Security Testing Environment

1、KALI LINUX Introduce

l  be based on Debian Of Linux Hair edition

l  front yes BackTrack,2013 year 3 Release

l  On *** Testing and security auditing

l  contain 600+ Security have ( You can also download and add )

l  FHS standard Objective Recording structure

l  Custom kernel

l  a ARM and ⼿ Machine platform

l  Free open source

    kali linux This tool, whether it's for us or for technology majors , It's a good tool for security testing or protection , Of course I won't be right about kali linux in 600+ Security Introduction to furniture , I'll just pick the ones that are relatively easy to use 、 Can meet our basic security operation and maintenance tools to introduce .

2、KALI LINUX Download and update

    kali linux Download the installation image :https://www.kali.org/downloads/ You can download it from this official website , There are ISO、vmware And so on . I download it directly kali-linux-2019.4-vmware-amd64.zip This version opens directly using the virtual machine . If you want to use the Boot CD to install it, you can download it kali-linux-2020-1-live-amd64-iso This version . If you want to use U Disk to start the installation , You can download one first U Disk making tools unetbootin, Then open it up and make a U Disk start :

image.png

Click the configuration option above , Start making

image.png

After production , Use U After the disk is started and installed , The following interface will appear :

image.png

Introduction to options :

Live(amd64): To enter directly into PE Interface , Do some software operation , read only mode , Do not modify ;

Live(amd64 failsafe): Means failure protection , read only mode , Do not modify ;

Live(forensic mode): Enter forensics mode , read only mode , Do not modify ;

Live USB Persistence: Refers to entry USB Persistent mode , Can read but write , Modifiable ;

Live USB Encrypted Persistence: finger USB Persistent encryption mode , Can read but write , Modifiable ;

Install: Refers to the installation character mode ;

Graphical intall: Refers to the installation of graphical interface mode ;( Focus on using the pattern )

The whole installation process is simple , I won't go into details here , Just post some pictures .

image.png

Choose the language you need here :

image.png

Select Configure keyboard mode :

image.png

Load the setup program :

image.png

To configure root Password :

image.png

How to configure the disk :

image.png

Select the hard disk where you want to install the system :

image.png

Choose how to install the partition :

image.png

Partition and go to install :

image.png

    Kali After the installation, we can update the system , user name :root password :toor. First change YUM Source :vim /etc/apt/sources.list, Follow the link below to change the address :


image.png

Comment out the original address

# deb http://http.kali.org/kali kali-rolling main non-free contrib

# deb-src http://http.kali.org/kali kali-rolling main non-free contrib

All use domestic yum Source , So you can update , Avoid foreign sources can not be linked .

# China University of science and technology kali Source

deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

 # Alibaba cloud kali Source

deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib

deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib

# Tsinghua University

deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free

deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free

Now before changing the operation command , Let's add a little knowledge first

l  apt-get update: Is the command to update the source list , If you modify the source list or want to synchronize a refresh or add a new source , Then you should execute the above command .

l  apt-get upgrade: The command will try to download in apt There are all updated packages on the server , Then try to press “y” When you install them , It's like upgrading the system to a new package .

l  apt-get dist-upgrade: This command also updates all packages , But when upgrade update , If the dependency cannot be resolved, it may report an error or stop , however dist-upgrade Dependency commands can be resolved automatically , therefore dist-update It's kind of dangerous , You don't want to update the software because it may be very big , Some software that depends on the old package cannot run . therefore , We were using the apt-get dist-upgrade when , Please use , It's usually apt-get update && apt-get upgrade Can guarantee the integrity of the system .

After running the above three commands , Run a clean command again :apt-get clean, Then restart the system reboot.

Next, install firefox Browser plug-in ( This is the latest kali Browser with me )

l  Tamper Data Yes http Baotou view and modify

l  Cookies Manager Conduct cookie Import or export of

l  User Agent Switcher modify user-agent

HackBar Gadget Kit , Include some *** Common tools . such as SQL injection,XSS, Encryption, etc 、 Press F12 After use , Here's the picture :

image.png

l  Live http header、Download YouTube Videos as MP4 Downloadable yotube Video on

l  Flagfox Access to the address of the server can display the current site is which country 、 The red box shows

image.png

l  hasher Calculation hash value , Right click on the highlighted hash , It will show “hasher” Content menu .

image.png

We can install the above plug-ins in the following ways , Open the Firefox browser and press Alt( Select the option in the red box ):

image.png

Follow the prompts in the red box to add related plug-ins :

image.png

After entering the website , Go to the plugin Center :

image.png

Then enter the name of the plug-in you want to find in the search box , And then the search : 

image.png

Click... On the left side add You can download and install automatically :

image.png

3、Kali System —— Set Chinese font

because kali Is based on Debian Of , Then you have to use Debian The process of Sinicization of Chinese

1、 Reconfigure the installed package

root@kali:~# dpkg-reconfigure locales

2、 Select character encoding

image.png

Put the following three choices on ( Press the space bar to select ), The rest of the cancellation options ,table Key selection ok that will do . Character encoding :en_US.UTF-8、zh_CN.GBK、zh_CN.UTF-8

3、 Choose the characters . Choose the characters :zh_CN.UTF-8,OK.

image.png

4、 restart kaill, You can see the Chinese interface :

root@kali:~# reboot

image.png

kali linux How to solve the problem of garbled Chinese :

determine locales Is already installed , use ”apt-get install locales” command ; Later available ”locale -a” View the character set supported by the current system .

Enter at the command line ”dpkg-reconfigure locales”. After entering the graphical interface ,( The space is the choice ,Tab Yes switch ,* It's a check ), Choose en_US.UTF-8 and zh_CN.UTF-8, after , take en_US.UTF-8 Select as default .

Install Chinese Fonts ,”apt-get install xfonts-intl-chinese “ and ” apt-get install ttf-wqy-microhei”, At this time found that the web page is not garbled , The system is not garbled .

Correct Chinese time zone :

Right click the time in the red box below “ attribute ”

image.png

In the following dialog box, you can manually add the Asia/Shanghai, There is no other way to choose , After exiting, the system time zone will be displayed correctly :

image.png

Well, I'll introduce you to this issue , It's written a lot , I'm going to introduce KALI Persistent encryption USB install 、 Common commands and software 、 How to use anti submarine software . See you next time !!!


版权声明
本文为[osc_ clzqwodz]所创,转载请带上原文链接,感谢
https://cdmana.com/2020/12/20201224154656544e.html

Scroll to Top