Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output to Syslog/Gelf #1

Closed
ion-storm opened this issue Mar 21, 2019 · 2 comments
Closed

Output to Syslog/Gelf #1

ion-storm opened this issue Mar 21, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@ion-storm
Copy link

Very nice tool, already using a built version of this. I would love to see an additional output for Syslog/Gelf output for SIEM's like Graylog or other logging platforms.

@FuzzySecurity FuzzySecurity self-assigned this Mar 25, 2019
@FuzzySecurity FuzzySecurity added the enhancement New feature or request label Mar 25, 2019
@FuzzySecurity
Copy link
Contributor

Hey @ion-storm

This issue is resolved now in v0.5. I have added the Windows event log as a supported output format for SilkETW. If "-ot" is set to "eventlog" then all trace events will be written to "Applications and Services Logs\SilkETW-Log". With these changes you should be able to pull in the logs using Winlogbeat.

There are some minor things to take note of. The log has four event id types and associated JSON data:

(1) Event ID = 0 -> Collector start

{
  "Collector": "Start",
  "Data": {
    "Type": "User",
    "Provider": "Microsoft-Windows-DotNETRuntime",
    "Keywords": "0x2038",
    "FilterOption": "None",
    "FilterValue": "",
    "YaraPath": "",
    "YaraOption": "None"
  }
}

(1) Event ID = 1 -> Collector terminated by user

{
  "Collector": "Stop",
  "Error": false
}

(1) Event ID = 2 -> Collector terminated by error

{
  "Collector": "Stop",
  "Error": true,
  "ErrorCode": 3
}

(1) Event ID = 3 -> Event recorded
This is just the raw JSON for the event that was recorded by the collector.

Please note that SilkETW is primarily a research tool in it's current state, I think what you really want is SilkService to deploy a headless ETW collector using a config file. This is in the works but not yet ready!

@ion-storm
Copy link
Author

@FuzzySecurity let me know about silkservice, anxious to try it, if it's unreleased I can keep it private ;). I need more visibility asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants