I Stored a Website in a Favicon
timwehrle.de
I Stored a Website in a Favicon
1–10 of 120 posts
Re: I Stored a Website in a Favicon
#2Re: I Stored a Website in a Favicon
#3It's also pretty interesting to think how an attacker could exploit images on his behalf. Never thought that would be a way!!!
Thanks!
Re: I Stored a Website in a Favicon
#4Re: I Stored a Website in a Favicon
#5[0]: https://www.schneier.com/blog/archives/2021/02/browser-track...
Re: I Stored a Website in a Favicon
#6Pretty cool tbh!!! Would have loved seeing the decoder code!!! It's also pretty interesting to think how an attacker could exploit images on his behalf. Never thought that would be a way!!! Thanks!
But maybe you can misuse this and store a session ID / cookie in a favicon (give everyone a unique one) and survive some cookie cleanup and evade privacy restrictions?
Maybe you can still make it that the favicon looks like an image a little to not raise suspicion?
Favicons seem to be cached across private browsing sessions. Oh no
Re: I Stored a Website in a Favicon
#7Use this favicon.svg:
hello HN!
use this in your to use a svg favicon:
finally, use this in your to extract it and add it to your document body:
fetch(favicon.href).then(r => r.text()).then(t => document.body.innerHTML += t.match(//)[0]);
Re: I Stored a Website in a Favicon
#8Re: I Stored a Website in a Favicon
#9Re: I Stored a Website in a Favicon
#10You can use the favicon cache as storage too, by redirecting users across domains. It's been proposed as a potential fingerprinting risk[0], and if a browser naively reuses the cache for incognito mode, it could be used to track users across browser profiles. [0]: https://www.schneier.com/blog/archives/2021/02/browser-track...