Viernes 26 Junio 2026 02:39:56 GMT+02:00

Netcrook

InicioManifiesto
Noticias
Techcrook
Geocrook
WikicrookEquipoAppContacto
EnglishItalianoArabic

WIKICROOK

Content-based detection

A parsing method that identifies file type by inspecting internal structure rather than relying only on the extension.

Content-based detection is a parsing technique that identifies a file by examining its internal structure, headers, and format markers instead of trusting the filename extension alone. Security tools, archive handlers, and document viewers use it to decide how to process uploaded or received content.

It matters because extensions are easy to spoof. Attackers can rename a file to bypass simple filters, but the parser may still recognize the real format and route the data into code that handles it. Defenders use content-based checks for file validation, malware screening, and safe decompression, often comparing signatures, magic bytes, and structural fields. The same technique can also create risk: if a parser misclassifies malformed content or falls back to a vulnerable handler, attacker-controlled data may reach sensitive code paths. For that reason, content-based detection is useful, but it must be paired with robust parsing and strict validation.

← índice WIKICROOK