Command-line HTTP client querying a collaboration platform API
AN1161 describes curl, wget or a scripted client scraping documentation systems and internal REST APIs, and the only part of that a single process-creation event can carry is the tool plus the endpoint it was pointed at, so this rule ANDs those two fields: a retrieval binary whose command line names a wiki, ticketing, document-library or WebDAV API path. MITRE's CommandRegex knob is the intended home for those patterns; the list here is the author's, drawn from the published Confluence, Jira, SharePoint, GitLab, MediaWiki and Nextcloud endpoint shapes, and a site whose repository sits on another product must extend it or the rule is silent. Two things the analytic asks for are outside Sigma: the burst — AccessVolumeThreshold and TimeWindow are counts over an interval and there is no aggregation here, so one hit is one request and not evidence of bulk collection — and interpreted scrapers, because a Python or Ruby client execs the interpreter and the repository URL usually sits inside the script rather than on the command line. Access through a browser or a native desktop client produces no process event at all and is invisible to this rule. On auditd this needs an execve rule loaded (for example `-a always,exit -F arch=b64 -S execve`); without one the feed is empty and an empty result means blind, not quiet. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0413, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full descriptionShow less
The detection
The 4 SIEM queries below are previews produced by Siemphony’s own translator, not pySigma, and none has been executed against a real backend — review before you deploy.
detection.yml
Sentinel · KQL
Run this as a search.
DeviceProcessEvents| where ((FolderPath endswith "/curl" or FolderPath endswith "/wget") and (ProcessCommandLine contains "/rest/api/content" or ProcessCommandLine contains "/rest/api/space" or ProcessCommandLine contains "/wiki/rest/api/" or ProcessCommandLine contains "/rest/api/2/" or ProcessCommandLine contains "/rest/api/3/" or ProcessCommandLine contains "/_api/web/lists" or ProcessCommandLine contains "/_api/web/getfolderbyserverrelativeurl" or ProcessCommandLine contains "/_vti_bin/" or ProcessCommandLine contains "/api/v4/projects" or ProcessCommandLine contains "/api/v3/repos" or ProcessCommandLine contains "/w/api.php" or ProcessCommandLine contains "/remote.php/dav/files/"))
Splunk · SPL
Run this as a search.
index=* ((Image="*/curl" OR Image="*/wget") AND (CommandLine="*/rest/api/content*" OR CommandLine="*/rest/api/space*" OR CommandLine="*/wiki/rest/api/*" OR CommandLine="*/rest/api/2/*" OR CommandLine="*/rest/api/3/*" OR CommandLine="*/_api/web/lists*" OR CommandLine="*/_api/web/getfolderbyserverrelativeurl*" OR CommandLine="*/_vti_bin/*" OR CommandLine="*/api/v4/projects*" OR CommandLine="*/api/v3/repos*" OR CommandLine="*/w/api.php*" OR CommandLine="*/remote.php/dav/files/*"))Elastic · ES|QL
Run this as a search.
FROM logs-*| WHERE ((TO_LOWER(process.executable) LIKE "*/curl" OR TO_LOWER(process.executable) LIKE "*/wget") AND (TO_LOWER(process.command_line) LIKE "*/rest/api/content*" OR TO_LOWER(process.command_line) LIKE "*/rest/api/space*" OR TO_LOWER(process.command_line) LIKE "*/wiki/rest/api/*" OR TO_LOWER(process.command_line) LIKE "*/rest/api/2/*" OR TO_LOWER(process.command_line) LIKE "*/rest/api/3/*" OR TO_LOWER(process.command_line) LIKE "*/_api/web/lists*" OR TO_LOWER(process.command_line) LIKE "*/_api/web/getfolderbyserverrelativeurl*" OR TO_LOWER(process.command_line) LIKE "*/_vti_bin/*" OR TO_LOWER(process.command_line) LIKE "*/api/v4/projects*" OR TO_LOWER(process.command_line) LIKE "*/api/v3/repos*" OR TO_LOWER(process.command_line) LIKE "*/w/api.php*" OR TO_LOWER(process.command_line) LIKE "*/remote.php/dav/files/*"))
Wazuh · XML rule
Deploy to your manager — this is a rule, not a search.
<group name="sigma,linux,process_creation,"> <!-- Rule ids must be unique on your manager; 100000+ is the user range. --> <rule id="100000" level="5"> <!-- Set <if_sid> to the decoder/base rule for linux so this only evaluates relevant events. --> <field name="Image" type="pcre2">(?i)(/curl$|/wget$)</field> <field name="CommandLine" type="pcre2">(?i)(/rest/api/content|/rest/api/space|/wiki/rest/api/|/rest/api/2/|/rest/api/3/|/_api/web/lists|/_api/web/getfolderbyserverrelativeurl|/_vti_bin/|/api/v4/projects|/api/v3/repos|/w/api\.php|/remote\.php/dav/files/)</field> <description>Command-line HTTP client querying a collaboration platform API</description> <mitre> <id>T1213</id> </mitre> </rule></group>
Verdicts · reactions · comments
Community
Verdicts from engineers who actually deployed it, and the conversation around it.
Nobody has run this in a real environment and said what happened.
Verdicts from engineers who deployed it
0 castNo verdicts reported yet. The first one is worth more than the tenth — say what you ran it against.
Log in to report a verdict.
Log in to join the discussion.
No comments yet. Someone who deploys this will have something to say about it.