Analysis

  • user interaction
    yes
  • max time kernel
    34s
  • max time network
    42s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20260911-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20260911-enlocale:en-usos:windows10-2004-x64systemwindows
  • submitted
    24/10/2026, 04:36

General

  • Target
    opencode.exe
  • Size 201.9MB
  • Sample261024-e8gjgafx7z
  • SHA256 41c848c0986720c02d39b015bd2672e454a221052f6947854bc508d8765d9711
  • MD5 SHA1 SHA512 SSDEEP TLSH
Score
5/10

Malware Config

Signatures

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Executes a command shell one-liner 1 TTPs 7 IoCs

    Execution of a cmd.exe one-liner (/c "close" or /k "keep") is a common script/loader stage.

  • Reads the TCP/IP host and domain name from the registry 1 TTPs 4 IoCs

    The configured hostname and DNS domain identify the machine and are commonly collected to profile a host before it reports in.

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 10 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\opencode.exe
    "C:\Users\Admin\AppData\Local\Temp\opencode.exe"
    1⤵
    • Checks computer location settings
    • Loads dropped DLL
    • Reads the TCP/IP host and domain name from the registry
    • Suspicious use of WriteProcessMemory
    PID:5168
    • C:\Windows\system32\cmd.exe
      cmd.exe /d /s /c "npm ^"list^" ^"-g^" ^"--depth=0^""
      2⤵
      • Executes a command shell one-liner
      PID:5540
    • C:\Windows\system32\cmd.exe
      cmd.exe /d /s /c "yarn ^"global^" ^"list^""
      2⤵
      • Executes a command shell one-liner
      PID:1908
    • C:\Windows\system32\cmd.exe
      cmd.exe /d /s /c "pnpm ^"list^" ^"-g^" ^"--depth=0^""
      2⤵
      • Executes a command shell one-liner
      PID:624
    • C:\Windows\system32\cmd.exe
      cmd.exe /d /s /c "bun ^"pm^" ^"ls^" ^"-g^""
      2⤵
      • Executes a command shell one-liner
      PID:1988
    • C:\Windows\system32\cmd.exe
      cmd.exe /d /s /c "brew ^"list^" ^"--formula^" ^"opencode^""
      2⤵
      • Executes a command shell one-liner
      PID:2228
    • C:\Windows\system32\cmd.exe
      cmd.exe /d /s /c "scoop ^"list^" ^"opencode^""
      2⤵
      • Executes a command shell one-liner
      PID:592
    • C:\Windows\system32\cmd.exe
      cmd.exe /d /s /c "choco ^"list^" ^"--limit-output^" ^"opencode^""
      2⤵
      • Executes a command shell one-liner
      PID:2732
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive -Command "$global:ProgressPreference = 'SilentlyContinue'; Expand-Archive -LiteralPath 'C:\Users\Admin\.cache\opencode\bin\ripgrep-15.1.0-x86_64-pc-windows-msvc.zip' -DestinationPath 'C:\Users\Admin\.cache\opencode\bin\ripgrep-mTm5CX' -Force"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:796
    • C:\Users\Admin\.cache\opencode\bin\rg.exe
      C:\Users\Admin\.cache\opencode\bin\rg.exe --no-config --files --glob=!**/.git/** .
      2⤵
      • Executes dropped EXE
      • Reads the TCP/IP host and domain name from the registry
      PID:4124
    • C:\Users\Admin\.cache\opencode\bin\rg.exe
      C:\Users\Admin\.cache\opencode\bin\rg.exe --no-config --files --glob=!**/.git/** .
      2⤵
      • Executes dropped EXE
      • Reads the TCP/IP host and domain name from the registry
      PID:2804

Network

        MITRE ATT&CK Enterprise v16

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        ripgrep-15.1.0-x86_64-pc-windows-msvc.zip

        • Path C:\Users\Admin\.cache\opencode\bin\ripgrep-15.1.0-x86_64-pc-windows-msvc.zip
        • Size 1.7MB
        • SHA256 124510b94b6baa3380d051fdf4650eaa80a302c876d611e9dba0b2e18d87493a
        • MD5 SHA1 SHA512 SSDEEP TLSH

        COPYING

        • Path C:\Users\Admin\.cache\opencode\bin\ripgrep-mTm5CX\ripgrep-15.1.0-x86_64-pc-windows-msvc\COPYING
        • Size 129B
        • SHA256 dfe7d0a6134a17d3de7409762e08dc02133303912875cab40a74ba07a390f85a
        • MD5 SHA1 SHA512 TLSH

        LICENSE-MIT

        • Path C:\Users\Admin\.cache\opencode\bin\ripgrep-mTm5CX\ripgrep-15.1.0-x86_64-pc-windows-msvc\LICENSE-MIT
        • Size 1KB
        • SHA256 970813655a1bf777d2ead189cef71ab73ab92ce04dc864027d61a45de03e6728
        • MD5 SHA1 SHA512 TLSH

        README.md

        • Path C:\Users\Admin\.cache\opencode\bin\ripgrep-mTm5CX\ripgrep-15.1.0-x86_64-pc-windows-msvc\README.md
        • Size 21KB
        • SHA256 24c3effdbd5c493ceedce5bdcd955ee95c4a1b9acb4c431488c482a9ab0daaa0
        • MD5 SHA1 SHA512 SSDEEP TLSH

        UNLICENSE

        • Path C:\Users\Admin\.cache\opencode\bin\ripgrep-mTm5CX\ripgrep-15.1.0-x86_64-pc-windows-msvc\UNLICENSE
        • Size 1KB
        • SHA256 640514163b17f977adc997cb16f51871122cfb0555ebad1a3f01e167b7ba8857
        • MD5 SHA1 SHA512 TLSH

        _rg

        • Path C:\Users\Admin\.cache\opencode\bin\ripgrep-mTm5CX\ripgrep-15.1.0-x86_64-pc-windows-msvc\complete\_rg
        • Size 32KB
        • SHA256 24038494de2bd87d4fa68ce1f96b3612e8b63430f1688f5bff50b65824e5e316
        • MD5 SHA1 SHA512 SSDEEP TLSH

        _rg.ps1

        • Path C:\Users\Admin\.cache\opencode\bin\ripgrep-mTm5CX\ripgrep-15.1.0-x86_64-pc-windows-msvc\complete\_rg.ps1
        • Size 25KB
        • SHA256 053309e2043ed4b5ef2a718a34602592f98573f1a166469ae2fd532cc98b05e6
        • MD5 SHA1 SHA512 SSDEEP TLSH

        rg.bash

        • Path C:\Users\Admin\.cache\opencode\bin\ripgrep-mTm5CX\ripgrep-15.1.0-x86_64-pc-windows-msvc\complete\rg.bash
        • Size 20KB
        • SHA256 9fd807931c6d350d50e0bb6819629b6cc83e6253528342e95bbaeef81241d0e3
        • MD5 SHA1 SHA512 SSDEEP TLSH

        rg.fish

        • Path C:\Users\Admin\.cache\opencode\bin\ripgrep-mTm5CX\ripgrep-15.1.0-x86_64-pc-windows-msvc\complete\rg.fish
        • Size 14KB
        • SHA256 b63b76a059be13e041104d2576e2594067c15f29cd56cb339a021dca9cb1a656
        • MD5 SHA1 SHA512 SSDEEP TLSH

        CHANGELOG.md

        • Path C:\Users\Admin\.cache\opencode\bin\ripgrep-mTm5CX\ripgrep-15.1.0-x86_64-pc-windows-msvc\doc\CHANGELOG.md
        • Size 88KB
        • SHA256 7f720bf9e53ade51a48a3a7afc22c05c60a8abe806775569971e4e59a2a009a5
        • MD5 SHA1 SHA512 SSDEEP TLSH

        FAQ.md

        • Path C:\Users\Admin\.cache\opencode\bin\ripgrep-mTm5CX\ripgrep-15.1.0-x86_64-pc-windows-msvc\doc\FAQ.md
        • Size 42KB
        • SHA256 3cc08f312b63aec68ea4063067f528613331d6ca229fbcf448fc18a1045fd748
        • MD5 SHA1 SHA512 SSDEEP TLSH

        GUIDE.md

        • Path C:\Users\Admin\.cache\opencode\bin\ripgrep-mTm5CX\ripgrep-15.1.0-x86_64-pc-windows-msvc\doc\GUIDE.md
        • Size 40KB
        • SHA256 2ff96d78612fa939280fa9e17387d3f6bac8e489ee9d81ec22b3a5984f14a7b5
        • MD5 SHA1 SHA512 SSDEEP TLSH

        rg.1

        • Path C:\Users\Admin\.cache\opencode\bin\ripgrep-mTm5CX\ripgrep-15.1.0-x86_64-pc-windows-msvc\doc\rg.1
        • Size 84KB
        • SHA256 35c844073303dc14289cf3661bc4371af7cb455754da8fde103f4dcda4dd91b1
        • MD5 SHA1 SHA512 SSDEEP TLSH

        rg.exe

        • Path C:\Users\Admin\.cache\opencode\bin\ripgrep-mTm5CX\ripgrep-15.1.0-x86_64-pc-windows-msvc\rg.exe
        • Size 4.1MB
        • SHA256 decdd4992f3f1b9a5ef9898f1b40ab16886d579d6516b4efd3d5eaa19364e408
        • MD5 SHA1 SHA512 SSDEEP TLSH

        models.json

        • Path C:\Users\Admin\.cache\opencode\models.json
        • Size 5.6MB
        • SHA256 34287379c34c05e0058b7d452dd355279268ba7598da242515e28db871c4b067
        • MD5 SHA1 SHA512 SSDEEP TLSH

        opencode.jsonc

        • Path C:\Users\Admin\.config\opencode\opencode.jsonc
        • Size 50B
        • SHA256 4e901f9e457c8d52ab31f9fb4ea637a8c9104ebdbf23fe8b3600f35ad46d4a61
        • MD5 SHA1 SHA512 TLSH

        .bun-1534026329-3cba9b8dc4fa4e45.node

        • Path C:\Users\Admin\AppData\Local\Temp\.bun-1534026329-3cba9b8dc4fa4e45.node
        • Size 506KB
        • SHA256 a8199cf7b6c5102267a5889f80321a4cc92e631d7504c474d32a35b4d440f315
        • MD5 SHA1 SHA512 SSDEEP TLSH

        .bun-1534026329-efb4802116a9c3ef.dll

        • Path C:\Users\Admin\AppData\Local\Temp\.bun-1534026329-efb4802116a9c3ef.dll
        • Size 3.6MB
        • SHA256 9e67de8d49a028df5d26799cf2e40276898544b578194261794f961ebb82a86a
        • MD5 SHA1 SHA512 SSDEEP TLSH

        __PSScriptPolicyTest_uw5255ms.qak.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_uw5255ms.qak.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512 TLSH

        b7105abb635035a839d9b40f12f16e43b33b7e6440baf14535ca897617d3

        • Path C:\Users\Admin\AppData\Local\npm-cache\_cacache\index-v5\4c\08\b7105abb635035a839d9b40f12f16e43b33b7e6440baf14535ca897617d3
        • Size 692B
        • SHA256 d1b37f5cccf10d683f5dc1b371aa06dbbf848d69ad2b423a7aa4f254d7e29ef2
        • MD5 SHA1 SHA512 TLSH

        c40acea2-890f-4b46-800b-678a8f82861d

        • Path C:\Users\Admin\AppData\Local\npm-cache\_cacache\tmp\c40acea2-890f-4b46-800b-678a8f82861d
        • Size 685B
        • SHA256 30152b73b0960393ef1814dd56266085299df8754b22010f989b0624254659b5
        • MD5 SHA1 SHA512 TLSH

        e99c6efb-a81a-46e7-b0ea-8a56eff0f69b

        • Path C:\Users\Admin\AppData\Local\npm-cache\_cacache\tmp\e99c6efb-a81a-46e7-b0ea-8a56eff0f69b
        • Size 685B
        • SHA256 61f2616a0279a90aeee53324f21cda2ca4456d5a2e9616c231e025809fe2d739
        • MD5 SHA1 SHA512 TLSH

        fcaa4fd8-d80a-4b04-86e8-ae8d42ecf0e6

        • Path C:\Users\Admin\AppData\Local\npm-cache\_cacache\tmp\fcaa4fd8-d80a-4b04-86e8-ae8d42ecf0e6
        • Size 722B
        • SHA256 cbbce901bade45795dc99f49d8c8b97aead0558ab8b61e126325efccff2e5c6e
        • MD5 SHA1 SHA512 TLSH

        memory/796-25-0x000001AC46EC0000-0x000001AC46EE2000-memory.dmp

        memory/796-33-0x000001AC47270000-0x000001AC47282000-memory.dmp

        memory/796-34-0x000001AC47260000-0x000001AC4726A000-memory.dmp