Suspicious File Download From File Sharing Domain Via Curl.EXE
Detects potentially suspicious file download from file sharing domains using curl.exe
Sigma rule (View on GitHub)
1title: Suspicious File Download From File Sharing Domain Via Curl.EXE
2id: 56454143-524f-49fb-b1c6-3fb8b1ad41fb
3status: experimental
4description: Detects potentially suspicious file download from file sharing domains using curl.exe
5references:
6 - https://labs.withsecure.com/publications/fin7-target-veeam-servers
7 - https://github.com/WithSecureLabs/iocs/blob/344203de742bb7e68bd56618f66d34be95a9f9fc/FIN7VEEAM/iocs.csv
8author: Nasreddine Bencherchali (Nextron Systems)
9date: 2023/05/05
10modified: 2024/02/09
11tags:
12 - attack.execution
13logsource:
14 category: process_creation
15 product: windows
16detection:
17 selection_img:
18 - Image|endswith: '\curl.exe'
19 - OriginalFileName: 'curl.exe'
20 selection_websites:
21 CommandLine|contains:
22 - '.githubusercontent.com' # Includes both gists and github repositories / Michael Haag (idea)
23 - 'anonfiles.com'
24 - 'cdn.discordapp.com'
25 - 'cdn.discordapp.com/attachments/'
26 - 'ddns.net'
27 - 'dl.dropboxusercontent.com'
28 - 'ghostbin.co'
29 - 'glitch.me'
30 - 'gofile.io'
31 - 'hastebin.com'
32 - 'mediafire.com'
33 - 'mega.nz'
34 - 'onrender.com'
35 - 'paste.ee'
36 - 'pastebin.com'
37 - 'pastebin.pl'
38 - 'pastetext.net'
39 - 'privatlab.com'
40 - 'privatlab.net'
41 - 'send.exploit.in'
42 - 'sendspace.com'
43 - 'storage.googleapis.com'
44 - 'storjshare.io'
45 - 'supabase.co'
46 - 'temp.sh'
47 - 'transfer.sh'
48 - 'ufile.io'
49 selection_http:
50 CommandLine|contains: 'http'
51 selection_flag:
52 CommandLine|contains:
53 - ' -O' # covers the alias for --remote-name and --output
54 - '--remote-name'
55 - '--output'
56 selection_ext:
57 CommandLine|endswith:
58 - ".ps1"
59 - ".ps1'"
60 - '.ps1"'
61 - ".dat"
62 - ".dat'"
63 - '.dat"'
64 - ".msi"
65 - ".msi'"
66 - '.msi"'
67 - ".bat"
68 - ".bat'"
69 - '.bat"'
70 - ".exe"
71 - ".exe'"
72 - '.exe"'
73 - ".vbs"
74 - ".vbs'"
75 - '.vbs"'
76 - ".vbe"
77 - ".vbe'"
78 - '.vbe"'
79 - ".hta"
80 - ".hta'"
81 - '.hta"'
82 - ".dll"
83 - ".dll'"
84 - '.dll"'
85 - ".psm1"
86 - ".psm1'"
87 - '.psm1"'
88 condition: all of selection_*
89falsepositives:
90 - Unknown
91level: high
References
Related rules
- Equation Editor Network Connection
- Malicious Base64 Encoded PowerShell Keywords in Command Lines
- Network Connection Initiated By Regsvr32.EXE
- Network Connection Initiated Via Notepad.EXE
- Potential Remote PowerShell Session Initiated