Analysis

  • max time kernel
    63s
  • max time network
    55s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240419-en
  • resource tags

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

General

  • Target

    Commercial Invoice PDF.exe

  • Size

    822KB

  • MD5

    5a12438b3b4c926c12a9376c7bf13426

  • SHA1

    c3185c6a5e5f07a5befbe4af7131d05634f5d1a3

  • SHA256

    1a794211deaa0ecb6abc6101d7c1bd61111b4dd2d895ee7ecf78fbf17f4c9ab3

  • SHA512

    16c1e0e18eb8b3345b8b05443b782cb1dd35492ac986811c39f3cdce8dfe85b003aba029ffca0e38aa33c951d0d08281825152b0e239471eac3de18ac67864d0

  • SSDEEP

    12288:tEqnHvjNIrpf9rN/mc/CaBmIwsyaPSIir97G6NLOZCGKEgbjuPBB5uO12rq:txPjKr5BNDWVxcSIiRG6atlB5N

Malware Config

Extracted

Family

agenttesla

Credentials

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 1 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 11 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Commercial Invoice PDF.exe
    "C:\Users\Admin\AppData\Local\Temp\Commercial Invoice PDF.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1216
    • 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\Commercial Invoice PDF.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4184
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\CmxzrHBB.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1492
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\CmxzrHBB" /XML "C:\Users\Admin\AppData\Local\Temp\tmp64E4.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2200
    • C:\Users\Admin\AppData\Local\Temp\Commercial Invoice PDF.exe
      "C:\Users\Admin\AppData\Local\Temp\Commercial Invoice PDF.exe"
      2⤵
        PID:4032
      • C:\Users\Admin\AppData\Local\Temp\Commercial Invoice PDF.exe
        "C:\Users\Admin\AppData\Local\Temp\Commercial Invoice PDF.exe"
        2⤵
        • Adds Run key to start application
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:2036

    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

      0c983edd3346f159fe0c793e1fd433ed

      SHA1

      3240bc2e9c3ca6e543ac1e665b8e8b17183ed998

      SHA256

      f54a364928a60fa1829ce66c565454f74a4d4796028b914de1d6c0ade3af07de

      SHA512

      ca38f5bfc02bb43b19304518a0d8b96497117968fd6f92365f17bed56d49965c8ffc493b6565384fdc132f9ef2469cf9b910d55e479b95056b0e6c7134de4110

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_blxlvjwl.1qf.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

      Filesize

      1KB

      MD5

      e7e4de112faf4ec2130f5a2b198c6724

      SHA1

      1052a51fb995f41373d0749d259dd55c7e4f083a

      SHA256

      e3d76ce643d9a814531a4ff079ffacd97b430598036bcc7de359de3fe29806d4

      SHA512

      e6c9173142e50237111b6c467a82f2c093c20cf114ac0fcde566f627f3ef7b265298de56adadfb5b7a6d45e7e35c4ea4b4d1dda1394261c2ed72be174faaa80b

    • memory/1216-7-0x0000000005310000-0x0000000005324000-memory.dmp

      Filesize

      80KB

    • memory/1216-5-0x0000000004EB0000-0x0000000004EBA000-memory.dmp

      Filesize

      40KB

    • memory/1216-6-0x00000000050B0000-0x00000000050D0000-memory.dmp

      Filesize

      128KB

    • memory/1216-50-0x00000000745C0000-0x0000000074D70000-memory.dmp

      Filesize

      7.7MB

    • memory/1216-8-0x0000000008BF0000-0x0000000008C74000-memory.dmp

      Filesize

      528KB

    • memory/1216-9-0x000000000BD10000-0x000000000BDAC000-memory.dmp

      Filesize

      624KB

    • memory/1216-33-0x00000000745C0000-0x0000000074D70000-memory.dmp

      Filesize

      7.7MB

    • memory/1216-4-0x0000000004F80000-0x0000000004F90000-memory.dmp

      Filesize

      64KB

    • memory/1216-0-0x0000000000290000-0x0000000000364000-memory.dmp

      Filesize

      848KB

    • memory/1216-1-0x00000000745C0000-0x0000000074D70000-memory.dmp

      Filesize

      7.7MB

    • memory/1216-3-0x0000000004DB0000-0x0000000004E42000-memory.dmp

      Filesize

      584KB

    • memory/1216-2-0x0000000005360000-0x0000000005904000-memory.dmp

      Filesize

      5.6MB

    • memory/1492-23-0x0000000005100000-0x0000000005110000-memory.dmp

      Filesize

      64KB

    • memory/1492-45-0x0000000005100000-0x0000000005110000-memory.dmp

      Filesize

      64KB

    • memory/1492-81-0x0000000007CF0000-0x0000000007D0A000-memory.dmp

      Filesize

      104KB

    • memory/1492-78-0x0000000007BB0000-0x0000000007BC1000-memory.dmp

      Filesize

      68KB

    • memory/1492-82-0x0000000007CD0000-0x0000000007CD8000-memory.dmp

      Filesize

      32KB

    • memory/1492-77-0x0000000007C30000-0x0000000007CC6000-memory.dmp

      Filesize

      600KB

    • memory/1492-89-0x00000000745C0000-0x0000000074D70000-memory.dmp

      Filesize

      7.7MB

    • memory/1492-19-0x00000000745C0000-0x0000000074D70000-memory.dmp

      Filesize

      7.7MB

    • memory/1492-62-0x0000000007850000-0x000000000786E000-memory.dmp

      Filesize

      120KB

    • memory/1492-51-0x0000000007610000-0x0000000007642000-memory.dmp

      Filesize

      200KB

    • memory/1492-69-0x0000000007880000-0x0000000007923000-memory.dmp

      Filesize

      652KB

    • memory/1492-52-0x000000006F5B0000-0x000000006F5FC000-memory.dmp

      Filesize

      304KB

    • memory/2036-46-0x0000000000400000-0x0000000000442000-memory.dmp

      Filesize

      264KB

    • memory/2036-91-0x0000000006F20000-0x0000000006F70000-memory.dmp

      Filesize

      320KB

    • memory/4184-16-0x00000000745C0000-0x0000000074D70000-memory.dmp

      Filesize

      7.7MB

    • memory/4184-49-0x0000000005FB0000-0x0000000005FFC000-memory.dmp

      Filesize

      304KB

    • memory/4184-63-0x000000006F5B0000-0x000000006F5FC000-memory.dmp

      Filesize

      304KB

    • memory/4184-48-0x0000000005F90000-0x0000000005FAE000-memory.dmp

      Filesize

      120KB

    • memory/4184-74-0x0000000007900000-0x0000000007F7A000-memory.dmp

      Filesize

      6.5MB

    • memory/4184-75-0x00000000072C0000-0x00000000072DA000-memory.dmp

      Filesize

      104KB

    • memory/4184-76-0x0000000007330000-0x000000000733A000-memory.dmp

      Filesize

      40KB

    • memory/4184-34-0x0000000005980000-0x0000000005CD4000-memory.dmp

      Filesize

      3.3MB

    • memory/4184-21-0x00000000058A0000-0x0000000005906000-memory.dmp

      Filesize

      408KB

    • memory/4184-79-0x00000000074F0000-0x00000000074FE000-memory.dmp

      Filesize

      56KB

    • memory/4184-80-0x0000000007500000-0x0000000007514000-memory.dmp

      Filesize

      80KB

    • memory/4184-22-0x0000000005910000-0x0000000005976000-memory.dmp

      Filesize

      408KB

    • memory/4184-20-0x0000000005800000-0x0000000005822000-memory.dmp

      Filesize

      136KB

    • memory/4184-88-0x00000000745C0000-0x0000000074D70000-memory.dmp

      Filesize

      7.7MB

    • memory/4184-17-0x0000000004AE0000-0x0000000004AF0000-memory.dmp

      Filesize

      64KB

    • memory/4184-18-0x0000000004AE0000-0x0000000004AF0000-memory.dmp

      Filesize

      64KB

    • memory/4184-15-0x0000000005120000-0x0000000005748000-memory.dmp

      Filesize

      6.2MB

    • memory/4184-14-0x00000000049F0000-0x0000000004A26000-memory.dmp

      Filesize

      216KB