Analysis

  • max time kernel
    94s
  • max time network
    155s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/03/2024, 07:32

General

  • Target
    rInquiry.exe
  • Size 602KB
  • Sample240327-jddasaae6y
  • SHA256 da6572812314662cf364e04dc4db580245e4598063fe952cb509575ca88392f6
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

Credentials

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 1 IoCs
  • Adds Run key to start application 2 TTPs 1 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.

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

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Delays execution with timeout.exe 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 26 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 18 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:\Users\Admin\AppData\Local\Temp\rInquiry.exe
    "C:\Users\Admin\AppData\Local\Temp\rInquiry.exe"
    1⤵
    • Checks computer location settings
    • Adds Run key to start application
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1972
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /c schtasks /create /f /sc onlogon /rl highest /tn "svchost" /tr '"C:\Users\Admin\AppData\Roaming\svchost.exe"' & exit
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3756
      • C:\Windows\system32\schtasks.exe
        schtasks /create /f /sc onlogon /rl highest /tn "svchost" /tr '"C:\Users\Admin\AppData\Roaming\svchost.exe"'
        3⤵
        • Creates scheduled task(s)
        PID:4304
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmpADC4.tmp.bat""
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2108
      • C:\Windows\system32\timeout.exe
        timeout 3
        3⤵
        • Delays execution with timeout.exe
        PID:1128
      • C:\Users\Admin\AppData\Roaming\svchost.exe
        "C:\Users\Admin\AppData\Roaming\svchost.exe"
        3⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:5084
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe"
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4736

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        tmpADC4.tmp.bat

        • Path C:\Users\Admin\AppData\Local\Temp\tmpADC4.tmp.bat
        • Size 151B
        • SHA256 b756d390143f3c7d81119cd3a174854eef71e9432d60e6e0468ad587cbd90e37
        • MD5 SHA1 SHA512

        svchost.exe

        • Path C:\Users\Admin\AppData\Roaming\svchost.exe
        • Size 602KB
        • SHA256 da6572812314662cf364e04dc4db580245e4598063fe952cb509575ca88392f6
        • MD5 SHA1 SHA512 SSDEEP

        memory/1972-0-0x00000291BCFC0000-0x00000291BCFC8000-memory.dmp

        memory/1972-1-0x00007FFBAC6C0000-0x00007FFBAD181000-memory.dmp

        memory/1972-2-0x00000291D7410000-0x00000291D7420000-memory.dmp

        memory/1972-3-0x00000291D7590000-0x00000291D7626000-memory.dmp

        memory/1972-9-0x00007FFBAC6C0000-0x00007FFBAD181000-memory.dmp

        memory/4736-14-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/4736-15-0x00000000746E0000-0x0000000074E90000-memory.dmp

        memory/4736-16-0x0000000005BF0000-0x0000000006194000-memory.dmp

        memory/4736-18-0x0000000005510000-0x0000000005520000-memory.dmp

        memory/4736-19-0x00000000056B0000-0x0000000005716000-memory.dmp

        memory/4736-20-0x00000000069A0000-0x00000000069F0000-memory.dmp

        memory/4736-21-0x0000000006A90000-0x0000000006B22000-memory.dmp

        memory/4736-22-0x0000000006A20000-0x0000000006A2A000-memory.dmp

        memory/4736-23-0x00000000746E0000-0x0000000074E90000-memory.dmp

        memory/4736-24-0x0000000005510000-0x0000000005520000-memory.dmp

        memory/5084-13-0x00007FFBABDA0000-0x00007FFBAC861000-memory.dmp

        memory/5084-17-0x00007FFBABDA0000-0x00007FFBAC861000-memory.dmp