# Response Modification Attacks

**URL:** <https://forum.torproject.org/t/response-modification-attacks/12732>\
**Category:** Support\
**Tags:** tor-browser\
**Created:** [May 15, 2024, 2:30pm UTC](https://forum.torproject.org/t/response-modification-attacks/12732 "2024-05-15T14:30:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnDoe914](https://forum.torproject.org/letter_avatar_proxy/v4/letter/j/eb8c5e/32.png) [@JohnDoe914](https://forum.torproject.org/u/JohnDoe914)\
**Post date:** [May 15, 2024, 2:31pm UTC](https://forum.torproject.org/t/response-modification-attacks/12732/1 "2024-05-15T14:31:00Z")

</div>

If a malicious node tries to modify the response (of an https connection), would that be blocked by the browser upon receipt? i.e would it be possible for a malicious node to inject malware into the response that executes before it is blocked by the browser? Is there any risk with filedownloads with the same threat vector.

I can see a forged webpage attack here, but can’t find any discussion on what might happen in the case of https?

> **[GitHub - Attacks-on-Tor/Attacks-on-Tor: Thirteen Years of Tor Attacks](https://github.com/Attacks-on-Tor/Attacks-on-Tor)**
>
> Thirteen Years of Tor Attacks. Contribute to Attacks-on-Tor/Attacks-on-Tor development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![BobbyB](https://forum.torproject.org/user_avatar/forum.torproject.org/bobbyb/32/5456_2.png) [@BobbyB](https://forum.torproject.org/u/BobbyB)\
**Post date:** [May 15, 2024, 3:53pm UTC](https://forum.torproject.org/t/response-modification-attacks/12732/2 "2024-05-15T15:53:52Z")

</div>

Not an expert in Tor but I will guess it is not possible for a malicious node to inject something into the stream of https. That’s the whole point of the onion and https. I would think the exit node could inject stuff into an unencrypted http page but the middle and entry nodes could not.

So I agree with your statement “I can see a forged webpage attack here”

Now a malicious site could send malicious content back to you and could have malicious code in a downloaded file. Tor does not protect you of that and was not designed to do that. This is your job and that of your AV.

I’m guessing here using what I read about the internals of Tor. If it’s wrong then someone should enlighten us.
