Now a days every one want to a secure system. So many peoples use anti virus in their systems, But Some genius peoples switch OS and use Linux. Every one know Linux is more secure than windows.
But we miss many utilities of windows in Linux. Many peoples not comfortable with terminal but now a days Linux give more attractive user interface.
Now back on our tutorial i want to tell you that windows only give USB block service via group editing. in this block service the all USB devices blocked.
But Linux is a step forward because in Linux you can also block USB via vendor id.
Follow these step to block USB in Linux
But we miss many utilities of windows in Linux. Many peoples not comfortable with terminal but now a days Linux give more attractive user interface.
Now back on our tutorial i want to tell you that windows only give USB block service via group editing. in this block service the all USB devices blocked.
But Linux is a step forward because in Linux you can also block USB via vendor id.
Follow these step to block USB in Linux
Step 1:
open your terminal and type following commands
cd //
cd /etc/modprobe.d
After the type above commands in terminal you see the above stage in image
Step 2:
after this type following commands in terminal
ls
Step 3:
After this you edit the file kali-blacklist.conf
Choice of urs you can edit via vi editor or leafpad editor.
open this file and add the following line at the last
blacklist usb-storage
type the following command for do this
See in picture
After this command this file open in leafpad and you can edit this easily.
Add the "blacklist usb-storage" at the last line.
see in picture
leafpad kali-blacklist.conf
See in picture
After this command this file open in leafpad and you can edit this easily.
Add the "blacklist usb-storage" at the last line.
see in picture
after this save the file
Most of work is done. now your USB storage device is blocked in your Linux system.
these all changes affected after the restart system.
So restart your system
these all changes affected after the restart system.
So restart your system
Linux also give USB block service via vendor id. we make tutorial for blocking via vendor id as soon as.
Feel free to comment & Share