Analysis

  • max time kernel
    119s
  • max time network
    136s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-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
  • Windows security bypass 2 TTPs 2 IoCs
  • Checks computer location settings 2 TTPs 2 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 1 IoCs
  • Windows security modification 2 TTPs 3 IoCs
  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks whether UAC is enabled 1 TTPs 2 IoCs
  • 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).

  • 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 44 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 36 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.

  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\1f9d1b268f67bc64c145ba149a9b0ecbce8e08d3d8149732b77022278089f97d.exe
    "C:\Users\Admin\AppData\Local\Temp\1f9d1b268f67bc64c145ba149a9b0ecbce8e08d3d8149732b77022278089f97d.exe"
    1⤵
    • Checks computer location settings
    • Adds Run key to start application
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2424
    • 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:2596
      • 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:420
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmp7535.tmp.bat""
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2796
      • C:\Windows\system32\timeout.exe
        timeout 3
        3⤵
        • Delays execution with timeout.exe
        PID:616
      • C:\Users\Admin\AppData\Roaming\svchost.exe
        "C:\Users\Admin\AppData\Roaming\svchost.exe"
        3⤵
        • UAC bypass
        • Windows security bypass
        • Checks computer location settings
        • Executes dropped EXE
        • Windows security modification
        • Checks whether UAC is enabled
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        • System policy modification
        PID:392
        • 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:1296
        • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\SMSvcHost.exe
          "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\SMSvcHost.exe"
          4⤵
            PID:1028
          • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\EdmGen.exe
            "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\EdmGen.exe"
            4⤵
              PID:1960
            • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\AppLaunch.exe
              "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\AppLaunch.exe"
              4⤵
                PID:1248
              • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regsql.exe
                "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regsql.exe"
                4⤵
                  PID:1368
                • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regbrowsers.exe
                  "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regbrowsers.exe"
                  4⤵
                    PID:4260
                  • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngentask.exe
                    "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngentask.exe"
                    4⤵
                      PID:4752
                    • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Workflow.Compiler.exe
                      "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Workflow.Compiler.exe"
                      4⤵
                        PID:4140
                      • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\AddInProcess32.exe
                        "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\AddInProcess32.exe"
                        4⤵
                        • Accesses Microsoft Outlook profiles
                        • Suspicious behavior: EnumeratesProcesses
                        • Suspicious use of AdjustPrivilegeToken
                        • Suspicious use of SetWindowsHookEx
                        • outlook_office_path
                        • outlook_win_path
                        PID:1900
                      • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ComSvcConfig.exe
                        "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ComSvcConfig.exe"
                        4⤵
                          PID:2096

                  Network

                  MITRE ATT&CK Enterprise v6

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_bvxknczj.x4l.ps1

                    Filesize

                    60B

                    MD5

                    d17fe0a3f47be24a6453e9ef58c94641

                    SHA1

                    6ab83620379fc69f80c0242105ddffd7d98d5d9d

                    SHA256

                    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

                    SHA512

                    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

                    Filesize

                    151B

                    MD5

                    35eac26608b15cbbbbc860c9991a9331

                    SHA1

                    1761a328dfffc520d1534b531635c62b5ec5c131

                    SHA256

                    6063f7d1f3d60942a158064e416d9bdbd9c311db37dc3717979424e5f7aefa95

                    SHA512

                    807e9c62c33c28a2167f711a9c0897c26e8ef73e00292ad9da90bf2ca7e2e04b42648ff18a86db674266a8909fb89268801e52ed1cf4b1b8532232c44007e85a

                  • 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

                  • memory/1296-152-0x0000016FDB8C0000-0x0000016FDB8E2000-memory.dmp

                    Filesize

                    136KB

                  • memory/1900-157-0x00000000053E0000-0x0000000005984000-memory.dmp

                    Filesize

                    5.6MB

                  • memory/1900-153-0x0000000000400000-0x000000000043C000-memory.dmp

                    Filesize

                    240KB

                  • memory/1900-158-0x0000000005020000-0x0000000005030000-memory.dmp

                    Filesize

                    64KB

                  • memory/1900-159-0x0000000004F00000-0x0000000004F9C000-memory.dmp

                    Filesize

                    624KB

                  • memory/1900-160-0x0000000005CD0000-0x0000000005D36000-memory.dmp

                    Filesize

                    408KB

                  • memory/1900-161-0x0000000006450000-0x00000000064A0000-memory.dmp

                    Filesize

                    320KB

                  • memory/1900-162-0x0000000005020000-0x0000000005030000-memory.dmp

                    Filesize

                    64KB

                  • memory/1900-166-0x00000000065E0000-0x0000000006672000-memory.dmp

                    Filesize

                    584KB

                  • memory/1900-167-0x0000000006900000-0x000000000690A000-memory.dmp

                    Filesize

                    40KB

                  • memory/2424-134-0x0000021044670000-0x0000021044680000-memory.dmp

                    Filesize

                    64KB

                  • memory/2424-133-0x000002102A140000-0x000002102A210000-memory.dmp

                    Filesize

                    832KB