id: dmalocker-malware

info:
  name: DMA Locker Malware - Detect
  author: daffainfo
  severity: info
  reference: https://github.com/Yara-Rules/rules/blob/master/malware/RANSOM_DMALocker.yar
  tags: malware,file
file:
  - extensions:
      - all
    matchers:
      - type: binary
        binary:
          - "41424358595a3131"
          - "21444d414c4f434b"
          - "21444d414c4f434b332e30"
          - "3F520000FFFFFFFF06000000524C4141"
          - "21444d414c4f434b342e30"
        condition: or
# digest: 490a00463044022045d262cda7bd06dc391b13a75d9e72e8968093d66702189fd8b9aec4075eac2302203150e3789790737b727da34012102ca9f26168780e68498aa59973487d938054:922c64590222798bb761d5b6d8e72950