Analysis

  • max time kernel
    121s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-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.

  • 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 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 29 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\DEMURRAGEINVOICE.bat.exe
    "C:\Users\Admin\AppData\Local\Temp\DEMURRAGEINVOICE.bat.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2276
    • 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:2180
    • 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:2912
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\rljoKaPjKnocuL" /XML "C:\Users\Admin\AppData\Local\Temp\tmpCB0C.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:2976
    • C:\Users\Admin\AppData\Local\Temp\DEMURRAGEINVOICE.bat.exe
      "C:\Users\Admin\AppData\Local\Temp\DEMURRAGEINVOICE.bat.exe"
      2⤵
        PID:2192
      • C:\Users\Admin\AppData\Local\Temp\DEMURRAGEINVOICE.bat.exe
        "C:\Users\Admin\AppData\Local\Temp\DEMURRAGEINVOICE.bat.exe"
        2⤵
          PID:2344
        • 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:2584

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        1KB

        MD5

        3c552f0406b428c13dd79cc79e1367fb

        SHA1

        b274c24b8c88c5702ead80e8a352d80d478761d9

        SHA256

        e1beb42a41ddec081109878a9667eaf91cb3a461b3af0a266b9dcf0cd74962bd

        SHA512

        1f31e443ff02ddb2562724d32f78752cbaea2af9b30ad00bb0d9e74b883ce5d958f50177e116e57f3e88b63ad73ee4874ba4cd7e9dfdd620a492024af464929b

      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\d93f411851d7c929.customDestinations-ms

        Filesize

        7KB

        MD5

        44d1230d5631b55eca53acdbfe45e6fc

        SHA1

        d39c8b3a32c63d0e319f7a3bade8cc6348ee9a81

        SHA256

        8b8da04b890c59794b93242791690d3687ccea27b1c18fd250c41dc1ea9e12f5

        SHA512

        5d7490ac51b77850375fde9bd552eed2700dfe259289001e4ed45b8dd5dd6dd175dd01248d9f910e56c608ad84754881802f3f0fbcabe39e61d254f6f7ceb90b

      • memory/2276-4-0x00000000747EE000-0x00000000747EF000-memory.dmp

        Filesize

        4KB

      • memory/2276-31-0x00000000747E0000-0x0000000074ECE000-memory.dmp

        Filesize

        6.9MB

      • memory/2276-0-0x00000000747EE000-0x00000000747EF000-memory.dmp

        Filesize

        4KB

      • memory/2276-5-0x00000000747E0000-0x0000000074ECE000-memory.dmp

        Filesize

        6.9MB

      • memory/2276-6-0x0000000004330000-0x00000000043B2000-memory.dmp

        Filesize

        520KB

      • memory/2276-2-0x00000000747E0000-0x0000000074ECE000-memory.dmp

        Filesize

        6.9MB

      • memory/2276-1-0x0000000000280000-0x0000000000334000-memory.dmp

        Filesize

        720KB

      • memory/2276-3-0x0000000000640000-0x0000000000650000-memory.dmp

        Filesize

        64KB

      • memory/2584-28-0x0000000000400000-0x0000000000440000-memory.dmp

        Filesize

        256KB

      • memory/2584-19-0x0000000000400000-0x0000000000440000-memory.dmp

        Filesize

        256KB

      • memory/2584-29-0x0000000000400000-0x0000000000440000-memory.dmp

        Filesize

        256KB

      • memory/2584-32-0x0000000000400000-0x0000000000440000-memory.dmp

        Filesize

        256KB

      • memory/2584-27-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2584-25-0x0000000000400000-0x0000000000440000-memory.dmp

        Filesize

        256KB

      • memory/2584-23-0x0000000000400000-0x0000000000440000-memory.dmp

        Filesize

        256KB

      • memory/2584-21-0x0000000000400000-0x0000000000440000-memory.dmp

        Filesize

        256KB