Analysis

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

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08/05/2024, 17:56

General

  • Target
    INS-386779.js
  • Size 460KB
  • Sample240508-wh1m4aaf23
  • SHA256 f4267ec696cf9223569ebbb27617e04641eab296a81b919c923a54288342a34c
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • STRRAT

    STRRAT is a remote access tool than can steal credentials and log keystrokes.

  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Drops startup file 1 IoCs
  • Loads dropped DLL 1 IoCs
  • Modifies file permissions 1 TTPs 1 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Command and Scripting Interpreter: JavaScript 1 TTPs
  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 32 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\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\INS-386779.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4420
    • 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\egrnhqtpwg.txt"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3068
      • 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:4116
      • C:\Windows\SYSTEM32\wscript.exe
        wscript C:\Users\Admin\pnjtiaccyf.js
        3⤵
        • Checks computer location settings
        • Suspicious use of WriteProcessMemory
        PID:696
        • 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\opabvxrbr.txt"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:5016
          • C:\Program Files\Java\jre-1.8\bin\java.exe
            "C:\Program Files\Java\jre-1.8\bin\java.exe" -jar "C:\Users\Admin\opabvxrbr.txt"
            5⤵
            • Drops startup file
            • Adds Run key to start application
            • Suspicious use of WriteProcessMemory
            PID:4300
            • C:\Windows\SYSTEM32\cmd.exe
              cmd /c schtasks /create /sc minute /mo 30 /tn Skype /tr "C:\Users\Admin\AppData\Roaming\opabvxrbr.txt"
              6⤵
              • Suspicious use of WriteProcessMemory
              PID:4644
              • C:\Windows\system32\schtasks.exe
                schtasks /create /sc minute /mo 30 /tn Skype /tr "C:\Users\Admin\AppData\Roaming\opabvxrbr.txt"
                7⤵
                • Creates scheduled task(s)
                PID:3236
            • 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\Roaming\opabvxrbr.txt"
              6⤵
              • Loads dropped DLL
              • Suspicious use of WriteProcessMemory
              PID:1816
              • C:\Windows\SYSTEM32\cmd.exe
                cmd.exe /c "wmic /node:. /namespace:'\\root\cimv2' path win32_logicaldisk get volumeserialnumber /format:list"
                7⤵
                • Suspicious use of WriteProcessMemory
                PID:4076
                • C:\Windows\System32\Wbem\WMIC.exe
                  wmic /node:. /namespace:'\\root\cimv2' path win32_logicaldisk get volumeserialnumber /format:list
                  8⤵
                  • Suspicious use of AdjustPrivilegeToken
                  PID:4664
              • C:\Windows\SYSTEM32\cmd.exe
                cmd.exe /c "wmic /node:. /namespace:'\\root\cimv2' path win32_operatingsystem get caption,OSArchitecture /format:list"
                7⤵
                • Suspicious use of WriteProcessMemory
                PID:4156
                • C:\Windows\System32\Wbem\WMIC.exe
                  wmic /node:. /namespace:'\\root\cimv2' path win32_operatingsystem get caption,OSArchitecture /format:list
                  8⤵
                  • Suspicious use of AdjustPrivilegeToken
                  PID:4656
              • C:\Windows\SYSTEM32\cmd.exe
                cmd.exe /c "wmic /node:. /namespace:'\\root\cimv2' path win32_operatingsystem get version /format:list"
                7⤵
                • Suspicious use of WriteProcessMemory
                PID:3644
                • C:\Windows\System32\Wbem\WMIC.exe
                  wmic /node:. /namespace:'\\root\cimv2' path win32_operatingsystem get version /format:list
                  8⤵
                    PID:4416
                • C:\Windows\SYSTEM32\cmd.exe
                  cmd.exe /c "wmic /node:localhost /namespace:'\\root\securitycenter2' path antivirusproduct get displayname /format:list"
                  7⤵
                  • Suspicious use of WriteProcessMemory
                  PID:4436
                  • C:\Windows\System32\Wbem\WMIC.exe
                    wmic /node:localhost /namespace:'\\root\securitycenter2' path antivirusproduct get displayname /format:list
                    8⤵
                      PID:784

      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 c33babd439b5b342cb31b59d59a1f94f808bfa83a7d745c1e61b81ff0c211f37
            • MD5 SHA1 SHA512

            3903daac9bc4a3b7.timestamp

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

            jna8743739632510787334.dll

            • Path C:\Users\Admin\AppData\Local\Temp\jna-63116079\jna8743739632510787334.dll
            • Size 241KB
            • SHA256 a66959bec2ef5af730198db9f3b3f7cab0d4ae70ce01bec02bf1d738e6d1ee7a
            • MD5 SHA1 SHA512 SSDEEP

            83aa4cc77f591dfc2374580bbd95f6ba_44d43ff8-91cd-4ca7-92c9-6495b4f546fa

            • Path C:\Users\Admin\AppData\Roaming\Microsoft\Crypto\RSA\S-1-5-21-1162180587-977231257-2194346871-1000\83aa4cc77f591dfc2374580bbd95f6ba_44d43ff8-91cd-4ca7-92c9-6495b4f546fa
            • Size 45B
            • SHA256 11e6aca8e682c046c83b721eeb5c72c5ef03cb5936c60df6f4993511ddc61238
            • MD5 SHA1 SHA512

            egrnhqtpwg.txt

            • Path C:\Users\Admin\AppData\Roaming\egrnhqtpwg.txt
            • Size 219KB
            • SHA256 8d1f7af142e64bcc42117302ce5c20a1e8cce37485f5f8948f006924498cd997
            • MD5 SHA1 SHA512 SSDEEP

            opabvxrbr.txt

            • Path C:\Users\Admin\AppData\Roaming\opabvxrbr.txt
            • Size 164KB
            • SHA256 4a464631cf3f7f3261f79fc443dd63d0d205806077e33e9ea1477134d2f7c723
            • MD5 SHA1 SHA512 SSDEEP

            jna-5.5.0.jar

            • Path C:\Users\Admin\lib\jna-5.5.0.jar
            • Size 1.4MB
            • SHA256 b308faebfe4ed409de8410e0a632d164b2126b035f6eacff968d3908cafb4d9e
            • MD5 SHA1 SHA512 SSDEEP

            jna-platform-5.5.0.jar

            • Path C:\Users\Admin\lib\jna-platform-5.5.0.jar
            • Size 2.6MB
            • SHA256 24d81621f82ac29fcdd9a74116031f5907a2343158e616f4573bbfa2434ae0d5
            • MD5 SHA1 SHA512 SSDEEP

            sqlite-jdbc-3.14.2.1.jar

            • Path C:\Users\Admin\lib\sqlite-jdbc-3.14.2.1.jar
            • Size 4.1MB
            • SHA256 2eae3dea1c3dde6104c49f9601074b6038ff6abcf3be23f4b56f6720a4f6a491
            • MD5 SHA1 SHA512 SSDEEP

            system-hook-3.5.jar

            • Path C:\Users\Admin\lib\system-hook-3.5.jar
            • Size 772KB
            • SHA256 2ddda8af6faef8bde46acf43ec546603180bcf8dcb2e5591fff8ac9cd30b5609
            • MD5 SHA1 SHA512 SSDEEP

            pnjtiaccyf.js

            • Path C:\Users\Admin\pnjtiaccyf.js
            • Size 347KB
            • SHA256 5eb64fbe30ab5c8d68fd358f31f9f3cf9c2cb52032a1736a4b327a3d02d8bd0a
            • MD5 SHA1 SHA512 SSDEEP

            memory/1816-169-0x000001EDB9030000-0x000001EDB9031000-memory.dmp

            memory/1816-175-0x000001EDB9030000-0x000001EDB9031000-memory.dmp

            memory/3068-17-0x0000022643D30000-0x0000022643FA0000-memory.dmp

            memory/3068-16-0x0000022642490000-0x0000022642491000-memory.dmp

            memory/3068-4-0x0000022643D30000-0x0000022643FA0000-memory.dmp

            memory/4300-136-0x0000016008A20000-0x0000016008A21000-memory.dmp

            memory/5016-101-0x0000022A306C0000-0x0000022A306C1000-memory.dmp

            memory/5016-97-0x0000022A306C0000-0x0000022A306C1000-memory.dmp

            memory/5016-85-0x0000022A306C0000-0x0000022A306C1000-memory.dmp

            memory/5016-76-0x0000022A306C0000-0x0000022A306C1000-memory.dmp

            memory/5016-75-0x0000022A306C0000-0x0000022A306C1000-memory.dmp

            memory/5016-46-0x0000022A306C0000-0x0000022A306C1000-memory.dmp