Detectionmediumtest

WinRAR Execution in Non-Standard Folder

Detects a suspicious WinRAR execution in a folder which is not the default installation folder

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Florian Roth (Nextron Systems), TigzyCreated Wed Nov 17Updated Wed Jul 164ede543c-e098-43d9-a28f-dd784a13132fwindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic4 selectors
detection:
    selection:
        - Image|endswith:
              - '\rar.exe'
              - '\winrar.exe'
        - Description:
              - 'Command line RAR'
              - 'WinRAR'
    filter_main_unrar:
        # Note: we filter unrar as it has the same description as the other utilities, and we're only interested in compression
        Image|endswith: '\UnRAR.exe'
    filter_main_path:
        Image|contains:
            - ':\Program Files (x86)\WinRAR\'
            - ':\Program Files\WinRAR\'
    filter_optional_temp:
        # Note: in some occasion installers were seen dropping "rar" in TEMP
        Image|contains: ':\Windows\Temp\'
    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
False Positives

Legitimate use of WinRAR in a folder of a software that bundles WinRAR

Rule Metadata
Rule ID
4ede543c-e098-43d9-a28f-dd784a13132f
Status
test
Level
medium
Type
Detection
Created
Wed Nov 17
Modified
Wed Jul 16
Path
rules/windows/process_creation/proc_creation_win_winrar_uncommon_folder_execution.yml
Raw Tags
attack.collectionattack.t1560.001
View on GitHub