id: dubnium-sshopenssl-malware-hash
info:
  name: Dubnium Sample SSHOpenSSL Hash - Detect
  author: pussycat0x
  severity: info
  description: |
    Detects sample mentioned in the Dubnium Report
  reference:
    - https://goo.gl/AW9Cuu
    - https://github.com/Yara-Rules/rules/blob/master/malware/APT_Dubnium.yar
  tags: malware,Dubnium,apt

file:
  - extensions:
      - all

    matchers:
      - type: dsl
        dsl:
          - "sha256(raw) == '6f0b05d5e8546ab1504b07b0eaa0e8de14bca7c1555fd114c4c1c51d5a4c06b'"
          - "sha256(raw) == 'feaad03f6c0b57f5f5b02aef668e26001e5a7787bb51966d50c8fcf344fb4e8'"
          - "sha256(raw) == '41ecd81bc7df4b47d713e812f2b7b38d3ac4b9dcdc13dd5ca61763a4bf300dcf'"
          - "sha256(raw) == 'bd780f4d56214c78045454d31d83ae18ed209cc138e75d138e72976a7ef9803f'"
          - "sha256(raw) == 'a25715108d2859595959879ff50085bc85969e9473ecc3d26dda24c4a17822c9'"
          - "sha256(raw) == 'e0918072d427d12b43f436bf0797a361996ae436047d4ef8277f11caf2dd481b'"
        condition: or
# digest: 490a0046304402200d7bc1f443b607b80f0aedab226f386fb84f7e4c8033fbbfc458b118ab4db873022064bc59afd1ce800b31830227af06310c82ba2f0e4ae8da15892854eb5316e635:922c64590222798bb761d5b6d8e72950