📑
Security Notes
  • Readme
  • Resources
    • Useful sites
    • Metasploit
      • Searchsploit
      • Msfvenom
      • Meterpreter
    • Shells
    • Linux
      • Cron
      • Connection
      • Compilers
    • Windows
      • Kernel exploits table
    • Bruteforce
      • Checklist
      • John the Ripper
      • Hashcat
    • BOF
      • Assembly
    • Gaining access checklist
  • Cloud - AWS
    • Enumeration
    • References
    • Bucket S3
      • Public Bucket
      • AMI Files
      • File upload to RCE
    • EC2
      • cloud-init Exploits
      • SSRF To AWS Role compromise
      • Unencrypted EBS
    • IAM
      • Account Disclosure by resource policy
    • Lambda Function
      • Code Injection
      • Attacking APIs
    • VPC
      • Expose Resources
  • Networking
    • Nmap
      • Scan types
    • TCPDump
    • Port forwarding
    • Ports
      • 21 - FTP
      • 22 - SSH
      • 25 465 587 - SMTP
      • 53 - DNS
      • 110 995 - POP3
      • 111 - NFS
      • 113 - Ident
      • 123 - NTP
      • 135 137 139 - RPC
      • 143 993 - IMAP
      • 161 - SNMP
      • 389 - LDAP
      • 139 445 - SMB
      • 873 - Rsync
      • 6379 - Redis
      • 6667 - IRC
  • Linux PrivEsc
    • Checklist
    • Enumeration
      • Important files
      • Memory Dump
    • Privileges Exploitation
    • Wildcard Exploits
    • Sudo Exploits
    • Docker Container
    • Docker Groups
    • Common Exploits
  • Windows PrivEsc
    • Checklist
    • Enumeration
      • Important Files
    • Antivirus evasion tools
    • Unquoted paths
    • Always install elevated
    • Vulnerable services
    • Client side
    • Exploitable privileges
      • Juicy Potato
    • UAC bypass
    • Common Exploits
  • Active Directory
    • Introduction
    • Checklist
    • Enumeration
    • Enable RDP
    • Kerberos
    • Rubeus
    • Credentials harvesting
      • Domain Controller specific
    • Connection
    • Pass The Hash
    • Kerberoast
    • ASREProast
    • Tickets
  • Web Attacks
    • Checklist
    • Enumeration
      • URL bruteforcing
    • APIs and Fields
    • Authentication
    • Filter Evasion
      • Fuzzying and encoding
    • File Vulnerabilities
      • LFI List
      • PHP shells
    • RCE
    • Code Injection
    • Dependency Injection
    • Joomla
    • Wordpress
    • WebDAV
    • HTTP
    • XSS
      • DOM Based
      • Reflected
      • Filter Evasion
    • SSI
    • SSTI
    • RCE
    • CSRF
    • SQL injection
      • sqlmap
      • PostgreSQL
      • Oracle
      • MSSQL
      • MySQL
      • Login
    • XPath injection
    • XXE
    • CORS
  • MOBILE PENTESTING
    • Static Code Analysis
    • Dynamic Code Analysis
    • Network Traffic Analysis
Powered by GitBook
On this page
  • Gaining access
  • Chaining exploits
  1. Resources

Gaining access checklist

Gaining access

  • FTP

    • Anonymous login

    • Login with enumerated credentials

    • Service version specific vulnerabilities

  • SMB

    • Enumerate available shares

    • Anonymous login

    • Login with enumerated credentials

    • On Windows > 7: DeepBlue remote exploit

  • SMTP/IMAP/POP3

    • Enumerate users

    • Check emails for useful information

    • Service version specific vulnerabilities

  • DNS

    • Use dig command with net transfer to enumerate domains

    • MX records can reveal potential usernames

  • NFS

    • Mount shared folders

    • no_root_squash exploit

  • SNMP

    • Dump tree structure for information

      • User information

      • Installed applications

      • OS information

  • LDAP

    • Query for useful information

      • Users

        • SAM account name

        • Description field

        • Password field (if present)

      • Dump administrative password and login with PsExec

      • Machine information

  • Database

    • Login with empty password

    • Login with enumerated credentials

      • Check for data to allow pivoting (usernames, passwords, hashes...)

      • Version specific exploitable capabilities

        • Unrestricted file access

        • Unrestricted file write

        • Code execution

      • Version specific exploits

Chaining exploits

  • Unrestricted file read

    • SSH: copy private key

    • FTP/SMB: enumerate content and retrieve files

    • HTTP server:

      • Get config files (.htpasswd, sql config files,...)

      • Get source code of pages for further analysis

      • Get application specific configuration files

      • Get files in upload folder

    • Access OS specific files like /etc/passwd

    • Access user specific files such as RDP config files, .ssh folder files, .gpg folder files

  • Unrestricted file write

    • SSH: edit the authorized_keys file

    • FTP/SMB: use the storage folders to upload exploits on the machine

    • HTTP server: inject a webshell or a page containing a reverse shell

    • Edit OS specific config files like /etc/passwd to gain access

PreviousAssemblyNextEnumeration

Last updated 1 year ago