Administrivia: Are you seeing portscans from source 127.0.0.1 source port 80?

From: Dan Hanson (dhanson_at_securityfocus.com)
Date: 10/28/03

  • Next message: debrasuz_at_ctmail.ummu.umich.edu: "Re: Probable Trojan."
    Date: Tue, 28 Oct 2003 08:59:56 -0700 (MST)
    To: incidents@securityfocus.com
    
    

    I am posting this in the hopes of dulling the 5-6 messages I get every day
    that are reporting port scans to their network all of which have a source
    IP of 127.0.0.1 and source port 80.

    It is likely Blaster (check your favourite AV site for a writeup, I won't
    summarize here).

    The reason that people are seeing this has to do with some very bad advice
    that was given early in the blaster outbreak. The advice basically was
    that to protect the Internet from the DoS attack that was to hit
    windowsupdate.com, all DNS servers should return 127.0.0.1 for queries to
    windowsupdate.com. Essentially these suggestions were suggesting that
    hosts should commit suicide to protect the Internet.

    The problem is that the DoS routine spoofs the source address, so when
    windowsupdate.com resolves to 127.0.0.1 the following happens.

    Infected host picks address as source address and sends Syn packet to
    127.0.0.1 port 80. (Sends it to itself) (This never makes it on the wire,
    you will not see this part)

    TCP/IP stack receives packet, responds with reset (if there is nothing
    listening on that port), sending the reset to the host with the spoofed
    source address (this is what people are seeing and mistaking for
    portscans)

    Result: It looks like a host is port scanning ephemeral posts using
    packets with source address:port of 127.0.0.1:80

    Solution: track back the packets by MAC address to find hte infected
    machine. Turn of NS resolution of windowsupdate.com to 127.0.0.1.

    Hope that helps

    D

    ---------------------------------------------------------------------------
    Network with over 10,000 of the brightest minds in information security
    at the largest, most highly-anticipated industry event of the year.
    Don't miss RSA Conference 2004! Choose from over 200 class sessions and
    see demos from more than 250 industry vendors. If your job touches
    security, you need to be here. Learn more or register at
    http://www.securityfocus.com/sponsor/RSA_incidents_031023
    and use priority code SF4.
    ----------------------------------------------------------------------------


  • Next message: debrasuz_at_ctmail.ummu.umich.edu: "Re: Probable Trojan."

    Relevant Pages

    • Re: Strange pings from 127.0.0.1
      ... I know you said the MAC address is also spoofed but this might help anyway: ... that are reporting port scans to their network all of which have a source ... Infected host picks address as source address and sends Syn packet to ... TCP/IP stack receives packet, responds with reset (if there is nothing ...
      (Security-Basics)
    • Re: Tons of Source port 80 to random Dest Port Traffic
      ... from the same consumer DSL equipment) that have a src port of 80 and a ... Host is not a proxy, just a firewalled webserver with only port 80 ... ACK is the first reply packet when attempting to establish a TCP ... From Q1, Q2, If the host is not a proxy server and there are SYN packets. ...
      (Security-Basics)
    • RE: Strange replies on closed port
      ... port should be a RST - not dropping the packet. ... receiving an UDP datagram to a non 'listening' port. ... that message isn't generated by the end host, ... Connecting to a closed Port w/o Firewall: ...
      (Pen-Test)
    • Re: pre-scanning for vulnerability scans?
      ... If by source, you're refering to the network you are testing from, you ... dictionary file for finding host names. ... full port SYN scan on detected hosts ... Audit your website security with Acunetix Web Vulnerability Scanner: ...
      (Pen-Test)
    • Re: Using Remote Desktop From an SBS Domain
      ... It goes into detail about how to set the host computer up (the ... the port number you connect to from 80 to a port of your choice. ... machine is on a University network and has a public IP address assigned ... trying to logon to my SBS. ...
      (microsoft.public.windows.server.sbs)