Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 561 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 561 Bytes

SSH-Client-Stealer

OpenSSH client credentials stealer by functions hooking

This is POC

  • you should hijacking a shared library used by ssh (ldd /bin/ssh)
  • output written to STDOUT

Usage

make  # Compile SharedObject File

LD_PRELOAD=$PWD/stealer.so ssh user@localhost

image

you can set log level by LOG_LEVEL value

// src/stealer.c - line 16
#define LOG_LEVEL <>

Used Levels: LOG_TRACE, LOG_INFO

TBD