Duplicated and delayed http get requests

Dave Roberts 116 Reputation points
2021-06-16T20:44:37.637+00:00

Hi all, I have a situation where I have a simple windows 10 VM which is hosting a simple http (not s) endpoint using powershell via the Polaris library. The endpoints all work as expected. However, what I see in my logs from them are duplicated hits on the it that originate from an Amazon data center (according to iplocation.net). The most bizarre part is that these ghosted requests hit the endpoint up to 7 or 8 minutes after the initial one.
e.g.
Issued from our windows application in my office:
http://MYDSN.westus2.cloudapp.azure.com/myEndPoint?appname=test&devtag=ddd&addparams=none&start_broadcast=true&app_executable_name=appname.exe

Incoming request hits my azure VM's endpoint at 2021-06-16 19:52:42
The system response is good and the ip of the incoming request matches what I'd expect:
xx.xxx.242.57 Canada British Columbia Vancouver

Then much later, at 2021-06-16 19:59:19 (over six minutes later) the endpoint gets hit with:
http://MYDNS.westus2.cloudapp.azure.com/myEndPoint?appname=test&devtag=ddd&addparams=none&start_broadcast=true&app_executable_name=appname.exe
from: 54.173.113.17 United States of America Virginia Ashburn (listed as Amazon)

By this point the original app that issued the URL has been shut down. The parameters in the request are all custom to user input so I know it is a duplicate of what was originally sent, not just an additional request from some other instance running somewhere.

Does anyone know of how/why a request could get duplicated and resent from a data center on the other side of the continent? Also, my company does not use any Amazon services - we are Azure only.

If you have even a guess, I'd love to hear it! And / or if you can suggest a better place to post this question or a line of investigation to try to figure it out. (I'm not well versed in internet technologies so feel free to suggest "obvious" ideas)

Dave

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
600 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,201 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,180 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. msrini-MSFT 9,261 Reputation points Microsoft Employee
    2021-06-18T21:16:58.743+00:00

    It looks like an attack from a bot service to me. Can you take a look at the agent in the HTTP request from which the second request came from ? Is it chrome or any bot ?

    If you are able to figure that out, you can add custom code to your application to accept request from only web application agent only.

    0 comments No comments