Analysis

  • max time kernel
    117s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240705-en
  • resource tags

    arch:x64arch:x86image:win7-20240705-enlocale:en-usos:windows7-x64system
  • submitted
    03/08/2024, 01:02

General

  • Target

    070bd174fce58698d2b3c167429dbd7569e919d4b02360ca450182e05511435d.exe

  • Size

    2.3MB

  • MD5

    a39ae54553e77f5a065dce53e7e319be

  • SHA1

    599ab92de717371347277109cfa01ddd725eb4d5

  • SHA256

    070bd174fce58698d2b3c167429dbd7569e919d4b02360ca450182e05511435d

  • SHA512

    cfcda8ea0045c9df66631344f3c7b4f18cb2574bbdd8dbd5511ead9d38479b564837930dbf4974efb48d300bd7d2dafd514d36df972878d14b6777baee9df81e

  • SSDEEP

    49152:oWiP0wV0hJ5VGx6ODJ1+cEtWX33oG1SdAoKl6G2:CVUcnab+O

Malware Config

Extracted

Family

agenttesla

Credentials

  • Protocol:
    ftp
  • Host:
    ftp://inhanoi.net.vn
  • Port:
    21
  • Username:
    [email protected]
  • Password:
    ^TSt3!FK$UBA

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 3 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Drops file in System32 directory 1 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

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

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

  • Kills process with taskkill 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\070bd174fce58698d2b3c167429dbd7569e919d4b02360ca450182e05511435d.exe
    "C:\Users\Admin\AppData\Local\Temp\070bd174fce58698d2b3c167429dbd7569e919d4b02360ca450182e05511435d.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:2120
    • C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
      C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe Add-MpPreference -ExclusionPath $env:UserProfile
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2508
    • \??\c:\windows\system32\cmstp.exe
      c:\windows\system32\cmstp.exe /au C:\windows\temp\485521426.inf
      2⤵
        PID:560
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\regsvcs.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\regsvcs.exe"
        2⤵
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2728
    • C:\Users\Admin\AppData\Local\Temp\070bd174fce58698d2b3c167429dbd7569e919d4b02360ca450182e05511435d.exe
      C:\Users\Admin\AppData\Local\Temp\070bd174fce58698d2b3c167429dbd7569e919d4b02360ca450182e05511435d.exe
      1⤵
      • Suspicious use of SetThreadContext
      • Suspicious use of WriteProcessMemory
      PID:2652
      • C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
        C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe Add-MpPreference -ExclusionPath $env:UserProfile
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Drops file in System32 directory
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:320
      • \??\c:\windows\system32\cmstp.exe
        c:\windows\system32\cmstp.exe /au C:\windows\temp\1917759889.inf
        2⤵
          PID:2028
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe"
          2⤵
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2872
      • C:\Windows\system32\taskkill.exe
        taskkill /IM cmstp.exe /F
        1⤵
        • Kills process with taskkill
        • Suspicious use of AdjustPrivilegeToken
        PID:1520

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              7KB

              MD5

              4c548e4cb1a2dddf013c0dfdb9927c13

              SHA1

              8a6cb731c6a87a9d5d35aba9c9af2ba6f68f98fe

              SHA256

              1de9fa7affd3e6ff9401087d0874b30b1917f9ccb8507e78930466d58d04eb97

              SHA512

              3c2fa895d5fd1043f7a26421adce9d3bf96cb8f8fa78037fbee5659418144ebed230d63d13312324c2fb46aba743f038b006d1b0228ea00b734c02241b0497c1

            • C:\windows\temp\485521426.inf

              Filesize

              581B

              MD5

              2719a1bf2530975ec3b652587ff93e03

              SHA1

              7241a85dd540cfc4e7049666d37bc12a1edcb634

              SHA256

              51a07331201d59bf20faea2e6fbe076ecfcb04d976619e30c859a8f50d67bc30

              SHA512

              f5c676d2c3adcb800e60bb59e0907f1030b21a1ff4f8c65b6d6097004cc5000cbd94451be4cd6d8b47d36dee8c5d994881707d591e6d8a0509a3b43e5be22e66

            • memory/320-26-0x0000000002290000-0x0000000002298000-memory.dmp

              Filesize

              32KB

            • memory/320-25-0x000000001B5D0000-0x000000001B8B2000-memory.dmp

              Filesize

              2.9MB

            • memory/2508-19-0x000007FEF61D0000-0x000007FEF6B6D000-memory.dmp

              Filesize

              9.6MB

            • memory/2508-9-0x000007FEF61D0000-0x000007FEF6B6D000-memory.dmp

              Filesize

              9.6MB

            • memory/2508-10-0x000007FEF61D0000-0x000007FEF6B6D000-memory.dmp

              Filesize

              9.6MB

            • memory/2508-13-0x000007FEF61D0000-0x000007FEF6B6D000-memory.dmp

              Filesize

              9.6MB

            • memory/2508-6-0x0000000001E10000-0x0000000001E18000-memory.dmp

              Filesize

              32KB

            • memory/2508-4-0x000007FEF648E000-0x000007FEF648F000-memory.dmp

              Filesize

              4KB

            • memory/2508-8-0x000007FEF61D0000-0x000007FEF6B6D000-memory.dmp

              Filesize

              9.6MB

            • memory/2508-7-0x000007FEF61D0000-0x000007FEF6B6D000-memory.dmp

              Filesize

              9.6MB

            • memory/2508-5-0x000000001B700000-0x000000001B9E2000-memory.dmp

              Filesize

              2.9MB

            • memory/2728-18-0x0000000000400000-0x0000000000440000-memory.dmp

              Filesize

              256KB

            • memory/2728-16-0x0000000000400000-0x0000000000440000-memory.dmp

              Filesize

              256KB

            • memory/2728-14-0x0000000000400000-0x0000000000440000-memory.dmp

              Filesize

              256KB