Analysis

  • max time kernel
    117s
  • max time network
    122s
  • 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 06:27

General

  • Target

    DEMURRAGE INVOICE.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\DEMURRAGE INVOICE.bat.exe
    "C:\Users\Admin\AppData\Local\Temp\DEMURRAGE INVOICE.bat.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2332
    • 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\DEMURRAGE INVOICE.bat.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3876
    • 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:4932
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\rljoKaPjKnocuL" /XML "C:\Users\Admin\AppData\Local\Temp\tmpE3D8.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:4320
    • C:\Users\Admin\AppData\Local\Temp\DEMURRAGE INVOICE.bat.exe
      "C:\Users\Admin\AppData\Local\Temp\DEMURRAGE INVOICE.bat.exe"
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:816

Network

MITRE ATT&CK Enterprise v15

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

    130d129660e68b8a12d0436fb0c82a21

    SHA1

    fb2b3a935bffbf3db32ce23bb81d9febdbc977a4

    SHA256

    ee884b467dd8f5aaf525d5525ca012898855a4a17a6ab0e86c7b4cd10e9823c7

    SHA512

    d8f3099229b1249900540b1fa2065e6be984854eb582a973a8e7b6ce9992381d6f517bf3a0778dcdef05547091f3b8c780fb27c6955b23f71c808a23d87c6823

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_pjwyddzy.3tf.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

    Filesize

    1KB

    MD5

    8e8979b28466268a95e1b8f1e71b2815

    SHA1

    958a5e3d63f333359bd2560e97bf3b8f6e0d7c56

    SHA256

    80d56df81fafd094298b7de4efdec41bd89b78489b78b8b37c418881d0f37fd6

    SHA512

    79750be2ff946ef41e6848ca842acf6840c5b5f5081e498c21701a2d4719ef5a18c5be010920e6cdc0ad6b254e5fe43ee9b006fa72ea9ba1114e712ee968d227

  • memory/816-46-0x0000000000400000-0x0000000000440000-memory.dmp

    Filesize

    256KB

  • memory/816-90-0x0000000006930000-0x0000000006980000-memory.dmp

    Filesize

    320KB

  • memory/2332-8-0x0000000074D60000-0x0000000075510000-memory.dmp

    Filesize

    7.7MB

  • memory/2332-7-0x0000000074D6E000-0x0000000074D6F000-memory.dmp

    Filesize

    4KB

  • memory/2332-6-0x0000000006500000-0x0000000006510000-memory.dmp

    Filesize

    64KB

  • memory/2332-9-0x0000000006530000-0x00000000065B2000-memory.dmp

    Filesize

    520KB

  • memory/2332-10-0x0000000008AF0000-0x0000000008B8C000-memory.dmp

    Filesize

    624KB

  • memory/2332-5-0x0000000004BA0000-0x0000000004BAA000-memory.dmp

    Filesize

    40KB

  • memory/2332-0-0x0000000074D6E000-0x0000000074D6F000-memory.dmp

    Filesize

    4KB

  • memory/2332-4-0x0000000074D60000-0x0000000075510000-memory.dmp

    Filesize

    7.7MB

  • memory/2332-3-0x0000000004BB0000-0x0000000004C42000-memory.dmp

    Filesize

    584KB

  • memory/2332-48-0x0000000074D60000-0x0000000075510000-memory.dmp

    Filesize

    7.7MB

  • memory/2332-2-0x00000000050C0000-0x0000000005664000-memory.dmp

    Filesize

    5.6MB

  • memory/2332-1-0x0000000000270000-0x0000000000324000-memory.dmp

    Filesize

    720KB

  • memory/3876-16-0x0000000074D60000-0x0000000075510000-memory.dmp

    Filesize

    7.7MB

  • memory/3876-49-0x0000000006650000-0x000000000666E000-memory.dmp

    Filesize

    120KB

  • memory/3876-15-0x0000000002D40000-0x0000000002D76000-memory.dmp

    Filesize

    216KB

  • memory/3876-17-0x0000000005940000-0x0000000005F68000-memory.dmp

    Filesize

    6.2MB

  • memory/3876-88-0x0000000074D60000-0x0000000075510000-memory.dmp

    Filesize

    7.7MB

  • memory/3876-37-0x0000000074D60000-0x0000000075510000-memory.dmp

    Filesize

    7.7MB

  • memory/3876-81-0x0000000007CD0000-0x0000000007CEA000-memory.dmp

    Filesize

    104KB

  • memory/3876-19-0x0000000074D60000-0x0000000075510000-memory.dmp

    Filesize

    7.7MB

  • memory/3876-80-0x0000000007BD0000-0x0000000007BE4000-memory.dmp

    Filesize

    80KB

  • memory/3876-78-0x0000000007B90000-0x0000000007BA1000-memory.dmp

    Filesize

    68KB

  • memory/3876-50-0x0000000006AB0000-0x0000000006AFC000-memory.dmp

    Filesize

    304KB

  • memory/3876-52-0x0000000075600000-0x000000007564C000-memory.dmp

    Filesize

    304KB

  • memory/3876-51-0x0000000006C10000-0x0000000006C42000-memory.dmp

    Filesize

    200KB

  • memory/3876-63-0x0000000007640000-0x00000000076E3000-memory.dmp

    Filesize

    652KB

  • memory/3876-62-0x0000000006C70000-0x0000000006C8E000-memory.dmp

    Filesize

    120KB

  • memory/3876-79-0x0000000007BC0000-0x0000000007BCE000-memory.dmp

    Filesize

    56KB

  • memory/3876-74-0x0000000007FE0000-0x000000000865A000-memory.dmp

    Filesize

    6.5MB

  • memory/3876-75-0x0000000007990000-0x00000000079AA000-memory.dmp

    Filesize

    104KB

  • memory/3876-76-0x0000000007A00000-0x0000000007A0A000-memory.dmp

    Filesize

    40KB

  • memory/3876-77-0x0000000007C10000-0x0000000007CA6000-memory.dmp

    Filesize

    600KB

  • memory/4932-20-0x0000000004C30000-0x0000000004C96000-memory.dmp

    Filesize

    408KB

  • memory/4932-64-0x0000000075600000-0x000000007564C000-memory.dmp

    Filesize

    304KB

  • memory/4932-23-0x00000000055D0000-0x0000000005924000-memory.dmp

    Filesize

    3.3MB

  • memory/4932-18-0x0000000004B90000-0x0000000004BB2000-memory.dmp

    Filesize

    136KB

  • memory/4932-82-0x0000000007280000-0x0000000007288000-memory.dmp

    Filesize

    32KB

  • memory/4932-21-0x0000000004CA0000-0x0000000004D06000-memory.dmp

    Filesize

    408KB

  • memory/4932-89-0x0000000074D60000-0x0000000075510000-memory.dmp

    Filesize

    7.7MB

  • memory/4932-31-0x0000000074D60000-0x0000000075510000-memory.dmp

    Filesize

    7.7MB

  • memory/4932-22-0x0000000074D60000-0x0000000075510000-memory.dmp

    Filesize

    7.7MB

  • memory/4932-24-0x0000000074D60000-0x0000000075510000-memory.dmp

    Filesize

    7.7MB