id: codoso-pgv-malware-hash
info:
  name: Codoso APT PGV_PVID Malware Hash - Detect
  author: pussycat0x
  severity: info
  description: |
    Detects Codoso APT PGV_PVID Malware.
  reference:
    - https://www.proofpoint.com/us/exploring-bergard-old-malware-new-tricks
    - https://github.com/Yara-Rules/rules/blob/master/malware/APT_Codoso.yar
  tags: malware,apt,codoso

file:
  - extensions:
      - all

    matchers:
      - type: dsl
        dsl:
          - "sha256(raw) == '4b16f6e8414d4192d0286b273b254fa1bd633f5d3d07ceebd03dfdfc32d0f17f'"
          - "sha256(raw) == '13bce64b3b5bdfd24dc6f786b5bee08082ea736be6536ef54f9c908fd1d00f75'"
          - "sha256(raw) == 'bc0b885cddf80755c67072c8b5961f7f0adcaeb67a1a5c6b3475614fd51696fe'"
          - "sha256(raw) == '4b16f6e8414d4192d0286b273b254fa1bd633f5d3d07ceebd03dfdfc32d0f17f'"
        condition: or
# digest: 4b0a00483046022100bd9c4d2a1bd4580929daf5a244efb900f3858ad995f225632f4c82507f30ae7b022100d6cda5684aad8cdc1236e7cd77e8a7ab4ef29449beeb892980771f1139f68680:922c64590222798bb761d5b6d8e72950