Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16/03/2023, 11:46

General

  • Target
    RFQ09876544567.exe
  • Size 1.1MB
  • Sample230316-nxaq8aaf59
  • SHA256 85bc631d0e67651ca8d58602830378a006b44a898ec008da40c26f8928e378ec
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

Credentials

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
  • Looks for VirtualBox Guest Additions in registry 2 TTPs 2 IoCs
  • Looks for VMWare Tools registry key 2 TTPs 2 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks BIOS information in registry 2 TTPs 4 IoCs

    BIOS information is often read in order to detect sandboxing environments.

  • 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.

  • Maps connected drives based on registry 3 TTPs 4 IoCs

    Disk information is often read in order to detect sandboxing environments.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • 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 50 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 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.

  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\RFQ09876544567.exe
    "C:\Users\Admin\AppData\Local\Temp\RFQ09876544567.exe"
    1⤵
    • Looks for VirtualBox Guest Additions in registry
    • Looks for VMWare Tools registry key
    • Checks BIOS information in registry
    • Checks computer location settings
    • Adds Run key to start application
    • Maps connected drives based on registry
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2776
    • 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:2324
      • 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:2816
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmp6B13.tmp.bat""
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3952
      • C:\Windows\system32\timeout.exe
        timeout 3
        3⤵
        • Delays execution with timeout.exe
        PID:3676
      • C:\Users\Admin\AppData\Roaming\svchost.exe
        "C:\Users\Admin\AppData\Roaming\svchost.exe"
        3⤵
        • UAC bypass
        • Windows security bypass
        • Looks for VirtualBox Guest Additions in registry
        • Looks for VMWare Tools registry key
        • Sets service image path in registry
        • Checks BIOS information in registry
        • Checks computer location settings
        • Executes dropped EXE
        • Windows security modification
        • Checks whether UAC is enabled
        • Maps connected drives based on registry
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious behavior: LoadsDriver
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        • System policy modification
        PID:1768
        • 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:3840
        • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\SMSvcHost.exe
          "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\SMSvcHost.exe"
          4⤵
            PID:1356
          • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe
            "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe"
            4⤵
              PID:1888
            • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\EdmGen.exe
              "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\EdmGen.exe"
              4⤵
                PID:776
              • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\dfsvc.exe
                "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\dfsvc.exe"
                4⤵
                  PID:1128
                • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regbrowsers.exe
                  "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regbrowsers.exe"
                  4⤵
                    PID:724
                  • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regsql.exe
                    "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regsql.exe"
                    4⤵
                      PID:1316
                    • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ServiceModelReg.exe
                      "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ServiceModelReg.exe"
                      4⤵
                        PID:948
                      • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe
                        "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe"
                        4⤵
                          PID:4560
                        • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe
                          "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe"
                          4⤵
                            PID:3868
                          • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe
                            "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe"
                            4⤵
                              PID:1124
                            • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\AppLaunch.exe
                              "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\AppLaunch.exe"
                              4⤵
                                PID:4660
                              • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_state.exe
                                "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_state.exe"
                                4⤵
                                  PID:4896
                                • 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 use of AdjustPrivilegeToken
                                  • outlook_office_path
                                  • outlook_win_path
                                  PID:4344
                                • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe
                                  "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe"
                                  4⤵
                                    PID:996

                            Network

                                  MITRE ATT&CK Enterprise v6

                                  Replay Monitor

                                  Loading Replay Monitor...

                                  Downloads

                                  __PSScriptPolicyTest_xivjkmv0.m4z.ps1

                                  • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_xivjkmv0.m4z.ps1
                                  • Size 60B
                                  • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
                                  • MD5 SHA1 SHA512

                                  tmp6B13.tmp.bat

                                  • Path C:\Users\Admin\AppData\Local\Temp\tmp6B13.tmp.bat
                                  • Size 151B
                                  • SHA256 a2100e0e1b50820ff0bb4dbef1ca62cbeeae0db52641a171661bb1635b6b2e95
                                  • MD5 SHA1 SHA512

                                  svchost.exe

                                  • Path C:\Users\Admin\AppData\Roaming\svchost.exe
                                  • Size 1.1MB
                                  • SHA256 85bc631d0e67651ca8d58602830378a006b44a898ec008da40c26f8928e378ec
                                  • MD5 SHA1 SHA512 SSDEEP

                                  svchost.exe

                                  • Path C:\Users\Admin\AppData\Roaming\svchost.exe
                                  • Size 1.1MB
                                  • SHA256 85bc631d0e67651ca8d58602830378a006b44a898ec008da40c26f8928e378ec
                                  • MD5 SHA1 SHA512 SSDEEP

                                  memory/2776-133-0x0000015463AA0000-0x0000015463BC8000-memory.dmp

                                  memory/2776-134-0x0000015463F90000-0x0000015463FA0000-memory.dmp

                                  memory/3840-144-0x000001DD1F7E0000-0x000001DD1F7F0000-memory.dmp

                                  memory/3840-145-0x000001DD1F7E0000-0x000001DD1F7F0000-memory.dmp

                                  memory/3840-152-0x000001DD20D20000-0x000001DD20D42000-memory.dmp

                                  memory/4344-160-0x0000000005950000-0x0000000005EF4000-memory.dmp

                                  memory/4344-156-0x0000000000400000-0x0000000000430000-memory.dmp

                                  memory/4344-161-0x00000000053A0000-0x0000000005406000-memory.dmp

                                  memory/4344-162-0x0000000005590000-0x00000000055A0000-memory.dmp

                                  memory/4344-163-0x00000000069F0000-0x0000000006A82000-memory.dmp

                                  memory/4344-164-0x00000000069B0000-0x00000000069BA000-memory.dmp

                                  memory/4344-165-0x0000000006C40000-0x0000000006C90000-memory.dmp

                                  memory/4344-166-0x0000000006E60000-0x0000000007022000-memory.dmp

                                  memory/4344-167-0x0000000005590000-0x00000000055A0000-memory.dmp