Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-12-2024 02:20

General

  • Target

    3262bd3a884311409a84415b7edffaecfacd37c2948f3f4fc1ea5b664abaed85.js

  • Size

    7KB

  • MD5

    f9909c7c05d71c1d6b64286308f98acc

  • SHA1

    285b28cb198161825f9860c9d92d394b4e5432bd

  • SHA256

    3262bd3a884311409a84415b7edffaecfacd37c2948f3f4fc1ea5b664abaed85

  • SHA512

    57229234a1439080f06e8388a1f3680800c65ade4c5bdfe4ca2baa44e39d90decc04930241a0de83be5537e6e0081753f56cb624de4f893eb5b238b21eb75d93

  • SSDEEP

    192:++B5F0K8hVKxuKb5xy49ngVvVgDyDGGxziGqV+xqQ:++3F0K8hVKxuKb5xy49ngVvVgDyDGGxb

Malware Config

Extracted

Family

strrat

C2

chongmei33.publicvm.com:44662

jinvestments.duckdns.org:44662

Attributes
  • license_id

    khonsari

  • plugins_url

    http://jbfrost.live/strigoi/server/?hwid=1&lid=m&ht=5

  • scheduled_task

    true

  • secondary_startup

    true

  • startup

    true

Extracted

Family

wshrat

C2

http://chongmei33.publicvm.com:7045

Signatures

  • STRRAT

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

  • Strrat family
  • WSHRAT

    WSHRAT is a variant of Houdini worm and has vbs and js variants.

  • Wshrat family
  • Blocklisted process makes network request 27 IoCs
  • Checks computer location settings 2 TTPs 4 IoCs

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

  • Drops startup file 3 IoCs
  • Loads dropped DLL 2 IoCs
  • Accesses Microsoft Outlook profiles 1 TTPs 7 IoCs
  • Adds Run key to start application 2 TTPs 6 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).

  • Modifies registry class 3 IoCs
  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

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

  • Script User-Agent 26 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 36 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.

  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\3262bd3a884311409a84415b7edffaecfacd37c2948f3f4fc1ea5b664abaed85.js
    1⤵
    • Blocklisted process makes network request
    • Checks computer location settings
    • Modifies registry class
    • Suspicious use of WriteProcessMemory
    PID:4764
    • C:\Windows\System32\WScript.exe
      "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\ELMAMV.js"
      2⤵
      • Checks computer location settings
      • Modifies registry class
      • Suspicious use of WriteProcessMemory
      PID:4560
      • C:\Windows\System32\WScript.exe
        "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\adobe.js"
        3⤵
        • Checks computer location settings
        • Drops startup file
        • Adds Run key to start application
        • Suspicious use of WriteProcessMemory
        PID:4360
        • C:\Windows\System32\wscript.exe
          "C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\adobe.js"
          4⤵
          • Blocklisted process makes network request
          • Drops startup file
          • Adds Run key to start application
          PID:5084
      • C:\Windows\System32\WScript.exe
        "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\word.js"
        3⤵
        • Checks computer location settings
        • Modifies registry class
        • Suspicious use of WriteProcessMemory
        PID:4832
        • 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\Local\Temp\BDl.jar"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:712
          • C:\Program Files\Java\jre-1.8\bin\java.exe
            "C:\Program Files\Java\jre-1.8\bin\java.exe" -jar "C:\Users\Admin\BDl.jar"
            5⤵
            • Drops startup file
            • Adds Run key to start application
            • Suspicious use of WriteProcessMemory
            PID:2708
            • C:\Windows\SYSTEM32\cmd.exe
              cmd /c schtasks /create /sc minute /mo 30 /tn Skype /tr "C:\Users\Admin\AppData\Roaming\BDl.jar"
              6⤵
              • Suspicious use of WriteProcessMemory
              PID:4316
              • C:\Windows\system32\schtasks.exe
                schtasks /create /sc minute /mo 30 /tn Skype /tr "C:\Users\Admin\AppData\Roaming\BDl.jar"
                7⤵
                • Scheduled Task/Job: Scheduled Task
                PID:4340
            • 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\BDl.jar"
              6⤵
              • Loads dropped DLL
              • Accesses Microsoft Outlook profiles
              • Suspicious use of WriteProcessMemory
              • outlook_office_path
              • outlook_win_path
              PID:800
              • 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:4916
                • C:\Windows\System32\Wbem\WMIC.exe
                  wmic /node:. /namespace:'\\root\cimv2' path win32_logicaldisk get volumeserialnumber /format:list
                  8⤵
                  • Suspicious use of AdjustPrivilegeToken
                  PID:3200
              • 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:3960
                • 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:3464
              • 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:4940
                • C:\Windows\System32\Wbem\WMIC.exe
                  wmic /node:. /namespace:'\\root\cimv2' path win32_operatingsystem get version /format:list
                  8⤵
                    PID:4088
                • 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:4188
                  • C:\Windows\System32\Wbem\WMIC.exe
                    wmic /node:localhost /namespace:'\\root\securitycenter2' path antivirusproduct get displayname /format:list
                    8⤵
                      PID:2024
                  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                    powershell.exe "[void][Windows.Security.Credentials.PasswordVault,Windows.Security.Credentials,ContentType=WindowsRuntime] $vault = New-Object Windows.Security.Credentials.PasswordVault $vault.RetrieveAll() | % { $_.RetrievePassword();$_ }"
                    7⤵
                    • Suspicious behavior: EnumeratesProcesses
                    PID:3208

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\ProgramData\Oracle\Java\.oracle_jre_usage\3903daac9bc4a3b7.timestamp

        Filesize

        46B

        MD5

        a9733890e2ec95d64c19799acc32611f

        SHA1

        b5587424f6cb392b49179cb7a03fdfd14f62ecd8

        SHA256

        7ec7e97ecfe03cf08119b115752df0640ec7f9cd9aa87ba639de004a978e1961

        SHA512

        fe148161f8f3ecdecd0a3c917c7b86b7f45733a196a0578205f87e84dd6006ba17b44911d4a6eccad649e83796757bfa34c6e932ddb3cd5d3d1f3ca5bb31ba12

      • C:\Users\Admin\AppData\Local\Temp\BDl.jar

        Filesize

        265KB

        MD5

        100bbed27b8141ab3a41c35b110844b3

        SHA1

        94ff90d69a7e4b07b6ebb9ff96ba5913376c4876

        SHA256

        05f0093f5b7ff5497c2a4c9bc86abfd001a450aa55d16b66a2707dfcac704886

        SHA512

        a3977f2df0eeaef7e9cc6314d82edd2dbe2ba9d1a9d42fe824e3b4d3a267bf4a987652a83125c6ea26332cc2b42aa058d712d74bd84d603b0b74136d020a822a

      • C:\Users\Admin\AppData\Local\Temp\ELMAMV.js

        Filesize

        956KB

        MD5

        a3509dfa4195829dd6ca7022f6f6e729

        SHA1

        0953470f0ae7e2853b7ba085b48f38f3c9052024

        SHA256

        a69c37a37c7e4acebbc4bc9ed276c2c433171ac47dc68d941d687975e2761759

        SHA512

        e8503bb69a1b523a15c399480c68bc8d4fef0d5acbb99cbea7a3a86cd44368d1bc602e5c2bd8285170fd0ee4b3bc7c1f0066cfa1518eb53efd3dee31a1beb127

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_q5eqfkyh.cxd.psm1

        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

      • C:\Users\Admin\AppData\Local\Temp\adobe.js

        Filesize

        305KB

        MD5

        9afd9ece1bd1d495d993df48fe93a8dd

        SHA1

        22cb23fd8ee7ae5c1c0ca606881594f90f09230a

        SHA256

        1fdb1c5ad65e00e4520df60b9c3b880059ed77fcbf41787c6dd6a9abc0180a5c

        SHA512

        1d28b54294c4995983699a6edeeb471ff6b3fdd025a360ee0b76435b6ce2843c1a7cad3d0b2d8e6b421af7a8c5c220e23ca2798bc4560713319153b24b2e2f75

      • C:\Users\Admin\AppData\Local\Temp\jna-63116079\jna5215495407343795517.dll

        Filesize

        241KB

        MD5

        e02979ecd43bcc9061eb2b494ab5af50

        SHA1

        3122ac0e751660f646c73b10c4f79685aa65c545

        SHA256

        a66959bec2ef5af730198db9f3b3f7cab0d4ae70ce01bec02bf1d738e6d1ee7a

        SHA512

        1e6f7dcb6a557c9b896412a48dd017c16f7a52fa2b9ab513593c9ecd118e86083979821ca7a3e2f098ee349200c823c759cec6599740dd391cb5f354dc29b372

      • C:\Users\Admin\AppData\Local\Temp\sqlite-3.14.2.1-4bd18c8a-b708-4961-be05-87720c292f08-sqlitejdbc.dll

        Filesize

        914KB

        MD5

        bcd42d2959eadc64dc225cf800ce3c90

        SHA1

        f19981d3c3987259edf9874aaccaaec21616b03d

        SHA256

        05a8557f5d197aca468f5272a2a869293cb11c2f0ab4839a17f144f9a5d0b77d

        SHA512

        428ba3a76543e726b58ea334b6ea9538c7230592cc29fa564fdb44fdb4e2998820514af70b10b80f77c8f1554f63e1a4822ef8db095191956652454d220bc167

      • C:\Users\Admin\AppData\Local\Temp\word.js

        Filesize

        376KB

        MD5

        77d34374418de906c54392bfb251f384

        SHA1

        25974846aa5ec0c519d6dd707753c5ac5528eb15

        SHA256

        763e249aff06d3afde2ad073dd463d1b65ba8f26d227cde3520649ebbda30814

        SHA512

        1e5a02cb8949bcedfc805d0d5db6fe0bca5e5e15cc10b481a85af444d3404d18e6c51cdfb6032c3caa9c1a55000fdc954d269fe55cef663f3bfa194a66e6e379

      • C:\Users\Admin\AppData\Roaming\Microsoft\Crypto\RSA\S-1-5-21-1045960512-3948844814-3059691613-1000\83aa4cc77f591dfc2374580bbd95f6ba_a4172161-d53d-48af-8f36-a00b057e74d4

        Filesize

        45B

        MD5

        c8366ae350e7019aefc9d1e6e6a498c6

        SHA1

        5731d8a3e6568a5f2dfbbc87e3db9637df280b61

        SHA256

        11e6aca8e682c046c83b721eeb5c72c5ef03cb5936c60df6f4993511ddc61238

        SHA512

        33c980d5a638bfc791de291ebf4b6d263b384247ab27f261a54025108f2f85374b579a026e545f81395736dd40fa4696f2163ca17640dd47f1c42bc9971b18cd

      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\adobe.js

        Filesize

        64KB

        MD5

        fcd6bcb56c1689fcef28b57c22475bad

        SHA1

        1adc95bebe9eea8c112d40cd04ab7a8d75c4f961

        SHA256

        de2f256064a0af797747c2b97505dc0b9f3df0de4f489eac731c23ae9ca9cc31

        SHA512

        73e4153936dab198397b74ee9efc26093dda721eaab2f8d92786891153b45b04265a161b169c988edb0db2c53124607b6eaaa816559c5ce54f3dbc9fa6a7a4b2

      • C:\Users\Admin\lib\jna-5.5.0.jar

        Filesize

        1.4MB

        MD5

        acfb5b5fd9ee10bf69497792fd469f85

        SHA1

        0e0845217c4907822403912ad6828d8e0b256208

        SHA256

        b308faebfe4ed409de8410e0a632d164b2126b035f6eacff968d3908cafb4d9e

        SHA512

        e52575f58a195ceb3bd16b9740eadf5bc5b1d4d63c0734e8e5fd1d1776aa2d068d2e4c7173b83803f95f72c0a6759ae1c9b65773c734250d4cfcdf47a19f82aa

      • C:\Users\Admin\lib\jna-platform-5.5.0.jar

        Filesize

        2.6MB

        MD5

        2f4a99c2758e72ee2b59a73586a2322f

        SHA1

        af38e7c4d0fc73c23ecd785443705bfdee5b90bf

        SHA256

        24d81621f82ac29fcdd9a74116031f5907a2343158e616f4573bbfa2434ae0d5

        SHA512

        b860459a0d3bf7ccb600a03aa1d2ac0358619ee89b2b96ed723541e182b6fdab53aefef7992acb4e03fca67aa47cbe3907b1e6060a60b57ed96c4e00c35c7494

      • C:\Users\Admin\lib\sqlite-jdbc-3.14.2.1.jar

        Filesize

        4.1MB

        MD5

        b33387e15ab150a7bf560abdc73c3bec

        SHA1

        66b8075784131f578ef893fd7674273f709b9a4c

        SHA256

        2eae3dea1c3dde6104c49f9601074b6038ff6abcf3be23f4b56f6720a4f6a491

        SHA512

        25cfb0d6ce35d0bcb18527d3aa12c63ecb2d9c1b8b78805d1306e516c13480b79bb0d74730aa93bd1752f9ac2da9fdd51781c48844cea2fd52a06c62852c8279

      • C:\Users\Admin\lib\system-hook-3.5.jar

        Filesize

        772KB

        MD5

        e1aa38a1e78a76a6de73efae136cdb3a

        SHA1

        c463da71871f780b2e2e5dba115d43953b537daf

        SHA256

        2ddda8af6faef8bde46acf43ec546603180bcf8dcb2e5591fff8ac9cd30b5609

        SHA512

        fee16fe9364926ec337e52f551fd62ed81984808a847de2fd68ff29b6c5da0dcc04ef6d8977f0fe675662a7d2ea1065cdcdd2a5259446226a7c7c5516bd7d60d

      • memory/712-74-0x000001E8EF040000-0x000001E8EF041000-memory.dmp

        Filesize

        4KB

      • memory/712-78-0x000001E8EF040000-0x000001E8EF041000-memory.dmp

        Filesize

        4KB

      • memory/712-98-0x000001E8EF040000-0x000001E8EF041000-memory.dmp

        Filesize

        4KB

      • memory/712-38-0x000001E8EF040000-0x000001E8EF041000-memory.dmp

        Filesize

        4KB

      • memory/712-91-0x000001E8EF040000-0x000001E8EF041000-memory.dmp

        Filesize

        4KB

      • memory/712-83-0x000001E8EF040000-0x000001E8EF041000-memory.dmp

        Filesize

        4KB

      • memory/712-58-0x000001E8EF040000-0x000001E8EF041000-memory.dmp

        Filesize

        4KB

      • memory/712-101-0x000001E8EF040000-0x000001E8EF041000-memory.dmp

        Filesize

        4KB

      • memory/800-179-0x000001EB89DA0000-0x000001EB89DA1000-memory.dmp

        Filesize

        4KB

      • memory/800-165-0x000001EB89DA0000-0x000001EB89DA1000-memory.dmp

        Filesize

        4KB

      • memory/800-217-0x0000000061680000-0x000000006176D000-memory.dmp

        Filesize

        948KB

      • memory/2708-135-0x000001EFE7720000-0x000001EFE7721000-memory.dmp

        Filesize

        4KB

      • memory/3208-188-0x00000233E7460000-0x00000233E7482000-memory.dmp

        Filesize

        136KB

      • memory/3208-198-0x00000233E7490000-0x00000233E749A000-memory.dmp

        Filesize

        40KB

      • memory/3208-199-0x00000233E75D0000-0x00000233E75D8000-memory.dmp

        Filesize

        32KB