mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-06-18 02:59:04 +00:00
Created File Event Monitor (markdown)
parent
3754118f9c
commit
881a201f19
32
File-Event-Monitor.md
Normal file
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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user