Skip to content

Commit

Permalink
Python DLL sideloading
Browse files Browse the repository at this point in the history
  • Loading branch information
swachchhanda000 authored and Swachchhanda Shrawan Poudel committed Oct 2, 2024
1 parent 1f1f31e commit b282954
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions rules/windows/image_load/image_load_susp_python_dll_load.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
title: Detect Sideloading of Python DLL Files
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:
- 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
author: Swachchhanda Shrawan Poudel
date: 2024-10-02
tags:
- attack.defense_evasion
- attack.t1547.002
logsource:
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_*
falsepositives:
- Legitimate software using Python 3.x DLLs (e.g., Python installations, applications with embedded Python)
level: high

0 comments on commit b282954

Please sign in to comment.