-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explanation on Why the Build Job is Successful in the DNS Tutorial #126
Comments
Hi @cedricvanrompay-datadog, thanks a lot for trying this out and creating the issue! I am sorry for the delay in responding. I had not noticed the issue.
When |
Thanks for your answers! |
I just tried the following tutorial: https://github.com/step-security/attack-simulator/blob/1948a848cc4bdfb224343b29b9ca010da3488c12/docs/DNSExfiltration.md
Here is the fork I created: https://github.com/DataDog/step-security-agent-attack-simulator
At the end I do get the same result as the screenshot in the tutorial, that is, the "build" job is successful but has an "Error: DNS resolution [...] was blocked" annotation.
However, I am quite surprised that the build job is successful if the hardened runner blocked the DNS resolution, right?
Moreover, if I click on the "build" job and expand the "Simulate DNS traffic" section, it looks like the DNS call was successful, meaning that the DNS exfiltration attack would have worked right?
Isn't this "a valid response from the DNS server"?
The text was updated successfully, but these errors were encountered: