Analysis

  • max time kernel
    140s
  • max time network
    130s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-05-2024 01:49

General

  • Target

    invoice CHN1080769.PDF.exe

  • Size

    761KB

  • MD5

    77c6015c8c679abe8cd11cb51125f6c9

  • SHA1

    f9fd8a7f13b03480ae58622c228d6a6bb660f409

  • SHA256

    63219f4d5975bf956a1c5c8b98011f721cfb1e2b4894c6ec9f5a94d77e2652e8

  • SHA512

    510a8a2e2905eebd97bbda9e4cf183392b59aa18f9bb3278fed82fd10721ebc1ad06633992e6f4ee8b4eb64b4d89cf185aeab3b316d041ccb523c0d46110f52a

  • SSDEEP

    12288:YzDn6yWn7fcpVZlu/6uHD73sYw0WJv1/wHiksaGdt8qmUMbpG/IinMkqFozGrCWW:sn698VVYHst0WrTkGrpm4/nMHvv/QO4v

Malware Config

Extracted

Family

agenttesla

Credentials

Signatures

  • AgentTesla

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

  • Detect packed .NET executables. Mostly AgentTeslaV4. 1 IoCs
  • Detects binaries (Windows and macOS) referencing many web browsers. Observed in information stealers. 1 IoCs
  • Detects executables referencing Windows vault credential objects. Observed in infostealers 1 IoCs
  • Detects executables referencing many confidential data stores found in browsers, mail clients, cryptocurreny wallets, etc. Observed in information stealers 1 IoCs
  • Detects executables referencing many email and collaboration clients. Observed in information stealers 1 IoCs
  • Detects executables referencing many file transfer clients. Observed in information stealers 1 IoCs
  • 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.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • 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 21 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\invoice CHN1080769.PDF.exe
    "C:\Users\Admin\AppData\Local\Temp\invoice CHN1080769.PDF.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:440
    • 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\invoice CHN1080769.PDF.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2940
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\ziQWPdVrQxk.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2644
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\ziQWPdVrQxk" /XML "C:\Users\Admin\AppData\Local\Temp\tmp3C39.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4168
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
      2⤵
        PID:3620
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
        2⤵
          PID:2172
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
          2⤵
          • Adds Run key to start application
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2716
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --field-trial-handle=4100,i,14221647728265121051,6840906015709541562,262144 --variations-seed-version --mojo-platform-channel-handle=3960 /prefetch:8
        1⤵
          PID:4644

        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

          3d086a433708053f9bf9523e1d87a4e8

          SHA1

          b3ab5d4f282a4c8fe8c3005b8a557ed5a0e37f28

          SHA256

          6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69

          SHA512

          931ae42b4c68a4507ff2342332b08eb407050d47cf4176137ea022d0f6e513c689e998445a04c6d18d4877391705c586bfce0234632b898d41aaed0957996dfd

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

          Filesize

          18KB

          MD5

          219d38b2ca711c01d1d2f492b06a8d98

          SHA1

          53dba80534fb80b16ceb03e8a61d8dd821124246

          SHA256

          782885be457115347402d1666634a5ff3f8eedebb72aa548fbbd979e61846272

          SHA512

          e60e2914e65002215689a3dbc9d3c7e5cf607f3ce5a008f477c4b0d7d4f1d44bce467ada0eddc40576310d7802829632430f6c9b1c1f1ed27ae1a53ef1142856

        • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_xb53bvqd.4zk.ps1

          Filesize

          60B

          MD5

          d17fe0a3f47be24a6453e9ef58c94641

          SHA1

          6ab83620379fc69f80c0242105ddffd7d98d5d9d

          SHA256

          96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

          SHA512

          5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

          Filesize

          1KB

          MD5

          5be579b6014ebdda6f025be0d6b475bd

          SHA1

          fa92be36dd2fd3870020bf97ba43f167ab1af4f1

          SHA256

          8b8dd00ae053b009b712de9055707ececc5307bac8c307e0fa1c43e2c9334a87

          SHA512

          d79b94b06fb1d5e16553abb378b65cfa5a817dc94ed30ada7b6668d361aca041e7f1bcf36caa15e47e0417e2069488a23754444a2161685a7a7d9c85b0259b2b

        • memory/440-4-0x0000000005780000-0x000000000578A000-memory.dmp

          Filesize

          40KB

        • memory/440-12-0x00000000751DE000-0x00000000751DF000-memory.dmp

          Filesize

          4KB

        • memory/440-6-0x0000000005B70000-0x0000000005B92000-memory.dmp

          Filesize

          136KB

        • memory/440-7-0x0000000009330000-0x000000000933C000-memory.dmp

          Filesize

          48KB

        • memory/440-8-0x0000000003060000-0x0000000003070000-memory.dmp

          Filesize

          64KB

        • memory/440-9-0x0000000006C20000-0x0000000006CA4000-memory.dmp

          Filesize

          528KB

        • memory/440-10-0x000000000A3E0000-0x000000000A47C000-memory.dmp

          Filesize

          624KB

        • memory/440-5-0x00000000751D0000-0x0000000075980000-memory.dmp

          Filesize

          7.7MB

        • memory/440-3-0x0000000005800000-0x0000000005892000-memory.dmp

          Filesize

          584KB

        • memory/440-17-0x00000000751D0000-0x0000000075980000-memory.dmp

          Filesize

          7.7MB

        • memory/440-2-0x0000000005DB0000-0x0000000006354000-memory.dmp

          Filesize

          5.6MB

        • memory/440-0-0x00000000751DE000-0x00000000751DF000-memory.dmp

          Filesize

          4KB

        • memory/440-1-0x0000000000D00000-0x0000000000DC0000-memory.dmp

          Filesize

          768KB

        • memory/440-50-0x00000000751D0000-0x0000000075980000-memory.dmp

          Filesize

          7.7MB

        • memory/2644-78-0x0000000007930000-0x000000000794A000-memory.dmp

          Filesize

          104KB

        • memory/2644-81-0x0000000007B30000-0x0000000007B41000-memory.dmp

          Filesize

          68KB

        • memory/2644-22-0x00000000751D0000-0x0000000075980000-memory.dmp

          Filesize

          7.7MB

        • memory/2644-93-0x00000000751D0000-0x0000000075980000-memory.dmp

          Filesize

          7.7MB

        • memory/2644-85-0x0000000007C70000-0x0000000007C8A000-memory.dmp

          Filesize

          104KB

        • memory/2644-84-0x0000000007B70000-0x0000000007B84000-memory.dmp

          Filesize

          80KB

        • memory/2644-83-0x0000000007B60000-0x0000000007B6E000-memory.dmp

          Filesize

          56KB

        • memory/2644-80-0x0000000007BB0000-0x0000000007C46000-memory.dmp

          Filesize

          600KB

        • memory/2644-31-0x00000000751D0000-0x0000000075980000-memory.dmp

          Filesize

          7.7MB

        • memory/2644-21-0x00000000751D0000-0x0000000075980000-memory.dmp

          Filesize

          7.7MB

        • memory/2644-77-0x0000000007F70000-0x00000000085EA000-memory.dmp

          Filesize

          6.5MB

        • memory/2644-76-0x00000000077D0000-0x0000000007873000-memory.dmp

          Filesize

          652KB

        • memory/2644-66-0x00000000718A0000-0x00000000718EC000-memory.dmp

          Filesize

          304KB

        • memory/2716-82-0x0000000005EB0000-0x0000000005F00000-memory.dmp

          Filesize

          320KB

        • memory/2716-48-0x0000000000400000-0x0000000000442000-memory.dmp

          Filesize

          264KB

        • memory/2940-36-0x0000000005EC0000-0x0000000005F26000-memory.dmp

          Filesize

          408KB

        • memory/2940-52-0x00000000068A0000-0x00000000068EC000-memory.dmp

          Filesize

          304KB

        • memory/2940-51-0x0000000006490000-0x00000000064AE000-memory.dmp

          Filesize

          120KB

        • memory/2940-19-0x00000000751D0000-0x0000000075980000-memory.dmp

          Filesize

          7.7MB

        • memory/2940-20-0x00000000751D0000-0x0000000075980000-memory.dmp

          Filesize

          7.7MB

        • memory/2940-79-0x0000000007850000-0x000000000785A000-memory.dmp

          Filesize

          40KB

        • memory/2940-55-0x00000000718A0000-0x00000000718EC000-memory.dmp

          Filesize

          304KB

        • memory/2940-23-0x00000000751D0000-0x0000000075980000-memory.dmp

          Filesize

          7.7MB

        • memory/2940-65-0x0000000006AC0000-0x0000000006ADE000-memory.dmp

          Filesize

          120KB

        • memory/2940-54-0x0000000006A80000-0x0000000006AB2000-memory.dmp

          Filesize

          200KB

        • memory/2940-38-0x0000000006130000-0x0000000006484000-memory.dmp

          Filesize

          3.3MB

        • memory/2940-37-0x00000000060C0000-0x0000000006126000-memory.dmp

          Filesize

          408KB

        • memory/2940-86-0x0000000007B00000-0x0000000007B08000-memory.dmp

          Filesize

          32KB

        • memory/2940-18-0x0000000005620000-0x0000000005C48000-memory.dmp

          Filesize

          6.2MB

        • memory/2940-92-0x00000000751D0000-0x0000000075980000-memory.dmp

          Filesize

          7.7MB

        • memory/2940-32-0x00000000055F0000-0x0000000005612000-memory.dmp

          Filesize

          136KB

        • memory/2940-16-0x0000000004EF0000-0x0000000004F26000-memory.dmp

          Filesize

          216KB