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

Timesketch missing entries if Disabled key is present and the value is a string #3087

Open
puffyCid opened this issue May 7, 2024 · 0 comments
Labels

Comments

@puffyCid
Copy link

puffyCid commented May 7, 2024

Describe the bug
Timesketch does not show all entries when uploading JSONL data if the Disbaled key is present and the value is a string.
When uploading macOS launchdaemon data i noticed that Timesketch wont display entries if the Disabled key is present and the value is a string.

To Reproduce
Steps to reproduce the behavior:
Attempt to upload the follow examples:

{"datetime":"1601-01-01T00:00:00.000Z","timestamp_desc":"N/A","message":"/System/Library/LaunchDaemons/com.apple.containermanagerd.system.plist","data_type":"macos:plist:launchd:entry","artifact":"Launchd","ProcessType":"Adaptive","Disabled":"eyIjVGhlbiI6dHJ1ZSwiI0lmRmVhdHVyZUZsYWdEaXNhYmxlZCI6ImNvbnRhaW5lcm1hbmFnZXJkL3VzZXJfc3lzdGVtX3NwbGl0In0=","MachServices":"eyJjb20uYXBwbGUuY29udGFpbmVybWFuYWdlcmQiOnRydWUsImNvbS5hcHBsZS5jb250YWluZXJtYW5hZ2VyZC5zeXN0ZW0iOnRydWV9","EnableTransactions":true,"ProgramArguments":["/usr/libexec/containermanagerd_system","--runmode=privileged","--user-container-mode=current","--bundle-container-mode=global","--bundle-container-owner=_appinstalld","--system-container-mode=none"],"EnablePressuredExit":true,"Label":"com.apple.containermanagerd.system"}
{"datetime":"1601-01-01T00:00:00.000Z","timestamp_desc":"N/A","message":"/System/Library/LaunchDaemons/com.apple.containermanagerd.plist","data_type":"macos:plist:launchd:entry","artifact":"Launchd","ProcessType":"Adaptive","Disabled":"eyIjVGhlbiI6dHJ1ZSwiI0lmRmVhdHVyZUZsYWdFbmFibGVkIjoiY29udGFpbmVybWFuYWdlcmQvdXNlcl9zeXN0ZW1fc3BsaXQifQ==","MachServices":"eyJjb20uYXBwbGUuY29udGFpbmVybWFuYWdlcmQiOnRydWV9","EnableTransactions":true,"ProgramArguments":["/usr/libexec/containermanagerd","--runmode=privileged","--user-container-mode=current","--bundle-container-mode=global","--bundle-container-owner=_appinstalld","--system-container-mode=none"],"EnablePressuredExit":true,"Label":"com.apple.containermanagerd"}

No entries will show up in Timesketch.
If you remove or rename the Disabled key, the entries will show up. If u change the value to true/false the data will show up

Expected behavior
Show the entries regardless of Disabled key value or show a warning when uploading?

Desktop (please complete the following information):

  • Version 20240328

Additional context
I tried to search previous issues and the website to see if this is expected behavior or identified before. But could not find anything

Let me know if additional info is required or if the JSONL format is incorrect. Thanks!

@puffyCid puffyCid added the Bug label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant