Skip to content

Commit

Permalink
fixed the linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Swachchhanda Shrawan Poudel authored and Swachchhanda Shrawan Poudel committed Oct 2, 2024
1 parent 92afbdf commit 3431fbb
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions rules/windows/image_load/image_load_susp_python_dll_load.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: Potential Python Dll SideLoading
id: d36f7c12-14a3-4d48-b6b8-774b9c66f44d
status: experimental
description: Detects potential DLL sideloading of Python 3 DLL files (e.g., python311.dll, python310.dll, python39.dll).
references:
references:
- https://www.securonix.com/blog/seolurker-attack-campaign-uses-seo-poisoning-fake-google-ads-to-install-malware/
- https://thedfirreport.com/2024/09/30/nitrogen-campaign-drops-sliver-and-ends-with-blackcat-ransomware/
- https://github.com/wietze/HijackLibs/tree/main/yml/3rd_party/python
Expand All @@ -12,25 +12,25 @@ tags:
- attack.defense_evasion
- attack.t1547.002
logsource:
category: image_load
product: windows
category: image_load
product: windows
detection:
selection:
ImageLoaded|endswith:
- '\python311.dll'
- '\python310.dll'
- '\python39.dll'
filter_image_path:
ImageLoaded|contains:
- 'C:\program files\Python3'
- 'C:\program files (x86)\Python3'
- 'C:\Users\*\AppData\Local\Programs\Python\Python3'
filter_signature_status:
Product: 'Python'
Signed: 'true'
description: 'Python'
Company: 'Python Software Foundation'
condition: selection and not 1 of filter_*
selection:
ImageLoaded|endswith:
- '\python311.dll'
- '\python310.dll'
- '\python39.dll'
filter_image_path:
ImageLoaded|contains:
- 'C:\program files\Python3'
- 'C:\program files (x86)\Python3'
- 'C:\Users\*\AppData\Local\Programs\Python\Python3'
filter_signature_status:
Product: 'Python'
Signed: 'true'
description: 'Python'
Company: 'Python Software Foundation'
condition: selection and not 1 of filter_*
falsepositives:
- Legitimate software using Python 3.x DLLs (e.g., Python installations, applications with embedded Python)
level: high

0 comments on commit 3431fbb

Please sign in to comment.