Analysis

  • max time kernel
    147s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    17-10-2024 08:11

General

  • Target

    Quote.js

  • Size

    1.5MB

  • MD5

    7d2d391002b97ff0652b9148902b6abd

  • SHA1

    142abb8196206209738c16b1da79e9773d349ba5

  • SHA256

    1605ba6b37eeca60319c2a18a2004856d01b7563aa660793d229a80acbfa669b

  • SHA512

    f6c1ecba496b65b8ff7f78b22e846db8dc1adceae21fd5f2ac8c0720a81cfee3c18b106d6b7cf844a47443bbf697b3c7966b795996bbc46c84ff1ad3a687ea1a

  • SSDEEP

    6144:KQiFy0BCvRBHByGr0cr4lUGZB4By1jnld66nsleTosWDRC/Gjt5PzoArRT9S5ZTI:Z6VR7loaaf

Malware Config

Extracted

Family

wshrat

C2

http://37.48.102.22:2020

Signatures

  • WSHRAT

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

  • Detected Nirsoft tools 1 IoCs

    Free utilities often used by attackers which can steal passwords, product keys, etc.

  • NirSoft MailPassView 1 IoCs

    Password recovery tool for various email clients

  • Blocklisted process makes network request 36 IoCs
  • Drops startup file 2 IoCs
  • Executes dropped EXE 4 IoCs
  • Loads dropped DLL 1 IoCs
  • Reads user/profile data of web browsers 3 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Accesses Microsoft Outlook accounts 1 TTPs 1 IoCs
  • Adds Run key to start application 2 TTPs 8 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
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

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

  • Kills process with taskkill 3 IoCs
  • Runs .reg file with regedit 2 IoCs
  • Script User-Agent 28 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 57 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.

  • Uses Volume Shadow Copy WMI provider

    The Volume Shadow Copy service is used to manage backups/snapshots.

  • Uses Volume Shadow Copy service COM API

    The Volume Shadow Copy service is used to manage backups/snapshots.

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\Quote.js
    1⤵
    • Drops startup file
    • Adds Run key to start application
    • Suspicious use of WriteProcessMemory
    PID:1680
    • C:\Windows\regedit.exe
      "regedit.exe" "C:\Users\Admin\AppData\Local\Temp\ebgeaegdbdecaedfebace.reg"
      2⤵
      • Runs .reg file with regedit
      PID:1384
    • C:\Windows\System32\wscript.exe
      "C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\Quote.js"
      2⤵
      • Blocklisted process makes network request
      • Drops startup file
      • Adds Run key to start application
      • Suspicious use of WriteProcessMemory
      PID:2728
      • C:\Windows\regedit.exe
        "regedit.exe" "C:\Users\Admin\AppData\Local\Temp\ebgeaegdbdecaedfebace.reg"
        3⤵
        • Runs .reg file with regedit
        PID:2752
      • C:\Users\Admin\AppData\Roaming\keylogger.exe
        "C:\Users\Admin\AppData\Roaming\keylogger.exe"
        3⤵
        • Executes dropped EXE
        • Adds Run key to start application
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:2636
        • C:\Windows\SysWOW64\WScript.exe
          "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\install.vbs"
          4⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:2740
          • C:\Windows\SysWOW64\cmd.exe
            "C:\Windows\System32\cmd.exe" /c "C:\Users\Admin\AppData\Roaming\ViottoKeylogger\vkl.exe"
            5⤵
            • Loads dropped DLL
            • System Location Discovery: System Language Discovery
            • Suspicious use of WriteProcessMemory
            PID:2944
            • C:\Users\Admin\AppData\Roaming\ViottoKeylogger\vkl.exe
              C:\Users\Admin\AppData\Roaming\ViottoKeylogger\vkl.exe
              6⤵
              • Executes dropped EXE
              • Adds Run key to start application
              • System Location Discovery: System Language Discovery
              • Suspicious use of SetWindowsHookEx
              PID:3040
      • C:\Windows\system32\cmd.exe
        "C:\Windows\system32\cmd.exe" /c taskkill /F /IM cmdc.exe
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1768
        • C:\Windows\system32\taskkill.exe
          taskkill /F /IM cmdc.exe
          4⤵
          • Kills process with taskkill
          • Suspicious use of AdjustPrivilegeToken
          PID:1928
      • C:\Windows\system32\cmd.exe
        "C:\Windows\system32\cmd.exe" /c taskkill /F /IM cmdc.exe
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1936
        • C:\Windows\system32\taskkill.exe
          taskkill /F /IM cmdc.exe
          4⤵
          • Kills process with taskkill
          • Suspicious use of AdjustPrivilegeToken
          PID:2312
      • C:\Users\Admin\AppData\Roaming\cmdc.exe
        "C:\Users\Admin\AppData\Roaming\cmdc.exe" /stext C:\Users\Admin\AppData\Roaming\cmdc.exedata
        3⤵
        • Executes dropped EXE
        • System Location Discovery: System Language Discovery
        PID:1492
      • C:\Windows\system32\cmd.exe
        "C:\Windows\system32\cmd.exe" /c taskkill /F /IM cmdc.exe
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:2224
        • C:\Windows\system32\taskkill.exe
          taskkill /F /IM cmdc.exe
          4⤵
          • Kills process with taskkill
          • Suspicious use of AdjustPrivilegeToken
          PID:2296
      • C:\Users\Admin\AppData\Roaming\cmdc.exe
        "C:\Users\Admin\AppData\Roaming\cmdc.exe" /stext C:\Users\Admin\AppData\Roaming\cmdc.exedata
        3⤵
        • Executes dropped EXE
        • Accesses Microsoft Outlook accounts
        • System Location Discovery: System Language Discovery
        PID:528
      • C:\Windows\system32\cmd.exe
        "C:\Windows\system32\cmd.exe" /c mkdir "C:\Users\Admin\AppData\Roaming\wshlogs"
        3⤵
          PID:1708
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -command [void][Windows.Security.Credentials.PasswordVault,Windows.Security.Credentials,ContentType=WindowsRuntime] $vault = New-Object Windows.Security.Credentials.PasswordVault $vault.RetrieveAll() | % { $_.RetrievePassword();$_ } > "C:\Users\Admin\AppData\Local\Temp\tmp.txt"
          3⤵
          • Command and Scripting Interpreter: PowerShell
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1600

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\ebgeaegdbdecaedfebace.reg

      Filesize

      143B

      MD5

      0e5411d7ecba9a435afda71c6c39d8fd

      SHA1

      2d6812052bf7be1b5e213e1d813ae39faa07284c

      SHA256

      cb68d50df5817e51ec5b2f72893dc4c749bf3504519107e0a78dda84d55f09e2

      SHA512

      903ac6e5c8a12607af267b54bcbbedfa5542c5b4f7ea289ab7c6a32a424d5b846ae406d830cb4ad48e2b46f92c504163c0856af8c3e09685a8855f39f616ddb1

    • C:\Users\Admin\AppData\Local\Temp\install.vbs

      Filesize

      430B

      MD5

      f4111f61c6d6f585ad20f674592ea89f

      SHA1

      35a84b1a1ab37853ce54560fcc71bca91b0e3ca7

      SHA256

      7b74cf34df17a030bc08fc12d519bda615d38bfe322865fad474a2c2266c171c

      SHA512

      15c2629ff9366277e1cfed9532e01c7c254b2dad0683ac3e19be9a448ad9fe8f2b5b5e1813da7f79fa930aaa10862da02f58077488ee92c91576e37c23fe66df

    • C:\Users\Admin\AppData\Roaming\CMDCEX~1.ZIP

      Filesize

      53KB

      MD5

      a8e496443115a63697cb350f47ae1729

      SHA1

      a69779b57ecc8457e85066e7a5ab742c70ea653d

      SHA256

      6f3cf374a1aa961be87dde5aaeb1706d95cdcadbd1a4c961363e5ff33fab168d

      SHA512

      0c3c5504567912cfd8cf40664463cdc518ce6810bfd05af91ffee30b13f4e115a93f6faae8e5c8aa88ee91e2c3b4404126dbdfcffb82aa2625199e432a3cea9c

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

      Filesize

      576KB

      MD5

      9a47d68ad60c5053701fc32138e054a6

      SHA1

      3a16660844b6412b9d3fa0c6cb84f3d3a05e89f7

      SHA256

      1757f2391f436fc787fab2960807a25d1959331cdcd0ceaa182a1787618dd085

      SHA512

      cb935590b96c84d8dd86bea1d550e73c5e4474bb6bef3616474e301900d954445497b98b65a4bda94fd4c92929f6c4ac0eaf1b45b7a6d62732f673c19266b212

    • C:\Users\Admin\AppData\Roaming\Quote.js

      Filesize

      1.5MB

      MD5

      7d2d391002b97ff0652b9148902b6abd

      SHA1

      142abb8196206209738c16b1da79e9773d349ba5

      SHA256

      1605ba6b37eeca60319c2a18a2004856d01b7563aa660793d229a80acbfa669b

      SHA512

      f6c1ecba496b65b8ff7f78b22e846db8dc1adceae21fd5f2ac8c0720a81cfee3c18b106d6b7cf844a47443bbf697b3c7966b795996bbc46c84ff1ad3a687ea1a

    • C:\Users\Admin\AppData\Roaming\cmdc.cfg

      Filesize

      373B

      MD5

      70e69155b8080b5db35191ab8426d084

      SHA1

      383deaaee90ce71b28b0a6e22124e77aa1cccf8b

      SHA256

      104e0212403148a018258ef005a64ec73f0a148dbee230cb5c91dd691d03aefe

      SHA512

      c718c69454e4d9bcac24c918bf4c7f05ab93910b8a4701bd1dc914a9ca13dffe5f083f30881b5796d239c11be2f8b3e38a7e2ac7dcabc3d9810f59d9228bf342

    • C:\Users\Admin\AppData\Roaming\cmdc.exe

      Filesize

      100KB

      MD5

      54e8ded7b148a13d3363ac7b33f6eb06

      SHA1

      63dcbe2db9cc14564eb84d5e953f2f9f5c54acd9

      SHA256

      400b411a9bffd687c5e74f51d43b7dc92cdb8d5ca9f674456b75a5d37587d342

      SHA512

      bf6d047bb55150b2369bdd7dfea9c815894af2e05e5b45f2eedf67d5d6a9569189ee495870fddf334a173a4beed62d2a08807c000d4c47339ac76b760b4ae349

    • C:\Users\Admin\AppData\Roaming\keylogger.exe

      Filesize

      82KB

      MD5

      7d1ec62e7af8e03924a871a1043febbe

      SHA1

      753b472506fafb875217090d518040bc66a330ab

      SHA256

      69b5981fbff2fbd191b8c786da080b3783252742fe47d00d6012ce572dc32d7d

      SHA512

      f4e5945183c4e150525e7b4a3bd1150efb311694e00a31bf2e15491138d27877b2cb0d2bbbe0c90abf2e88f4a4ec54da412794379c3aa130d10b4f71115b3c8f

    • C:\Users\Admin\AppData\Roaming\log.txt

      Filesize

      168B

      MD5

      8d79f6764ead71c94f3af649e25bcbb9

      SHA1

      723bb7f7db126157202f5ad2722cab0da5a2a223

      SHA256

      4c4c439dc7c081b3edee078ee649cdb3c8f18aa44ddf73aa5dae5eb1a925a7c2

      SHA512

      11707c094227ccfdab90965e2baba52e5883f265aee388e44ec6f84ade394718f540c4eebf395b55dffd6dd9f5c5204c68ab0478bf9c7098d42885aaeaca7a79

    • memory/1384-2-0x0000000000290000-0x0000000000291000-memory.dmp

      Filesize

      4KB

    • memory/1384-4-0x0000000000290000-0x0000000000291000-memory.dmp

      Filesize

      4KB

    • memory/1600-140-0x000000001B6D0000-0x000000001B9B2000-memory.dmp

      Filesize

      2.9MB

    • memory/1600-141-0x0000000001E10000-0x0000000001E18000-memory.dmp

      Filesize

      32KB

    • memory/2636-28-0x0000000000400000-0x0000000000433000-memory.dmp

      Filesize

      204KB

    • memory/2636-20-0x0000000000400000-0x0000000000433000-memory.dmp

      Filesize

      204KB

    • memory/2944-33-0x00000000001F0000-0x0000000000223000-memory.dmp

      Filesize

      204KB

    • memory/2944-39-0x00000000001F0000-0x0000000000223000-memory.dmp

      Filesize

      204KB

    • memory/3040-34-0x0000000000400000-0x0000000000433000-memory.dmp

      Filesize

      204KB

    • memory/3040-40-0x0000000000400000-0x0000000000433000-memory.dmp

      Filesize

      204KB

    • memory/3040-124-0x0000000000400000-0x0000000000433000-memory.dmp

      Filesize

      204KB