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: 4a0a0047304502203cb27e98405056b5cebe9ba99338895e5a1c932343e31be8f2cea14be8f7e3af022100ac8e178e07aac212efa8aaeace8372a3e5149121127f119fe26dd4441dc2d3a9:922c64590222798bb761d5b6d8e72950