Elastic Defend high stable eql

Potential Module Stomping with Network Activity

Identifies modification to the WinInet registry key by a process where the creating thread's stack contains frames pointing to an unusual module.

View Source

Detection Logic

registry where event.action == "modification" and process.executable != null and registry.value == "CachePrefix" and
 registry.path : "HKEY_USERS\\*\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\*" and
 /* unusual stacks start module */
 process.thread.Ext.call_stack_summary regex """ntdll.dll\
| kernelbase.dll\
| wininet.dll\
| ntdll.dll\
| kernelbase.dll\
| wininet.dll\
| [a-z0-9\_\.\-]+\.dll""" and
 _arraysearch(process.thread.Ext.call_stack, $entry, ($entry.callsite_trailing_bytes : "?*" or $entry.protection == "RWX")) and
 not _arraysearch(process.thread.Ext.call_stack, $entry, $entry.symbol_info like "?:\\Program Files (x86)\\Steam\\steamapps\\common\\*") and
 not (process.executable == "C:\\Program Files\\KeyShot Studio\\bin\\keyshot.exe" and process.code_signature.subject_name == "KeyShot Inc." and process.code_signature.trusted == true)

Field Validations

Loading…

Comments (0)

Loading comments...