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

linux_auditd_detection #3089

Merged
merged 55 commits into from
Sep 4, 2024
Merged

linux_auditd_detection #3089

merged 55 commits into from
Sep 4, 2024

Conversation

tccontre
Copy link
Contributor

@tccontre tccontre commented Aug 9, 2024

Details

What does this PR have in it? Screenshots are worth 1000 words 😄

  • linux_auditd_add_user_account.yml
  • linux_auditd_at_application_execution.yml
  • linux_auditd_change_file_owner_to_root.yml
  • linux_auditd_clipboard_data_copy.yml
  • linux_auditd_data_destruction_command.yml
  • linux_auditd_dd_file_overwrite.yml
  • linux_auditd_doas_conf_file_creation.yml
  • linux_auditd_doas_tool_execution.yml
  • linux_auditd_service_restarted.yml
  • linux_auditd_stop_services.yml
  • linux_auditd_edit_cron_table_parameter.yml
  • linux_auditd_possible_append_cronjob_entry_on_existing_cronjob_file.yml
  • linux_auditd_sudo_or_su_execution.yml
  • linux_auditd_hardware_addition_swapoff.yml
  • linux_auditd_insert_kernel_module_using_insmod_utility.yml
  • linux_auditd_install_kernel_module_using_modprobe_utility.yml
  • linux_auditd_kernel_module_enumeration.yml
  • linux_auditd_nopasswd_entry_in_sudoers_file.yml
  • linux_auditd_setuid_using_chmod_utility.yml
  • linux_auditd_shred_overwrite_command.yml
  • linux_auditd_possible_access_or_modification_of_sshd_config_file.yml
  • linux_auditd_possible_access_to_credential_files.yml
  • linux_auditd_possible_access_to_sudoers_file.yml
  • linux_auditd_preload_hijack_library_calls.yml
  • linux_auditd_setuid_using_setcap_utility.yml
  • linux_auditd_add_user_account_type.yml
  • linux_auditd_auditd_service_stop.yml
  • linux_auditd_service_started.yml
  • linux_auditd_sysmon_service_stop.yml
  • linux_auditd_whoami_user_discovery.yml
  • linux_auditd_data_transfer_size_limits_via_split.yml
  • linux_auditd_data_transfer_size_limits_via_split_syscall.yml
  • linux_auditd_kernel_module_using_rmmod_utility.yml
  • linux_auditd_osquery_service_stop.yml
  • linux_auditd_preload_hijack_via_preload_file.yml
  • linux_auditd_file_and_directory_discovery.yml
  • linux_auditd_file_permission_modification_via_chmod.yml
  • linux_auditd_file_permissions_modification_via_chattr.yml
  • linux_auditd_unix_shell_configuration_modification.yml
  • linux_auditd_unload_module_via_modprobe.yml
  • linux_auditd_base64_decode_files.yml
  • linux_auditd_database_file_and_directory_discovery.yml
  • linux_auditd_disable_or_modify_system_firewall.yml
  • linux_auditd_find_credentials_from_password_managers.yml
  • linux_auditd_find_credentials_from_password_stores.yml
  • linux_auditd_find_private_keys.yml
  • linux_auditd_find_ssh_private_keys.yml
  • linux_auditd_hidden_files_and_directories_creation.yml
  • linux_auditd_system_network_configuration_discovery.yml
  • linux_auditd_virtual_disk_file_and_directory_discovery.yml

MACRO

  • linux_auditd.yml
  • linux_auditd_normalized_execve_process.yml
  • inux_auditd_normalized_proctitle_process.yml

story

  • stories/compromised_linux_host.yml

Checklist

  • Validate name matches <platform>_<mitre att&ck technique>_<short description> nomenclature
  • CI/CD jobs passed ✔️
  • Validated SPL logic.
  • Validated tags, description, and how to implement.
  • Verified references match analytic.
  • Confirm updates to lookups are handled properly.

Notes For Submitters and Reviewers

  • If you're submitting a PR from a fork, ensuring the box to allow updates from maintainers is checked will help speed up the process of getting it merged.
  • Checking the output of the build CI job when it fails will likely show an error about what is failing. You may have a very descriptive error of the specific field(s) in the specific file(s) that is causing an issue. In some cases, its also possible there is an issue with the YAML. Many of these can be caught with the pre-commit hooks if you set them up. These errors will be less descriptive as to what exactly is wrong, but will give you a column and row position in a specific file where the YAML processing breaks. If you're having trouble with this, feel free to add a comment to your PR tagging one of the maintainers and we'll be happy to help troubleshoot it.
  • Updates to existing lookup files can be tricky, because of how Splunk handles application updates and the differences between existing lookup files being updated vs new lookups. You can read more here but the short version is that any changes to lookup files need to bump the datestamp in the lookup CSV filename, and the reference to it in the YAML needs to be updated.

@tccontre tccontre added the WIP DO NOT MERGE Work in Progress label Aug 9, 2024
@tccontre tccontre self-assigned this Aug 9, 2024
@tccontre tccontre removed the WIP DO NOT MERGE Work in Progress label Aug 26, 2024
@patel-bhavin
Copy link
Contributor

patel-bhavin commented Sep 4, 2024

@tccontre :awesome work mate! made some updates in here and we are good to go!

@patel-bhavin patel-bhavin merged commit 4bc3d0f into develop Sep 4, 2024
6 checks passed
@patel-bhavin patel-bhavin deleted the linux_auditd_detection branch September 4, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants