Skip to content
WETNav
SysmonSystem ChangeIn-depth analysis

Event ID 7: Image Loaded

Sysmon Event 7 logs DLL (Dynamic Link Library) loading into processes, capturing which DLLs are loaded, their file paths, and cryptographic hashes. This event is critical for detecting DLL injection, DLL side-loading, and reflective DLL injection used by attackers and malware.

Channel
Microsoft-Windows-Sysmon/Operational
Logged by default
No
Written on
Any host
Volume
Very high
Provider
Microsoft-Windows-Sysmon
Needs a SACL
No

To have this event

  • Sysmon installed, with a configuration that includes this event type.
  • Commonly disabled or heavily filtered in public baseline configurations; check yours.

Key fields

Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.

UtcTimeUTC timestamp of image load
ProcessGuidProcess GUID that loaded the image
ProcessIdProcess ID
ImageProcess executable path
ImageLoadedFull path to the loaded DLL/module
FileVersionFile version of the loaded image
DescriptionDescription from image metadata
ProductProduct name
CompanyCompany name
OriginalFileNameOriginal filename (detects renamed DLLs)
HashesFile hashes of the loaded image
SignedWhether the image is digitally signed
SignatureSigner name
SignatureStatusSignature validation status
Have one of these events? Paste it into the decoder

In an investigation

Sysmon Event 7 provides visibility into Dynamic Link Library loading, tracking when executable code in the form of DLLs is loaded into running processes. This event captures the process loading the DLL, the full path and filename of the loaded DLL, cryptographic hashes, digital signature information, and the image base address in memory. DLL loading is a fundamental Windows mechanism that threat actors frequently exploit through techniques like DLL injection (forcing malicious DLLs into legitimate processes), DLL side-loading (placing malicious DLLs alongside legitimate applications), DLL hijacking (exploiting DLL search order), and reflective DLL injection (loading DLLs directly from memory without touching disk). Security analysts use Event 7 to detect these sophisticated evasion techniques by monitoring for unsigned or invalidly signed DLLs, DLLs loading from suspicious paths like Temp directories or user profiles, unusual DLLs loading into system processes, and DLLs with known malicious hashes. The event enables detection of fileless malware that loads malicious code directly into memory, advanced persistent threats using custom DLLs for espionage, and commodity malware using process injection to hide from security tools. Because Event 7 can generate substantial log volume in active environments, security teams often configure Sysmon to exclude common legitimate DLLs while focusing on suspicious loading patterns. The event is particularly valuable when investigating memory-based attacks where traditional file-based detection fails, as it provides evidence of malicious code execution even when no malicious files exist on disk.

What it can reveal

  • Unsigned DLLs or those with invalid signatures loading into system processes indicate injection attacks
  • DLLs loading from unusual paths like AppData, Temp, or user Downloads folders suggest malware
  • Reflective loading patterns where DLL paths don't match file system locations reveal memory-resident threats
  • Cobalt Strike and other frameworks have distinctive DLL signatures and hash values observable in Event 7
  • DLLs with randomized or obfuscated names loading into browsers or Office apps often indicate exploitation

How to detect with it

Configure Sysmon Event 7 filtering to exclude known-good Microsoft-signed DLLs while capturing potentially malicious loading activity. This reduces log volume while maintaining security visibility. Alert on unsigned DLLs loading into sensitive processes like lsass.exe, browsers, or Office applications. Monitor for DLLs loading from suspicious directories particularly Temp, AppData, public folders, and network shares. Create hash-based detection for known malicious DLLs and regularly update with threat intelligence. Track DLLs with suspicious naming patterns including random alphanumeric strings or names mimicking legitimate system DLLs. Correlate Event 7 with process creation (Event 1) to understand the execution chain that led to suspicious DLL loading. Implement behavioral analysis to identify processes that suddenly load unusual numbers or types of DLLs compared to baseline behavior. Comprehensive Sysmon configuration examples and filtering best practices will be provided in future documentation.

Attack patterns

  • Cobalt Strike beacon DLLs have specific export characteristics and hash ranges visible in Sysmon Event 7 during post-exploitation
  • Emotet malware uses DLL injection extensively, visible through Event 7 capturing unsigned DLLs loading into legitimate Windows processes
  • APT groups employ custom espionage DLLs that side-load alongside legitimate applications, detectable through anomalous DLL loading patterns

Compared withEvent 7 should be carefully filtered to avoid overwhelming log volume. Focus on unsigned DLLs, unusual load paths, and suspicious processes. Combine with Event 8 (CreateRemoteThread) for complete injection detection.

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'Microsoft-Windows-Sysmon/Operational' -FilterXPath "*[System[(EventID=7)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Common questions

What does Windows event ID 7 mean?
Sysmon Event 7 logs DLL (Dynamic Link Library) loading into processes, capturing which DLLs are loaded, their file paths, and cryptographic hashes. This event is critical for detecting DLL injection, DLL side-loading, and reflective DLL injection used by attackers and malware.
Is event 7 logged by default?
No. It must be enabled before it is recorded.
Where is event 7 recorded?
In the Microsoft-Windows-Sysmon/Operational channel on the any host.

Sysmon Event 7 logs DLL (Dynamic Link Library) loading into processes, capturing which DLLs are loaded, their file paths, and cryptographic hashes. This event is critical for detecting DLL injection, DLL side-loading, and reflective DLL injection used by attackers and malware.