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?

已提问 8 个月前817 查看次数
1 回答
0
已接受的回答

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
专家
已回答 8 个月前
profile picture
专家
已审核 8 个月前
  • 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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则