Cyber Security Brasilby Igor Deungaro

Tool Poisoning: When the Tool Manifest Is the Payload

Tool Poisoning: When the Tool Manifest Is the Payload

There is an injection variant that does not depend on the agent reading anything external during the task. The hostile content has been there since connection time, inside the declaration of the tools themselves.

The vector

On connecting, the client fetches the server's manifest and injects each tool's name, description and argument schema into the context. Those fields are free text controlled by whoever published the server. A description can contain instructions — and the model reads them on the same channel it reads the task.

What makes it worse is that this injection happens before any interaction, affects every task in that session, and leaves no trace for an analysis that only inspects content read during execution.

Three shapes the attack takes

  • Direct instruction in the description — text asking that the tool be used a certain way, or that another resource be read first.
  • Concealment. Researchers documented payloads in invisible Unicode tag blocks, producing divergence between what the approval screen shows and what the model reads.
  • Rug pull. The manifest is fetched on every connection. A server approved in January can declare something else in March, with no change event anywhere.
You reviewed the server once. It re-declares itself every time it connects.

Controls

  • Pin the manifest by hash at approval and compare on every connection. Divergence becomes an alert and a block, not a silent update.
  • Normalise and reject invisible characters, tag blocks and control characters in metadata fields.
  • Review manifests as code, by pull request, with a named approver.
  • Pin server version and digest, never install from the latest tag.

The analogy that sells it internally

Tool poisoning is an unpinned dependency with execution privilege. Every engineering organisation already understands why lockfiles exist and why dependency changes get reviewed. It is the same argument, applied to an artifact nobody currently treats as a dependency — which is why the argument tends to land quickly with the platform team.

Este blog publica em português e inglês. / This blog publishes in Portuguese and English. EN · PT

Denunciar abuso

As inseguranças do sucesso da segurança cibernética

As inseguranças do sucesso da segurança cibernética. Tornar-se um grande profissional não precisa custar sua felicidade, mas a cultura da moagem torna isso provável. Nos últimos anos, a questão da saúde mental no setor de segurança cibernética ganhou destaque. Uma  pesquisa de 2019  revelou que 1 em cada 6 CISOs admitiu se  automedicar  para lidar com o estresse de seu trabalho. A tensão passa pelo escritório do CISO e permeia todo o setor. Um perfil que está crescendo  mais rápido que o orçamento  e uma sofisticação cada vez maior e  o impacto financeiro  dos ataques se combinam para transformar o que antes era um canto do departamento de TI em uma panela de pressão. John Hammond  , pesquisador de segurança cibernética da Huntress, falou sobre “ Hard Truths and Unexpected Realities: Lamentations in Producing Cybersecurity Content ” na  Intigriti 1337UP Live  , uma conferência online sobre bugs, em março de 2022. Seus...

DICA: comandos para pentest e segurança ofensiva

Fala galera, blz ? Segue uma lista de comandos maravilhosa, voltada para teste de vulnerabilidades. Observação Pertinente: Os TIPOS de COMANDOS e as INSTRUÇÕES estão em INGLÊS! NÂO ME RESPONSABILIZO POR USO INDEVIDO. Pré-requisitos: ✔️  Python 3.5 ✔️  OS que suporte Python (eu utilizei Kali) Reconnaissance / Enumeration Extracting Live IPs from Nmap Scan nmap 10.1.1.1 --open -oG scan-results; cat scan-results | grep "/open" | cut -d " " -f 2 > exposed-services-ips Simple Port Knocking for x in 7000 8000 9000; do nmap -Pn –host_timeout 201 –max-retries 0 -p $x 1.1.1.1; done DNS lookups, Zone Transfers & Brute-Force whois domain.com dig {a|txt|ns|mx} domain.com dig {a|txt|ns|mx} domain.com @ns1.domain.com host -t {a|txt|ns|mx} megacorpone.com host -a megacorpone.com host -l megacorpone.com ns1.megacorpone.com dnsrecon -d megacorpone.com -t axfr @ns2.megacorpone.com dnsenum domain.com nslookup -> set type=any -> ls -d domain.com for ...

Atacantes precisam de menos de 10 horas para encontrar fraquezas

Atacantes precisam de menos de 10 horas para encontrar fraquezas. Configurações vulneráveis, falhas de software e serviços da Web expostos permitem que hackers encontrem pontos fracos exploráveis ​​nos perímetros das empresas em apenas algumas horas, não em dias. O hacker ético médio pode encontrar uma vulnerabilidade que permite a violação do perímetro da rede e, em seguida, explorar o ambiente em menos de 10 horas, com testadores de penetração focados na segurança da nuvem obtendo acesso mais rapidamente aos ativos direcionados. Além disso, uma vez que uma vulnerabilidade ou fraqueza é encontrada, cerca de 58% dos hackers éticos podem invadir um ambiente em menos de cinco horas. Isso está de acordo com uma pesquisa com 300 especialistas do SANS Institute e patrocinada pela empresa de serviços de segurança cibernética Bishop Fox, que também descobriu que as fraquezas mais comuns exploradas pelos hackers incluem configurações vulneráveis, falhas de software e serviços da Web expost...

Quem sou eu

Minha foto
Igor Deungaro
Bem Vindo ao Cyber Security Brasil, espero que goste !!!
Ver meu perfil completo

Cyber Security

Marcadores