EXPLORE
← Back to Explore
sigmamediumHunting

Compress Data and Lock With Password for Exfiltration With 7-ZIP

An adversary may compress or encrypt data that is collected prior to exfiltration using 3rd party utilities

MITRE ATT&CK

collection

Detection Query

selection_img:
  - Description|contains: 7-Zip
  - Image|endswith:
      - \7z.exe
      - \7zr.exe
      - \7za.exe
  - OriginalFileName:
      - 7z.exe
      - 7za.exe
selection_password:
  CommandLine|contains: " -p"
selection_action:
  CommandLine|contains:
    - " a "
    - " u "
condition: all of selection_*

Author

frack113

Created

2021-07-27

Data Sources

windowsProcess Creation Events

Platforms

windows

Tags

attack.collectionattack.t1560.001
Raw Content
title: Compress Data and Lock With Password for Exfiltration With 7-ZIP
id: 9fbf5927-5261-4284-a71d-f681029ea574
status: test
description: An adversary may compress or encrypt data that is collected prior to exfiltration using 3rd party utilities
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1560.001/T1560.001.md
author: frack113
date: 2021-07-27
modified: 2023-03-13
tags:
    - attack.collection
    - attack.t1560.001
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Description|contains: '7-Zip'
        - Image|endswith:
              - '\7z.exe'
              - '\7zr.exe'
              - '\7za.exe'
        - OriginalFileName:
              - '7z.exe'
              - '7za.exe'
    selection_password:
        CommandLine|contains: ' -p'
    selection_action:
        CommandLine|contains:
            - ' a '
            - ' u '
    condition: all of selection_*
falsepositives:
    - Legitimate activity is expected since compressing files with a password is common.
level: medium