Analysis

  • max time kernel
    147s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11-06-2024 21:06

General

  • Target

    malicious.js

  • Size

    9.9MB

  • MD5

    9fe82b58b7aab5786dc5e3218353828c

  • SHA1

    62089cd04e6ae9ced185069caec25487e1a4ff06

  • SHA256

    4087fa18c34c9e1ea1c98c58b6daf357eb14d1ab8d1c526219ecf4d6afbb9e20

  • SHA512

    df3dff40522e393ba937e7a643c957a22eaa9c703c05d37de13a4912f7c1d1e92a2e1fb6bbf0d832c642f7a37f055be0909c400bd437b08a3275705de73a637e

  • SSDEEP

    49152:F8ytwpCQK+Tf8ytwpCQK+Tf8ytwpCQK+Tf8ytwpCQK+Tf8ytwpCQK+Tf8ytwpCQK:FIIIIIIII+

Malware Config

Signatures

  • GootLoader

    JavaScript loader known for delivering other families such as Gootkit and Cobaltstrike.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Command and Scripting Interpreter: JavaScript 1 TTPs
  • Enumerates physical storage devices 1 TTPs

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

  • Modifies registry class 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 4 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\malicious.js
    1⤵
      PID:1076
    • C:\Windows\system32\wscript.EXE
      C:\Windows\system32\wscript.EXE MENTAL~1.JS
      1⤵
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:2596
      • C:\Windows\System32\cscript.exe
        "C:\Windows\System32\cscript.exe" "MENTAL~1.JS"
        2⤵
        • Suspicious use of WriteProcessMemory
        PID:4704
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          powershell
          3⤵
          • Modifies registry class
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1508

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_gqcrotgz.mhf.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • C:\Users\Admin\AppData\Roaming\Microsoft\MENTAL~1.JS

      Filesize

      46.4MB

      MD5

      eb16dc2278a93ab53ef0cd4488a88f45

      SHA1

      e741ec66033b124d8ef2b4b91d633cd33a2f7ecd

      SHA256

      afe90a58ee45a219105926e64c372a3fc436f25fbf00ba4ac135bfa8d7e9fd11

      SHA512

      983e466f0dd1b99c1760342263476071a13dafedeebdf948a5929cd8159c2ae0ede9e9fceb44184592f8e52c95c38010328bea51d3b830afde6f98f8f9297a46

    • memory/1508-12-0x000002C13E360000-0x000002C13E382000-memory.dmp

      Filesize

      136KB

    • memory/1508-13-0x000002C13E760000-0x000002C13E7A4000-memory.dmp

      Filesize

      272KB

    • memory/1508-14-0x000002C13E830000-0x000002C13E8A6000-memory.dmp

      Filesize

      472KB

    • memory/1508-15-0x000002C13EA70000-0x000002C13EA9A000-memory.dmp

      Filesize

      168KB

    • memory/1508-16-0x000002C13EA70000-0x000002C13EA94000-memory.dmp

      Filesize

      144KB