EP3553688A1

Securely and efficiently providing user notifications about security actions

Abstract

A security agent executing in kernel mode may receive a request from the anti-malware component executing with low privileges in user mode, and, in response, the security agent may perform a security action with respect to a malicious file detected on the computing device. The security agent may then assist the anti-malware component in providing a user notification about the security action by obtaining, on behalf of the anti-malware component, a user token associated with the user session in which the malicious file was detected. The anti-malware component can use the obtained user token to request a pointer to a Component Object Model (COM) interface for outputting the notification in context of the appropriate user session, which allows for securely and efficiently providing the user notification.

EP3553688A1, drawing sheet 1
Sheet 1 of 5

Term

12.5 yearsto projected expiry

Projected expiry 28 March 2039, counted from filing; an application has no term until it is granted.

  1. Priority
  2. Filed
  3. Published
  4. Today
  5. Projected expiry

15 claims: 5 independent, 10 dependent

  1. 1
    A computer-implemented method comprising:receiving, by a security agent (102) executing in kernel mode (104) of a computing device, a request from an anti-malware component (106) executing in user mode (108) of the computing device;performing, by the security agent (102), a security action with respect to a malicious file detected on the computing device by the anti-malware component (106);obtaining, by the security agent (102), a user token (110) associated with a user session (118) in which the malicious file was detected;providing, by the security agent (102), the user token (110) to the anti-malware component (106);using, by the anti-malware component (106), the user token (110) to request a pointer to a Component Object Model, COM, interface for outputting a notification in context of the user session (118);and outputting, via an output device of the computing device, the notification to indicate that the security action was performed, by receiving the pointer and calling a method of the COM interface.
  2. 7
    The computer-implemented method of any preceding claim, further comprising determining a user account identifier, ID, of a user who is currently logged into the user session, wherein the obtaining the user token is based at least in part on the user account ID.
  3. 9
    The computer-implemented method of any preceding claim, further comprising using, by the anti-malware component, a moniker that specifies a session identifier, ID, of the user session to request the pointer to the COM interface.
  4. 11
    The computer-implemented method of any preceding claim, wherein the COM interface comprises an IUserNotification interface.
  5. 12
    A computing device comprising:a processor (116);an anti-malware component (106) configured to be operated by the processor (116) to: execute in user mode (108) of the computing device;and send a request to a security agent (102) in kernel mode (104) of the computing device requesting the security agent (102) to perform a security action with respect to a malicious file detected by an anti-malware scanner (120) associated with the anti-malware component (106);and the security agent (102) configured to be operated by the processor (116) to: execute in the kernel mode (104) of the computing device;receive the request from the anti-malware component (106);perform the security action in response to receiving the request;obtain a user token (110) associated with a user session (118) in which the malicious file was detected;and provide the user token (110) to the anti-malware component (106), wherein the anti-malware component (106) is further configured to be operated by the processor (116) to cause a notification to be output in context of the user session (118) by employing the user token (110) to request a pointer to a Component Object Model, COM, interface for outputting the notification, and by calling a method of the COM interface with the pointer.