id: adzok-malware

info:
  name: Adzok Malware - Detect
  author: daffainfo
  severity: info
  reference:
    - https://github.com/Yara-Rules/rules/blob/master/malware/RAT_Adzok.yar
  tags: malware,file
file:
  - extensions:
      - all

    matchers-condition: or
    matchers:
      - type: word
        part: raw
        words:
          - "key.classPK"
          - "svd$1.classPK"
          - "svd$2.classPK"
          - "Mensaje.classPK"
          - "inic$ShutdownHook.class"
          - "Uninstall.jarPK"
          - "resources/icono.pngPK"
        condition: and

      - type: word
        part: raw
        words:
          - "config.xmlPK"
          - "svd$1.classPK"
          - "svd$2.classPK"
          - "Mensaje.classPK"
          - "inic$ShutdownHook.class"
          - "Uninstall.jarPK"
          - "resources/icono.pngPK"
        condition: and

      - type: word
        part: raw
        words:
          - "config.xmlPK"
          - "key.classPK"
          - "svd$1.classPK"
          - "Mensaje.classPK"
          - "inic$ShutdownHook.class"
          - "Uninstall.jarPK"
          - "resources/icono.pngPK"
        condition: and

      - type: word
        part: raw
        words:
          - "config.xmlPK"
          - "key.classPK"
          - "svd$2.classPK"
          - "Mensaje.classPK"
          - "inic$ShutdownHook.class"
          - "Uninstall.jarPK"
          - "resources/icono.pngPK"
        condition: and

      - type: word
        part: raw
        words:
          - "config.xmlPK"
          - "key.classPK"
          - "svd$1.classPK"
          - "svd$2.classPK"
          - "inic$ShutdownHook.class"
          - "Uninstall.jarPK"
          - "resources/icono.pngPK"
        condition: and

      - type: word
        part: raw
        words:
          - "config.xmlPK"
          - "key.classPK"
          - "svd$1.classPK"
          - "svd$2.classPK"
          - "Mensaje.classPK"
          - "Uninstall.jarPK"
          - "resources/icono.pngPK"
        condition: and

      - type: word
        part: raw
        words:
          - "config.xmlPK"
          - "key.classPK"
          - "svd$1.classPK"
          - "svd$2.classPK"
          - "Mensaje.classPK"
          - "inic$ShutdownHook.class"
          - "Uninstall.jarPK"
        condition: and

      - type: word
        part: raw
        words:
          - "config.xmlPK"
          - "key.classPK"
          - "svd$1.classPK"
          - "svd$2.classPK"
          - "Mensaje.classPK"
          - "inic$ShutdownHook.class"
          - "resources/icono.pngPK"
        condition: and
# digest: 4a0a00473045022100e1f8dcae658925c991e927049c6fba92c2d17b89adb2783e6585cd7729a3d8cd0220053fcfbf7e24c9230e01b7c2052a9a4fc668e72a4341cd86d12fd073c3475a86:922c64590222798bb761d5b6d8e72950