Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13/01/2025, 14:10

General

  • Target

    qcfk71.ps1

  • Size

    883KB

  • MD5

    59b52c8f84fe2c3ad0dbf846458a8b0e

  • SHA1

    d0f7133d12e764781faf7c333f1ba115a7dc29ae

  • SHA256

    635bd1a6aed07ec24ab3cef313535757da24d25a6525e0b172ac943ed43ecd55

  • SHA512

    6a369dc696f5c7569bcf86e4e689985fd6ae21fdfd082da82a73c2647e046a5decb963d1864e5a5c891dee9e7b54480834004f83bc20413e48f6e6f7f8372106

  • SSDEEP

    24576:CZPsiow8xKQ3FuIHIrR2D8+NyzIX6ynYyHPdZoo6ukNoTn1lhie:CZPs68xH8IHIrR48+N7X6crHV6LNoTnV

Malware Config

Extracted

Family

agenttesla

Credentials

  • Protocol:
    ftp
  • Host:
    ftp://ftp.antoniomayol.com:21
  • Port:
    21
  • Username:
    [email protected]
  • Password:
    cMhKDQUk1{;%

Signatures

  • AgentTesla

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

  • Agenttesla family
  • Executes dropped EXE 1 IoCs
  • Reads WinSCP keys stored on the system 2 TTPs

    Tries to access WinSCP stored sessions.

  • Reads data files stored by FTP clients 2 TTPs

    Tries to access configuration files associated with programs like FileZilla.

  • Reads user/profile data of local email clients 2 TTPs

    Email clients store some user data on disk where infostealers will often target it.

  • Reads user/profile data of web browsers 3 TTPs

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

  • 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
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • System Location Discovery: System Language Discovery 1 TTPs 2 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 11 IoCs

Processes

  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\qcfk71.ps1
    1⤵
    • Command and Scripting Interpreter: PowerShell
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3160
    • C:\Users\Admin\AppData\Local\Temp\x.exe
      "C:\Users\Admin\AppData\Local\Temp\x.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of SetThreadContext
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:2740
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2008

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_vhgkzzfn.xbd.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Local\Temp\x.exe

    Filesize

    662KB

    MD5

    513d7de2ff3e34d7580856dc88a01215

    SHA1

    35693800547067d1250896f5b6c3baff65bda92c

    SHA256

    d9ad385b98fe6345d4637b53023afc442eeb5d2fd60290f5e880b70797afc193

    SHA512

    b05c9f2c703938e90a231cd2be432293dd8f980e35c9bd11be156f61954eca04b177052060e64dbed91e8cec42b1e3f9f8381f911e7bd669939838f1271ad68d

  • memory/2008-30-0x0000000000400000-0x0000000000442000-memory.dmp

    Filesize

    264KB

  • memory/2008-37-0x00000000068C0000-0x00000000068CA000-memory.dmp

    Filesize

    40KB

  • memory/2008-36-0x0000000006930000-0x00000000069C2000-memory.dmp

    Filesize

    584KB

  • memory/2008-35-0x0000000006840000-0x0000000006890000-memory.dmp

    Filesize

    320KB

  • memory/2008-34-0x0000000005560000-0x00000000055C6000-memory.dmp

    Filesize

    408KB

  • memory/2008-33-0x00000000058F0000-0x0000000005E94000-memory.dmp

    Filesize

    5.6MB

  • memory/2740-28-0x00000000007D0000-0x000000000087C000-memory.dmp

    Filesize

    688KB

  • memory/2740-29-0x0000000075220000-0x00000000759D0000-memory.dmp

    Filesize

    7.7MB

  • memory/2740-32-0x0000000075220000-0x00000000759D0000-memory.dmp

    Filesize

    7.7MB

  • memory/2740-26-0x000000007522E000-0x000000007522F000-memory.dmp

    Filesize

    4KB

  • memory/3160-0-0x00007FFA7C2A3000-0x00007FFA7C2A5000-memory.dmp

    Filesize

    8KB

  • memory/3160-27-0x00007FFA7C2A0000-0x00007FFA7CD61000-memory.dmp

    Filesize

    10.8MB

  • memory/3160-12-0x00007FFA7C2A0000-0x00007FFA7CD61000-memory.dmp

    Filesize

    10.8MB

  • memory/3160-11-0x00007FFA7C2A0000-0x00007FFA7CD61000-memory.dmp

    Filesize

    10.8MB

  • memory/3160-1-0x0000020428750000-0x0000020428772000-memory.dmp

    Filesize

    136KB