Query: write Sigma for Detects process access requests from hacktool processes based on their default image name
Matching passage: Sigma rule: Detects process access requests from hacktool processes based on their default image name. Logsource: windows / process_access. Rule: title: HackTool - Generic Process Access id: d0d2f720-d14f-448d-8242-51ff396a334e status: test description: Detects process access requests from hacktool processes based on their default image name references: - https://jsecurity101.medium.com/bypassing-access-mask-auditing-strategies-480fb641c158 - https://www.splunk.com/en_us/blog/security/you-bet-your-lsass-hunting-lsass-access.html author: Nasreddine Bencherchali (Nextron Systems), Swachchhanda Shrawan Poudel date: 2023-11-27 tags: - attack.credential-access - attack.t1003.001 - attack.s0002 logsource: category: process_access product: windows detection: selection: - SourceImage|endswith: - \Akagi.exe - \Akagi64.exe - \atexec_windows.exe - \Certify.exe - \Certipy.exe - \CoercedPotato.exe - \crackmapexec.exe - \CreateMiniDump.exe - \dcomexec_windows.exe - \dpapi_windows.exe - \findDelegation_windows.exe - \GetADUsers_windows.exe - \GetNPUsers_windows.exe - \getPac_windows.exe - \getST_windows.exe - \getTGT_windows.exe - \GetUserSPNs_windows.exe - \gmer.exe - \hashcat.exe - \htran.exe - \ifmap_windows.exe - \impersonate.exe - \Inveigh.exe - \LocalPotato.exe - \mimikatz_windows.exe - \mimikatz.exe - \netview_windows.exe - \nmapAnswerMachine_windows.exe - \opdump_windows.exe - \PasswordDump.exe - \Potato.exe - \PowerTool.exe - \PowerTool64.exe - \psexec_windows.exe - \PurpleSharp.exe - \pypykatz.exe - \QuarksPwDump.exe - \rdp_check_windows.exe - \Rubeus.exe - \SafetyKatz.exe - \sambaPipe_windows.exe - \SelectMyParent.exe - \SharpChisel.exe - \SharPersist.exe - \SharpEvtMute.exe - \SharpImpersonation.exe - \SharpLDAPmonitor.exe - \SharpLdapWhoami.exe - \SharpUp.exe - \SharpView.exe - \smbclient_windows.exe - \smbserver_windows.exe - \sniff_windows.exe - \sniffer_windows.exe - \split_windows.exe - \SpoolSample.exe - \Stracciatella.exe - \SysmonEOP.exe - \temp\rot.exe - \ticketer_windows.exe - \TruffleSnout.exe - \winPEASany_ofs.exe - \winPEASany.exe - \winPEASx64_ofs.exe - \winPEASx64.exe - \winPEASx86_ofs.exe - \winPEASx86.exe - \xordump.exe - SourceImage|contains: - \goldenPac - \just_dce_ - \karmaSMB - \kintercept - \LocalPotato - \ntlmrelayx - \rpcdump - \samrdump - \secretsdump - \smbexec - \smbrelayx - \wmiexec - \wmipersist - HotPotato - Juicy Potato - JuicyPotato - PetitPotam - RottenPotato condition: selection falsepositives: - Unlikely level: high
Near-miss passage: Sigma rule: Detects suspicious child processes spawned from browsers. This could be a result of a potential web browser exploitation. Logsource: macos / process_creation. Rule: title: Suspicious Browser Child Process - MacOS id: 0250638a-2b28-4541-86fc-ea4c558fa0c6 status: test description: Detects suspicious child processes spawned from browsers. This could be a result of a potential web browser exploitation. references: - https://fr.slideshare.net/codeblue_jp/cb19-recent-apt-attack-on-crypto-exchange-employees-by-heungsoo-kang - https://github.com/elastic/detection-rules/blob/4312d8c9583be524578a14fe6295c3370b9a9307/rules/macos/execution_initial_access_suspicious_browser_childproc.toml author: Sohan G (D4rkCiph3r) date: 2023-04-05 tags: - attack.initial-access - attack.execution - attack.t1189 - attack.t1203 - attack.t1059 logsource: category: process_creation product: macos detection: selection: ParentImage|contains: - com.apple.WebKit.WebContent - firefox - Google Chrome Helper - Google Chrome - Microsoft Edge - Opera - Safari - Tor Browser Image|endswith: - /bash - /curl - /dash - /ksh - /osascript - /perl - /php - /pwsh - /python - /sh - /tcsh - /wget - /zsh filter_main_generic: CommandLine|contains: --defaults-torrc filter_main_ms_autoupdate: CommandLine|contains: /Library/Application Support/Microsoft/MAU*/Microsoft AutoUpdate.app/Contents/MacOS/msupdate filter_main_chrome: ParentImage|contains: - Google Chrome Helper - Google Chrome CommandLine|contains: - /Volumes/Google Chrome/Google Chrome.app/Contents/Frameworks/*/Resources/install.sh - /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/*/Resources/keystone_promote_preflight.sh - /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/*/Resources/keystone_promote_postflight.sh filter_main_ms_edge: ParentImage|contains: Microsoft Edge CommandLine|contains: - IOPlatformExpertDevice - hw.model filter_main_chromerecovery: ParentImage|contains: - Google Chrome Helper - Google Chrome CommandLine|contains|all: - /Users/ - /Library/Application Support/Google/Chrome/recovery/ - /ChromeRecovery filter_optional_null: CommandLine: null filter_optional_empty: CommandLine: '' condition: selection and not 1 of filter_main_* and not 1 of filter_optional_* falsepositives: - Legitimate browser install, update and recovery scripts level: medium