Analysis

  • max time kernel
    135s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03/04/2023, 10:35

General

  • Target
    Microsoft.ps1
  • Size 218KB
  • Sample230403-mmn1esff2v
  • SHA256 8501de3d3e0cb356f11439fc0425a60e8aefd8c24ed7015fffff4334d63e962b
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Extracted

Family
  • asyncrat

Version
  • | Edit 3LOSH RAT

Botnet
  • US

C2
  • 185.81.157.209:2301

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
  • Checks computer location settings 2 TTPs 2 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.

  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 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\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\Microsoft.ps1
    1⤵
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2604
    • C:\Windows\system32\schtasks.exe
      "C:\Windows\system32\schtasks.exe" /create /sc minute /mo 2 /tn Screenshot /tr C:\ProgramData\Document\Screenshot.vbs
      2⤵
      • Creates scheduled task(s)
      PID:4612
  • 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:5048
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" &{ C:\ProgramData\Document\Microsoft.bat}
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:4116
      • C:\Windows\system32\cmd.exe
        C:\Windows\system32\cmd.exe /c ""C:\ProgramData\Document\Microsoft.bat""
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:4748
        • 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")
          4⤵
          • Checks computer location settings
          • Suspicious use of WriteProcessMemory
          PID:3848
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass & 'C:\ProgramData\Document\py.ps1'
            5⤵
            • Suspicious use of SetThreadContext
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            • Suspicious use of WriteProcessMemory
            PID:3224
            • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
              "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
              6⤵
                PID:5116
              • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
                "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
                6⤵
                  PID:5104
                • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
                  "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
                  6⤵
                  • Suspicious use of AdjustPrivilegeToken
                  PID:2160

      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 195B
            • SHA256 e8cef70a6cfc1f944dbfb5fc66723cfb7045eaf87fa4c7067505707d5b109b6e
            • MD5 SHA1 SHA512

            py.ps1

            • Path C:\ProgramData\Document\py.ps1
            • Size 216KB
            • SHA256 4109894feb84432ea5478ab7350a631098160161cda4c3a809942243ca3edb96
            • MD5 SHA1 SHA512 SSDEEP

            powershell.exe.log

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

            StartupProfileData-NonInteractive

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

            __PSScriptPolicyTest_p05qorki.mjr.ps1

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

            memory/2160-183-0x0000000000400000-0x0000000000416000-memory.dmp

            memory/2160-190-0x00000000028C0000-0x00000000028D0000-memory.dmp

            memory/2160-189-0x0000000005470000-0x00000000054D6000-memory.dmp

            memory/2160-188-0x00000000059B0000-0x0000000005F54000-memory.dmp

            memory/2160-187-0x0000000005360000-0x00000000053FC000-memory.dmp

            memory/2160-186-0x00000000028C0000-0x00000000028D0000-memory.dmp

            memory/2604-143-0x0000027F1C620000-0x0000027F1C630000-memory.dmp

            memory/2604-138-0x0000027F1C4F0000-0x0000027F1C512000-memory.dmp

            memory/2604-145-0x0000027F1C620000-0x0000027F1C630000-memory.dmp

            memory/2604-144-0x0000027F1C620000-0x0000027F1C630000-memory.dmp

            memory/3224-180-0x0000028D9D000000-0x0000028D9D010000-memory.dmp

            memory/3224-179-0x0000028D9D000000-0x0000028D9D010000-memory.dmp

            memory/3224-178-0x0000028D9D000000-0x0000028D9D010000-memory.dmp

            memory/4116-165-0x00000175B17B0000-0x00000175B17C0000-memory.dmp