Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
category: webserver
detection:
selection:
cs-method: 'POST'
cs-uri-query|contains|all:
- '/login/index.php'
- 'login='
cs-uri-query|contains:
# TOD: Include other commonly used reverse shells. Examples: https://www.revshells.com/
- 'login=$('
# Common keywords related to python reverse shells
- 'base64'
- 'subprocess'
- 'socket'
- '${IFS}' # Usage of the input field separator to avoid writing spaces
# B64 Encoded "python" with different offsets
- 'cHl0aG9u'
- 'B5dGhvb'
- 'weXRob2'
condition: selection
falsepositives:
- Web vulnerability scanners