# Unloading Sysmon Driver

## Execution

{% code title="attacker\@victim" %}

```
fltMC.exe unload SysmonDrv
```

{% endcode %}

![](/files/-LMENYs7FgCCrjOy2R6B)

## Observations

Windows event logs suggesting `SysmonDrv` was unloaded successfully:

![](/files/-LMEN_eOBU33IuE-WxMB)

As well as processes requesting special privileges:

![](/files/-LMENcwj6SVLspxcrDiA)

Note how in the last 35 minutes since the driver was unloaded, no further process creation events were recorded, although I spawned new processes during that time:

![](/files/-LMEOphHDD-ddK5t1gx2)

Note how the system thinks that the sysmon is still running, which it is, but not doing anything useful:

![](/files/-LMEPZvScb3EE7uSCyF3)

## References

{% embed url="<https://twitter.com/Moti_B/status/1019307375847723008>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.ired.team/offensive-security/defense-evasion/unloading-sysmon-driver.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
