Apache Hadoop Pentesting
Apache Hadoop Pentesting
Authenticate using Keytab
find / -type f -name *.keytab 2>/dev/null# Gather information from a keytab
# -k: Speicifed a keytab file
klist -k /path/to/example.keytab
# Authenticate to Kerberos server and request a ticket.
# <principal_name>: it' stored in example.keytab. Run `klist -k example.keytab` to check it.
# -k: Use a keytab
# -V: verbose mode
# -t <keytab_file>: Filename of keytab to use
kinit <principal_name> -k -V -t /path/to/example.keytab
# e.g.
kinit user/hadoop.docker.com@EXAMPLE.COM -k -V -t /path/to/example.keytabImpersonate Another Hadoop Service
HDFS Commands
Find HDFS Binary Path
HDFS Command Cheat Sheet
RCE (Remote Code Execution)
Reverse Shell
Reverse Shell (MsfVenom)
Last updated