IP Library Granted Patent US 10,601,865
Granted Patent B1
US 10,601,865 · App. 14/872,016 · Granted Mar 24, 2020

Detection of credential spearphishing attacks using email analysis

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,601,865
App. No.
14/872,016
Granted
Mar 24, 2020
Kind
B1
Abstract

A non-transitory computer readable storage medium having stored thereon instructions when executable by a processor perform operations including responsive to receiving an email including a URL, conducting an analysis of the email including: (i) analyzing a header and a body, and (ii) analyzing the URL; analyzing contents of a web page directed to by the URL; generating a score indicating a level of confidence the email is associated with a phishing attack based on at least one of the analysis of the email or the analysis of the contents of the web page; and responsive to the score being below a threshold, virtually processing the web page to determine whether the web page is associated with the phishing attack is shown.

Claims (45)

1. A non-transitory computer readable storage medium having stored thereon instructions, the instructions being executable by one or more processors to perform operations including:

responsive to receiving an email including a Uniform Resource Locator (URL), conducting a static analysis of the email including:

(i) analyzing a header and a body of the email, and

(ii) analyzing the URL included in the email;

processing, within a virtual machine, the email by (i) providing, within the virtual machine, credential information to a web page directed to by the URL thereby generating a POST request, (ii) determining attributes of the POST request, and (iii) correlating the attributes of the POST request with a domain indicated by information included in the body of the email;

generating a first score indicating a first level of confidence indicating that the email is associated with a phishing attack based on the processing of the email within the virtual machine; and

responsive to the first score being below a first threshold, determining the email is associated with the phishing attack.

2. The computer readable storage medium of claim 1 further comprising:

generating a second score representing a second level of confidence indicating the email is associated with the phishing attack based on (i) the processing of the web page and (ii) at least one of the analysis of the email or the analysis of the contents of the web page.

3. The computer readable storage medium of claim 2 , wherein the phishing attack is a credential spearphishing attack.

4. The computer readable storage medium of claim 1 , wherein the analyzing of the header of the email includes extracting key attributes and correlating the extracted key attributes with known malicious actors, and

the analysis of the body of the email includes extracting and correlating at least one of one or more input forms, a location of the URL, text or an image detected in the body of the email with attributes known to be associated with a phishing attack.

5. The computer readable storage medium of claim 1 , wherein the analyzing of the URL includes at least one of a determination of an existence of a typographical error in the URL compared to predefined URLs, a correlation between a domain of the URL and content information or header attributes of the email, or a correlation between the domain and a subdomain of the URL.

6. The computer readable storage medium of claim 1 , wherein the analyzing of the contents of the web page includes extracting and correlating at least one of a server delivering the web page, metadata of the server, or whether a secure connection is used to deliver the email with one or more attributes extracted from the header or body of the email.

7. The computer readable storage medium of claim 1 , wherein subsequent to detecting an image of the web page during processing of the email, the static analysis further includes performing a correlation between the image detected on the web page with one or more stored images of predetermined companies.

8. The computer readable storage medium of claim 1 , wherein the processing of the web page includes processing HyperText Markup Language (HTML) source code of the web page in one or more virtual machines, wherein the one or more virtual machines are configured based on at least one of the analysis of the email or the analysis of the contents of the web page.

9. The computer readable storage medium of claim 8 , wherein the processing in the one or more virtual machines includes (i) generating a POST request by submitting data in one or more input fields of the web page and recording the generated POST request, and (ii) determining a first domain to which the POST request was being transmitted.

10. The computer readable storage medium of claim 9 , wherein the HTML source code is included within obfuscated network traffic and, prior to processing the HTML source, the obfuscated network traffic is deobfuscated.

11. An apparatus for detecting an association of an email with a phishing attack, the apparatus comprising:

one or more processors;

a storage device communicatively coupled to the one or more processors and having logic stored thereon including:

an email analysis logic to extract and correlate attributes of a header and a body of the email with one or more lists defining attributes known to be associated with the phishing attack;

a dynamic analysis logic including one or more virtual machines for conducting an analysis of the email by (i) providing, within a virtual machine, credential information to a web page directed to by a URL detected in the email thereby generating a POST request, (ii) determining attributes of the POST request, and (iii) correlating the attributes of the POST request with a domain indicated by information included in the body of the email; and

a score determination logic for determining a likelihood of the email being associated with the phishing attack.

12. The apparatus of claim 11 , further comprising:

a web page analysis logic for performing a screen shot analysis of a web page directed to by the URL,

wherein the screen shot analysis includes at least one of (i) a correlation between an image detected on the web page with one or more stored images of predetermined companies, or (ii) a correlation between text detected on the web page with stored text or a logo associated with one or more predetermined companies.

13. The apparatus of claim 12 , wherein the web page analysis logic extracts and correlates information of a server delivering the web with one or more attributes extracted from the header or the body of the email.

14. A method for detecting an association of an email with a phishing attack comprising:

receiving HyperText Markup Language (HTML) source code of a web page associated with a Uniform Resource Locator (URL) detected in the email; and

processing the HTML source code in a virtual machine, the processing including:

detecting a URL to a POST request on the web page,

generating a POST request by automatically simulating submitting content in an input form detected on the web page,

capturing the POST request and determining a target domain, the target domain being a first domain to which the POST request was being transmitted, and

determining whether the target domain is the same as a victim domain.

15. The method of claim 14 further comprising:

responsive to determining the victim domain is the same as the target domain, determining the web page is not associated with a phishing attack.

16. The method of claim 14 further comprising:

responsive to determining the victim domain is not the same as the target domain, applying at least one of a heuristic algorithm, a probabilistic algorithm or a machine learning algorithm to determine whether the web page is associate with a phishing attack.

17. The method of claim 16 further comprising:

determining a likelihood that the web page is associated with a phishing attack, wherein the determination of the likelihood is based on one or more of (i) a static analysis of the email, (ii) the determination the victim domain is not the same as the target domain, or (iii) the application of at least one of the heuristic algorithm, the probabilistic algorithm or the machine learning algorithm.

18. The method of claim 14 , wherein the target domain is determined by (i) extracting a link from an image detected on the web page, and (ii) utilizing an image search application programming interface (API) to determine a domain that hosts the image.

19. The method of claim 14 further comprising:

prior to processing the HTML source code, deobfuscating the HTML source code, wherein the HTML source code was received in an obfuscated manner.

20. The method of claim 14 , wherein the virtual machine is configured based on at least one of a static analysis of the email or a static analysis of the HTML source code of the web page.

Assignments (12)
RELEASE OF SECURITY INTEREST Recorded Aug 16, 2024
From: STG PARTNERS, LLC
To: MUSARUBRA US LLC; SKYHIGH SECURITY LLC
Reel/Frame 068671/0435 →
INTELLECTUAL PROPERTY ASSIGNMENT AGREEMENT Recorded Aug 15, 2024
From: MUSARUBRA US LLC
To: MAGENTA SECURITY INTERMEDIATE HOLDINGS LLC
Reel/Frame 068656/0098 →
INTELLECTUAL PROPERTY ASSIGNMENT AGREEMENT Recorded Aug 15, 2024
From: MAGENTA SECURITY INTERMEDIATE HOLDINGS LLC
To: MAGENTA SECURITY HOLDINGS LLC
Reel/Frame 068656/0920 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 15, 2024
From: MAGENTA SECURITY INTERMEDIATE HOLDINGS LLC
To: MAGENTA SECURITY HOLDINGS LLC
Reel/Frame 068657/0843 →
FIRST LIEN PATENT SECURITY AGREEMENT Recorded Aug 15, 2024
From: MAGENTA SECURITY HOLDINGS LLC; SKYHIGH SECURITY LLC
To: UBS AG, STAMFORD BRANCH, AS COLLATERAL AGENT
Reel/Frame 068657/0666 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 15, 2024
From: MUSARUBRA US LLC
To: MAGENTA SECURITY INTERMEDIATE HOLDINGS LLC
Reel/Frame 068657/0764 →
MERGER Recorded Aug 13, 2024
From: FIREEYE SECURITY HOLDINGS US LLC
To: MUSARUBRA US LLC
Reel/Frame 068581/0279 →
SECURITY INTEREST Recorded Aug 1, 2024
From: MUSARUBRA US LLC; SKYHIGH SECURITY LLC
To: STG PARTNERS, LLC
Reel/Frame 068324/0731 →
CHANGE OF NAME Recorded Mar 16, 2023
From: FIREEYE, INC.
To: MANDIANT, INC.
Reel/Frame 063113/0029 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 16, 2023
From: MANDIANT, INC.
To: FIREEYE SECURITY HOLDINGS US LLC
Reel/Frame 063272/0743 →
FIRST LIEN PATENT SECURITY AGREEMENT Recorded Oct 11, 2021
From: FIREEYE SECURITY HOLDINGS US LLC
To: UBS AG, STAMFORD BRANCH, AS COLLATERAL AGENT
Reel/Frame 057772/0681 →
SECOND LIEN PATENT SECURITY AGREEMENT Recorded Oct 11, 2021
From: FIREEYE SECURITY HOLDINGS US LLC
To: UBS AG, STAMFORD BRANCH, AS COLLATERAL AGENT
Reel/Frame 057772/0791 →