Skip to content

Anomalies ​

The hub decodes every HTTP request and response it stores, layer by layer — percent-encoding, HTML entities, \uXXXX escapes, UTF-7, base64 and hex, JSON inside JSON, form fields, multipart parts, charsets, Unicode compatibility forms, gRPC and Connect messages — and notes what about the message looks deliberate: an anomaly. Each anomaly has a rule id, a fixed severity, where in the message it is, and the bytes it is about. The flow list shows them, the flow view lists them per exchange next to the request as it was sent, the decoded view shows the message cleaned up with each value's layers, and the anomalies filter chip (anom: in the URL) finds flows by rule, group or severity. Searches for content, bodies, paths, query parameters and request headers also match the decoded text, so cat /flag finds a body that wrote it as \u0063at /flag or wrapped it in base64.

vulnboxd's rules run the same decoder on the vulnbox: a rule can match the decoded message with decoded, and act on anomalies with an anomalies condition, such as anomalies: request_smuggling to block requests with signs of smuggling.

Anomalies of severity warning and up tag their flow smuggling when their rule is in the request_smuggling group, and obfuscated otherwise. Anomaly detection can be switched off, or kept from tagging or from widening searches, in the hub's settings; an operator can also force it with HUB_ANOMALY_DETECTION on assemble (see the command line). What was stored while it was off is analysed by reprocessing it with assemble --from-seq/--to-seq. The raw message is always kept exactly as sent; the decoded text and the anomalies are stored beside it.

Severities: info is worth knowing and usually legitimate; notice is unusual for a well-behaved client but real software does it; warning is hardly ever legitimate; high is a known filter-bypass or request-smuggling technique.

Groups ​

Named sets of rules, usable wherever rule ids are: in a rules file's anomalies condition and in the hub's anomalies filter. A group name never contains a dot, so it cannot be mistaken for an id; ids and prefixes (url.*) work beside them.

GroupWhatRules
request_smugglingFraming that HTTP implementations disagree on: CL.TE / TE.TE smuggling and the header tricks that go with it. Gives the smuggling tag.http.cl_te_both, http.duplicate_content_length, http.te_obfuscated, http.obs_fold, http.header_name_weird, http.chunk_extension, content_encoding.stacked
obfuscationText encoded so a filter does not recognise it but the application still reads it.url.encoded_unreserved, url.double_encoding, url.percent_u, url.overlong_utf8, html.entities_in_url_or_json, utf8.overlong, unicode.fullwidth, unicode.zero_width, unicode.bidi_control, unicode.confusables_lite, value.unicode_escape, json.unicode_escape_ascii, charset.utf7, layers.deep
path_tricksPaths that servers and proxies normalise differently: traversal and routing confusion.url.nul_byte, path.encoded_dot_segment, path.encoded_slash, path.backslash, path.semicolon_params
parser_confusionThe same thing said twice, or nested absurdly deep, so two parsers end up with different values.json.duplicate_keys, json.deep_nesting, form.duplicate_param, multipart.duplicate_name
malformedContent that breaks its own format, which parsers recover from differently.url.invalid_percent, utf8.invalid, json.invalid_with_json_type, multipart.malformed, multipart.boundary_weird, charset.mismatch, content_encoding.undecoded, decode.failed
wrappedValues wrapped whole in another encoding: usually legitimate, worth a look.value.base64, value.hex, json.nested_json_string
grpcgRPC, gRPC-Web and ConnectRPC messages that break their framing or their schema.grpc.malformed_length, grpc.compressed_without_encoding, grpc.oversized_message, grpc.unknown_field, grpc.not_http2, grpc.invalid_protobuf
http_connectionHTTP connections that abuse or break the protocol, or stopped being read, found per connection.h2.rst_flood, h2.continuation_flood, h2.hpack_error, h2.protocol_error, h2.goaway_error, http.stopped
transportTCP and IP packets sent so that an analysis sees other bytes than the service, found per flow.tcp.bogus_rst, tcp.reset, tcp.stray_syn, tcp.overlap_mismatch, tcp.out_of_window, tcp.discarded_segment, tcp.urgent, ip.fragmented, ip.fragment_overlap

decode.truncated is in no group: it is about the decoder, not the message.

Target and URLs ​

RuleSeverityWhatWhy it mattersFalse positives
url.encoded_unreservednoticeLetters, digits, -, . or _ written as %XX.Nothing needs them encoded, so encoding them is how a payload slips past a filter that matches on plain text (%61dmin).Some hand-rolled encoders encode everything. ~ is left out: Python before 3.7 encoded it.
url.double_encodingwarning%25 followed by two hex digits.Decoded twice — by a proxy and again by the application — it becomes a character the first decoder never saw: the classic WAF bypass.A literal %41 in a value someone typed, sent correctly encoded.
url.percent_uwarning%uXXXX.Only IIS and some old ASP stacks decode it; to everything else it is text, so a filter and the server disagree.None in modern clients.
url.overlong_utf8highPercent-encoded overlong UTF-8 (%C0%AF for /, %E0%80%AE).Lax decoders turn these into the ASCII character, past filters that look for it: path traversal.None: no encoder produces them.
url.invalid_percentnoticeA % not followed by two hex digits (nor %uXXXX).Parsers differ on what they do with it — keep, drop, error — which is a parser differential.Hand-built URLs with a literal %.
url.nul_bytehigh%00 or a NUL byte in the target.Truncates strings in C-backed code: file.php%00.png.None.
html.entities_in_url_or_jsonnoticeHTML entities (/, <) in a query parameter or a JSON string.Entities in data meant for an API are a way to hide characters from filters that a template or a sanitiser later decodes.Rich-text fields that carry HTML.
path.encoded_dot_segmenthighA path segment that decodes (once or twice) to . or ...Path traversal past normalisers that remove ../ before decoding.None.
path.encoded_slashwarning%2F or %5C in the path.Servers differ on splitting at it: routing confusion, traversal.APIs that put URLs or paths in a path segment.
path.backslashwarningA literal \ in the path.Windows servers and some proxies treat it as /.None from browsers, which turn it into /.
path.semicolon_paramsnotice; in a path segment.Tomcat and Spring strip ;params, so /admin;x/ or ..;/ reaches what a proxy rule meant to block.;jsessionid=.

Text and Unicode ​

RuleSeverityWhatWhy it mattersFalse positives
utf8.invalidnoticeBytes that are not UTF-8 where UTF-8 text is expected (a body declared or assumed UTF-8, a percent-decoded value).Decoders replace or drop them differently.Latin-1 sent without saying so.
utf8.overlonghighOverlong UTF-8 sequences in raw bytes.As url.overlong_utf8, in a body.None.
unicode.fullwidthwarningCharacters that NFKC folds to ASCII: fullwidth cat, mathematical letters, circled letters, ligatures such as fl (to fl).Backends that normalise (Python's unicodedata, many ORMs, case-insensitive collations) turn them into the ASCII a filter was looking for.East Asian text uses fullwidth punctuation.
unicode.zero_widthwarningZero-width and invisible characters (U+200B, U+2060–2064, U+FEFF after the start, U+180E, Hangul fillers). Joiners are left out.They split keywords for filters and vanish for the backend.Text pasted from some editors.
unicode.bidi_controlwarningBidirectional controls (U+202A–202E, U+2066–2069, U+200E/F, U+061C).Make text display differently from what it is ("Trojan Source").Right-to-left languages, rarely.
unicode.confusables_litenoticeA word mixing Latin with Cyrillic or Greek letters (pаypal with a Cyrillic а).Homoglyphs to pass for another name.Mixed-language text without spaces.
value.unicode_escapenotice\uXXXX or \xXX escapes in a value that is not JSON (or escapes left inside a JSON string after reading it).JavaScript and template engines decode them; filters do not.Values that carry code.
value.base64infoA value that is entirely base64 or base64url of readable text or a known file type.Payloads are often wrapped so they do not show; the view shows them unwrapped.Tokens and ids that happen to be readable once decoded.
value.hexinfoThe same for hex.The same.The same.

JSON ​

RuleSeverityWhatWhy it mattersFalse positives
json.unicode_escape_asciiwarningA printable ASCII character written as \uXXXX other than those encoders escape: " \ / < > & ' = + `.{"cmd":"\u0063at /flag"} reads as cat /flag to the application and as nothing to a filter on the raw body. JSON.stringify and Python's json.dumps never escape printable ASCII; Go escapes <>&, Gson also =', .NET also + and `, PHP / (as \/) — all allowed.Encoders configured to escape everything (ensure_ascii does not do this; some Java options do).
json.invalid_with_json_typenoticeA body with a JSON content type that does not parse (unless it was cut short).Lenient parsers accept it and strict ones do not: comments, trailing commas, single quotes.Clients that send something else with a JSON content type.
json.duplicate_keyswarningAn object with the same key twice.Parsers keep the first or the last: one component checks one value and another uses the other.None from serializers.
json.nested_json_stringnoticeA string that is itself JSON.Hides a payload one level down.APIs that do this on purpose (stringified settings).
json.deep_nestingwarningNesting deeper than 32 (the nesting limit).Stack exhaustion in recursive parsers.None.

Forms and multipart ​

RuleSeverityWhatWhy it mattersFalse positives
form.duplicate_paramnoticeThe same parameter twice in the query or a form body (names ending in [] excepted).HTTP parameter pollution: frameworks take the first, the last, or all of them.Repeated keys meant as a list (tag=a&tag=b).
multipart.malformedwarningA multipart body without a boundary, without its closing delimiter, or with a part that has no header block or no name.Parsers recover differently, so a part one of them sees another does not.Bodies cut short by the capture are not counted.
multipart.duplicate_namenoticeTwo parts with the same name.As form.duplicate_param.File arrays.
multipart.boundary_weirdwarningA boundary longer than 70 characters, with characters RFC 2046 does not allow, ending in a space, given twice, or not the one the body uses.Boundary parsing differences are a known WAF bypass.None from browsers or common libraries.
charset.mismatchnoticeThe declared charset is not what the bytes are: a BOM that says otherwise, UTF-16 without a BOM, or a charset no decoder knows.Decoded one way by a filter and another by the backend.Servers that mislabel.
charset.utf7warningUTF-7 declared, or UTF-7 runs in a value that decode to ASCII.+ADw-script+AD4- is <script> to anything that decodes UTF-7.None today.

HTTP framing ​

RuleSeverityWhatWhy it mattersFalse positives
http.cl_te_bothhighBoth Content-Length and Transfer-Encoding.The two framings disagree: request smuggling (CL.TE, TE.CL).Rare broken clients.
http.duplicate_content_lengthhighContent-Length sent more than once, or as a list.One hop takes the first, another the last.None.
http.te_obfuscatedhighA Transfer-Encoding other than plain lower-case codings separated by , : odd case, odd whitespace, unknown codings, identity, chunked not last or twice, the header twice.Proxies and servers that disagree on whether the body is chunked: TE.TE smuggling.None from common clients.
http.obs_foldwarningA header continued on the next line (obsolete line folding).Deprecated and handled differently by every parser. Only found when the raw message is given (the decoded view with wire=true); the assembler does not read such messages as HTTP at all.None.
http.header_name_weirdwarningA header name with _, spaces or characters outside RFC 9110's token.X_Forwarded_For becomes X-Forwarded-For behind some servers (CGI, nginx with underscores_in_headers).Some custom headers use _.
http.chunk_extensionnoticeChunk extensions (5;x=y). Only found when the raw message is given.Ignored by most, parsed by some: smuggling and filter evasion.None from common clients.
content_encoding.stackednoticeMore than one content coding (gzip, br, or the header twice).Hides the body from anything that undoes only one.None common.
content_encoding.undecodednoticeA content coding that was not undone: unknown, or data that does not decode.The body is kept and analysed as sent, which is not what the server sees.Truncated captures.

gRPC and Connect ​

The bodies of gRPC (application/grpc), gRPC-Web and ConnectRPC requests and responses are read as their messages: decompressed (gzip, deflate, snappy, zstd), decoded as protobuf — with the service's schema where the hub has one (see gRPC and Connect) — and every string field is decoded further like any other value. So the rules above find a base64 or fullwidth payload inside a protobuf field too, and searches see note.body=cat /flag (or 1.3=... without a schema).

RuleSeverityWhatWhy it mattersFalse positives
grpc.malformed_lengthwarningA length prefix that runs past the end of the body, or bytes after the last message too few to be one.Parsers that trust the prefix and parsers that do not see different messages: a filter reads one, the service another.Bodies cut short by the capture are not counted.
grpc.compressed_without_encodingwarningA message whose compressed flag is set while no compression (grpc-encoding, connect-content-encoding) is named, or identity is.Servers reject it or guess; a filter that does not decompress sees nothing.None from real clients.
grpc.oversized_messagenoticeA message declared larger than 4 MiB, gRPC's default receive limit.Memory exhaustion, or a payload past what a filter reads.Services that raised the limit on purpose.
grpc.unknown_fieldnoticeField numbers the method's message types do not have, when the schema is known.Hand-made messages, or fields smuggled past code that validates only known fields.Clients built from a newer schema.
grpc.not_http2noticeapplication/grpc on an HTTP/1.x exchange.Real gRPC needs HTTP/2; this is a hand-written request or a downgrade trick.Proxies that translate.
grpc.invalid_protobufnoticeA message labelled protobuf that does not parse as one.Fuzzing, or a parser differential.Compressed messages that could not be decompressed are decode.failed instead.

HTTP/2 connections ​

Found for a whole connection rather than one exchange: the flow list and the anomalies filter show them on the flow. http.stopped is found for HTTP/1 connections too.

RuleSeverityWhatWhy it mattersFalse positives
h2.rst_floodwarningMore than 100 streams reset by the client in one connection."Rapid reset" (CVE-2023-44487): opening and cancelling streams costs the server work and the client nothing.Clients that cancel many requests, such as a browser scrolling a long list.
h2.continuation_floodwarningA header block over 64 CONTINUATION frames or 256 KiB.CONTINUATION floods (CVE-2024-27316 and its kin) exhaust servers that buffer headers.None.
h2.hpack_errornoticeA header block that does not decode: an index past the table, bad Huffman coding, a size update past what was allowed.Malformed or hostile HPACK; the rest of the connection cannot be followed.Captures that began mid-connection.
h2.protocol_errornoticeFrames that break HTTP/2: DATA or HEADERS on stream 0, a header block interrupted, bad padding, an oversized frame, a stream that was never opened.Parser differentials, fuzzing.Captures that began mid-connection.
h2.goaway_errorinfoA GOAWAY with an error code other than NO_ERROR.One side gave up on the connection because of something the other did.Servers shutting down with ENHANCE_YOUR_CALM under load.
http.stoppednoticeHTTP/1 or HTTP/2 stopped being read before the connection ended: a head or body framing that does not parse, a response to no request, more than 1024 requests waiting, bytes missing from the capture. The flow view shows the reason.What came after is only in the flow's bytes, not in its exchanges, so exchange searches and rules previews miss it.Captures with loss; a connection that turned into another protocol without saying so.

TCP and IP ​

Found for a whole flow. The hub's flow assembly follows what the receiving Linux kernel takes — a RST only at the next byte expected, a SYN in an open connection answered with a challenge ACK, the later copy of bytes not yet delivered, IP fragments reassembled and dropped when they overlap — so the flow shows what the service saw. These rules mark the packets that would have shown something else; the flow view gives the first occurrence's details.

RuleSeverityWhatWhy it mattersFalse positives
tcp.bogus_rstwarningA RST whose sequence number is not the next byte expected; the receiver ignores it (RFC 5961).Ends the connection in an analysis that takes any RST, while the service carries on.Captures with loss.
tcp.resetinfoA RST at the next byte expected, which ended the connection; data that carries on after it from the same side opens a flow of its own.A RST can hide the rest of a connection from an analysis that stops reading at it.Clients and servers that close with a reset.
tcp.stray_synwarningA SYN in an open connection that neither repeats its own nor is answered as a new connection.Splits the flow in an analysis that starts a new one on any SYN.Port reuse after a close the capture missed.
tcp.overlap_mismatchhighTwo copies of the same bytes that differ: a retransmission or overlapping segments.Classic insertion and evasion: the analysis and the receiver keep different copies.None from real stacks.
tcp.out_of_windowwarningData far beyond the window the receiver advertised, which it drops.Pushes an analysis into giving up on the real bytes.None.
tcp.discarded_segmentwarningData in a segment the receiver discards, such as one without the ACK flag.A decoy only the analysis would read.None.
tcp.urgentwarningA byte sent as TCP urgent data (URG). Without SO_OOBINLINE the application never reads it inline, so it is left out of the flow.GET /exXploit with the X urgent reaches the service as /exploit.Telnet and FTP clients that still send urgent data.
ip.fragmentednoticeA packet that arrived as IP fragments and was reassembled.Fragmenting hides content from tools that do not reassemble.Large UDP datagrams (DNS, tunnels).
ip.fragment_overlaphighIP fragments that overlap; the receiver drops the datagram, and so does the analysis.Fragment overlap attacks on reassembly.None.

Layers and the decoder ​

RuleSeverityWhatWhy it mattersFalse positives
layers.deepwarningA value that took more than 3 decodings to reach (the query or JSON layer counted).Nobody wraps data three times by accident.Base64 of JSON in a query parameter is three.
decode.truncatedwarningDecoding stopped at the decoded-bytes limit or 4096 nodes (for rules: 64 KiB and 512 values per part).The view is partial; anomalies beyond the cut were not looked for, and rules with decoded missed what lies beyond. Padding a request with hundreds of dummy parameters is how a payload is pushed past it.Very large legitimate bodies.
decode.failednoticeA declared encoding (a multipart part's Content-Transfer-Encoding, a charset) could not be decoded, or the caller's guard tripped.The raw data is what is left.—