id: miniasp3-malware

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

    matchers-condition: or
    matchers:
      - type: word
        part: raw
        words:
          - "MiniAsp3\\Release\\MiniAsp.pdb"
          - "http://%s/about.htm"
          - "http://%s/result_%s.htm"
          - "open internet failed…"
        condition: and

      - type: word
        part: raw
        words:
          - "MiniAsp3\\Release\\MiniAsp.pdb"
          - "http://%s/about.htm"
          - "http://%s/result_%s.htm"
          - "run error!"
        condition: and

      - type: word
        part: raw
        words:
          - "MiniAsp3\\Release\\MiniAsp.pdb"
          - "http://%s/about.htm"
          - "http://%s/result_%s.htm"
          - "run ok!"
        condition: and

      - type: word
        part: raw
        words:
          - "MiniAsp3\\Release\\MiniAsp.pdb"
          - "http://%s/about.htm"
          - "http://%s/result_%s.htm"
          - "time out,change to mode 0"
        condition: and

      - type: word
        part: raw
        words:
          - "MiniAsp3\\Release\\MiniAsp.pdb"
          - "http://%s/about.htm"
          - "http://%s/result_%s.htm"
          - "command is null!"
        condition: and
# digest: 4b0a00483046022100ba5a62881e7b58b29298aab249386e01071a1c94f65100c6831e6860d47416d80221009a37d2ad9182167b3c279503be2e9343983299038c25983717b07d239480a47e:922c64590222798bb761d5b6d8e72950