5058(S, F) Key file operation. - Windows 10 (2024)

  • Article

5058(S, F) Key file operation. - Windows 10 (1)

Subcategory:Audit Other System Events

Event Description:

This event generates when an operation (read, write, delete, and so on) was performed on a file that contains a KSP key by using a Key Storage Provider (KSP). This event generates only if one of the following KSPs was used:

  • Microsoft Software Key Storage Provider

  • Microsoft Smart Card Key Storage Provider

You can see these events, for example, during certificate renewal or export operations using KSP.

NoteFor recommendations, see Security Monitoring Recommendations for this event.


Event XML:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">- <System> <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" /> <EventID>5058</EventID> <Version>0</Version> <Level>0</Level> <Task>12292</Task> <Opcode>0</Opcode> <Keywords>0x8020000000000000</Keywords> <TimeCreated SystemTime="2015-10-14T19:32:07.888796600Z" /> <EventRecordID>1048275</EventRecordID> <Correlation /> <Execution ProcessID="520" ThreadID="2312" /> <Channel>Security</Channel> <Computer>DC01.contoso.local</Computer> <Security /> </System>- <EventData> <Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data> <Data Name="SubjectUserName">dadmin</Data> <Data Name="SubjectDomainName">CONTOSO</Data> <Data Name="SubjectLogonId">0x38e2d</Data> <Data Name="ProviderName">Microsoft Software Key Storage Provider</Data> <Data Name="AlgorithmName">ECDH\_P521</Data> <Data Name="KeyName">le-SuperAdmin-5e350d8e-ae46-458c-bac0-d8f3279c944e</Data> <Data Name="KeyType">%%2500</Data> <Data Name="KeyFilePath">C:\\Users\\dadmin\\AppData\\Roaming\\Microsoft\\Crypto\\Keys\\c0a496c6786f0d25e8624fee96e4e580\_7a1bf91d-ebdd-449c-825d-c97f2f47cd01</Data> <Data Name="Operation">%%2459</Data> <Data Name="ReturnCode">0x0</Data> </EventData> </Event>

Required Server Roles: None.

Minimum OS Version: Windows Server 2008, Windows Vista.

Event Versions: 0.

Field Descriptions:

Subject:

  • Security ID [Type = SID]: SID of account that requested key file operation. Event Viewer automatically tries to resolve SIDs and show the account name. If the SID can't be resolved, you'll see the source data in the event.

NoteA security identifier (SID) is a unique value of variable length used to identify a trustee (security principal). Each account has a unique SID that is issued by an authority, such as an Active Directory domain controller, and stored in a security database. Each time a user logs on, the system retrieves the SID for that user from the database and places it in the access token for that user. The system uses the SID in the access token to identify the user in all subsequent interactions with Windows security. When a SID has been used as the unique identifier for a user or group, it cannot ever be used again to identify another user or group. For more information about SIDs, see Security identifiers.

  • Account Name [Type = UnicodeString]: the name of the account that requested key file operation.

  • Account Domain [Type = UnicodeString]: subject’s domain or computer name. Formats vary, and include the following ones:

    • Domain NETBIOS name example: CONTOSO

    • Lowercase full domain name: contoso.local

    • Uppercase full domain name: CONTOSO.LOCAL

    • For some well-known security principals, such as LOCAL SERVICE or ANONYMOUS LOGON, the value of this field is “NT AUTHORITY”.

    • For local user accounts, this field will contain the name of the computer or device that this account belongs to, for example: “Win81”.

  • Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account was successfully logged on.”

Cryptographic Parameters:

  • Provider Name [Type = UnicodeString]: the name of KSP through which the operation was performed. Can have one of the following values:

    • Microsoft Software Key Storage Provider

    • Microsoft Smart Card Key Storage Provider

  • Algorithm Name [Type = UnicodeString]: the name of cryptographic algorithm through which the key was used or accessed. For “Read persisted key from file” operation, this algorithm has “UNKNOWN” value. Can also have one of the following values:

    • RSA – algorithm created by Ron Rivest, Adi Shamir, and Leonard Adleman.

    • DSA – Digital Signature Algorithm.

    • DH – Diffie-Hellman.

    • ECDH_P521 – Elliptic Curve Diffie-Hellman algorithm with 512-bit key length.

    • ECDH_P384 – Elliptic Curve Diffie-Hellman algorithm with 384-bit key length.

    • ECDH_P256 – Elliptic Curve Diffie-Hellman algorithm with 256-bit key length.

    • ECDSA_P256 – Elliptic Curve Digital Signature Algorithm with 256-bit key length.

    • ECDSA_P384 – Elliptic Curve Digital Signature Algorithm with 384-bit key length.

    • ECDSA_P521 – Elliptic Curve Digital Signature Algorithm with 521-bit key length.

  • Key Name [Type = UnicodeString]: the name of the key (key container) with which operation was performed. For example, to get the list of Key Names for certificates for logged in user you can use “certutil -store -user my” command and check Key Container parameter in the output. Here's an output example:

5058(S, F) Key file operation. - Windows 10 (2)

  • Key Type [Type = UnicodeString]: can have one of the following values:

    • “User key.” – user’s cryptographic key.

    • “Machine key.” – machine’s cryptographic key.

Key File Operation Information:

  • File Path [Type = UnicodeString]: full path and filename of the key file on which the operation was performed.

  • Operation [Type = UnicodeString]: performed operation. Examples:

    • Write persisted key to file.

    • Read persisted key from file.

    • Delete key file.

  • Return Code [Type = HexInt32]: has “0x0” value for Success events. For failure events, provides a hexadecimal error code number.

Security Monitoring Recommendations

For 5058(S, F): Key file operation.

  • Typically this event is required for detailed monitoring of KSP-related actions with cryptographic keys. If you need to monitor actions related to specific cryptographic keys (“Key Name”) or a specific “Operation”, such as “Delete key file”, create monitoring rules and use this event as an information source.

ImportantFor this event, also see Appendix A: Security monitoring recommendations for many audit events.

5058(S, F) Key file operation. - Windows 10 (2024)
Top Articles
Gameplay Clarkston
Regal Cinemas Gastonia Showtimes
Drury Inn & Suites Bowling Green
Mchoul Funeral Home Of Fishkill Inc. Services
No Hard Feelings Showtimes Near Metropolitan Fiesta 5 Theatre
Pixel Speedrun Unblocked 76
Team 1 Elite Club Invite
Missing 2023 Showtimes Near Cinemark West Springfield 15 And Xd
25X11X10 Atv Tires Tractor Supply
Mr Tire Prince Frederick Md 20678
Kobold Beast Tribe Guide and Rewards
Brgeneral Patient Portal
Steamy Afternoon With Handsome Fernando
Sports Clips Plant City
سریال رویای شیرین جوانی قسمت 338
My.tcctrack
Cashtapp Atm Near Me
Committees Of Correspondence | Encyclopedia.com
Www Craigslist Milwaukee Wi
SF bay area cars & trucks "chevrolet 50" - craigslist
Used Safari Condo Alto R1723 For Sale
Doki The Banker
THE FINALS Best Settings and Options Guide
Filthy Rich Boys (Rich Boys Of Burberry Prep #1) - C.M. Stunich [PDF] | Online Book Share
What Are The Symptoms Of A Bad Solenoid Pack E4od?
Happy Homebodies Breakup
Low Tide In Twilight Ch 52
Prep Spotlight Tv Mn
8002905511
Cosas Aesthetic Para Decorar Tu Cuarto Para Imprimir
Penn State Service Management
Ts Modesto
Japanese Emoticons Stars
Jail Roster Independence Ks
Craftsman Yt3000 Oil Capacity
Obsidian Guard's Skullsplitter
Duke Energy Anderson Operations Center
Home Auctions - Real Estate Auctions
Wasmo Link Telegram
What Happened To Father Anthony Mary Ewtn
Msnl Seeds
15 Best Things to Do in Roseville (CA) - The Crazy Tourist
Linda Sublette Actress
Registrar Lls
Hkx File Compatibility Check Skyrim/Sse
LumiSpa iO Activating Cleanser kaufen | 19% Rabatt | NuSkin
Valls family wants to build a hotel near Versailles Restaurant
Uc Davis Tech Management Minor
DL381 Delta Air Lines Estado de vuelo Hoy y Historial 2024 | Trip.com
Rocket League Tracker: A useful tool for every player
Wieting Funeral Home '' Obituaries
Olay Holiday Gift Rebate.com
Latest Posts
Article information

Author: Mrs. Angelic Larkin

Last Updated:

Views: 6236

Rating: 4.7 / 5 (47 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Mrs. Angelic Larkin

Birthday: 1992-06-28

Address: Apt. 413 8275 Mueller Overpass, South Magnolia, IA 99527-6023

Phone: +6824704719725

Job: District Real-Estate Facilitator

Hobby: Letterboxing, Vacation, Poi, Homebrewing, Mountain biking, Slacklining, Cabaret

Introduction: My name is Mrs. Angelic Larkin, I am a cute, charming, funny, determined, inexpensive, joyous, cheerful person who loves writing and wants to share my knowledge and understanding with you.