Created File Event Monitor (markdown)

Namhyeon Go 2024-09-10 14:20:41 +09:00
parent 3754118f9c
commit 881a201f19

32
File-Event-Monitor.md Normal file

@ -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)