Detection rules › Sigma

HackTool - Empire UserAgent URI Combo

Status
test
Severity
high
Log source
category proxy
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects user agent and URI paths used by empire agents

Known false positives

  • Valid requests with this exact user agent to server scripts of the defined names

MITRE ATT&CK coverage

Rule body

title: HackTool - Empire UserAgent URI Combo
id: b923f7d6-ac89-4a50-a71a-89fb846b4aa8
status: test
description: Detects user agent and URI paths used by empire agents
references:
    - https://github.com/BC-SECURITY/Empire
author: Florian Roth (Nextron Systems)
date: 2020-07-13
modified: 2024-02-26
tags:
    - attack.command-and-control
    - attack.t1071.001
logsource:
    category: proxy
detection:
    selection:
        c-useragent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko'
        cs-uri:
            - '/admin/get.php'
            - '/news.php'
            - '/login/process.php'
        cs-method: 'POST'
    condition: selection
falsepositives:
    - Valid requests with this exact user agent to server scripts of the defined names
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    c-useragent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko'
    cs-uri:
        - '/admin/get.php'
        - '/news.php'
        - '/login/process.php'
    cs-method: 'POST'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
c-useragenteq
  • Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
field:"c-useragent" kind:eq value:"Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"
cs-methodeq
  • POST
field:"cs-method" kind:eq value:"POST"
cs-urieq
  • /admin/get.php
  • /login/process.php
  • /news.php
field:"cs-uri" kind:eq