Detection rules › Sigma

PUA - Fast Reverse Proxy (FRP) Execution

Status
test
Severity
high
Log source
product windows, category process_creation
Author
frack113, Florian Roth
Source
github.com/SigmaHQ/sigma

Detects the use of Fast Reverse Proxy. frp is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the Internet.

MITRE ATT&CK coverage

TacticTechniques
Command & ControlT1090 Proxy

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: PUA - Fast Reverse Proxy (FRP) Execution
id: 32410e29-5f94-4568-b6a3-d91a8adad863
status: test
description: Detects the use of Fast Reverse Proxy. frp is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the Internet.
references:
    - https://asec.ahnlab.com/en/38156/
    - https://github.com/fatedier/frp
author: frack113, Florian Roth
date: 2022-09-02
modified: 2024-11-23
tags:
    - attack.command-and-control
    - attack.t1090
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        Image|endswith:
            - '\frpc.exe'
            - '\frps.exe'
    selection_cli:
        CommandLine|contains: '\frpc.ini'
    selection_hashes:
        # v0.44.0
        Hashes|contains:
            - "MD5=7D9C233B8C9E3F0EA290D2B84593C842"
            - "SHA1=06DDC9280E1F1810677935A2477012960905942F"
            - "SHA256=57B0936B8D336D8E981C169466A15A5FD21A7D5A2C7DAF62D5E142EE860E387C"
    condition: 1 of selection_*
falsepositives:
    - Legitimate use
level: high

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_img

selection_img:
    Image|endswith:
        - '\frpc.exe'
        - '\frps.exe'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains: '\frpc.ini'

Stage 3: selection_hashes

selection_hashes:
    Hashes|contains:
        - "MD5=7D9C233B8C9E3F0EA290D2B84593C842"
        - "SHA1=06DDC9280E1F1810677935A2477012960905942F"
        - "SHA256=57B0936B8D336D8E981C169466A15A5FD21A7D5A2C7DAF62D5E142EE860E387C"

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • \frpc.ini
Hashesmatch
  • MD5=7D9C233B8C9E3F0EA290D2B84593C842
  • SHA1=06DDC9280E1F1810677935A2477012960905942F
  • SHA256=57B0936B8D336D8E981C169466A15A5FD21A7D5A2C7DAF62D5E142EE860E387C
Imageends_with
  • \frpc.exe
  • \frps.exe