Cybertricks
Học tậpCông cụCheatsheetsBlog
CtrlK
Web Security
Network Security
Linux Security
Windows Security
Cloud Security
Cryptography
Cybertricks
Học tậpCông cụCheatsheetsBlog
CtrlK
Web Security
Network Security
Linux Security
Windows Security
Cloud Security
Cryptography
CheatsheetsLinux SecurityLinux Privilege Escalation Commands
Quay lại danh mục Linux Security
CLI• 40+ Commands• Cập nhật: 2026-07-26

Linux Privilege Escalation Commands

Danh sách lệnh liệt kê hệ thống, kiểm tra quyền SUID/SGID, sudo -l, capabilities và cron jobs để leo thang Root.

Tổng quan & Hướng dẫn sử dụng

Quy trình rà soát leo thang đặc quyền trên Linux tập trung vào việc phát hiện cấu hình sai (misconfigurations) và quyền truy cập vượt mức.

Thu thập thông tin Hệ thống

Xem phiên bản Kernel, OS release và danh sách User.

Kernel & Architecture Info

bash
uname -a; cat /etc/issue; cat /etc/os-release

Current User Privileges & Groups

bash
id; whoami; groups

Rà soát SUID Binary

Tìm kiếm các file thực thi có cờ SUID đặt cờ cho root.

Find SUID Files Command

bash
find / -perm -4000 -type f -ls 2>/dev/null

Cheatsheets liên quan

Payload25+ One-Liners

Reverse Shell Cheat Sheet (One-Liners)

Các câu lệnh 1 dòng tạo kết nối Reverse Shell bằng Bash, Python, Netcat, PHP, Perl và OpenSSL.

Bypass WAF45+ Payloads

Cross-Site Scripting (XSS) Payloads & Bypass

Tổng hợp các payload XSS cơ bản đến nâng cao bao gồm Reflected, Stored, DOM-based XSS và kỹ thuật bypass Filter/WAF.

Payload35+ Queries

SQL Injection (SQLi) Cheat Sheet

Khai thác lỗ hổng tiêm mã SQL: UNION-based, Error-based, Blind Boolean, Time-based SQLi trên MySQL, PostgreSQL & MSSQL.

Trong trang này

  • Tổng quan Linux PrivEsc
  • Thu thập thông tin Hệ thống
  • Rà soát SUID Binary