EC2 instance is performing an unusual DNS Over HTTPS (DoH) communication with server 1.1.1.1.

0

Guardduty Finding :** EC2 instance is performing an unusual DNS Over HTTPS (DoH) communication with server 1.1.1.1.**

Is it a security threat when an EC2 instance of mine communicate with server 1.1.1.1

Can someone please share your insight?

asked 7 months ago694 views
1 Answer
0
Accepted Answer

Hi,

You are interacting on 1.1.1.1 with CloudFlare resolver: see https://www.cloudflare.com/en-gb/learning/dns/what-is-1.1.1.1/

see https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_finding-types-ec2.html#defenseevasion-ec2-unusualdnsresolver for details

An Amazon EC2 instance is communicating with an unusual public DNS resolver.
Default severity: Medium

Data source: VPC flow logs

This finding informs you that the listed Amazon EC2 instance in your AWS environment
 is behaving in a way that deviates from the baseline behavior. This EC2 instance 
has no recent history of communicating with this public DNS resolver. The Unusual 
field in the finding details panel in the GuardDuty console can provide information 
about the queried DNS resolver.

Remediation recommendations:

If this activity is unexpected, your instance may be compromised. 
For more information, see Remediating a compromised EC2 instance.

So, basically, it says that your instance has started to talk with a new DNS server (it never queried it before). This unusual resolver will be listed on the Gard Duty panel.

The first link says it's CloudFlare: so, you probably don't want to prevent your instance from talking to it.

Best,

Didier

profile pictureAWS
EXPERT
answered 7 months ago
profile picture
EXPERT
reviewed 7 months ago
  • Thank you Mr.Durand.

    Would would the EC2 instance starts communicating suddenly with Cloudflare? Could you pls throw some light ? I am new to this.

  • You would need to review your EC2 setup and what’s installed.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions