• Kali Linux Bible Book
    Kali Linux Bible Book Cover
  • Home
  • Blog
  • Books
    • Kali Linux Bible Book
    • Web Penetration Testing Like The Pros
    • Application Security Pre-Engagement
  • Online Courses
    • Cracking Hashes with Hashcat
    • Kali Linux Training
    • Exploitation Development Using The Metasploit Framework
    • Learning The Social Engineer Toolkit
    • Cryptography Using Python
    • Pentests Automation
    • Python & Kali Linux
  • About Me
  • Contact the author

Linux Post Exploitation

May 26, 2015

Did you just exploit a Linux machine and you don’t know what to do next?

Here’s a quick list that helps you to start:

Command

Description

/etc/resolv.conf

Use the copy command to access and review the system’s current DNS settings. Because it is a global file with read privileges, it will not trigger alarms when accessed.

/etc/passwd and /etc/shadow

These are system files that contains username and password hashes. It can be copied by a person with root-level access, and the passwords can be broken using a tool such as John the Ripper.

whoami and who -a

Identify the users on a local system.

ifconfig -a, iptables -L -n, and netstat -r

Provide networking information. ifconfig -a provides IP addressing details, iptables -L -n lists all of the rules held in the local firewall (if present), and netstat -r displays the routing information maintained by the kernel.

uname -a

Prints the kernel version.

ps aux

Prints currently running services, the process ID, and additional information.

dpkg -l yum list | grep installed

dpkg -l rpm -qa –last | head

Identify the installed software packages.

Share

Exploiting

GusKhawaja
Gus Khawaja is a security consultant, as well as an author in Cybersecurity. Gus Holds a BS degree in Computer Science and worked in IT security and Web application development. Gus has successfully delivered and developed IT solutions for companies in Canada. He is passionate about Technology and loves what he’s doing. After many years of experience in computer science, he has turned his attention to cyber security and the importance that security brings to this minefield. His passion for ethical hacking mixed with his background in programming and IT makes him a wise swiss knife professional in the computer science field.

  • The Best [email protected] Book

    Hack Like The Pros

    Kali Linux Bible Book

    Kali Linux Bible Book Cover

  • Do You Want More Like This!




© Copyright Ethical Hacking Blog