News for hackers. Stuff that matters.
Re:Attackers can exfil data with Slack AI by reassess_blind on Tuesday August 20, 2024 @08:37PM (#41305586)
How would you own the server if you don't know what the domain is going to be? Perhaps I don't understand.

Edit: Ah, wildcard subdomain? Does that get prefetched in Slack? Pretty terrible if so.

Re:Attackers can exfil data with Slack AI by MobiusHorizons on Tuesday August 20, 2024 @09:12PM (#41305779)
I think if you make the key a subdomain and you run the dns server for that domain it should be possible to make it work

ie:

secret.attacker-domain.com will end up asking the dns for attacker-domain.com about secret.attacker-domain.com, and that dns server can log the secret and return an ip

Re:Attackers can exfil data with Slack AI by jerjerjer on Tuesday August 20, 2024 @09:12PM (#41305783)
Wildcard dns would work:

*.example.com. 14400 IN A 1.2.3.4

after that just collect webserver logs.

Re:Attackers can exfil data with Slack AI by reassess_blind on Tuesday August 20, 2024 @09:21PM (#41305839)
Yeah, assuming Slack does prefetch these links that makes the attack significantly easier and faster to carry out.
Re:Attackers can exfil data with Slack AI by jesprenj on Wednesday August 21, 2024 @12:14PM (#41311645)
I actually meant DNS prefetching, not HTTP prefetching. I don't think browsers will prefetch (make HTTP GET requests before they are clicked) links by default (maybe slack does to get metadata), but they quite often prefetch the DNS host records as soon as an "a href" appears.

In case of DNS prefetching, a wildcard record wouldn't be needed, you just need to control the nameservers of the domain and enable query logging.

But I'm not sure how do browsers decide what links to DNS prefetch, maybe it's not even possible for links generated with JS or something like that ... I'm just guessing.

Re:Attackers can exfil data with Slack AI by gcollard- on Tuesday August 20, 2024 @10:29PM (#41306224)
Subdomains.