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. AD Pentesting
  2. Domain Persistence

Silver Ticket Attack

Gümüş Biletlər saxta TGS biletləridir. Biz bu hücum zamanı KDC ilə ediləcək bütün əlaqəni atlayırıq və sadəcə olaraq birbaşa daxil olmaq istədiyimiz xidmətlə əlaqə qururuq.

Yaradılan TGS, hədəflədiyimiz hostun maşın hesabı ilə imzalanır. Qızıl və Gümüş Biletlər arasındakı əsas fərq əldə etdiyimiz imtiyazların sayıdır. KRBTGT hesabının parol heşinə sahib olsaq, hər şeyə giriş əldə edə bilərik. Gümüş Biletlə, yalnız hücum etdiyimiz serverin maşın hesabının parol heşinə çıxışımız olduğundan, biz yalnız həmin hostun özündə istifadəçiləri təqlid edə bilərik. Gümüş Biletin əhatə dairəsi xüsusi serverdə hədəflənən xidmətlə məhdudlaşır. Əhatə dairəsi daha məhdud olsa da, bu hücumun blue team tərəfindən təyin olunması əhəmiyyətli dərəcədə çətindir. İcazələr SID'lər vasitəsilə müəyyən edildiyi üçün, biletin istifadəçini hostun yerli administratorları qrupuna yerləşdirəcək müvafiq SID-lərə malik olduğuna əmin olduqdan sonra, gümüş biletimiz üçün mövcud olmayan istifadəçi yarada bilərik. Maşın hesabının parolu adətən hər 30 gündən bir yenilənir, bu, hücumun davamlılığı üçün yaxşı deyil. Bunun qarşısını almaq üçün, hostun reyestrinə giriş əldə etmək və maşın hesabının parol yeniləməsindən məsul olan parametri dəyişdirmək üçün TGS'nin təqdim etdiyi girişdən istifadə edə bilərik. Beləliklə, maşın hesabının statik qalmasını təmin etmək, bizə maşın üzərində davamlılığımızı möhkəmlətməyə imkan verəcək. Yalnız bir hosta çıxışın olması böyük bir mənfi kimi görünsə də, maşın hesabları adi AD hesabları kimi istifadə oluna bilər ki, bu da sizə hosta yalnız inzibati giriş deyil, həm də AD istifadəçi hesabında olduğu kimi AD mühitini enumerate və istismar etməyə imkan verir.

Silver Ticket yaratmaq üçün aşağıdakı əmrdən istifadə edə bilərsiniz:

Invoke-Mimikatz -Command '"kerberos::golden /domain:<DomainName> /sid:<DomainSID> /target:<TheTargetMachine> /service:<ServiceType> /rc4:<TheSPN's Account NTLM Hash> /user:<UserToImpersonate> /ptt"'
  • /domain:<DomainName>: Bilet yaratmaq istədiyimiz domenin FQDN'i.

  • /sid:<DomainSID>: Bilet yaratmaq istədiyimiz domenin SID'i.

  • /target:<TheTargetMachine>: Saxta bilet üçün hədəf maşını təyin edir.

  • /service:<ServiceType>: Biletin hansı xidmət (məs, cifs, http, host) üçün yaradıldığını təyin edir.

  • /rc4:<TheSPN's Account NTLM Hash>: SPN ilə əlaqəli hesabın NTLM hashını müəyyən edir.

  • /user:<UserToImpersonate>: Təqlid etmək istədiyimiz istifadəçi adı.

  • /ptt: Bu parametr Mimikatz'a bileti birbaşa sessiyaya yeritməyi bildirir, yəni istifadəyə hazırdır.

PreviousGolden Ticket AttackNextSkeleton Key Attack

Last updated 1 year ago

Was this helpful?