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

auditd_detection_updates #3352

Merged
merged 105 commits into from
Feb 27, 2025
Merged

auditd_detection_updates #3352

merged 105 commits into from
Feb 27, 2025

Conversation

tccontre
Copy link
Contributor

@tccontre tccontre commented Feb 20, 2025

Linux Auditd Data Source

  • linux_auditd_add_user.yml
  • linux_auditd_execve.yml
  • linux_auditd_path.yml
  • linux_auditd_proctitle.yml
  • linux_auditd_service_stop.yml
  • linux_auditd_syscall.yml

macro

  • macros/linux_auditd.yml

Updated and Enhance Detections

  • linux_auditd_add_user_account.yml
  • linux_auditd_add_user_account_type.yml
  • linux_auditd_at_application_execution.yml
  • linux_auditd_auditd_service_stop.yml
  • linux_auditd_base64_decode_files.yml
  • linux_auditd_change_file_owner_to_root.yml
  • linux_auditd_clipboard_data_copy.yml
  • linux_auditd_data_destruction_command.yml
  • linux_auditd_data_transfer_size_limits_via_split.yml
  • linux_auditd_data_transfer_size_limits_via_split_syscall.yml
  • linux_auditd_database_file_and_directory_discovery.yml
  • linux_auditd_disable_or_modify_system_firewall.yml
  • linux_auditd_doas_conf_file_creation.yml
  • linux_auditd_doas_tool_execution.yml
  • linux_auditd_edit_cron_table_parameter.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_kernel_module_using_rmmod_utility.yml
  • linux_auditd_osquery_service_stop.yml
  • linux_auditd_possible_access_or_modification_of_sshd_config_file.yml
  • linux_auditd_possible_access_to_sudoers_file.yml
  • linux_auditd_possible_append_cronjob_entry_on_existing_cronjob_file.yml
  • linux_auditd_preload_hijack_via_preload_file.yml
  • linux_auditd_stop_services.yml
  • linux_auditd_sysmon_service_stop.yml
  • linux_auditd_system_network_configuration_discovery.yml
  • linux_auditd_unix_shell_configuration_modification.yml
  • linux_auditd_whoami_user_discovery.yml
  • linux_auditd_dd_file_overwrite.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_find_credentials_from_password_managers.yml
  • linux_auditd_find_credentials_from_password_stores.yml
  • linux_auditd_find_ssh_private_keys.yml
  • linux_auditd_hardware_addition_swapoff.yml
  • linux_auditd_hidden_files_and_directories_creation.yml
  • linux_auditd_nopasswd_entry_in_sudoers_file.yml
  • linux_auditd_possible_access_to_credential_files.yml
  • linux_auditd_preload_hijack_library_calls.yml
  • linux_auditd_private_keys_and_certificate_enumeration.yml
  • linux_auditd_service_restarted.yml
  • linux_auditd_service_started.yml
  • linux_auditd_setuid_using_chmod_utility.yml
  • linux_auditd_setuid_using_setcap_utility.yml
  • linux_auditd_shred_overwrite_command.yml
  • linux_auditd_sudo_or_su_execution.yml
  • linux_auditd_unload_module_via_modprobe.yml
  • linux_auditd_virtual_disk_file_and_directory_discovery.yml

to fix error due to update of nexus analytic story

    modified:   detections/endpoint/any_powershell_downloadfile.yml
    modified:   detections/endpoint/detect_renamed_psexec.yml
    modified:   detections/endpoint/detect_renamed_winrar.yml
    modified:   detections/endpoint/executables_or_script_creation_in_suspicious_path.yml
    modified:   detections/endpoint/linux_common_process_for_elevation_control.yml
    modified:   detections/endpoint/linux_file_creation_in_init_boot_directory.yml
    modified:   detections/endpoint/linux_iptables_firewall_modification.yml
    modified:   detections/endpoint/linux_nopasswd_entry_in_sudoers_file.yml
    modified:   detections/endpoint/linux_possible_access_to_credential_files.yml
    modified:   detections/endpoint/linux_possible_access_to_sudoers_file.yml
    modified:   detections/endpoint/linux_preload_hijack_library_calls.yml
    modified:   detections/endpoint/linux_sudoers_tmp_file_creation.yml
    modified:   detections/endpoint/malicious_powershell_process___execution_policy_bypass.yml
    modified:   detections/endpoint/non_chrome_process_accessing_chrome_default_dir.yml
    modified:   detections/endpoint/powershell_4104_hunting.yml
    modified:   detections/endpoint/registry_keys_used_for_persistence.yml
    modified:   detections/endpoint/remote_process_instantiation_via_wmi.yml
    modified:   detections/endpoint/scheduled_task_deleted_or_created_via_cmd.yml
    modified:   detections/endpoint/suspicious_regsvr32_register_suspicious_path.yml
    modified:   detections/endpoint/suspicious_scheduled_task_from_public_directory.yml
    modified:   detections/endpoint/windows_access_token_manipulation_sedebugprivilege.yml
    modified:   detections/endpoint/windows_archive_collected_data_via_rar.yml
    modified:   detections/endpoint/windows_credentials_from_password_stores_chrome_localstate_access.yml
    modified:   detections/endpoint/windows_credentials_from_password_stores_chrome_login_data_access.yml
    modified:   detections/endpoint/windows_curl_download_to_suspicious_path.yml
    modified:   detections/endpoint/windows_replication_through_removable_media.yml
    modified:   detections/endpoint/windows_service_created_with_suspicious_service_path.yml
    modified:   detections/endpoint/windows_service_creation_using_registry_entry.yml
    modified:   detections/endpoint/windows_unsigned_dll_side_loading.yml
    modified:   detections/endpoint/windows_unsigned_dll_side_loading_in_same_process_path.yml
    modified:   detections/endpoint/windows_unsigned_ms_dll_side_loading.yml
    modified:   detections/endpoint/winevent_scheduled_task_created_to_spawn_shell.yml
    modified:   detections/endpoint/winevent_scheduled_task_created_within_public_path.yml
    modified:   detections/network/detect_large_outbound_icmp_packets.yml

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

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.

@patel-bhavin
Copy link
Contributor

the updates look great!

@patel-bhavin patel-bhavin requested review from nasbench and removed request for ljstella February 27, 2025 18:09
@patel-bhavin patel-bhavin merged commit 2eb9c03 into develop Feb 27, 2025
4 checks passed
@patel-bhavin patel-bhavin deleted the auditd_detection_updates branch February 27, 2025 18:13
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.

6 participants