Results 1 to 10 of 10

Thread: how the h*ll did he do that

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833

    how the h*ll did he do that

    I have a few sensitive files on my web server, they hold the passwords to the db etc.

    they have the file extension .data which I have blocked for http access in the .htaccess file

    there is no directory browsing on my server.

    I was looking through my http error log and someone tried to download the .data files. but the thing that kicked me was that someone knew the names of all the files, how the hell did they get the names of the files!!!!
    Kurt Simons
    [I know I'm a hack but my clients don't!]

  2. #2
    Maybe a friend? If you're running Windows, the only way to secure your computer is to unplug it.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    Its a linux computer....

    If it was a windows box I wouldn't be asking this question.


    the FTP access log shows nothing.

    SMB is blocked

    if someone got in via SSH or something they would have been able to read the files they wouldn't have needed to try to get them via HTTP.

    I just hate the feeling that I have no concept of security, even when I do my best to lock down files.
    Kurt Simons
    [I know I'm a hack but my clients don't!]

  4. #4
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Could your naming method be predictable? Did they only request good names or were there some other attempts in there too?

    If you're running Windows, the only way to secure your computer is to unplug it
    In the hands of a knowledgable and proactive administrator, Windows NT/2000 is just as secure as Linux...
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    there were 4 files....

    he hit all 4 in a row.

    i could have called them 4, 5, 6, 7 and I still would have been inpressed

    Kurt Simons
    [I know I'm a hack but my clients don't!]

  6. #6
    CMangano
    Guest
    If he did a view source on your code in his browser, could have have seen the reference to those files?

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    it was a php script... nothing useful is sent to the browser.
    Kurt Simons
    [I know I'm a hack but my clients don't!]

  8. #8
    Hyperactive Member
    Join Date
    May 2000
    Location
    Or
    Posts
    316
    It might be a spider reading your directories. I'm not sure exactly how the google search works, but I find that they are able to index all files (even blocked files) in an httpd directory. So I am sure there are others. We have the same type of things showing up in our access logs, and after some investigation, and experimentation, we decided to just shut the server down to outside traffic, and access all information necessary for public view through separate, trusted, server.

    Just a thought.

  9. #9

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    Interesting... if you told me this before I had this problem I would have thought you were nuts. When you say index all files you mean filename or content?
    Kurt Simons
    [I know I'm a hack but my clients don't!]

  10. #10
    Addicted Member
    Join Date
    Aug 2003
    Location
    Earth
    Posts
    139

    Lightbulb

    i'm quite new but i think i have seen something like that in which someone used a software which downloads all the files from the web server try searching on cnet.com you will hit some !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width