# US 2017/0257361 A1 · Authenticating or Controlling Software Application on End User Device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0257361 A1
- Document ID: US20170257361A1
- Status: Published application
- Kind: A1
- Application number: 15/447,265
- Filed: 2017-03-02
- Published: 2017-09-07
- Earliest claimed: 2016-03-03
- Assignees: F-Secure Corporation
- Applicants: F-Secure Corporation
- Inventors: Jarno NIEMELÄ; Mikko HYYKOSKI
- Web page: https://patentgrep.com/patent/US20170257361A1

## CPC

- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- G06F 21/51: at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- H04L 9/3247: {involving digital signatures}
- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 63/0853: {using an additional device, e.g. smartcard, SIM or a different communication terminal (cryptographic mechanisms or cryptographic arrangements for entity authentication involving additional secure or trusted devices H04L9/3234)}
- H04L 63/123: {received data contents, e.g. message integrity}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of authenticating or controlling a software application on an end user device. The method includes selecting a code signing certificate related to an application developer; selecting one or more clean files from a database of known clean files signed with the selected code signing certificate; generating an application developer identification for the application developer on the basis of data extracted from the selected one or more clean files; adding the generated application developer identification to a database of trusted application developer certificates; comparing a signature related to a software application to be installed on an end user device with the application developer identification for authenticating said signature; and in the event that authentication is successful, performing authentication of the software application code and/or controlling installation and/or operation of the software application.

## Claims

### Claim 1

A method of authenticating or controlling a software application on an end user device, the method comprising:
a) selecting a code signing certificate related to an application developer;
b) selecting one or more clean files from a database of known clean files signed with the selected code signing certificate;
c) generating an application developer identification for the application developer on the basis of data extracted from the selected one or more clean files;
d) adding the generated application developer identification and the related code signing certificate to a database of trusted application developer certificates;
e) comparing a signature related to a software application to be installed on an end user device with the respective application developer identification and the code signing certificate in the database for authenticating said signature; and
f) in the event that authentication is successful, performing authentication of the software application code and/or controlling installation and/or operation of the software application.

### Claim 2 (depends on 1)

The method according to claim 1, wherein, in the event that authentication of said signature is unsuccessful, installation of the software application is prevented.

### Claim 3 (depends on 1)

The method according to claim 1, wherein, in the event that authentication is unsuccessful, a computer security service performs a computer security scan of the application code using one or both of a signature based scan or a heuristic based scan and, in the event that authentication of the application code using said conditions is successful, no such computer security scan is performed.

### Claim 4 (depends on 1)

The method according to claim 1, wherein, in the event that authentication of said signature is unsuccessful, an alert of a possible abuse of a code signing certificate is given.

### Claim 5 (depends on 3)

The method according to claim 3, wherein the computer security service detects downloading of the software application data and performs steps a) to e) prior to installation of the application on the end user device, the computer security client preventing installation of the application if authentication fails.

### Claim 6 (depends on 3)

The method according to claim 3, wherein the computer security service detects downloading of the software application data and performs steps a) to e) prior to installation of the application on the end user device, the computer security service controlling installation and/or operation of the application.

### Claim 7 (depends on 3)

The method according to claim 3, wherein said computer security service employs a computer security client installed on said end user device, the computer security client performing steps e) to f).

### Claim 8 (depends on 3)

The method according to claim 3, wherein steps a) to e) are performed by a remote server or server cloud.

### Claim 9 (depends on 1)

The method according to claim 1, steps e) to f) being performed by an application installer associated with a local operating system of the end user device.

### Claim 10 (depends on 1)

The method according to claim 1, wherein step e) comprises determining whether the signature related to a software application matches with the application developer identification by a predetermined amount.

### Claim 11 (depends on 1)

The method according to claim 1, wherein step c) comprises using at least one or more of the following data for generating the application developer identification:
a file content data;
a compiler identification data;
a library data;
location of the file data;
an installer data;
portable executable (PE) version data or any other version data;
an attribute of the file data.

### Claim 12 (depends on 1)

The method according to claim 1, wherein step c) comprises using machine learning, bloom filters, deep learning or other methods for selecting the specific extracted data of clean files that can be used to identify software applications being related to the same application developer.

### Claim 13 (depends on 1)

A non-transitory computer storage medium having stored thereon computer program code for implementing the method of claim 1.

### Claim 14

Apparatus for authenticating or controlling a software application on an end user device, the apparatus comprising processor circuitry and a storage unit for storing instructions executable by the processor circuitry, whereby the apparatus is operative to:
a) select a code signing certificate related to an application developer;
b) select one or more clean files from a database of known clean files signed with the selected code signing certificate;
c) generate an application developer identification for the application developer on the basis of data extracted from the selected one or more clean files;
d) add the generated application developer identification and the related code signing certificate to a database of trusted application developer certificates;
e) compare a signature related to a software application to be installed on an end user device with the respective application developer identification and the code signing certificate for authenticating said signature; and
f) in the event that authentication is successful, performing authentication of the software application code and/or controlling installation and/or operation of the software application.
