Obtaining the contents of a POST request

Discussion in 'Security' started by mreyes, Mar 8, 2010.

  1. #1
    Due to my own stupidity* my site was hacked over the weekend, the obvious effect of this was that an iframe was injected into the top of all pages. This iframe contained code that prompted users to download a trojan infected PDF file.

    I have now fixed this, and also closed the security hole that allowed the malicious user to make the iframe change, which is good news.

    However, having looked through the server logs (IIS 7) I can see that various POST requests were made by the malicious user and I would like to see the contents of these requests so that I can be certain nothing else has been changed.

    Does anybody know of a way of achieving this?

    * The moral to this story is, when your software supplier issues a security update don't sit on it for a couple of weeks, apply it immediately.
     
    mreyes, Mar 8, 2010 IP
  2. BrianM

    BrianM Peon

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    BrianM, Mar 9, 2010 IP
  3. BizPhil

    BizPhil Member

    Messages:
    102
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #3
    that's good to know. changing my IIS settings now :)
     
    BizPhil, Mar 9, 2010 IP
  4. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #4
    olddocks, Mar 10, 2010 IP
  5. mreyes

    mreyes Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Cheers for the info, I suspected as much.

    It was a standard upload hole, the software allows users to upload images and these are filtered by extension. However a hole had been introduced that allowed remote users to upload PHP file. The malicious user used this hole to upload an r57shell and from there access areas that normal users should not have access to.

    All closed now.
     
    mreyes, Mar 12, 2010 IP