Abusing Linux Trust Relationships: Authentication Back Alleys and Forgotten Features

D935fc668d901fbb803fd5d8d0313c22?s=47 ropnop
May 07, 2016

Abusing Linux Trust Relationships: Authentication Back Alleys and ForgottenĀ Features

Passwords are weak, and generally speaking, the less a company relies on them, the better. Instead of using password authentication for multiple services and sending passwords (or hashes) all over the network, companies have started trying to adopt more password-less authentication mechanisms to secure their infrastructure. From SSH bastion hosts to Kerberos and 2FA, there are many controls that attempt to limit attacker mobility in the event that a single account or password is compromised. This session will be a ""walking tour"" of bypass techniques that allow a small compromise to pivot widely and undetectably across a network using and abusing built in authentication features and common tools. Starting with a simple compromise of an unprivileged account (e.g. through phishing), this session will discuss techniques that pentesters and attackers use to gain footholds in networks and abuse trust relationships in shared computing resources and ""jumphosts"". The session will demo common tricks to elevate privileges, impersonate other users, steal additional credentials, and pivot around networks using SSH. The presentation will culminate with a discussion of 2FA for SSH access, and how compromises elsewhere in a network can be exploited to completely bypass it. Since these tricks and techniques utilize only built-in Linux commands, they are extremely difficult to detect as they look like normal usage. The demo environment will mimic a segmented network that uses Kerberos and two-factor authentication on SSH jump hosts. It is based entirely off real-world experiences and setups that pentesters from Cisco and Neohapsis have encountered.

Demo Video Here:
https://vimeo.com/165653886

Blog here:
https://blog.ropnop.com/abusing-linux-trust-relationships-thotcon-slides/

D935fc668d901fbb803fd5d8d0313c22?s=128

ropnop

May 07, 2016
Tweet