Windows API reference

AmsiCloseSession

Closes an AMSI session.

Library
Amsi.dll
Suspicion
low
MITRE ATT&CK
Not mapped

Detection summary

AmsiCloseSession has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Only security products and research tooling should touch these paths.

Open AmsiCloseSession in the interactive atlas