Protected Event Logging or Unprotect-CmsMessage supported by SO? #13924
Replies: 4 comments 2 replies
-
Security Onion cannot decrypt eventlogs in this way. From a technical perspective, how would you expect it to work? |
Beta Was this translation helpful? Give feedback.
-
Install powershell core 6.0 or later on SO Path to an exported certificate file (.cer) with private key For each matching log could run this script I do not have SO up and running to test but this should work by definetly not optimal
Additional info: https://www.sans.org/blog/powershell-protect-cmsmessage-example-code/ |
Beta Was this translation helpful? Give feedback.
-
Risk is attacker could read logs and get access to potential command line credentials if host gets compromised. Just dont want unencrypted command line logs laying on the box that an attacker cound potentially access and find additional credentials to use for lateral movement Could the Agent execute this on each end point and when it detects it and protected event logging is enabled before shipping the log to SO |
Beta Was this translation helpful? Give feedback.
-
Thinking this through this should not be decrypted on the end point if the goal is to ensure that a compromise doesnt reveal the contents of these logs. Perhaps the agent could add something to the log before it ships it telling SO to process it when it arrives and decrypt it? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is Protected Event Logging or Unprotect-CmsMessage supported by SO?
These features in windows can encrypt the win events and want to ensure SO will support it so and decrypt them.
If not is there any plan or timeline to implement?
Beta Was this translation helpful? Give feedback.
All reactions