Analysis

  • max time kernel
    118s
  • max time network
    124s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    12-09-2024 15:27

General

  • Target

    DEMURRAGEINVOICE.bat.exe

  • Size

    697KB

  • MD5

    26592310cd0668310fd082bdcbe67a34

  • SHA1

    ec06a6a20f0c2f21d44639915d415ad010cdd74f

  • SHA256

    09ff4bcebea6598159b1341704093ab1ff7e2a1eecd0cdc38cb865edb5a35b62

  • SHA512

    914437329e40b531f4f9d231cba77fff5549d724ef72c2788ebac3cfd3560b17c63cbd0e2018bfdb27d3e32eb509bbf767b8a2f1aeb833fd59568b86f6a3119a

  • SSDEEP

    12288:Gr2+Ub83qcHT4ix3dzjLx1F97kv/pg1Rac9Viwt5XHkB:MUbQ4ix3dzjLx1r7U/GWcniw5U

Malware Config

Extracted

Family

agenttesla

C2

https://api.telegram.org/bot5862304010:AAGELNW7Uh-qnFDDQucOIsNATlN1Btw8R-8/

Signatures

  • AgentTesla

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

  • Credentials from Password Stores: Credentials from Web Browsers 1 TTPs

    Malicious Access or copy of Web Browser Credential store.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • 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.

  • 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).

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

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

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\DEMURRAGEINVOICE.bat.exe
    "C:\Users\Admin\AppData\Local\Temp\DEMURRAGEINVOICE.bat.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:320
    • 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\DEMURRAGEINVOICE.bat.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1704
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\rljoKaPjKnocuL.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1044
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\rljoKaPjKnocuL" /XML "C:\Users\Admin\AppData\Local\Temp\tmpE167.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:3340
    • C:\Users\Admin\AppData\Local\Temp\DEMURRAGEINVOICE.bat.exe
      "C:\Users\Admin\AppData\Local\Temp\DEMURRAGEINVOICE.bat.exe"
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1228

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    1KB

    MD5

    8ec831f3e3a3f77e4a7b9cd32b48384c

    SHA1

    d83f09fd87c5bd86e045873c231c14836e76a05c

    SHA256

    7667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982

    SHA512

    26bffa2406b66368bd412bf25869a792631455645992cdcade2dbc13a2e56fb546414a6a9223b94c96c38d89187add6678d4779a88b38b0c9e36be8527b213c3

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_4c5ep4a4.fzr.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Local\Temp\tmpE167.tmp

    Filesize

    1KB

    MD5

    93fe1f7dfae8985c599301646d3ddd8a

    SHA1

    ed8cc130d097b52ee232cedbaabf9625d60124f1

    SHA256

    1ee70a3c84e28a5f6680b47a05778798f4696f965d45b52a3e45eab0a0e8beb7

    SHA512

    c2926ace89a7183d9bd22b867606fb8d46122c1b83ee90dc8cde0608e18c759028e555cdc7d06f8d986237cbf158da2b9aadc8a700839d4b731f599e80c5f9d8

  • memory/320-6-0x00000000050F0000-0x0000000005100000-memory.dmp

    Filesize

    64KB

  • memory/320-4-0x0000000004F30000-0x0000000004F3A000-memory.dmp

    Filesize

    40KB

  • memory/320-5-0x0000000074A40000-0x00000000751F0000-memory.dmp

    Filesize

    7.7MB

  • memory/320-3-0x0000000004FB0000-0x0000000005042000-memory.dmp

    Filesize

    584KB

  • memory/320-7-0x0000000074A4E000-0x0000000074A4F000-memory.dmp

    Filesize

    4KB

  • memory/320-8-0x0000000074A40000-0x00000000751F0000-memory.dmp

    Filesize

    7.7MB

  • memory/320-9-0x00000000068D0000-0x0000000006952000-memory.dmp

    Filesize

    520KB

  • memory/320-10-0x0000000008EA0000-0x0000000008F3C000-memory.dmp

    Filesize

    624KB

  • memory/320-0-0x0000000074A4E000-0x0000000074A4F000-memory.dmp

    Filesize

    4KB

  • memory/320-2-0x00000000054C0000-0x0000000005A64000-memory.dmp

    Filesize

    5.6MB

  • memory/320-40-0x0000000074A40000-0x00000000751F0000-memory.dmp

    Filesize

    7.7MB

  • memory/320-1-0x00000000004C0000-0x0000000000574000-memory.dmp

    Filesize

    720KB

  • memory/1044-22-0x0000000074A40000-0x00000000751F0000-memory.dmp

    Filesize

    7.7MB

  • memory/1044-79-0x0000000007810000-0x0000000007821000-memory.dmp

    Filesize

    68KB

  • memory/1044-21-0x0000000074A40000-0x00000000751F0000-memory.dmp

    Filesize

    7.7MB

  • memory/1044-65-0x00000000711B0000-0x00000000711FC000-memory.dmp

    Filesize

    304KB

  • memory/1044-78-0x0000000007890000-0x0000000007926000-memory.dmp

    Filesize

    600KB

  • memory/1044-80-0x0000000007840000-0x000000000784E000-memory.dmp

    Filesize

    56KB

  • memory/1044-39-0x0000000074A40000-0x00000000751F0000-memory.dmp

    Filesize

    7.7MB

  • memory/1044-86-0x0000000074A40000-0x00000000751F0000-memory.dmp

    Filesize

    7.7MB

  • memory/1044-77-0x0000000007680000-0x000000000768A000-memory.dmp

    Filesize

    40KB

  • memory/1044-76-0x0000000007610000-0x000000000762A000-memory.dmp

    Filesize

    104KB

  • memory/1228-31-0x0000000000400000-0x0000000000440000-memory.dmp

    Filesize

    256KB

  • memory/1228-88-0x0000000006B10000-0x0000000006B60000-memory.dmp

    Filesize

    320KB

  • memory/1704-15-0x00000000027B0000-0x00000000027E6000-memory.dmp

    Filesize

    216KB

  • memory/1704-50-0x00000000060B0000-0x00000000060CE000-memory.dmp

    Filesize

    120KB

  • memory/1704-51-0x0000000006180000-0x00000000061CC000-memory.dmp

    Filesize

    304KB

  • memory/1704-52-0x0000000006680000-0x00000000066B2000-memory.dmp

    Filesize

    200KB

  • memory/1704-53-0x00000000711B0000-0x00000000711FC000-memory.dmp

    Filesize

    304KB

  • memory/1704-63-0x00000000066C0000-0x00000000066DE000-memory.dmp

    Filesize

    120KB

  • memory/1704-64-0x00000000070B0000-0x0000000007153000-memory.dmp

    Filesize

    652KB

  • memory/1704-25-0x0000000005220000-0x0000000005286000-memory.dmp

    Filesize

    408KB

  • memory/1704-75-0x0000000007A20000-0x000000000809A000-memory.dmp

    Filesize

    6.5MB

  • memory/1704-24-0x00000000051B0000-0x0000000005216000-memory.dmp

    Filesize

    408KB

  • memory/1704-38-0x0000000005A70000-0x0000000005DC4000-memory.dmp

    Filesize

    3.3MB

  • memory/1704-23-0x0000000005110000-0x0000000005132000-memory.dmp

    Filesize

    136KB

  • memory/1704-20-0x0000000074A40000-0x00000000751F0000-memory.dmp

    Filesize

    7.7MB

  • memory/1704-18-0x0000000074A40000-0x00000000751F0000-memory.dmp

    Filesize

    7.7MB

  • memory/1704-81-0x0000000007620000-0x0000000007634000-memory.dmp

    Filesize

    80KB

  • memory/1704-82-0x0000000007720000-0x000000000773A000-memory.dmp

    Filesize

    104KB

  • memory/1704-83-0x0000000007700000-0x0000000007708000-memory.dmp

    Filesize

    32KB

  • memory/1704-16-0x00000000052D0000-0x00000000058F8000-memory.dmp

    Filesize

    6.2MB

  • memory/1704-87-0x0000000074A40000-0x00000000751F0000-memory.dmp

    Filesize

    7.7MB

  • memory/1704-17-0x0000000074A40000-0x00000000751F0000-memory.dmp

    Filesize

    7.7MB