Analysis

  • max time kernel
    30s
  • max time network
    33s
  • platform
    windows7_x64
  • resource
    win7-20230220-en
  • resource tags

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    08-06-2023 12:41

General

  • Target

    1f9d1b268f67bc64c145ba149a9b0ecbce8e08d3d8149732b77022278089f97d.exe

  • Size

    819KB

  • MD5

    3e228a5e2511f4337cb453da1f7aa029

  • SHA1

    8f15b8016c6c11f01d5e256561d9a95807800195

  • SHA256

    1f9d1b268f67bc64c145ba149a9b0ecbce8e08d3d8149732b77022278089f97d

  • SHA512

    dffad996d3be928b344e89558e9ebde9406cbfbe77cc6e4d4fcc232e7e92a08dad83f86b9280efdb914e8482ef1adfa83fe38630859d0a995ae2a935e81fdfb5

  • SSDEEP

    12288:UsFbsfI8Z1gMFVobi/WS/DTOTH1D/4OP5s1C7H06uwx1Rfv2Nl58PXOdOgd:U0bsfI6dFqbI7s1DrP5q6uwlnG3

Malware Config

Extracted

Family

agenttesla

C2

https://api.telegram.org/bot5171883538:AAEyFWuNh68SJNNpkDCQbviRgrklZA3K4Qs/

Signatures

  • AgentTesla

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

  • UAC bypass 3 TTPs 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Loads dropped DLL 2 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks whether UAC is enabled 1 TTPs 2 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Program crash 1 IoCs
  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Delays execution with timeout.exe 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 46 IoCs
  • System policy modification 1 TTPs 1 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Users\Admin\AppData\Local\Temp\1f9d1b268f67bc64c145ba149a9b0ecbce8e08d3d8149732b77022278089f97d.exe
    "C:\Users\Admin\AppData\Local\Temp\1f9d1b268f67bc64c145ba149a9b0ecbce8e08d3d8149732b77022278089f97d.exe"
    1⤵
    • Adds Run key to start application
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1972
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /c schtasks /create /f /sc onlogon /rl highest /tn "svchost" /tr '"C:\Users\Admin\AppData\Roaming\svchost.exe"' & exit
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:860
      • C:\Windows\system32\schtasks.exe
        schtasks /create /f /sc onlogon /rl highest /tn "svchost" /tr '"C:\Users\Admin\AppData\Roaming\svchost.exe"'
        3⤵
        • Creates scheduled task(s)
        PID:1356
    • C:\Windows\system32\cmd.exe
      cmd /c ""C:\Users\Admin\AppData\Local\Temp\tmpC60.tmp.bat""
      2⤵
      • Loads dropped DLL
      • Suspicious use of WriteProcessMemory
      PID:1220
      • C:\Windows\system32\timeout.exe
        timeout 3
        3⤵
        • Delays execution with timeout.exe
        PID:1416
      • C:\Users\Admin\AppData\Roaming\svchost.exe
        "C:\Users\Admin\AppData\Roaming\svchost.exe"
        3⤵
        • UAC bypass
        • Executes dropped EXE
        • Checks whether UAC is enabled
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        • System policy modification
        PID:560
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\svchost.exe" -Force
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1656
        • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe
          "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe"
          4⤵
            PID:1156
          • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe
            "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe"
            4⤵
              PID:316
            • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\dfsvc.exe
              "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\dfsvc.exe"
              4⤵
                PID:856
              • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regsql.exe
                "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regsql.exe"
                4⤵
                  PID:1352
                • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\SetupCache\v4.7.03062\SetupUtility.exe
                  "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\SetupCache\v4.7.03062\SetupUtility.exe"
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:988
                  • C:\Windows\SysWOW64\WerFault.exe
                    C:\Windows\SysWOW64\WerFault.exe -u -p 988 -s 168
                    5⤵
                    • Program crash
                    PID:1900

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\Users\Admin\AppData\Local\Temp\tmpC60.tmp.bat

            Filesize

            150B

            MD5

            91352f93ca3e5b380978e2e4239a3ab3

            SHA1

            dc61048c484385cb63f4d2e165428de35c342baf

            SHA256

            cb19b9b454555ac8002bd6de92d2262ed494eb994832f32a857f0612a4c4fb07

            SHA512

            f4bc0da26337e5383bf5705cb146fe64315e3a2810dcbe55aa4e8c6dbe9fc2572f6d7725a31517a655827b886f0544085b38919a8d73695ed9d5691d2f9e4073

          • C:\Users\Admin\AppData\Local\Temp\tmpC60.tmp.bat

            Filesize

            150B

            MD5

            91352f93ca3e5b380978e2e4239a3ab3

            SHA1

            dc61048c484385cb63f4d2e165428de35c342baf

            SHA256

            cb19b9b454555ac8002bd6de92d2262ed494eb994832f32a857f0612a4c4fb07

            SHA512

            f4bc0da26337e5383bf5705cb146fe64315e3a2810dcbe55aa4e8c6dbe9fc2572f6d7725a31517a655827b886f0544085b38919a8d73695ed9d5691d2f9e4073

          • C:\Users\Admin\AppData\Roaming\svchost.exe

            Filesize

            819KB

            MD5

            3e228a5e2511f4337cb453da1f7aa029

            SHA1

            8f15b8016c6c11f01d5e256561d9a95807800195

            SHA256

            1f9d1b268f67bc64c145ba149a9b0ecbce8e08d3d8149732b77022278089f97d

            SHA512

            dffad996d3be928b344e89558e9ebde9406cbfbe77cc6e4d4fcc232e7e92a08dad83f86b9280efdb914e8482ef1adfa83fe38630859d0a995ae2a935e81fdfb5

          • C:\Users\Admin\AppData\Roaming\svchost.exe

            Filesize

            819KB

            MD5

            3e228a5e2511f4337cb453da1f7aa029

            SHA1

            8f15b8016c6c11f01d5e256561d9a95807800195

            SHA256

            1f9d1b268f67bc64c145ba149a9b0ecbce8e08d3d8149732b77022278089f97d

            SHA512

            dffad996d3be928b344e89558e9ebde9406cbfbe77cc6e4d4fcc232e7e92a08dad83f86b9280efdb914e8482ef1adfa83fe38630859d0a995ae2a935e81fdfb5

          • \Users\Admin\AppData\Roaming\svchost.exe

            Filesize

            819KB

            MD5

            3e228a5e2511f4337cb453da1f7aa029

            SHA1

            8f15b8016c6c11f01d5e256561d9a95807800195

            SHA256

            1f9d1b268f67bc64c145ba149a9b0ecbce8e08d3d8149732b77022278089f97d

            SHA512

            dffad996d3be928b344e89558e9ebde9406cbfbe77cc6e4d4fcc232e7e92a08dad83f86b9280efdb914e8482ef1adfa83fe38630859d0a995ae2a935e81fdfb5

          • \Users\Admin\AppData\Roaming\svchost.exe

            Filesize

            819KB

            MD5

            3e228a5e2511f4337cb453da1f7aa029

            SHA1

            8f15b8016c6c11f01d5e256561d9a95807800195

            SHA256

            1f9d1b268f67bc64c145ba149a9b0ecbce8e08d3d8149732b77022278089f97d

            SHA512

            dffad996d3be928b344e89558e9ebde9406cbfbe77cc6e4d4fcc232e7e92a08dad83f86b9280efdb914e8482ef1adfa83fe38630859d0a995ae2a935e81fdfb5

          • memory/560-70-0x0000000000A60000-0x0000000000B30000-memory.dmp

            Filesize

            832KB

          • memory/560-71-0x000000001C380000-0x000000001C400000-memory.dmp

            Filesize

            512KB

          • memory/988-76-0x0000000000400000-0x000000000043C000-memory.dmp

            Filesize

            240KB

          • memory/1656-77-0x000000001B360000-0x000000001B642000-memory.dmp

            Filesize

            2.9MB

          • memory/1656-78-0x0000000002220000-0x0000000002228000-memory.dmp

            Filesize

            32KB

          • memory/1656-79-0x0000000002800000-0x0000000002880000-memory.dmp

            Filesize

            512KB

          • memory/1656-80-0x0000000002800000-0x0000000002880000-memory.dmp

            Filesize

            512KB

          • memory/1656-81-0x0000000002800000-0x0000000002880000-memory.dmp

            Filesize

            512KB

          • memory/1656-82-0x000000000280B000-0x0000000002842000-memory.dmp

            Filesize

            220KB

          • memory/1972-56-0x000000001C0A0000-0x000000001C120000-memory.dmp

            Filesize

            512KB

          • memory/1972-54-0x0000000000E00000-0x0000000000ED0000-memory.dmp

            Filesize

            832KB

          • memory/1972-55-0x00000000024D0000-0x000000000254C000-memory.dmp

            Filesize

            496KB