diff --git a/File-Event-Monitor.md b/File-Event-Monitor.md new file mode 100644 index 0000000..e4afa30 --- /dev/null +++ b/File-Event-Monitor.md @@ -0,0 +1,32 @@ +## File Event Monitor + +From WelsonJS version 0.2.7.36, complete support for handling system events (mainly events related to file activities) is provided. This is implemented using [Sysinternals Sysmon (microsoft.com)](https://learn.microsoft.com/ko-kr/sysinternals/downloads/sysmon). + +The events that can be handled are as follows: + +* File creation +* Network connection (TCP, UDP) +* Registry changes + +### Implement an event listener + +The methods `onFileCreated`, `onNetworkConnected`, and `onRegistryModified` are available to implement an event listener. You can find examples in `defaultService.js`. + +```js +function onFileCreated(args) { + return "onFileCreated recevied. " + args.join(', '); +} + +function onNetworkConnected(args) { + return "onNetworkConnected recevied. " + args.join(', '); +} + +function onRegistryModified(args) { + return "onRegistryModified recevied. " + args.join(', '); +} +``` + +### For System Administrators or Security Analysts + +#### MITRE ATT&CK (MITRE attack) +