Analysis

  • max time kernel
    145s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23/09/2024, 14:06

General

  • Target
    Tax Returns of R38,765.js
  • Size 747KB
  • Sample240923-reeh8syblk
  • SHA256 546b59d194d0ac048683cdab497999d37c35faa0963ff5fc29ba45213f5b06fd
  • 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 1 IoCs

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

  • Drops startup file 1 IoCs
  • Loads dropped DLL 2 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).

  • Scheduled Task/Job: Scheduled Task 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 26 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\Tax Returns of R38,765.js"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4944
    • 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\gvafjy.txt"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1528
      • C:\Program Files\Java\jre-1.8\bin\java.exe
        "C:\Program Files\Java\jre-1.8\bin\java.exe" -jar "C:\Users\Admin\gvafjy.txt"
        3⤵
        • Drops startup file
        • Loads dropped DLL
        • Suspicious use of WriteProcessMemory
        PID:1324
        • C:\Windows\SYSTEM32\cmd.exe
          cmd /c schtasks /create /sc minute /mo 30 /tn Skype /tr "C:\Users\Admin\AppData\Roaming\gvafjy.txt"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:2584
          • C:\Windows\system32\schtasks.exe
            schtasks /create /sc minute /mo 30 /tn Skype /tr "C:\Users\Admin\AppData\Roaming\gvafjy.txt"
            5⤵
            • Scheduled Task/Job: Scheduled Task
            PID:4336
        • 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\gvafjy.txt"
          4⤵
          • Loads dropped DLL
          • Adds Run key to start application
          • Suspicious use of WriteProcessMemory
          PID:4880
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "wmic /node:. /namespace:'\\root\cimv2' path win32_logicaldisk get volumeserialnumber /format:list"
            5⤵
            • Suspicious use of WriteProcessMemory
            PID:1916
            • C:\Windows\System32\Wbem\WMIC.exe
              wmic /node:. /namespace:'\\root\cimv2' path win32_logicaldisk get volumeserialnumber /format:list
              6⤵
              • Suspicious use of AdjustPrivilegeToken
              PID:2532
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "wmic /node:. /namespace:'\\root\cimv2' path win32_operatingsystem get caption,OSArchitecture /format:list"
            5⤵
            • Suspicious use of WriteProcessMemory
            PID:4416
            • C:\Windows\System32\Wbem\WMIC.exe
              wmic /node:. /namespace:'\\root\cimv2' path win32_operatingsystem get caption,OSArchitecture /format:list
              6⤵
              • Suspicious use of AdjustPrivilegeToken
              PID:2596
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "wmic /node:. /namespace:'\\root\cimv2' path win32_operatingsystem get version /format:list"
            5⤵
            • Suspicious use of WriteProcessMemory
            PID:2424
            • C:\Windows\System32\Wbem\WMIC.exe
              wmic /node:. /namespace:'\\root\cimv2' path win32_operatingsystem get version /format:list
              6⤵
                PID:3900
            • C:\Windows\SYSTEM32\cmd.exe
              cmd.exe /c "wmic /node:localhost /namespace:'\\root\securitycenter2' path antivirusproduct get displayname /format:list"
              5⤵
              • Suspicious use of WriteProcessMemory
              PID:2504
              • C:\Windows\System32\Wbem\WMIC.exe
                wmic /node:localhost /namespace:'\\root\securitycenter2' path antivirusproduct get displayname /format:list
                6⤵
                  PID:3776

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            jna4174564466695271380.dll

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

            83aa4cc77f591dfc2374580bbd95f6ba_1b74ca46-c49b-4c52-a57d-8cd1ff70c625

            • Path C:\Users\Admin\AppData\Roaming\Microsoft\Crypto\RSA\S-1-5-21-786284298-625481688-3210388970-1000\83aa4cc77f591dfc2374580bbd95f6ba_1b74ca46-c49b-4c52-a57d-8cd1ff70c625
            • Size 45B
            • SHA256 11e6aca8e682c046c83b721eeb5c72c5ef03cb5936c60df6f4993511ddc61238
            • MD5 SHA1 SHA512

            gvafjy.txt

            • Path C:\Users\Admin\AppData\Roaming\gvafjy.txt
            • Size 92KB
            • SHA256 e14f1c7e11a1f1ddd570d605e4204a694a7370d603c1b1ca157e505f180ccc48
            • 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

            memory/1324-232-0x0000023BDDE70000-0x0000023BDDE71000-memory.dmp

            memory/1324-216-0x0000023BDDE70000-0x0000023BDDE71000-memory.dmp

            memory/1528-105-0x0000021A01850000-0x0000021A01860000-memory.dmp

            memory/1528-16-0x0000021A01690000-0x0000021A016A0000-memory.dmp

            memory/1528-25-0x0000021A016D0000-0x0000021A016E0000-memory.dmp

            memory/1528-27-0x0000021A016E0000-0x0000021A016F0000-memory.dmp

            memory/1528-28-0x0000021A016F0000-0x0000021A01700000-memory.dmp

            memory/1528-30-0x0000021A01700000-0x0000021A01710000-memory.dmp

            memory/1528-32-0x0000021A7E7E0000-0x0000021A7E7E1000-memory.dmp

            memory/1528-39-0x0000021A01710000-0x0000021A01720000-memory.dmp

            memory/1528-38-0x0000021A01410000-0x0000021A01680000-memory.dmp

            memory/1528-41-0x0000021A01720000-0x0000021A01730000-memory.dmp

            memory/1528-40-0x0000021A01680000-0x0000021A01690000-memory.dmp

            memory/1528-44-0x0000021A01730000-0x0000021A01740000-memory.dmp

            memory/1528-43-0x0000021A01690000-0x0000021A016A0000-memory.dmp

            memory/1528-46-0x0000021A016A0000-0x0000021A016B0000-memory.dmp

            memory/1528-47-0x0000021A01740000-0x0000021A01750000-memory.dmp

            memory/1528-51-0x0000021A01750000-0x0000021A01760000-memory.dmp

            memory/1528-50-0x0000021A016C0000-0x0000021A016D0000-memory.dmp

            memory/1528-49-0x0000021A016B0000-0x0000021A016C0000-memory.dmp

            memory/1528-53-0x0000021A01760000-0x0000021A01770000-memory.dmp

            memory/1528-57-0x0000021A01770000-0x0000021A01780000-memory.dmp

            memory/1528-56-0x0000021A016D0000-0x0000021A016E0000-memory.dmp

            memory/1528-60-0x0000021A01780000-0x0000021A01790000-memory.dmp

            memory/1528-59-0x0000021A016F0000-0x0000021A01700000-memory.dmp

            memory/1528-63-0x0000021A01790000-0x0000021A017A0000-memory.dmp

            memory/1528-58-0x0000021A016E0000-0x0000021A016F0000-memory.dmp

            memory/1528-66-0x0000021A017A0000-0x0000021A017B0000-memory.dmp

            memory/1528-65-0x0000021A01700000-0x0000021A01710000-memory.dmp

            memory/1528-69-0x0000021A01710000-0x0000021A01720000-memory.dmp

            memory/1528-70-0x0000021A017B0000-0x0000021A017C0000-memory.dmp

            memory/1528-71-0x0000021A7E7E0000-0x0000021A7E7E1000-memory.dmp

            memory/1528-73-0x0000021A01720000-0x0000021A01730000-memory.dmp

            memory/1528-74-0x0000021A017C0000-0x0000021A017D0000-memory.dmp

            memory/1528-79-0x0000021A01730000-0x0000021A01740000-memory.dmp

            memory/1528-85-0x0000021A01750000-0x0000021A01760000-memory.dmp

            memory/1528-84-0x0000021A017F0000-0x0000021A01800000-memory.dmp

            memory/1528-81-0x0000021A017E0000-0x0000021A017F0000-memory.dmp

            memory/1528-80-0x0000021A017D0000-0x0000021A017E0000-memory.dmp

            memory/1528-83-0x0000021A01740000-0x0000021A01750000-memory.dmp

            memory/1528-96-0x0000021A01770000-0x0000021A01780000-memory.dmp

            memory/1528-95-0x0000021A01830000-0x0000021A01840000-memory.dmp

            memory/1528-94-0x0000021A01820000-0x0000021A01830000-memory.dmp

            memory/1528-93-0x0000021A01810000-0x0000021A01820000-memory.dmp

            memory/1528-92-0x0000021A01800000-0x0000021A01810000-memory.dmp

            memory/1528-91-0x0000021A01760000-0x0000021A01770000-memory.dmp

            memory/1528-90-0x0000021A7E7E0000-0x0000021A7E7E1000-memory.dmp

            memory/1528-99-0x0000021A7E7E0000-0x0000021A7E7E1000-memory.dmp

            memory/1528-101-0x0000021A01780000-0x0000021A01790000-memory.dmp

            memory/1528-102-0x0000021A01840000-0x0000021A01850000-memory.dmp

            memory/1528-23-0x0000021A016C0000-0x0000021A016D0000-memory.dmp

            memory/1528-104-0x0000021A01790000-0x0000021A017A0000-memory.dmp

            memory/1528-110-0x0000021A017A0000-0x0000021A017B0000-memory.dmp

            memory/1528-111-0x0000021A01860000-0x0000021A01870000-memory.dmp

            memory/1528-22-0x0000021A016B0000-0x0000021A016C0000-memory.dmp

            memory/1528-112-0x0000021A7E7E0000-0x0000021A7E7E1000-memory.dmp

            memory/1528-121-0x0000021A017E0000-0x0000021A017F0000-memory.dmp

            memory/1528-118-0x0000021A01880000-0x0000021A01890000-memory.dmp

            memory/1528-117-0x0000021A017C0000-0x0000021A017D0000-memory.dmp

            memory/1528-120-0x0000021A017D0000-0x0000021A017E0000-memory.dmp

            memory/1528-122-0x0000021A01890000-0x0000021A018A0000-memory.dmp

            memory/1528-114-0x0000021A017B0000-0x0000021A017C0000-memory.dmp

            memory/1528-124-0x0000021A018A0000-0x0000021A018B0000-memory.dmp

            memory/1528-125-0x0000021A7E7E0000-0x0000021A7E7E1000-memory.dmp

            memory/1528-130-0x0000021A017F0000-0x0000021A01800000-memory.dmp

            memory/1528-131-0x0000021A018B0000-0x0000021A018C0000-memory.dmp

            memory/1528-135-0x0000021A01800000-0x0000021A01810000-memory.dmp

            memory/1528-136-0x0000021A01810000-0x0000021A01820000-memory.dmp

            memory/1528-138-0x0000021A01830000-0x0000021A01840000-memory.dmp

            memory/1528-139-0x0000021A018C0000-0x0000021A018D0000-memory.dmp

            memory/1528-137-0x0000021A01820000-0x0000021A01830000-memory.dmp

            memory/1528-141-0x0000021A018D0000-0x0000021A018E0000-memory.dmp

            memory/1528-142-0x0000021A7E7E0000-0x0000021A7E7E1000-memory.dmp

            memory/1528-147-0x0000021A01840000-0x0000021A01850000-memory.dmp

            memory/1528-149-0x0000021A01850000-0x0000021A01860000-memory.dmp

            memory/1528-152-0x0000021A7E7E0000-0x0000021A7E7E1000-memory.dmp

            memory/1528-171-0x0000021A017A0000-0x0000021A017B0000-memory.dmp

            memory/1528-178-0x0000021A01880000-0x0000021A01890000-memory.dmp

            memory/1528-177-0x0000021A01870000-0x0000021A01880000-memory.dmp

            memory/1528-176-0x0000021A01860000-0x0000021A01870000-memory.dmp

            memory/1528-175-0x0000021A01740000-0x0000021A01750000-memory.dmp

            memory/1528-174-0x0000021A017D0000-0x0000021A017E0000-memory.dmp

            memory/1528-173-0x0000021A017C0000-0x0000021A017D0000-memory.dmp

            memory/1528-172-0x0000021A017B0000-0x0000021A017C0000-memory.dmp

            memory/1528-170-0x0000021A01790000-0x0000021A017A0000-memory.dmp

            memory/1528-169-0x0000021A01780000-0x0000021A01790000-memory.dmp

            memory/1528-168-0x0000021A01770000-0x0000021A01780000-memory.dmp

            memory/1528-167-0x0000021A01760000-0x0000021A01770000-memory.dmp

            memory/1528-166-0x0000021A01750000-0x0000021A01760000-memory.dmp

            memory/1528-165-0x0000021A01730000-0x0000021A01740000-memory.dmp

            memory/1528-164-0x0000021A01720000-0x0000021A01730000-memory.dmp

            memory/1528-163-0x0000021A01710000-0x0000021A01720000-memory.dmp

            memory/1528-162-0x0000021A01700000-0x0000021A01710000-memory.dmp

            memory/1528-161-0x0000021A016F0000-0x0000021A01700000-memory.dmp

            memory/1528-160-0x0000021A016E0000-0x0000021A016F0000-memory.dmp

            memory/1528-159-0x0000021A016D0000-0x0000021A016E0000-memory.dmp

            memory/1528-158-0x0000021A016C0000-0x0000021A016D0000-memory.dmp

            memory/1528-18-0x0000021A016A0000-0x0000021A016B0000-memory.dmp

            memory/1528-115-0x0000021A01870000-0x0000021A01880000-memory.dmp

            memory/1528-15-0x0000021A01680000-0x0000021A01690000-memory.dmp

            memory/1528-4-0x0000021A01410000-0x0000021A01680000-memory.dmp

            memory/1528-157-0x0000021A016B0000-0x0000021A016C0000-memory.dmp

            memory/1528-156-0x0000021A016A0000-0x0000021A016B0000-memory.dmp

            memory/1528-155-0x0000021A01690000-0x0000021A016A0000-memory.dmp

            memory/1528-154-0x0000021A01680000-0x0000021A01690000-memory.dmp

            memory/1528-153-0x0000021A01410000-0x0000021A01680000-memory.dmp

            memory/4880-260-0x000001FDFFC60000-0x000001FDFFC61000-memory.dmp

            memory/4880-276-0x000001FDFFC60000-0x000001FDFFC61000-memory.dmp

            memory/4880-277-0x000001FDFFC60000-0x000001FDFFC61000-memory.dmp