Pentest və SOC Cheat Sheet
  • Reconnaissance
  • Post-Explotation
    • Linux Post-Explotation
      • Linux Local Enumeration
      • Linux Privilege Escalation
      • Dumping and cracking hashes on Linux
      • Linux Persistence
    • Windows Post-Explotation
      • Windows Local Enumeration
      • Windows Privilege Escalation
      • Windows Persistence
  • Network Services Pentesting
    • 21-Pentesting FTP
    • 22-Pentesting SSH
    • 23-Pentesting Telnet
    • 53-Pentesting DNS
    • 25,465,587-Pentesting SMTP
    • 110,995-Pentesting POP
    • 139,445-Pentesting SMB
    • 3306-Pentesting MySQL
    • 3389-Pentesting RDP
    • 1433-Pentesting MSSQL-Microsoft SQL Server
    • 389,636,3268,3269-Pentesting LDAP
  • Web Pentesting
    • Broken Access Control
      • Praktiki nümunə
    • OS Command Injection
      • Praktiki nümunə
    • SQL Injection
      • Praktiki nümunə
    • Cross-Site-Scripting (XSS)
      • Praktiki nümunə
    • File Upload
      • Praktiki nümunə
    • Directory Traversal və Path Traversal
      • Praktiki nümunə
    • CSRF
    • XXE
    • Clickjacking
      • Praktiki nümunə
    • SSRF
      • Praktiki nümunə
    • JWT (Json Web Token)
      • Praktiki nümunə
    • Local&Remote File İnclusion
      • Praktiki nümunə
      • Local File inclusion ilə reverse shell almaq
    • 401&403 Bypass
    • Login Bypass
    • Open Redirect
    • Unicode Injection
    • Security Misconfiguration
    • CRLF injection
    • LDAP Injection
    • Cookies Hacking
    • Cross site WebSocket hijacking (CSWSH)
    • SSTI (Server Side Template Injection)
    • CSTI (Client Side Template Injection)
    • XSLT Server Side Injection (Extensible Stylesheet Languaje Transformations)
    • Registration & Takeover Vulnerabilities
    • Regular expression Denial of Service - ReDoS
    • Reset/Forgotten Password Bypass
    • SAML Hücumları
    • Reverse Tab Nabbing
    • Web Tool - WFuzz
    • XPATH enjeksiyonu
    • Server-Side Includes (SSI) Injection
    • Edge Side Inclusion Injection (ESII)
    • Race Condition
    • PostMessage
    • Parameter Pollution
    • Cache Poisoning and Cache Deception
    • Captcha Bypass
  • AD Pentesting
    • Domain Enumeration
      • PowerView ilə enumeration
      • AD Module ilə enumeration
      • BloodHound ilə enumeration
        • On Site BloodHound
      • Using Adalanche
        • Remote adalanche
      • Useful Enumeration Tools
    • Local Privilege Escalation
      • Useful Local Priv Esc Tools
      • UAC Bypass
    • Lateral Movement
      • Powershell Remoting
      • Mimikatz
      • Remote Desktop Protocol
      • URL File Attacks
      • Useful Tools
    • Domain Privilege Escalation
      • Kerberoast
      • ASREPRoast
      • Password Spray Attack
      • Force Set SPN
      • Abusing Shadow Copies
      • List and Decrypt Stored Credentials using Mimikatz
      • Unconstrained Delegation
      • Constrained Delegation
      • Resource Based Constrained Delegation
      • DNSAdmins Abuse
      • Abusing Active Directory-Integraded DNS (ADIDNS) poisoning
      • Abusing Backup Operators Group
      • SID History Abuse
      • Active Directory Certificate Services
    • Domain Persistence
      • Golden Ticket Attack
      • Silver Ticket Attack
      • Skeleton Key Attack
      • DSRM Abuse
      • DCsync Attack
    • Cross Forest Attacks
      • Trust Tickets
      • Abuse MSSQL Servers
      • Breaking Forest Trusts
  • SOC - Cheat Sheet
    • SOC Nədir?
    • SOC Komponentləri Nələrdir?
    • SOC Checklist
    • SIEM
      • Splunk Qurulması və Konfiqurasiyası
    • IDS/IPS
    • Firewall
    • Firewall qurulması və konfiqurasiyası
    • EDR/XDR
    • SOAR
    • Windows Commands for SOC analysts
      • GUI Programs in Windows
      • Event Viewer
      • Task Scheduler
      • Group Policy Editor
      • Device Manager
      • Task Manager
      • Registry Manager
    • Linux Commands for SOC analysts
    • LOLBAS Apps and Commands
      • Apps and Commands
Powered by GitBook
On this page

Was this helpful?

  1. SOC - Cheat Sheet

Linux Commands for SOC analysts

sudo: Başqa bir istifadəçi kimi əmri yerinə yetirin (adətən root).

sudo <command>

passwd: İstifadəçi parollarını dəyişir.

passwd <username>

groups: İstifadəçinin aid olduğu qrupları göstərir.

groups <username>

last: Son daxil olan istifadəçilərin siyahısını göstərir.

last

who: Hazırda daxil olmuş istifadəçilər haqqında məlumatları göstərir.

who

ls: Cari kataloqda faylların və alt qovluqların adlarını sadalayın.

ls
ls -a Həmçinin gizli faylları/qovluqları göstərir.

cd: Kataloqu X-yə dəyişin.

cd X
cd .. Qovluq və ya əsas kataloqa qədər bir səviyyə yuxarı

touch: Boş fayl yaradın.

touch a.txt

cat: X məzmununa baxın.

cat X

useradd: Sistemə yeni istifadəçi əlavə edir.

useradd <istifadəçi adı>

crontab: Əvvəlcədən müəyyən edilmiş vaxtlarda yerinə yetirmək üçün tapşırıqları planlaşdırır.

crontab -l

curl: URL ilə məlumatların ötürülməsi üçün komanda xətti aləti.

curl -O <URL>

wget: İnternetdən faylları yukleyir.

wget <URL>

uname: Ətraflı Linux sistemi məlumatı

uname -a

MKDIR: Kataloq yaradın

mkdir directory_name

rmdir: Kataloq silin

rmdir empty_dir

du: Diskdən istifadəni göstərir.

du -h

ifconfig: Şəbəkə interfeyslərini göstərir və konfiqurasiya edir.

ifconfig

nmap: Şəbəkənin kəşfi və təhlükəsizliyin skan edilməsi.

nmap <hədəf>

sshd (Secure Shell Daemon): Təhlükəsiz uzaqdan giriş üçün SSH server.

ssh name@ip-address
systemctl status ssh
sshd_config:SSH serveri üçün konfiqurasiya faylı.

grep: Fayllarda və ya əmr çıxışında nümunələri axtarır.

grep <pattern> <filename>

ps:Çalışan proseslər haqqında məlumatları göstərir.

ps aux

awk: Güclü mətn emal aləti.

awk '{print $1}' <filename>

find: Faylları və qovluqları axtarır.

find /path/to/search -name "filename"

chmod: Fayl icazələrini dəyişdirir.

chmod 777 <filename>

chown: Fayl sahibini və qrupunu dəyişir.

chown user:group <filename>

echo: Text sətirini və ya dəyişənin məzmununu göstərin.

echo Text

tar: .tar uzantısı ilə arxivləri idarə edin.

tar filename

top: Sistem proseslərinin dinamik görünüşünü təmin edir.

top

netstat: Aktiv şəbəkə bağlantılarını göstərir.

netstat -tulpan

ss: Soketləri araşdırmaq üçün başqa bir vasitə.

ss -tulw

lsof: Açıq faylları və prosesləri siyahıya alır.

lsof

tcpdump: Şəbəkə trafikini çəkir və təhlil edir.

tcpdump -i <interfeys>

fail2ban: Zərərli giriş cəhdlərindən qoruyur.

fail2ban-client status

sysctl: İş zamanı kernel parametrlərini konfiqurasiya edir.

sysctl -a

history: Komanda tarixçəsini göstərir.

history

scp: Faylları hostlar arasında təhlükəsiz surətdə kopyalayın.

scp <file> user@host:/path

lsblk: Blok cihazları haqqında məlumatları sadalayır.

lsblk

Rahat interfeysi olan interaktiv proses görüntüləyicisi.

htop

İstifadəçini silir.

userdel

systemd tərəfindən idarə olunan jurnaldan sorğular və mesajları göstərir:

journalctl

Cihazlar və bölmələr üçün CPU statistikası və giriş/çıxış statistikası haqqında məlumat verir.

iostat

Virtual yaddaş statistikasını bildirir.

vmstat

Müvafiq olaraq Debian və ya Red Hat əsaslı sistemlər üçün paket idarəetmə əmrləri.

apt  #Debian
yum  #Red Hat

Proqram paketlərini quraşdırmaq, sorğulamaq və idarə etmək üçün paket idarəetmə vasitələri.

dpkg #Debian
rpm  #Red Hat

Firewall-u konfiqurasiya edir.

ufw 
tatiptables

PreviousRegistry ManagerNextLOLBAS Apps and Commands

Last updated 1 year ago

Was this helpful?