Patents by Inventor Kunal Anand

Kunal Anand has filed for patents to protect the following inventions. This listing includes patent applications that are pending as well as patents that have already been granted by the United States Patent and Trademark Office (USPTO).

  • Patent number: 9519774
    Abstract: The present invention relates to systems and methods for analyzing SQL queries for constraint violations, which may indicate injection attacks. The systems and methods tokenize a SQL query to generate a token stream. Next, lexical nodes are generated by iterating over the token stream. Then, a parse tree can be constructed by iterating over the lexical nodes. The parse tree may be compared to a SQL schema and access configuration for a database in order to analyze the SQL query for constraint violations, including determining the number of queries in the parse tree, identifying invalid fields and table access, identifying invalid field type comparisons and pattern matches, and identifying early statement termination.
    Type: Grant
    Filed: January 19, 2015
    Date of Patent: December 13, 2016
    Assignee: PREVOTY, INC.
    Inventors: Kunal Anand, Joseph Rozner, Merritt Carl Vincent, Stephen Weinberg
  • Patent number: 9313223
    Abstract: The present invention relates to systems and methods for the tokenization of user-generated content in order to prevent attacks on the user-generated content. The systems and methods initially pre-process the user-generated content string utilizing a secondary input of target language. Pre-processing may also include initialization of finite state machines, token markers and string buffers (text, HTML tag name, HTML attribute name, HTML attribute value, CSS selector, CSS property name, and CSS property value). The user-generated content string is scanned by rune, and the system sends each rune to a specific buffer based upon signaling by individual finite state machine states. Buffers are then converted to token stream nodes to be inserted into the token stream. The tokens represent a string of characters and are symbolically categorized according to activated finite state machine states.
    Type: Grant
    Filed: March 15, 2013
    Date of Patent: April 12, 2016
    Assignee: Prevoty, Inc.
    Inventor: Kunal Anand
  • Patent number: 9098722
    Abstract: The present invention relates to systems and methods for parsing of a token stream for user generated content in order to prevent attacks on the user generated content. The systems and methods include a database which stores one or more whitelists, and a parser. The parser removes tokens from the token stream by comparing the tokens against the whitelist. Next, the parser validates CSS property values, encodes data within attribute values and text nodes, reconciles closing HTML tags, and coerces media tags into safe variants. The tokens removed may be any of HTML tags, HTML attributes, HTML protocols, CSS selectors and CSS properties.
    Type: Grant
    Filed: March 15, 2013
    Date of Patent: August 4, 2015
    Assignee: Prevoty, Inc.
    Inventor: Kunal Anand
  • Publication number: 20150205951
    Abstract: The present invention relates to systems and methods for analyzing SQL queries for constraint violations, which may indicate injection attacks. The systems and methods tokenize a SQL query to generate a token stream. Next, lexical nodes are generated by iterating over the token stream. Then, a parse tree can be constructed by iterating over the lexical nodes. The parse tree may be compared to a SQL schema and access configuration for a database in order to analyze the SQL query for constraint violations, including determining the number of queries in the parse tree, identifying invalid fields and table access, identifying invalid field type comparisons and pattern matches, and identifying early statement termination.
    Type: Application
    Filed: January 19, 2015
    Publication date: July 23, 2015
    Inventors: Kunal Anand, Joseph Rozner, Merritt Carl Vincent, Stephen Weinberg
  • Publication number: 20150207898
    Abstract: The present invention relates to systems and methods for statistical caching. Inputs are captured via an appropriate network protocol. The input includes statistical data and a corresponding cache key. The values for each cache key within a cache are compacted using the input. The compacting involves determining if the corresponding cache key is already set within the cache, and if the cache key is present, aggregating the statistical data with the value stored within the cache to generate an updated value. The updated cache may be periodically synchronized with a final data store. Additionally, each operation performed by the statistical cache may be recorded in a transaction log for fault tolerance.
    Type: Application
    Filed: January 19, 2015
    Publication date: July 23, 2015
    Inventor: Kunal Anand
  • Publication number: 20140283033
    Abstract: The present invention relates to systems and methods for the tokenization of user-generated content in order to prevent attacks on the user-generated content. The systems and methods initially pre-process the user-generated content string utilizing a secondary input of target language. Pre-processing may also include initialization of finite state machines, token markers and string buffers (text, HTML tag name, HTML attribute name, HTML attribute value, CSS selector, CSS property name, and CSS property value). The user-generated content string is scanned by rune, and the system sends each rune to a specific buffer based upon signaling by individual finite state machine states. Buffers are then converted to token stream nodes to be inserted into the token stream. The tokens represent a string of characters and are symbolically categorized according to activated finite state machine states.
    Type: Application
    Filed: March 15, 2013
    Publication date: September 18, 2014
    Inventor: Kunal Anand
  • Publication number: 20140283139
    Abstract: The present invention relates to systems and methods for parsing of a token stream for user generated content in order to prevent attacks on the user generated content. The systems and methods include a database which stores one or more whitelists, and a parser. The parser removes tokens from the token stream by comparing the tokens against the whitelist. Next, the parser validates CSS property values, encodes data within attribute values and text nodes, reconciles closing HTML tags, and coerces media tags into safe variants. The tokens removed may be any of HTML tags, HTML attributes, HTML protocols, CSS selectors and CSS properties.
    Type: Application
    Filed: March 15, 2013
    Publication date: September 18, 2014
    Inventor: Kunal Anand
  • Publication number: 20090292983
    Abstract: An HTML filter is described that converts HTML tags into HTML object and associated param tags. In an exemplary embodiment, the present HTML filter also validates existing object tags so that they may render in at least one, and optionally all, major browsers. In another exemplary embodiment, the presently described HTML filter also serves as a configurable whitelist for rich media (through controlling particular attributes, e.g., “classid”, in the object tag and affiliated param tags).
    Type: Application
    Filed: December 1, 2008
    Publication date: November 26, 2009
    Inventors: Kunal Anand, Dan Kaminsky