Analysis

  • max time kernel
    116s
  • max time network
    145s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-04-2024 01:14

General

  • Target

    e222d75a33fff327ec1254811a7304797c289cdfb30be9fe11013bbb40c7aa5d.exe

  • Size

    726KB

  • MD5

    126f918e50102b724bc12bc368659c26

  • SHA1

    b42dbabdd6fa6fae98642dd4d3619daf8e26e960

  • SHA256

    e222d75a33fff327ec1254811a7304797c289cdfb30be9fe11013bbb40c7aa5d

  • SHA512

    1093165e4bb2ddc0db24ec235babe843dcf82d9e8e20cfbc6e320af509b99dd0337a17a8b8862777df8621ec218f020565f30ae86dc34c0c78cd2ae525df1177

  • SSDEEP

    12288:YWYIPXjxannnHg2ahnN4vbcUNl9P7ytOH3utm0eULAZC+yGvk2YPmI1:YWYIPFannnHg240lwQCmsAZp5vCL1

Malware Config

Extracted

Family

agenttesla

C2

https://api.telegram.org/bot7102823318:AAHAsxGnWgIMglBwmkDdZmvCKtYHywBY4Bc/

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.

  • 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 2 TTPs

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

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Looks up external IP address via web service 3 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.

  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\e222d75a33fff327ec1254811a7304797c289cdfb30be9fe11013bbb40c7aa5d.exe
    "C:\Users\Admin\AppData\Local\Temp\e222d75a33fff327ec1254811a7304797c289cdfb30be9fe11013bbb40c7aa5d.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1680
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\e222d75a33fff327ec1254811a7304797c289cdfb30be9fe11013bbb40c7aa5d.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3564
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\wqZdtmVGmXVmOF.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1308
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\wqZdtmVGmXVmOF" /XML "C:\Users\Admin\AppData\Local\Temp\tmpACE9.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4320
    • C:\Users\Admin\AppData\Local\Temp\e222d75a33fff327ec1254811a7304797c289cdfb30be9fe11013bbb40c7aa5d.exe
      "C:\Users\Admin\AppData\Local\Temp\e222d75a33fff327ec1254811a7304797c289cdfb30be9fe11013bbb40c7aa5d.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:3244

Network

MITRE ATT&CK Matrix ATT&CK v13

Execution

Scheduled Task/Job

1
T1053

Persistence

Boot or Logon Autostart Execution

1
T1547

Registry Run Keys / Startup Folder

1
T1547.001

Scheduled Task/Job

1
T1053

Privilege Escalation

Boot or Logon Autostart Execution

1
T1547

Registry Run Keys / Startup Folder

1
T1547.001

Scheduled Task/Job

1
T1053

Defense Evasion

Modify Registry

1
T1112

Credential Access

Unsecured Credentials

4
T1552

Credentials In Files

3
T1552.001

Credentials in Registry

1
T1552.002

Discovery

Query Registry

1
T1012

System Information Discovery

2
T1082

Collection

Data from Local System

4
T1005

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
    Filesize

    2KB

    MD5

    968cb9309758126772781b83adb8a28f

    SHA1

    8da30e71accf186b2ba11da1797cf67f8f78b47c

    SHA256

    92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a

    SHA512

    4bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
    Filesize

    18KB

    MD5

    3e58f41e3f666b0b8088dd307b3dc935

    SHA1

    64c26f28d80e9ce091b85c880f03ce83b66e8c1b

    SHA256

    418b933fa0895704503ad11b0f99aeadae8dd863cf24591625e1403654a2eeff

    SHA512

    e92d48000a7f8875b8b58d601fcc490422edc7f33f16f539b529feb417a2b70d55d0bd5a1b453e318d6b2349d27249debfa136b633cc7e0235ab46f1b20cb36a

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_lucyudhu.svx.ps1
    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Local\Temp\cashout\cashout.exe
    Filesize

    726KB

    MD5

    126f918e50102b724bc12bc368659c26

    SHA1

    b42dbabdd6fa6fae98642dd4d3619daf8e26e960

    SHA256

    e222d75a33fff327ec1254811a7304797c289cdfb30be9fe11013bbb40c7aa5d

    SHA512

    1093165e4bb2ddc0db24ec235babe843dcf82d9e8e20cfbc6e320af509b99dd0337a17a8b8862777df8621ec218f020565f30ae86dc34c0c78cd2ae525df1177

  • C:\Users\Admin\AppData\Local\Temp\tmpACE9.tmp
    Filesize

    1KB

    MD5

    00106926baf4f846a512c972e1f18751

    SHA1

    67100e8882bfa14d37ab50219ec74a2ca74b72c0

    SHA256

    0178dbfb2e156c9c1050571335179ef3daeb0e62728842506481d586c7498a15

    SHA512

    563c76cc629b458a1be19223df40066942a3d77291e25403ae8983e91c20ac9a3611d7e7d3c1c6d304e557e4df1db8a06a65b7303924aa9118c305d50db4f426

  • memory/1308-75-0x0000000007360000-0x000000000736E000-memory.dmp
    Filesize

    56KB

  • memory/1308-47-0x0000000006F90000-0x0000000006FC2000-memory.dmp
    Filesize

    200KB

  • memory/1308-46-0x0000000005EB0000-0x0000000005EFC000-memory.dmp
    Filesize

    304KB

  • memory/1308-48-0x00000000714F0000-0x000000007153C000-memory.dmp
    Filesize

    304KB

  • memory/1308-71-0x0000000007130000-0x000000000714A000-memory.dmp
    Filesize

    104KB

  • memory/1308-70-0x0000000007770000-0x0000000007DEA000-memory.dmp
    Filesize

    6.5MB

  • memory/1308-72-0x00000000071A0000-0x00000000071AA000-memory.dmp
    Filesize

    40KB

  • memory/1308-60-0x0000000006FD0000-0x0000000006FEE000-memory.dmp
    Filesize

    120KB

  • memory/1680-9-0x000000000C9D0000-0x000000000CA6C000-memory.dmp
    Filesize

    624KB

  • memory/1680-2-0x0000000006010000-0x00000000065B4000-memory.dmp
    Filesize

    5.6MB

  • memory/1680-3-0x0000000005A60000-0x0000000005AF2000-memory.dmp
    Filesize

    584KB

  • memory/1680-0-0x0000000000F30000-0x0000000000FEA000-memory.dmp
    Filesize

    744KB

  • memory/1680-1-0x0000000074E20000-0x00000000755D0000-memory.dmp
    Filesize

    7.7MB

  • memory/1680-4-0x00000000059E0000-0x00000000059F0000-memory.dmp
    Filesize

    64KB

  • memory/1680-8-0x00000000098A0000-0x0000000009928000-memory.dmp
    Filesize

    544KB

  • memory/1680-35-0x0000000074E20000-0x00000000755D0000-memory.dmp
    Filesize

    7.7MB

  • memory/1680-7-0x0000000005CA0000-0x0000000005CB4000-memory.dmp
    Filesize

    80KB

  • memory/1680-6-0x0000000005C70000-0x0000000005C90000-memory.dmp
    Filesize

    128KB

  • memory/1680-5-0x00000000059D0000-0x00000000059DA000-memory.dmp
    Filesize

    40KB

  • memory/3244-87-0x0000000007190000-0x00000000071E0000-memory.dmp
    Filesize

    320KB

  • memory/3244-33-0x0000000000400000-0x0000000000444000-memory.dmp
    Filesize

    272KB

  • memory/3564-15-0x0000000074E20000-0x00000000755D0000-memory.dmp
    Filesize

    7.7MB

  • memory/3564-58-0x00000000714F0000-0x000000007153C000-memory.dmp
    Filesize

    304KB

  • memory/3564-45-0x0000000006160000-0x000000000617E000-memory.dmp
    Filesize

    120KB

  • memory/3564-69-0x0000000007350000-0x00000000073F3000-memory.dmp
    Filesize

    652KB

  • memory/3564-32-0x0000000005B70000-0x0000000005EC4000-memory.dmp
    Filesize

    3.3MB

  • memory/3564-20-0x0000000005240000-0x00000000052A6000-memory.dmp
    Filesize

    408KB

  • memory/3564-21-0x00000000059F0000-0x0000000005A56000-memory.dmp
    Filesize

    408KB

  • memory/3564-73-0x0000000007710000-0x00000000077A6000-memory.dmp
    Filesize

    600KB

  • memory/3564-74-0x0000000007690000-0x00000000076A1000-memory.dmp
    Filesize

    68KB

  • memory/3564-19-0x00000000051A0000-0x00000000051C2000-memory.dmp
    Filesize

    136KB

  • memory/3564-76-0x00000000076D0000-0x00000000076E4000-memory.dmp
    Filesize

    80KB

  • memory/3564-77-0x00000000077D0000-0x00000000077EA000-memory.dmp
    Filesize

    104KB

  • memory/3564-78-0x00000000077B0000-0x00000000077B8000-memory.dmp
    Filesize

    32KB

  • memory/3564-16-0x0000000004C80000-0x0000000004C90000-memory.dmp
    Filesize

    64KB

  • memory/3564-17-0x0000000004C80000-0x0000000004C90000-memory.dmp
    Filesize

    64KB

  • memory/3564-84-0x0000000074E20000-0x00000000755D0000-memory.dmp
    Filesize

    7.7MB

  • memory/3564-18-0x00000000052C0000-0x00000000058E8000-memory.dmp
    Filesize

    6.2MB

  • memory/3564-14-0x0000000004B90000-0x0000000004BC6000-memory.dmp
    Filesize

    216KB