Post Exploitation

LinikatzV2 – Unveiling UNIX Secrets in Active Directory Environments

LinikatzV2 is a bash script based on the Linikatz tool developed by time-machine (link). It allows post-exploitation tasks on UNIX computers joined to Active Directory, using various methods for credential mining.

This tool needs root privileges to be run on the host system.

It allows extraction of :

  • Hashed stored in files for offline connection (SHA-512 format)
  • Kerberos tickets (user & machine)
  • Clear passwords in RAM
  • NTLM machine hash
  • AES-128 & AES-256 machine keys

Optional :

  • Configuration files (SSSD, VAS, etc)

Some of these actions may not produce results. Typically, the presence of hashes and clears in RAM depends on a user’s connection to the UNIX system.

Usage

$ sudo ./linikatzV2.sh

Various options are available :

  • -c | –conf-files : Dumps configuration files.
  • –hash-output=file.txt : Allows you to choose the name of the output file containing the hashes.
  • -n | -no-file : Removes the process dump files, etc.
  • -k | –kerberos-tickets : Create a copy of the Kerberos tickets found.
Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

OSINT Framework Official Website: Categories, Use Cases and Safer Alternatives

The OSINT Framework official website is one of the easiest places to start open-source intelligence…

4 hours ago

OSINT Framework Website Guide: How to Use OSINTFramework.com Without Getting Lost

The OSINT Framework website is one of the most popular starting points for open-source intelligence…

5 hours ago

Fail2ban Ubuntu Setup: Protect Your Server from Attacks

Internet-facing servers are constantly targeted by bots searching for weak passwords and vulnerable services. A…

5 hours ago

Add Remove Users Ubuntu: Complete User Management Guide

Managing user accounts is one of the most important administrative tasks on any Linux system.…

5 hours ago

Install Slack Ubuntu – Easy Setup Guide for Ubuntu 20.04

Install Slack Ubuntu systems quickly and start collaborating with your team from a powerful communication…

5 hours ago

Install Atom Ubuntu: Easy Setup Guide for Developers

If you're looking for a flexible and customizable code editor, Install Atom Ubuntu is a…

5 hours ago