Chuyển đến nội dung chính

Cấm chạy ứng dụng – file exe trong Windows

Đôi khi vì 1 lý do nào đó, chúng ta muốn ngăn chặn người khác mở 1 chương trình hoặc chặn không cho virus thực thi file .exe, có thể lên danh sách các ứng dụng được pháp chạy hoặc không thông qua chế độ quản lý quyền hạn Group Policy (Có trên các phiên bản Windows Pro, Enterprise, Ultimate)
Hoặc đơn giản hơn là can thiệp vào các khóa Registry, cách này đòi hỏi bạn phải truy cập vào Registry và tạo các khóa cần thiết.
  Chú ý: TIP này áp dụng cho hệ điều hành Windows. Các thao tác này thực hiện có tác động đến Registry, vì vậy hãy thật cẩn thận!
Restrictions Error
1. Tạo rule cấm.
Mở hộp thoại Run từ Start Menu hoặc nhấn tổ hợp phím Windows + R (Cần phải chạy trên quyền Administrator)
Gõ vào regedit.exe và Enter để khởi chạy chương trình Registry Editor.
Truy cập vào đường dẫn:
Tạo 1 khóa DWORD 32-bit tên là DisallowRun và đặt giá trị cho khóa này là 1.
Creat DWORD key
Set DWORD value
Tạo 1 KEY trong mục Explorer có tên DisallowRun:
Tạo Key
Tạo Key
Trong key này, chúng ta add danh sách những phần mềm hoặc file exe không cho thực thi tại đây.
Tạo các giá trị String với thứ tự 123…. và nội dung là tên của các file exe như hình dưới.
Tạo danh sách phần mềm bị chặn
Tạo danh sách phần mềm bị chặn
Nhanh hơn thì các bạn có thể tạo file có tên bất kỳ với phần mở rộng là .reg có nội dung như dưới đây để có thể add nhanh hơn.
Chú ý: Điều chỉnh lại danh sách phần mềm muốn khóa theo ý của bạn.
Nhấn double vào file .reg sau đó chọn OK.
2. Hủy rule cấm.
Để Remove những phần mềm chúng ta đã chặn khỏi danh sách chặn thì chúng ta truy cập vào Registry Editor và theo đường dẫn:
Sau đó xóa những khóa String tương ứng với phần mềm đã chặn.
Không thích chặn nữa thì có thể xóa luôn 2 khóa:
* DWORD DisallowRun
* Key DisallowRun
Xóa hoàn toàn thông qua file .reg với nội dung file .reg là:
Sau mỗi lần thay đổi như vậy, cần restart lại máy tính để thay đổi có hiệu lực.

Nhận xét

Bài đăng phổ biến từ blog này

Fake WiFi Access Point

Evil Twin Methodology Step 1 : We will first scan the air for a target access point. Then create an access point using airbase-ng with the same name and channel of the target access point, hence Evil- TWIN. Step 2 :The client is now disconnected repeatedly from the  original access point and as most modern system’s setting says… “Connect back to same ESSID(AP name) if disconnects”. This also happens because when the client disconnects from any access point it starts sending  probe requests  in the air with the name of the access point it connected to earlier. Hence  BSSID  isn’t a barrier, you just need  ESSID  to spoof the AP Step 3 : Clients is now connected to the Fake WiFi access point and now client may start browsing Internet. Step 4 : Client will see a web administrator warning saying “Enter WPA password to download and upgrade the router firmware” Step 5 : The moment client enters the password, s/he will be redirected to a loading ...

How to add official Kali Linux Repositories? – Kali Linux 2.x Sana repositories

Edit your sources.list The easiest way is to edit the  /etc/apt/sources.list root@kali:~# vi /etc/apt/sources.list (or) root@kali:~# leafpad /etc/apt/sources.list Add official repo’s only: Copy paste the following repositories (remove existing lines or you can comment them out – your take). Following repo list was taken from official  Kali sources.list Repositories  page: # Regular repositories deb http://http.kali.org/kali sana main non-free contrib deb http://security.kali.org/kali-security sana/updates main contrib non-free # Source repositories deb-src http://http.kali.org/kali sana main non-free contrib deb-src http://security.kali.org/kali-security sana/updates main contrib non-free Save and close the file. Clean your apt-get apt-get clean Do an apt-get update apt-get update Do an upgrade apt-get upgrade Finally do a distribution upgrade apt-get dist-upgrade That’s it, you’re set. Conclusion A bit of caution for  Kali Linux 2.0 Ka...