Analysis

  • max time kernel
    139s
  • max time network
    153s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16/04/2024, 17:56

General

  • Target
    gcahfpmhcn.js
  • Size 1006KB
  • Sample240416-wh41hsgf76
  • SHA256 5f4b5467cccbbc2f2c5771d9547e7fca350df341d154f4d83a4442b7a44cdf06
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Signatures

  • AdWind

    A Java-based RAT family operated as malware-as-a-service.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Modifies file permissions 1 TTPs 1 IoCs
  • Drops file in System32 directory 1 IoCs
  • Drops file in Program Files directory 12 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Kills process with taskkill 2 IoCs
  • Runs .reg file with regedit 1 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 18 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\gcahfpmhcn.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4888
    • C:\Program Files\Java\jre-1.8\bin\javaw.exe
      "C:\Program Files\Java\jre-1.8\bin\javaw.exe" -jar "C:\Users\Admin\AppData\Roaming\yboryrg.txt"
      2⤵
      • Drops file in System32 directory
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:4760
      • C:\Windows\system32\icacls.exe
        C:\Windows\system32\icacls.exe C:\ProgramData\Oracle\Java\.oracle_jre_usage /grant "everyone":(OI)(CI)M
        3⤵
        • Modifies file permissions
        PID:1380
      • C:\Program Files\Java\jre-1.8\bin\java.exe
        "C:\Program Files\Java\jre-1.8\bin\java.exe" -jar C:\Users\Admin\AppData\Local\Temp\_0.459281070163466535389527444628055838.class
        3⤵
        • Drops file in Program Files directory
        PID:4704
      • C:\Windows\SYSTEM32\cmd.exe
        cmd.exe /C cscript.exe C:\Users\Admin\AppData\Local\Temp\Retrive2745037113978821787.vbs
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:3020
        • C:\Windows\system32\cscript.exe
          cscript.exe C:\Users\Admin\AppData\Local\Temp\Retrive2745037113978821787.vbs
          4⤵
            PID:312
        • C:\Windows\SYSTEM32\cmd.exe
          cmd.exe /C cscript.exe C:\Users\Admin\AppData\Local\Temp\Retrive2652257939675138852.vbs
          3⤵
          • Suspicious use of WriteProcessMemory
          PID:1332
          • C:\Windows\system32\cscript.exe
            cscript.exe C:\Users\Admin\AppData\Local\Temp\Retrive2652257939675138852.vbs
            4⤵
              PID:1868
          • C:\Windows\SYSTEM32\xcopy.exe
            xcopy "C:\Program Files\Java\jre-1.8" "C:\Users\Admin\AppData\Roaming\Oracle\" /e
            3⤵
              PID:5024
            • C:\Windows\SYSTEM32\cmd.exe
              cmd.exe
              3⤵
                PID:2612
              • C:\Windows\SYSTEM32\cmd.exe
                cmd.exe /c regedit.exe /s C:\Users\Admin\AppData\Local\Temp\jBHJFNEUck2966412596059183864.reg
                3⤵
                  PID:3084
                  • C:\Windows\regedit.exe
                    regedit.exe /s C:\Users\Admin\AppData\Local\Temp\jBHJFNEUck2966412596059183864.reg
                    4⤵
                    • Runs .reg file with regedit
                    PID:1892
                • C:\Windows\SYSTEM32\taskkill.exe
                  taskkill /IM UserAccountControlSettings.exe /T /F
                  3⤵
                  • Kills process with taskkill
                  PID:4076
                • C:\Windows\SYSTEM32\taskkill.exe
                  taskkill /IM ProcessHacker.exe /T /F
                  3⤵
                  • Kills process with taskkill
                  PID:3728
            • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
              "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=3704 --field-trial-handle=2252,i,16022092570067181109,3235558581947505669,262144 --variations-seed-version /prefetch:8
              1⤵
                PID:1976

              Network

                    MITRE ATT&CK Enterprise v15

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    3903daac9bc4a3b7.timestamp

                    • Path C:\ProgramData\Oracle\Java\.oracle_jre_usage\3903daac9bc4a3b7.timestamp
                    • Size 46B
                    • SHA256 cf142c6e224ee732461ee7be7bd13437464b337b578d5ffb674d8c86d91804f3
                    • MD5 SHA1 SHA512

                    Retrive2652257939675138852.vbs

                    • Path C:\Users\Admin\AppData\Local\Temp\Retrive2652257939675138852.vbs
                    • Size 281B
                    • SHA256 45bfe34aa3ef932f75101246eb53d032f5e7cf6d1f5b4e495334955a255f32e7
                    • MD5 SHA1 SHA512

                    Retrive2745037113978821787.vbs

                    • Path C:\Users\Admin\AppData\Local\Temp\Retrive2745037113978821787.vbs
                    • Size 276B
                    • SHA256 9da575dd2d5b7c1e9bab8b51a16cde457b3371c6dcdb0537356cf1497fa868f6
                    • MD5 SHA1 SHA512

                    _0.459281070163466535389527444628055838.class

                    • Path C:\Users\Admin\AppData\Local\Temp\_0.459281070163466535389527444628055838.class
                    • Size 241KB
                    • SHA256 97d585b6aff62fb4e43e7e6a5f816dcd7a14be11a88b109a9ba9e8cd4c456eb9
                    • MD5 SHA1 SHA512 SSDEEP

                    jBHJFNEUck2966412596059183864.reg

                    • Path C:\Users\Admin\AppData\Local\Temp\jBHJFNEUck2966412596059183864.reg
                    • Size 27KB
                    • SHA256 45497c7ca76f29c6786a8835bc1925a5f6cd219403dce807fb34b98a630212b3
                    • MD5 SHA1 SHA512 SSDEEP

                    83aa4cc77f591dfc2374580bbd95f6ba_2397ee06-28fe-4eaa-8777-f7014368c353

                    • Path C:\Users\Admin\AppData\Roaming\Microsoft\Crypto\RSA\S-1-5-21-3808065738-1666277613-1125846146-1000\83aa4cc77f591dfc2374580bbd95f6ba_2397ee06-28fe-4eaa-8777-f7014368c353
                    • Size 45B
                    • SHA256 11e6aca8e682c046c83b721eeb5c72c5ef03cb5936c60df6f4993511ddc61238
                    • MD5 SHA1 SHA512

                    msvcp140.dll

                    • Path C:\Users\Admin\AppData\Roaming\Oracle\bin\plugin2\msvcp140.dll
                    • Size 558KB
                    • SHA256 a88b8c1c8f27bf90fe960e0e8bd56984ad48167071af92d96ec1051f89f827fb
                    • MD5 SHA1 SHA512 SSDEEP

                    vcruntime140.dll

                    • Path C:\Users\Admin\AppData\Roaming\Oracle\bin\plugin2\vcruntime140.dll
                    • Size 95KB
                    • SHA256 475ab98b7722e965bd38c8fa6ed23502309582ccf294ff1061cb290c7988f0d1
                    • MD5 SHA1 SHA512 SSDEEP

                    vcruntime140_1.dll

                    • Path C:\Users\Admin\AppData\Roaming\Oracle\bin\plugin2\vcruntime140_1.dll
                    • Size 36KB
                    • SHA256 0579d460ea1f7e8a815fa55a8821a5ff489c8097f051765e9beaf25d8d0f27d6
                    • MD5 SHA1 SHA512 SSDEEP

                    messages_zh_TW.properties

                    • Path C:\Users\Admin\AppData\Roaming\Oracle\lib\deploy\messages_zh_TW.properties
                    • Size 3KB
                    • SHA256 ff4a3a92bc92cb08d2c32c435810440fd264edd63e56efa39430e0240c835620
                    • MD5 SHA1 SHA512

                    win32_CopyNoDrop32x32.gif

                    • Path C:\Users\Admin\AppData\Roaming\Oracle\lib\images\cursors\win32_CopyNoDrop32x32.gif
                    • Size 153B
                    • SHA256 1a1d3079d49583837662b84e11d8c0870698511d9110e710eb8e7eb20df7ae3b
                    • MD5 SHA1 SHA512

                    yboryrg.txt

                    • Path C:\Users\Admin\AppData\Roaming\yboryrg.txt
                    • Size 479KB
                    • SHA256 4c81c42509988b29c4d77288ed55849de919676fbca4a938bf773f893f2e547e
                    • MD5 SHA1 SHA512 SSDEEP

                    memory/4704-68-0x000001CEA0A20000-0x000001CEA0A30000-memory.dmp

                    memory/4704-66-0x000001CEA0A00000-0x000001CEA0A10000-memory.dmp

                    memory/4704-35-0x000001CE9EFC0000-0x000001CE9EFC1000-memory.dmp

                    memory/4704-69-0x000001CEA0A30000-0x000001CEA0A40000-memory.dmp

                    memory/4704-70-0x000001CEA0A40000-0x000001CEA0A50000-memory.dmp

                    memory/4704-71-0x000001CEA0A50000-0x000001CEA0A60000-memory.dmp

                    memory/4704-73-0x000001CEA0A60000-0x000001CEA0A70000-memory.dmp

                    memory/4704-67-0x000001CEA0A10000-0x000001CEA0A20000-memory.dmp

                    memory/4704-31-0x000001CE9EFC0000-0x000001CE9EFC1000-memory.dmp

                    memory/4704-22-0x000001CEA0790000-0x000001CEA1790000-memory.dmp

                    memory/4760-88-0x0000029995FB0000-0x0000029996FB0000-memory.dmp

                    memory/4760-62-0x0000029995FB0000-0x0000029996FB0000-memory.dmp

                    memory/4760-82-0x0000029994730000-0x0000029994731000-memory.dmp

                    memory/4760-23-0x0000029994730000-0x0000029994731000-memory.dmp

                    memory/4760-78-0x0000029995FB0000-0x0000029996FB0000-memory.dmp

                    memory/4760-379-0x0000029995FB0000-0x0000029996FB0000-memory.dmp

                    memory/4760-14-0x0000029994730000-0x0000029994731000-memory.dmp

                    memory/4760-77-0x0000029994730000-0x0000029994731000-memory.dmp

                    memory/4760-76-0x0000029995FB0000-0x0000029996FB0000-memory.dmp

                    memory/4760-87-0x0000029994730000-0x0000029994731000-memory.dmp

                    memory/4760-868-0x0000029995FB0000-0x0000029996FB0000-memory.dmp

                    memory/4760-878-0x0000029995FB0000-0x0000029996FB0000-memory.dmp

                    memory/4760-882-0x0000029995FB0000-0x0000029996FB0000-memory.dmp

                    memory/4760-45-0x0000029995FB0000-0x0000029996FB0000-memory.dmp

                    memory/4760-990-0x0000029995FB0000-0x0000029996FB0000-memory.dmp

                    memory/4760-992-0x0000029995FB0000-0x0000029996FB0000-memory.dmp

                    memory/4760-999-0x0000029994730000-0x0000029994731000-memory.dmp

                    memory/4760-1004-0x0000029994730000-0x0000029994731000-memory.dmp

                    memory/4760-4-0x0000029995FB0000-0x0000029996FB0000-memory.dmp

                    memory/4760-1008-0x0000029994730000-0x0000029994731000-memory.dmp